From: Joshua Colp Date: Sat, 30 Dec 2006 18:31:17 +0000 (+0000) Subject: IAX has been deprecated for quite some time so we had better use IAX2 when creating... X-Git-Tag: 1.4.1~355 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc8ee547796a0fabadddb27821df33a1f21f83d3;p=thirdparty%2Fasterisk.git 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/branches/1.4@49073 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index 98f2ed2131..6980ca197b 100644 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -2368,7 +2368,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"))) {