[asterisk-commits] tilghman: branch 1.4 r236981 - /branches/1.4/channels/chan_local.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Dec 30 15:57:31 CST 2009
Author: tilghman
Date: Wed Dec 30 15:57:10 2009
New Revision: 236981
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=236981
Log:
Don't queue frames to channels that have no means to process them.
(closes issue #15609)
Reported by: aragon
Patches:
20091230__issue16521__1.4__chan_local_only.diff.txt uploaded by tilghman (license 14)
Tested by: aragon
Review: https://reviewboard.asterisk.org/r/452/
Modified:
branches/1.4/channels/chan_local.c
Modified: branches/1.4/channels/chan_local.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_local.c?view=diff&rev=236981&r1=236980&r2=236981
==============================================================================
--- branches/1.4/channels/chan_local.c (original)
+++ branches/1.4/channels/chan_local.c Wed Dec 30 15:57:10 2009
@@ -212,7 +212,9 @@
}
if (other) {
- ast_queue_frame(other, f);
+ if (other->pbx || other->_bridge) {
+ ast_queue_frame(other, f);
+ } /* else the frame won't go anywhere */
ast_channel_unlock(other);
}
More information about the asterisk-commits
mailing list