[asterisk-commits] file: branch 1.4 r55002 - in /branches/1.4: ./
channels/chan_agent.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Feb 16 15:18:46 MST 2007
Author: file
Date: Fri Feb 16 16:18:46 2007
New Revision: 55002
URL: http://svn.digium.com/view/asterisk?view=rev&rev=55002
Log:
Merged revisions 54999 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r54999 | file | 2007-02-16 17:13:45 -0500 (Fri, 16 Feb 2007) | 2 lines
Do not send indications through ast_indicate in chan_agent but instead go directly to the technology. This way when indications are emulated they happen on the Agent channel and do not screw up formats on the channels. (issue #8439 reported by punkgode)
........
Modified:
branches/1.4/ (props changed)
branches/1.4/channels/chan_agent.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_agent.c?view=diff&rev=55002&r1=55001&r2=55002
==============================================================================
--- branches/1.4/channels/chan_agent.c (original)
+++ branches/1.4/channels/chan_agent.c Fri Feb 16 16:18:46 2007
@@ -600,7 +600,7 @@
int res = -1;
ast_mutex_lock(&p->lock);
if (p->chan)
- res = ast_indicate_data(p->chan, condition, data, datalen);
+ res = p->chan->tech->indicate ? p->chan->tech->indicate(p->chan, condition, data, datalen) : -1;
else
res = 0;
ast_mutex_unlock(&p->lock);
More information about the asterisk-commits
mailing list