From c12828c2546c18bfd9616362db92c4c401bb8a97 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 18 May 2009 17:19:31 +0000 Subject: [PATCH] remove mailbox from mod_xml_rpc also and check number-alias git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13380 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c index 595e373515..458d45477a 100644 --- a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c +++ b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c @@ -209,7 +209,7 @@ static abyss_bool http_directory_auth(TSession *r, char *domain_name) switch_event_create(¶ms, 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(¶ms); @@ -217,7 +217,7 @@ static abyss_bool http_directory_auth(TSession *r, char *domain_name) } switch_event_destroy(¶ms); - 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"))) {