Displaying 2 results from an estimated 2 matches for "uri_core".
2018 Aug 02
3
PJSIP redirect_method=uri_core and header modifications
...p 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?
chan_sip example:
[macro-maxforwards]
exten => s,1,NoOp()
exten => s,n,Set(mf=${SIP_HEADER(Max-Forwards)})
exten => s,n,Set(mf=$[ ${mf} - 1 ])
exten => s,n,E...
2017 Apr 26
3
pjsip direct_media=yes and "unknown" endpoints
...flow directly between them
> Remotely bridged 'PJSIP/sbcs-00000092' and 'PJSIP/uplink-00000093' - media will flow directly between them
Whoever when a terminating call comes in from the uplink provider, a sip
request is send to a redirector. The redirector has redirect_method=uri_core
configured (the only method that works for me).
-- Executing [+31xxxxxxxxx at incoming:11] Dial("PJSIP/uplink-00000094", "PJSIP/+31xxxxxxxxx at pathfinder") in new stack
-- Called PJSIP/+31xxxxxxxxx at pathfinder
-- Now forwarding PJSIP/uplink-00000094 to 'PJSIP/pathfinder/...