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.comhttps://gilawa.com/
From: sr-users sr-users-bounces@lists.kamailio.org On Behalf Of Tihomir Culjaga Sent: Friday, September 17, 2021 12:56 PM To: Kamailio (SER) - Users Mailing List sr-users@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.