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

update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3430 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 097d4a66
...@@ -1487,7 +1487,6 @@ static switch_status_t channel_outgoing_channel(switch_core_session_t *session, ...@@ -1487,7 +1487,6 @@ static switch_status_t channel_outgoing_channel(switch_core_session_t *session,
*dnis++ = '\0'; *dnis++ = '\0';
} }
if ((mdl_profile = switch_core_hash_find(globals.profile_hash, profile_name))) {
if ((mdl_profile->user_flags & LDL_FLAG_COMPONENT)) { if ((mdl_profile->user_flags & LDL_FLAG_COMPONENT)) {
if ((p = strchr(profile_name, '@'))) { if ((p = strchr(profile_name, '@'))) {
*p++ = '\0'; *p++ = '\0';
...@@ -1501,6 +1500,7 @@ static switch_status_t channel_outgoing_channel(switch_core_session_t *session, ...@@ -1501,6 +1500,7 @@ static switch_status_t channel_outgoing_channel(switch_core_session_t *session,
} }
} }
if ((mdl_profile = switch_core_hash_find(globals.profile_hash, profile_name))) {
if (strchr(outbound_profile->caller_id_number, '@')) { if (strchr(outbound_profile->caller_id_number, '@')) {
snprintf(ubuf, sizeof(ubuf), "%s/talk", outbound_profile->caller_id_number); snprintf(ubuf, sizeof(ubuf), "%s/talk", outbound_profile->caller_id_number);
user = ubuf; user = ubuf;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论