add sip_refer_to_params
This commit is contained in:
parent
38fe0a99d3
commit
2dc71d2d26
|
@ -7209,6 +7209,10 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t
|
|||
exten = (char *) refer_to->r_url->url_user;
|
||||
}
|
||||
|
||||
if (refer_to->r_url->url_params) {
|
||||
switch_channel_set_variable(tech_pvt->channel, "sip_refer_to_params", refer_to->r_url->url_params);
|
||||
}
|
||||
|
||||
switch_core_session_queue_indication(session, SWITCH_MESSAGE_REFER_EVENT);
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Process REFER to [%s@%s]\n", exten, (char *) refer_to->r_url->url_host);
|
||||
|
||||
|
|
Loading…
Reference in New Issue