[asterisk-users] PJSIP redirect_method=uri_core and header modifications

Daniel Tryba daniel at tryba.nl
Thu Aug 2 10:35:26 CDT 2018


On Thu, Aug 02, 2018 at 05:29:23PM +0200, Daniel Tryba wrote:
> With chan_sip there is the variable SIP_MAX_FORWARDS to set
> Max-Forwards. This counter is persistant after a redirect. I can't find
> the equivalent for PJSIP, so I went the way of header manipulation. Only
> to find out that any headers added to the outbound leg are lost after a
> redirect (with redirect_method=uri_core (didn't try any other since in
> the past they didn't work for me)).
> 
> Am I missing something? Or is this a PJSIP feature?

Forgot to mention this is tested on Debian/stable its Asterisk:
13.14.1~dfsg-2+deb9u3 (so 13.14.x with some fixes).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180802/97f76357/attachment.sig>


More information about the asterisk-users mailing list