提交 26d49303 authored 作者: Anthony Minessale's avatar Anthony Minessale

add patch from stangor

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10138 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 ac272818
......@@ -204,6 +204,10 @@ static switch_status_t dialplan_xml_locate(switch_core_session_t *session, switc
switch_event_create(&params, SWITCH_EVENT_REQUEST_PARAMS);
switch_assert(params);
if (!switch_strlen_zero(caller_profile->context)) {
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Hunt-Context", caller_profile->context);
}
switch_channel_event_set_data(channel, params);
status = switch_xml_locate("dialplan", NULL, NULL, NULL, root, node, params);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论