<div dir="ltr">Hi<div><br></div><div>I am use a reply_context during a bridge in order to handle a 302 Redirect myself within the FS dialplan.</div><div><br>One of the things I need to know is which host and port that the 302 was received from.</div><div><br></div><div>Looking through sofia.c, this information is being set in the form of:</div><div><br></div><div><div>  switch_channel_set_variable(channel, "sip_reply_host", network_ip);</div><div>  switch_channel_set_variable_printf(channel, "sip_reply_port", "%d", network_port);</div></div><div><br></div><div>However the code then goes on to perform a transfer to the new context:</div><div>   </div><div>   switch_ivr_session_transfer(a_session, p_contact->m_url->url_user, sip_redirect_dialplan, sip_redirect_context);<br></div><div><br></div><div>And within the XML dialplan in that context, the variables sip_reply_host, sip_reply_port (and the contact_uris from the 302) are all missing,.</div><div><br></div><div><br></div><div>Is is possible to get this information somehow from within a redirect_context? Am I missing a trick somewhere?</div><div><br>Thanks</div><div><br>Pete</div><div><br></div><div><br></div></div>