[OpenSIPS-Users] strange behavior with TCP reply port

Liviu Chircu liviu at opensips.org
Mon Aug 16 20:06:15 EST 2021


On 11.08.2021 22:01, Jeff Pyle wrote:
> the sl_send_reply() function opens a new TCP socket to the UAC on the 
> IP:port listed in the original message's Contact, rather than sending 
> the 100 on the existing socket (using the ephemeral port)

Hi, Jeff!

Just to frame the problem better: are you sure the reply's target 
IP:port is equal to the request's Contact header and not the topmost Via 
header?  Maybe a /force_rport()/ before calling /sl_send_reply()/ is 
everything that's needed here.  *fingers crossed*

Best,

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com
OpenSIPS Summit 2021 Distributed | www.opensips.org/events

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210816/57aeaec8/attachment.html>


More information about the Users mailing list