better error message
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11059 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5079adbfd9
commit
a0435ed981
|
@ -1252,8 +1252,8 @@ void sofia_reg_handle_sip_r_register(int status,
|
|||
break;
|
||||
default:
|
||||
sofia_private->gateway->state = REG_STATE_FAILED;
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%s Registration Failed with status %d. failure #%d\n",
|
||||
sofia_private->gateway->name, status, ++sofia_private->gateway->failures);
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%s Registration Failed with status %s [%d]. failure #%d\n",
|
||||
sofia_private->gateway->name, switch_str_nil(phrase), status, ++sofia_private->gateway->failures);
|
||||
break;
|
||||
}
|
||||
if (ostate != sofia_private->gateway->state) {
|
||||
|
|
Loading…
Reference in New Issue