mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
bug pointed out by stkn, thanks\!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3008 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6a96670267
commit
dcdc0cdaac
@ -2944,7 +2944,7 @@ static void event_callback(nua_event_t event,
|
||||
switch_channel_t *channel = switch_core_session_get_channel(tech_pvt->session);
|
||||
switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
|
||||
nua_respond(nh, SIP_401_UNAUTHORIZED, TAG_END());
|
||||
return;
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
||||
@ -3067,6 +3067,8 @@ static void event_callback(nua_event_t event,
|
||||
|
||||
}
|
||||
|
||||
done:
|
||||
|
||||
if (session) {
|
||||
switch_core_session_rwunlock(session);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user