[SR-Users] Confusion about TCP worker ports

Alex Balashov abalashov at evaristesys.com
Thu Oct 29 21:45:29 CET 2020


There's not really a reasonable way for you to add your own Via header 
to this outgoing request. If Kamailio is doing something wrong or 
inconsistent in this context, it should be fixed there.

On 10/29/20 4:42 PM, Noah Mehl wrote:
> 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
> 
> 
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> 

-- 
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/



More information about the sr-users mailing list