[SR-Users] listen directive during runtime

Henning Westerholt hw at skalatan.de
Fri Sep 17 13:39:40 CEST 2021


Hello,

no, it‘s not possible. The sockets (in case of UDP) are created and bound on server start.

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Tihomir Culjaga
Sent: Friday, September 17, 2021 12:56 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: [SR-Users] listen directive during runtime

Hi,

is it possible to add a listen directive during kamailio runtime ?

The reason I'm asking this is in a situation when I add a new peering trunk (from a different network segment), I need to add a network interface to the kamailio server and then add a specific listen directive for that interface to reference the socket by name.

listen=udp:10.1.1.11 name "mySN1"

so i can further reference to a specific socket name when routing SIP messages.


Please advise,
Regards,
Tihomir.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210917/bab2e92b/attachment.htm>


More information about the sr-users mailing list