mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
FSCORE-297
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12361 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -394,9 +394,9 @@ void sofia_event_callback(nua_event_t event,
|
||||
(char *) sip->sip_request->rq_method_name, tech_pvt->key, strlen(tech_pvt->key), network_ip, NULL, 0,
|
||||
REG_INVITE, NULL);
|
||||
}
|
||||
|
||||
|
||||
if (auth_res != AUTH_OK) {
|
||||
switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
|
||||
//switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
|
||||
nua_respond(nh, SIP_401_UNAUTHORIZED, TAG_END());
|
||||
goto done;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user