aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtp.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-18 14:00:29 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-18 14:00:29 +0000
commita243655fb337094af26109e5422d111385b7f681 (patch)
treecb5ce3d981e752d6dc65e0d9de0c87189e2af9fe /main/rtp.c
parent0a776ec26e6a937a9492ce8332b7a4453dbb53bd (diff)
Merged revisions 195096 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r195096 | file | 2009-05-18 10:56:16 -0300 (Mon, 18 May 2009) | 12 lines Merged revisions 195095 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r195095 | file | 2009-05-18 10:53:39 -0300 (Mon, 18 May 2009) | 5 lines Fix a bug where the codecs of the called party leg were not properly sent back to the caller call leg when reinvited. (closes issue #13569) Reported by: bkw918 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@195099 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/rtp.c')
-rw-r--r--main/rtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/rtp.c b/main/rtp.c
index 1626dabab..6a806911c 100644
--- a/main/rtp.c
+++ b/main/rtp.c
@@ -3981,7 +3981,8 @@ static enum ast_bridge_result bridge_native_loop(struct ast_channel *c0, struct
}
if ((inaddrcmp(&t0, &ac0)) ||
(vp0 && inaddrcmp(&vt0, &vac0)) ||
- (tp0 && inaddrcmp(&tt0, &tac0))) {
+ (tp0 && inaddrcmp(&tt0, &tac0)) ||
+ (codec0 != oldcodec0)) {
ast_debug(2, "Oooh, '%s' changed end address to %s:%d (format %d)\n",
c0->name, ast_inet_ntoa(t0.sin_addr), ntohs(t0.sin_port), codec0);
ast_debug(2, "Oooh, '%s' was %s:%d/(format %d)\n",