FS-3768 --resolve

This commit is contained in:
Marc Olivier Chouinard committed 2011-12-16 14:31:15 -05:00
1 parent 6d7ab6e230
commit 15011c4fb8
3 files changed
+53 -38

No files matched your search

+1 -1
View File
@@ -952,7 +952,7 @@ static void our_sofia_event_callback(nua_event_t event,
REG_INVITE, NULL, NULL, NULL);
}
if (auth_res != AUTH_OK) {
if ((auth_res != AUTH_OK && auth_res != AUTH_RENEWED)) {
//switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
nua_respond(nh, SIP_401_UNAUTHORIZED, TAG_END());
goto done;