Merged revisions 49073 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Sat, 30 Dec 2006 18:32:31 +0000 (18:32 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 30 Dec 2006 18:32:31 +0000 (18:32 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49073 | file | 2006-12-30 13:31:17 -0500 (Sat, 30 Dec 2006) | 2 lines

IAX has been deprecated for quite some time so we had better use IAX2 when creating the dial string for users. (issue #8697 reported by ssokol)

........

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

pbx/pbx_config.c

index 3d75021..d999f3c 100644 (file)
@@ -1535,7 +1535,7 @@ static void pbx_load_users(void)
                        append_interface(iface, sizeof(iface), tmp);
                }
                if (ast_true(ast_config_option(cfg, cat, "hasiax"))) {
-                       snprintf(tmp, sizeof(tmp), "IAX/%s", cat);
+                       snprintf(tmp, sizeof(tmp), "IAX2/%s", cat);
                        append_interface(iface, sizeof(iface), tmp);
                }
                if (ast_true(ast_config_option(cfg, cat, "hash323"))) {