Daniel, will there be a problem if I set up a cron job to run the domain reload 
command every 5 minutes? 

Thanks,
Arun


________________________________
 From: Daniel-Constantin Mierla <mico...@gmail.com>
To: arun Jayaprakash <jayaprakasha...@yahoo.com>; Kamailio (SER) - Users 
Mailing List <sr-users@lists.sip-router.org> 
Sent: Friday, January 3, 2014 3:24 AM
Subject: Re: [SR-Users] Kamailio multi domain issue..
 


Hello,

reverse dns to discover hostnames is done only at startup, being a
    rather time expensive operation.

You should use domain module where you put the list of local domains
    in a database table and issue reload commands via kamctl. You can
    enable a parameter so that domains managed by this module match the
    'mysql' keyword.

Cheers,
Daniel


On 03/01/14 06:50, arun Jayaprakash wrote:

Hello, 
>
>
>I am using Kamailio with a multidomain set up. It is working well but for one 
>issue: I first populate the /etc/hosts file with the domain name and the IP 
>address ( and of course the domain table ) but the new domain does not take 
>effect till I restart the kamailio. Does anyone know how I can overcome this 
>problem as it is not possible for me to keep restarting the server each time a 
>new user registers.
>
>
>Thanks for the help.
>
>
>Arun
>
>
>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list 
sr-users@lists.sip-router.org 
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 

-- 
Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda 
- http://www.linkedin.com/in/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to