[SR-Users] listen directive during runtime

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


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



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


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: name "mySN1"

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

Please advise,

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