mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 10:58:15 +00:00
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
This commit is contained in:
@@ -2368,7 +2368,7 @@ static void pbx_load_users(void)
|
|||||||
append_interface(iface, sizeof(iface), tmp);
|
append_interface(iface, sizeof(iface), tmp);
|
||||||
}
|
}
|
||||||
if (ast_true(ast_config_option(cfg, cat, "hasiax"))) {
|
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);
|
append_interface(iface, sizeof(iface), tmp);
|
||||||
}
|
}
|
||||||
if (ast_true(ast_config_option(cfg, cat, "hash323"))) {
|
if (ast_true(ast_config_option(cfg, cat, "hash323"))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user