From c569627f6813c22286ae63984fc0cc3d15601ab1 Mon Sep 17 00:00:00 2001 From: David Yat Sin Date: Mon, 14 Dec 2009 21:49:49 +0000 Subject: [PATCH] Fix for zchan not getting unlocked git-svn-id: http://svn.openzap.org/svn/openzap/trunk@940 a93c3328-9c30-0410-af19-c9cd2b2d52af --- .../src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c b/libs/openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c index 40d310e40d..892094126e 100644 --- a/libs/openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c +++ b/libs/openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c @@ -677,6 +677,7 @@ static void handle_call_stop(zap_span_t *span, sangomabc_connection_t *mcon, san 0, SIGBOOST_EVENT_CALL_STOPPED_ACK, 0); + zap_mutex_unlock(zchan->mutex); return; } else { 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: handle_call_start_ack(mcon, event); break; - case SIGBOOST_EVENT_CALL_PROGRESS: + case SIGBOOST_EVENT_CALL_PROGRESS: handle_call_progress(mcon, event); break; case SIGBOOST_EVENT_CALL_START_NACK: