From: Anthony Minessale Date: Wed, 15 Apr 2009 16:03:44 +0000 (+0000) Subject: SFSIP-86 X-Git-Tag: v1.0.4~1159 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9be2c195882600f181edb8e394c6bdf12b08744d;p=thirdparty%2Ffreeswitch.git SFSIP-86 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13032 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 39b4b2c58c..1c99b6b229 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -3761,13 +3761,9 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t } } - if (refer_to->r_url && refer_to->r_url->url_headers) { - headers = switch_core_session_sprintf(session, "?%s", refer_to->r_url->url_headers); - } - - exten = switch_core_session_sprintf(session, "sofia/%s/sip:%s@%s:%s%s%s", + exten = switch_core_session_sprintf(session, "sofia/%s/sip:%s@%s", profile->name, refer_to->r_url->url_user, - refer_to->r_url->url_host, port, param_string, headers); + refer_to->r_url->url_host); switch_core_new_memory_pool(&npool); nightmare_xfer_helper = switch_core_alloc(npool, sizeof(*nightmare_xfer_helper));