]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 175597 via svnmerge from
authorDavid Vossel <dvossel@digium.com>
Mon, 16 Feb 2009 21:30:17 +0000 (21:30 +0000)
committerDavid Vossel <dvossel@digium.com>
Mon, 16 Feb 2009 21:30:17 +0000 (21:30 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r175597 | dvossel | 2009-02-13 14:11:55 -0600 (Fri, 13 Feb 2009) | 4 lines

  Fixed iax2 key rotation backwards compatibility

  Turns key rotation back on by default.  Added bit into encryption IE to indicate whether or not key rotation is supported or not. If it is not supported then it is not enabled, which insures backwards compatibility.  This eliminates the need for the keyrotate option in iax.conf, so it has been removed.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@176248 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index f08c03c53999741fd240fd20c3fbf21e1486ca9d..7cf65811cdf50183b9dc35f57e04c3ca7df340f1 100644 (file)
@@ -4227,7 +4227,7 @@ static enum ast_bridge_result iax2_bridge(struct ast_channel *c0, struct ast_cha
                        res = AST_BRIDGE_COMPLETE;
                        break;
                }
-               if ((f->frametype == AST_FRAME_CONTROL) && !(flags & AST_BRIDGE_IGNORE_SIGS)) {
+               if ((f->frametype == AST_FRAME_CONTROL) && !(flags & AST_BRIDGE_IGNORE_SIGS) && (f->subclass != AST_CONTROL_SRCUPDATE)) {
                        *fo = f;
                        *rc = who;
                        res =  AST_BRIDGE_COMPLETE;