[Freeswitch-svn] [commit] r13380 - freeswitch/trunk/src/mod/xml_int/mod_xml_rpc

FreeSWITCH SVN brian at freeswitch.org
Mon May 18 10:19:32 PDT 2009


Author: brian
Date: Mon May 18 12:19:31 2009
New Revision: 13380

Log:
 remove mailbox from mod_xml_rpc also and check number-alias

Modified:
   freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c

Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c	(original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c	Mon May 18 12:19:31 2009
@@ -209,7 +209,7 @@
 
 				switch_event_create(&params, SWITCH_EVENT_REQUEST_PARAMS);
 				switch_assert(params);
-				switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "mailbox", "check");
+				switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "number_alias", "check");
 				
 				if (switch_xml_locate_user("id", user, domain_name, NULL, &x_domain_root, &x_domain, &x_user, NULL, params) != SWITCH_STATUS_SUCCESS) {
 					switch_event_destroy(&params);
@@ -217,7 +217,7 @@
 				}
 
 				switch_event_destroy(&params);
-				box = switch_xml_attr_soft(x_user, "mailbox");
+				box = switch_xml_attr_soft(x_user, "number-alias");
 
 				if ((x_params = switch_xml_child(x_domain, "params"))) {
 				



More information about the Freeswitch-svn mailing list