aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/pbx_config.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-30 18:31:17 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-30 18:31:17 +0000
commit36de9bac6565cfe5f6d749feb24d17f3df728e92 (patch)
tree782739409159cfe9aad8eb53b037ebdaee89a005 /pbx/pbx_config.c
parent6a8c6facc4a3a083e58441c71b9879bd943eb752 (diff)
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
Diffstat (limited to 'pbx/pbx_config.c')
-rw-r--r--pbx/pbx_config.c2
1 files changed, 1 insertions, 1 deletions
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"))) {