提交 b9c18c52 authored 作者: Anthony Minessale's avatar Anthony Minessale

allow domains with no dot in them as long as you specify a profile name

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16739 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a524ad62
......@@ -2870,7 +2870,7 @@ SWITCH_STANDARD_API(sofia_contact_function)
struct cb_helper cb;
switch_stream_handle_t mystream = { 0 };
if (!domain || !strchr(domain, '.')) {
if (!domain || (!strchr(domain, '.') && strcmp(profile_name, domain))) {
domain = profile->name;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论