mod_openzap: fix missing rwunlock
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@815 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
178259508b
commit
2b0109c0c8
|
@ -1286,6 +1286,7 @@ static ZIO_SIGNAL_CB_FUNCTION(on_fxo_signal)
|
|||
if ((session = zap_channel_get_session(sigmsg->channel, 0))) {
|
||||
channel = switch_core_session_get_channel(session);
|
||||
switch_channel_mark_pre_answered(channel);
|
||||
switch_core_session_rwunlock(session);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue