[SR-Users] Query on force_send_socket

Amarnath K ykamarnath at gmail.com
Fri Apr 3 08:39:43 CEST 2020


Hi All,

I'm using Kamailio version 5.1.9.
In cfg file have routing to send out SIP messages from Kamailio stack. In
this routing logic added

force_send_socket("tcp:192.168.40.10:5060");
forward()

I'm expecting the send port should be from 5060, but it always pick
random port to send out message.
my requirement is to send SIP messages from 5060 port instead of picking
random port.

Regards,
Amarnath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200403/8e027b2a/attachment.html>


More information about the sr-users mailing list