diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-18 13:56:16 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-18 13:56:16 +0000 |
commit | 52981a18a27b97139a4064ffe9d394abddaf9a26 (patch) | |
tree | 7d868266f5e390adb20ff06cbcc6181233466b00 /main/rtp_engine.c | |
parent | b32726773932e582d5892b768bcefa0e6edf4f51 (diff) |
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/trunk@195096 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/rtp_engine.c')
-rw-r--r-- | main/rtp_engine.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/rtp_engine.c b/main/rtp_engine.c index ac0885a10..eeeefa90e 100644 --- a/main/rtp_engine.c +++ b/main/rtp_engine.c @@ -1013,7 +1013,8 @@ static enum ast_bridge_result remote_bridge_loop(struct ast_channel *c0, struct } if ((inaddrcmp(&t0, &ac0)) || (vinstance0 && inaddrcmp(&vt0, &vac0)) || - (tinstance0 && inaddrcmp(&tt0, &tac0))) { + (tinstance0 && inaddrcmp(&tt0, &tac0)) || + (codec0 != oldcodec0)) { ast_debug(1, "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(1, "Oooh, '%s' was %s:%d/(format %d)\n", |