MODSOFIA-7
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13271 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
248f24c31b
commit
3e5633a2f2
|
@ -2898,6 +2898,11 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
|
|||
switch_channel_set_variable_partner(channel, var_name, p_contact->m_url->url_host);
|
||||
switch_channel_set_variable(channel, var_name, p_contact->m_url->url_host);
|
||||
}
|
||||
if (p_contact->m_url->url_params) {
|
||||
switch_snprintf(var_name, sizeof(var_name), "sip_redirect_contact_params_%d", i);
|
||||
switch_channel_set_variable_partner(channel, var_name, p_contact->m_url->url_params);
|
||||
switch_channel_set_variable(channel, var_name, p_contact->m_url->url_params);
|
||||
}
|
||||
p_contact = p_contact->m_next;
|
||||
i++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue