add variable for one legged 302's via originate so you can tell it happened.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15163 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
36d2d2f944
commit
c8a6fdbf28
|
@ -3263,6 +3263,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
|
|||
full_contact = sip_header_as_string(home, (void *) sip->sip_contact);
|
||||
invite_contact = sofia_glue_strip_uri(full_contact);
|
||||
|
||||
switch_channel_set_variable(channel, "sip_redirected_to", invite_contact);
|
||||
tech_pvt->redirected = switch_core_session_strdup(session, invite_contact);
|
||||
|
||||
free(invite_contact);
|
||||
|
|
Loading…
Reference in New Issue