<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <span id="result_box" class="" lang="en"><span class="hps">Hi Jon!!<br>
        <br>
        That is correct.</span> <span class="hps">The entry</span> <span
        class="hps">for that</span> <span class="hps">prefix</span> <span
        class="hps">does not appear in</span> <span class="hps">NGCP</span><span
        class="atn">-</span><span>panel,</span> <span class="hps">I</span>
      <span class="hps">created</span> <span class="hps">only</span> <span
        class="hps">two rules</span> <span class="hps">346 and</span> <span
        class="hps">349.</span> <br>
      <span class="hps">This entry</span> <span class="hps">must</span>
      <span class="hps">be</span> <span class="hps">a</span> <span
        class="hps">test</span> <span class="hps">that has not been</span>
      <span class="hps">removed</span><span>.<br>
        <br>
        Thanks/Gracias<br>
        <br>
      </span></span>
    <div class="moz-cite-prefix">On 30/01/14 09:35, Jon Bonilla (Manwe)
      wrote:<br>
    </div>
    <blockquote cite="mid:20140130093531.76390f70@quenya" type="cite">
      <pre wrap="">El Thu, 30 Jan 2014 09:26:39 +0100
aruizmorillas <a class="moz-txt-link-rfc2396E" href="mailto:aruizmorillas@gmail.com"><aruizmorillas@gmail.com></a> escribió:

</pre>
      <blockquote type="cite">
        <pre wrap="">Hello Daniel,

root@sipwise-3:~# /etc/init.d/kamailio-proxy start
Starting kamailio-proxy using /etc/kamailio/proxy/kamailio.cfg:
loading modules
under /usr/lib/x86_64-linux-gnu/kamailio/modules:/usr/lib/kamailio/modules
Listening on udp: 127.0.0.1:5062
              tcp: 127.0.0.1:5062
Aliases:

kamailio error, failed to start.
root@sipwise-3:~# cat /var/log/ngcp/kamailio-proxy.log
Jan 30 00:47:53 sipwise-3 proxy[36471]: ERROR: lcr [lcr_mod.c:1275]:
reload_tables(): lcr rule <1> prefix is too long Jan 30 00:47:53 sipwise-3
proxy[36471]: CRITICAL: lcr [lcr_mod.c:672]: mod_init(): failed to reload lcr
tables Jan 30 00:47:53 sipwise-3 proxy[36471]: ERROR: <core>
[sr_module.c:939]: init_mod(): init_mod(): Error while initializing module
lcr (/usr/lib/x86_64-linux-gnu/kamailio/modules/lcr.so) root@sipwise-3:~#


thanks in advance


</pre>
      </blockquote>
      <pre wrap="">
Hi Andrés

You have an invalid lcr rule in your database. This means that in your peering
groups you have a peering rule with an invalid prefix.

If you are not sure what it could be (don't find it in the ngcp-panel) you can
check it manually via mysql command:

select * from kamailio.lcr_rule;
select * from kamailio.lcr_rule where id=1;


Kamailio refuses to start when it finds errors in the database values. You can
put invalid values in some values during runtime and it will continue to work
but when it starts it does some aditional checks and refuses to start. We try to
validate those entries in the ngcp-panel forms though. Please send us the
values so we can evaluate if further checks are needed.

cheers,

Jon
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>