[asterisk-users] Context for 302 Moved response

Joshua C. Colp jcolp at sangoma.com
Wed Apr 27 04:27:07 CDT 2022


On Wed, Apr 27, 2022 at 5:33 AM David Cunningham <dcunningham at voisonics.com>
wrote:

> Hi Jon,
>
> 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.
>

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().

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20220427/c3694b40/attachment.html>


More information about the asterisk-users mailing list