[asterisk-commits] moy: branch moy/mfcr2 r119205 - /team/moy/mfcr2/channels/chan_zap.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 29 22:55:59 CDT 2008
Author: moy
Date: Thu May 29 22:55:58 2008
New Revision: 119205
URL: http://svn.digium.com/view/asterisk?view=rev&rev=119205
Log:
disconnect the call even when there is no owner yet
Modified:
team/moy/mfcr2/channels/chan_zap.c
Modified: team/moy/mfcr2/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/moy/mfcr2/channels/chan_zap.c?view=diff&rev=119205&r1=119204&r2=119205
==============================================================================
--- team/moy/mfcr2/channels/chan_zap.c (original)
+++ team/moy/mfcr2/channels/chan_zap.c Thu May 29 22:55:58 2008
@@ -1453,6 +1453,9 @@
/* TODO: what about doing this same thing when were AST_STATE_UP? */
ast_queue_hangup_with_cause(p->owner, zt_r2_cause_to_ast_cause(cause));
}
+ } else {
+ /* no owner, let's just disconnect our side */
+ openr2_chan_disconnect_call(r2chan, OR2_CAUSE_NORMAL_CLEARING);
}
}
More information about the asterisk-commits
mailing list