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

Daniel Tryba daniel at tryba.nl
Fri Aug 3 09:24:06 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)).

redirect_method=uri_pjsip works as expected with regard to the header
manipulation stuff.

Also I can't remember why, in the past, I decided to not use uri_pjsip
other than having the redirected host in CDRs with uri_core and the
original with uri_pjsip (which I don't really care about).

I still think header manipulation should work with uri_core though.
-------------- 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/20180803/02f34ffe/attachment.sig>


More information about the asterisk-users mailing list