Hi, is there a way of forbidding Asterisk with PJSIP to send rport in Via header. Although I have an option force_rport set to no for my endpoints, rport is still present in the Options messages. This causes my cisco phones to automatically fall to unavailable state. For CHAN_SIP nat=no seems to work as expected.
Thanks in advance.
09:31:54.004628 IP (tos 0x0, ttl 64, id 24137, offset 0, flags [DF], proto UDP (17), length 453)
10.0.0.100.5060 > 10.2.0.194.49982: SIP, length: 425
OPTIONS sip:1002@10.2.0.194:49982 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.100:5060;rport;branch=z9hG4bKPj60e15592-489f-4424-b8f5-46a385119c15
From: <sip:1002@10.0.0.100>;tag=90bd01f7-c24d-4092-ba81-94fa068dfe62
To: <sip:1002@10.2.0.194>
Contact: <sip:1002@10.0.0.100:5060>
Call-ID: fe9bd533-8f8d-488f-aa76-76f5064a42de
CSeq: 22705 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-14.0.1.24(13.19.1)
Content-Length: 0