[SR-Users] Confusion about TCP worker ports

Noah Mehl noahmehl at gmail.com
Thu Oct 29 21:42:53 CET 2020


Alex,

No dice.

So now my question is what is the correct way to fix the Via?

If this is the original:

Via: SIP/2.0/TCP 1.1.1.1;branch=z9hG4bKd408.3f53e940ccb20c1033df4b3a8ebd8a34.0;i=1

Then do I update the port like this:

Via: SIP/2.0/TCP 1.1.1.1:33940;branch=z9hG4bKd408.3f53e940ccb20c1033df4b3a8ebd8a34.0;i=1

Or should I use an rport tag:

Via: SIP/2.0/TCP 1.1.1.1;branch=z9hG4bKd408.3f53e940ccb20c1033df4b3a8ebd8a34.0;i=1;rport=33940

Thanks!

~Noah

> On Oct 29, 2020, at 4:12 PM, Alex Balashov <abalashov at evaristesys.com> wrote:
> 
> Noah,
> 
> It is also possible that this core config parameter will in and of itself cure your problem:
> 
> https://www.kamailio.org/wiki/cookbooks/5.4.x/core#tcp_reuse_port
> 
> Not sure whether it helps only in tandem with the previous UAC default_socket modparam suggestion, or is sufficient in and of itself.
> 
> -- Alex
> 
> -- 
> Alex Balashov | Principal | Evariste Systems LLC
> 
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
> 
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users




More information about the sr-users mailing list