<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Daniel, will there be a problem if I set up a cron job to run the domain reload command every 5 minutes? </span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Thanks,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Arun</span></div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new
 york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Daniel-Constantin Mierla <miconda@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> arun Jayaprakash <jayaprakasharun@yahoo.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, January 3, 2014 3:24 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] Kamailio multi domain issue..<br> </font> </div> <div class="y_msg_container"><br><div id="yiv7627610289"><div>
    Hello,<br clear="none">
    <br clear="none">
    reverse dns to discover hostnames is done only at startup, being a
    rather time expensive operation.<br clear="none">
    <br clear="none">
    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.<br clear="none">
    <br clear="none">
    Cheers,<br clear="none">
    Daniel<br clear="none">
    <br clear="none">
    <div class="yiv7627610289yqt8201789467" id="yiv7627610289yqt98295"><div class="yiv7627610289moz-cite-prefix">On 03/01/14 06:50, arun Jayaprakash
      wrote:<br clear="none">
    </div>
    <blockquote type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">
        <div>Hello, </div>
        <div><br clear="none">
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">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.</div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br clear="none">
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">Thanks for the help.</div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br clear="none">
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">Arun</div>
      </div>
      <br clear="none">
      <fieldset class="yiv7627610289mimeAttachmentHeader"></fieldset>
      <br clear="none">
      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a rel="nofollow" shape="rect" class="yiv7627610289moz-txt-link-abbreviated" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a rel="nofollow" shape="rect" class="yiv7627610289moz-txt-link-freetext" target="_blank" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote></div>
    <br clear="none">
    <pre class="yiv7627610289moz-signature">-- 
Daniel-Constantin Mierla - <a rel="nofollow" shape="rect" class="yiv7627610289moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a>
<a rel="nofollow" shape="rect" class="yiv7627610289moz-txt-link-freetext" target="_blank" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a rel="nofollow" shape="rect" class="yiv7627610289moz-txt-link-freetext" target="_blank" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </div></div><br><br></div> </div> </div>  </div></body></html>