Re: Context for 302 Moved response
"Joshua C. Colp" <[email protected]>
| Newsgroups | gmane.comp.telephony.pbx.asterisk.user |
|---|---|
| Message-ID | <CAM0A2Z1H7JytX1gx07iBQYSyD8s1H0QQDp+hiOjiRQWk+1eiEA@mail.gmail.com> |
On Wed, Apr 27, 2022 at 5:33 AM David Cunningham <[email protected]> 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 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users