[asterisk-users] Can I use PJSIP_HEADER to read the SIP 183 message header?
Mark Michelson
mmichelson at digium.com
Fri Jul 10 13:14:02 CDT 2015
On 07/10/2015 11:53 AM, Rodrigo Pimenta Carvalho wrote:
> Hi.
>
> The ASTERISK wiki has a page showing the function PJSIP_HEADER(). However, it doesn't explain if such function works only over SIP INVITE messages or if it can be use, for example, to read headers from others types of SIP messages too.
>
> So, can I use PJSIP_HEADER to read the SIP 183 message header?
>
> Any hint will be very helpful!
>
> Best regards.
>
>
> RODRIGO PIMENTA CARVALHO
> Inatel Competence Center
> Software
> Ph: +55 35 3471 9200 RAMAL 979 (Brasil)
Unfortunately, PJSIP_HEADER() cannot be used on responses because SIP
responses do not enter the dialplan.
More information about the asterisk-users
mailing list