add patch from stangor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10138 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ac2728183c
commit
26d493033f
|
@ -204,6 +204,10 @@ static switch_status_t dialplan_xml_locate(switch_core_session_t *session, switc
|
|||
switch_event_create(¶ms, 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);
|
||||
|
|
Loading…
Reference in New Issue