From: Anthony Minessale Date: Wed, 21 Jan 2009 22:57:58 +0000 (+0000) Subject: MODENDP-176 X-Git-Tag: v1.0.3~614 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d99296d08f3a358c1fd198ef6bcbd0476092104f;p=thirdparty%2Ffreeswitch.git MODENDP-176 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11343 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 309fae5d0d..5cb9ba74a2 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -1712,7 +1712,7 @@ auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile, sip_authorization_t co switch_event_add_header_string(*v_event, SWITCH_STACK_BOTTOM, "sip_auth_realm", realm); switch_event_add_header_string(*v_event, SWITCH_STACK_BOTTOM, "mailbox", mailbox); switch_event_add_header_string(*v_event, SWITCH_STACK_BOTTOM, "user_name", username); - switch_event_add_header_string(*v_event, SWITCH_STACK_BOTTOM, "domain_name", realm); + switch_event_add_header_string(*v_event, SWITCH_STACK_BOTTOM, "domain_name", domain_name); if ((dparams = switch_xml_child(domain, "variables"))) { xparams[i++] = dparams;