[OpenSIPS-Users] Manipulation with the received parameter in Via for force_rport()

Denys Pozniak denys.pozniak at gmail.com
Tue May 28 07:37:20 UTC 2024


Hello!

Is it possible to change where the received parameter is added to the Via
header using force_rport()?
I need to put it after the branch parameter, since this turned out to be
important for very ancient SIP terminals.

REGISTER sip:sip.local.net SIP/2.0
Via: SIP/2.0/UDP 192.168.1.216:5060
;branch=z9hG4bK59d0cba274f66fa62e82a5a7d383b461;rport

REGISTER sip:sip.local.net SIP/2.0
Via: SIP/2.0/UDP 185.99.99.99:5060;branch=z9hG4bK92e8.8d908052.0;cid=1
Via: SIP/2.0/UDP 192.168.1.216:5060;*received=185.44.44.44*
;branch=z9hG4bK59d0cba274f66fa62e82a5a7d383b461;rport=5060

Thanks in advance!


-- 

BR,
Denys Pozniak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240528/ba97fd31/attachment.html>


More information about the Users mailing list