<div dir="ltr"><div dir="ltr">On Wed, Apr 27, 2022 at 5:33 AM David Cunningham <<a href="mailto:dcunningham@voisonics.com">dcunningham@voisonics.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Jon,</div><div><br></div><div>Thank you for the reply. We wanted to read a particular SIP header in the 302 Moved response, but it seems that Asterisk creates a Local channel for the redirected call and the SIP_HEADER() function isn't available, so we can't really do what we wanted at all.</div></div></blockquote><div><br></div><div>Neither chan_sip or chan_pjsip provide such ability even if you had access to the SIP or PJSIP channel. SIP_HEADER() gets headers from an incoming INVITE, same for PJSIP_HEADER().</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>