Revision
17115
Author
mikej
Date
2010-03-26 15:09:44 -0500 (Fri, 26 Mar 2010)

Log Message

add action='user_call' to xml_curl lookups for the user endpoint

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c (17114 => 17115)


--- freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	2010-03-26 17:38:00 UTC (rev 17114)
+++ freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	2010-03-26 20:09:44 UTC (rev 17115)
@@ -2660,6 +2660,7 @@
 	switch_event_create(&params, 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);