git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13032 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-04-15 16:03:44 +00:00
parent 708043d677
commit 9be2c19588
1 changed files with 2 additions and 6 deletions

View File

@ -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) { exten = switch_core_session_sprintf(session, "sofia/%s/sip:%s@%s",
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",
profile->name, refer_to->r_url->url_user, 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); switch_core_new_memory_pool(&npool);
nightmare_xfer_helper = switch_core_alloc(npool, sizeof(*nightmare_xfer_helper)); nightmare_xfer_helper = switch_core_alloc(npool, sizeof(*nightmare_xfer_helper));