[asterisk-commits] file: branch 1.4 r51211 -
/branches/1.4/main/rtp.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Jan 17 17:18:44 MST 2007
Author: file
Date: Wed Jan 17 18:18:44 2007
New Revision: 51211
URL: http://svn.digium.com/view/asterisk?view=rev&rev=51211
Log:
Pass data as well for hold/unhold/vidupdate frames. (issue #8840 reported by mdu113)
Modified:
branches/1.4/main/rtp.c
Modified: branches/1.4/main/rtp.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/rtp.c?view=diff&rev=51211&r1=51210&r2=51211
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Wed Jan 17 18:18:44 2007
@@ -2864,7 +2864,7 @@
if ((fr->subclass == AST_CONTROL_HOLD) ||
(fr->subclass == AST_CONTROL_UNHOLD) ||
(fr->subclass == AST_CONTROL_VIDUPDATE)) {
- ast_indicate(other, fr->subclass);
+ ast_indicate_data(other, fr->subclass, fr->data, fr->datalen);
ast_frfree(fr);
} else {
*fo = fr;
@@ -3072,7 +3072,7 @@
p0_callback = p2p_callback_enable(c0, p0, &p0_fds[0], &p0_iod[0]);
p1_callback = p2p_callback_enable(c1, p1, &p1_fds[0], &p1_iod[0]);
}
- ast_indicate(other, fr->subclass);
+ ast_indicate_data(other, fr->subclass, fr->data, fr->datalen);
ast_frfree(fr);
} else {
*fo = fr;
More information about the asterisk-commits
mailing list