提交 36dac926 authored 作者: Anthony Minessale's avatar Anthony Minessale

force-register-domain

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6057 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 3241ad15
...@@ -101,6 +101,8 @@ ...@@ -101,6 +101,8 @@
<!-- <param name="vad" value="out"/> --> <!-- <param name="vad" value="out"/> -->
<!-- <param name="vad" value="both"/> --> <!-- <param name="vad" value="both"/> -->
<!--<param name="alias" value="sip:10.0.1.251:5555"/>--> <!--<param name="alias" value="sip:10.0.1.251:5555"/>-->
<!--all inbound reg will look in this domain for the users -->
<!--<param name="force-register-domain" value="cluecon.com"/>-->
</settings> </settings>
</profile> </profile>
</profiles> </profiles>
......
...@@ -227,6 +227,7 @@ struct sofia_profile { ...@@ -227,6 +227,7 @@ struct sofia_profile {
char *timer_name; char *timer_name;
char *hold_music; char *hold_music;
char *bind_params; char *bind_params;
char *reg_domain;
int sip_port; int sip_port;
char *codec_string; char *codec_string;
int running; int running;
......
...@@ -873,7 +873,8 @@ switch_status_t config_sofia(int reload, char *profile_name) ...@@ -873,7 +873,8 @@ switch_status_t config_sofia(int reload, char *profile_name)
} }
} }
} }
} else if (!strcasecmp(var, "force-register-domain")) {
profile->reg_domain = switch_core_strdup(profile->pool, val);
} else if (!strcasecmp(var, "bind-params")) { } else if (!strcasecmp(var, "bind-params")) {
profile->bind_params = switch_core_strdup(profile->pool, val); profile->bind_params = switch_core_strdup(profile->pool, val);
} else if (!strcasecmp(var, "sip-domain")) { } else if (!strcasecmp(var, "sip-domain")) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论