From 36de9bac6565cfe5f6d749feb24d17f3df728e92 Mon Sep 17 00:00:00 2001 From: file Date: Sat, 30 Dec 2006 18:31:17 +0000 Subject: 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: http://svn.digium.com/svn/asterisk/branches/1.4@49073 f38db490-d61c-443f-a65b-d21fe96a405b --- pbx/pbx_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbx/pbx_config.c') diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index 98f2ed213..6980ca197 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"))) { -- cgit v1.2.3