[asterisk-commits] file: trunk r85024 - in /trunk: ./ main/rtp.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Oct 8 10:39:24 CDT 2007
Author: file
Date: Mon Oct 8 10:39:23 2007
New Revision: 85024
URL: http://svn.digium.com/view/asterisk?view=rev&rev=85024
Log:
Merged revisions 85023 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r85023 | file | 2007-10-08 12:37:46 -0300 (Mon, 08 Oct 2007) | 4 lines
Update codec information as well as address when doing hold reinvites.
(issue #10868)
Reported by: mavince
........
Modified:
trunk/ (props changed)
trunk/main/rtp.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/rtp.c
URL: http://svn.digium.com/view/asterisk/trunk/main/rtp.c?view=diff&rev=85024&r1=85023&r2=85024
==============================================================================
--- trunk/main/rtp.c (original)
+++ trunk/main/rtp.c Mon Oct 8 10:39:23 2007
@@ -3344,6 +3344,11 @@
memcpy(&ac0, &t0, sizeof(ac0));
ast_rtp_get_peer(p1, &t1);
memcpy(&ac1, &t1, sizeof(ac1));
+ /* Update codec information */
+ if (pr0->get_codec)
+ oldcodec0 = codec0 = pr0->get_codec(c0);
+ if (pr1->get_codec)
+ oldcodec1 = codec1 = pr1->get_codec(c1);
ast_indicate_data(other, fr->subclass, fr->data, fr->datalen);
ast_frfree(fr);
} else {
More information about the asterisk-commits
mailing list