[asterisk-commits] moy: branch moy/mfcr2-1.4 r133170 - /team/moy/mfcr2-1.4/channels/chan_zap.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 23 14:44:20 CDT 2008
Author: moy
Date: Wed Jul 23 14:44:19 2008
New Revision: 133170
URL: http://svn.digium.com/view/asterisk?view=rev&rev=133170
Log:
fixed nasty deadlock due to my stupidity in zt_r2_on_call_disconnected
Modified:
team/moy/mfcr2-1.4/channels/chan_zap.c
Modified: team/moy/mfcr2-1.4/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/moy/mfcr2-1.4/channels/chan_zap.c?view=diff&rev=133170&r1=133169&r2=133170
==============================================================================
--- team/moy/mfcr2-1.4/channels/chan_zap.c (original)
+++ team/moy/mfcr2-1.4/channels/chan_zap.c Wed Jul 23 14:44:19 2008
@@ -1101,6 +1101,7 @@
ast_queue_hangup(p->owner);
}
} else {
+ ast_mutex_unlock(&p->lock);
/* no owner, therefore we can't use zt_hangup to disconnect, do it right now */
openr2_chan_disconnect_call(r2chan, OR2_CAUSE_NORMAL_CLEARING);
}
More information about the asterisk-commits
mailing list