Fix for zchan not getting unlocked
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@940 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
143ba2785f
commit
c569627f68
|
@ -677,6 +677,7 @@ static void handle_call_stop(zap_span_t *span, sangomabc_connection_t *mcon, san
|
||||||
0,
|
0,
|
||||||
SIGBOOST_EVENT_CALL_STOPPED_ACK,
|
SIGBOOST_EVENT_CALL_STOPPED_ACK,
|
||||||
0);
|
0);
|
||||||
|
zap_mutex_unlock(zchan->mutex);
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
zap_set_state_r(zchan, ZAP_CHANNEL_STATE_TERMINATING, 0, r);
|
zap_set_state_r(zchan, ZAP_CHANNEL_STATE_TERMINATING, 0, r);
|
||||||
|
@ -909,7 +910,7 @@ static int parse_sangoma_event(zap_span_t *span, sangomabc_connection_t *mcon, s
|
||||||
case SIGBOOST_EVENT_CALL_START_ACK:
|
case SIGBOOST_EVENT_CALL_START_ACK:
|
||||||
handle_call_start_ack(mcon, event);
|
handle_call_start_ack(mcon, event);
|
||||||
break;
|
break;
|
||||||
case SIGBOOST_EVENT_CALL_PROGRESS:
|
case SIGBOOST_EVENT_CALL_PROGRESS:
|
||||||
handle_call_progress(mcon, event);
|
handle_call_progress(mcon, event);
|
||||||
break;
|
break;
|
||||||
case SIGBOOST_EVENT_CALL_START_NACK:
|
case SIGBOOST_EVENT_CALL_START_NACK:
|
||||||
|
|
Loading…
Reference in New Issue