<div dir="ltr"><div><div><div><div><div>Thank you!<br><br></div>LCR is Working fine, But while calling to the local user in subscriber database, I am getting an error like "Too many hops"<br><br></div>Whether I need to change something in location module.<br><br></div>Scenario:<br>=========<br><br></div>if subscriber is from local db the call should not go to lcr gateway,<br></div>if subscriber is not in the local db, the call should go to the lcr gateway.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 27, 2017 at 7:17 PM, Annus Fictus <span dir="ltr"><<a href="mailto:annusfictus@gmail.com" target="_blank">annusfictus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Spanish HowTo:</p>
<p><a class="m_2219635763245317789moz-txt-link-freetext" href="https://voztovoice.org/?q=node/1491" target="_blank">https://voztovoice.org/?q=<wbr>node/1491</a></p>
<p>English HowTo:</p>
<p><a class="m_2219635763245317789moz-txt-link-freetext" href="http://www.open-voip.org/index.php?title=Kamailio_LCR" target="_blank">http://www.open-voip.org/<wbr>index.php?title=Kamailio_LCR</a></p>
<p><a class="m_2219635763245317789moz-txt-link-freetext" href="https://dopensource.com/2014/12/16/least-cost-routing-with-kamailio-v4-1/" target="_blank">https://dopensource.com/2014/<wbr>12/16/least-cost-routing-with-<wbr>kamailio-v4-1/</a></p>
<p><a class="m_2219635763245317789moz-txt-link-freetext" href="http://www.amitnepal.com/using-lcr-with-kamailio/" target="_blank">http://www.amitnepal.com/<wbr>using-lcr-with-kamailio/</a></p>
<p>Regards<br>
</p><div><div class="h5">
<br>
<div class="m_2219635763245317789moz-cite-prefix">El 27/07/2017 a las 03:18, Logeshwaran
G escribió:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>I need to place the call outside using lcr ,<br>
<br>
</div>
Please help me with some example documents for lcr kamailio.cfg.<br>
<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jul 27, 2017 at 11:01 AM,
Logeshwaran G <span dir="ltr"><<a href="mailto:logeshwarangs@gmail.com" target="_blank">logeshwarangs@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>Getting an Error:<br>
0(23634) INFO: rr [rr_mod.c:175]: mod_init():
outbound module not available<br>
0(23634) ERROR: <core> [db.c:203]:
db_bind_mod(): Module db_DBURL not found. Missing
loadmodule? <br>
0(23634) ERROR: lcr [lcr_mod.c:389]: lcr_db_bind():
unable to bind to the database module<br>
0(23634) ERROR: lcr [lcr_mod.c:430]: mod_init(): no
database module found<br>
0(23634) ERROR: <core> [core/sr_module.c:968]:
init_mod(): Error while initializing module lcr
(/usr/local/lib64/kamailio/mod<wbr>ules/lcr.so)<br>
<br>
</div>
I am not sure what else need to be do? <br>
<br>
</div>
Kindly Guid me to solve this issue, I am an begineer<br>
</div>
<div class="m_2219635763245317789HOEnZb">
<div class="m_2219635763245317789h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jul 26, 2017 at 5:52
PM, Juha Heinanen <span dir="ltr"><<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Logeshwaran
G writes:<br>
<br>
> Getting Error while executing kamailio,<br>
><br>
> 0(16640) ERROR: lcr [lcr_mod.c:479]:
mod_init(): AVP gw_uri_avp has not<br>
> been defined<br>
<br>
</span>Read lcr/README carefully before trying to
use the module.<br>
<br>
-- Juha<br>
<br>
------------------------------<wbr>-----------------<br>
<br>
3.28. gw_uri_avp (AVP string)<br>
<br>
Internal AVP that load_gws() function uses to
store information of<br>
matching gateways.<br>
<br>
There is NO default value, thus this variable must
be defined in<br>
sip-router.cfg.<br>
<div class="m_2219635763245317789m_-9050674080074906242HOEnZb">
<div class="m_2219635763245317789m_-9050674080074906242h5"><br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="m_2219635763245317789mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_2219635763245317789moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="m_2219635763245317789moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>