From 167824ec9db07860be9ac8a76e7bf0722114272d Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 26 Mar 2010 20:09:44 +0000 Subject: [PATCH] add action='user_call' to xml_curl lookups for the user endpoint git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17115 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_dptools/mod_dptools.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 8b0784242b..0dcd869fc2 100644 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -2660,6 +2660,7 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session, switch_event_create(¶ms, SWITCH_EVENT_REQUEST_PARAMS); switch_assert(params); switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "as_channel", "true"); + switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "action", "user_call"); if (switch_xml_locate_user("id", user, domain, NULL, &xml, &x_domain, &x_user, &x_group, params) != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Can't find user [%s@%s]\n", user, domain);