Thank you!

LCR is Working fine, But while calling to the local user in subscriber database, I am getting an error like "Too many hops"

Whether I need to change something in location module.

Scenario:
=========

if subscriber is from local db the call should not go to lcr gateway,
if subscriber is not in the local db, the call should go to the lcr gateway.



On Thu, Jul 27, 2017 at 7:17 PM, Annus Fictus <annusfictus@gmail.com> wrote:

Spanish HowTo:

https://voztovoice.org/?q=node/1491

English HowTo:

http://www.open-voip.org/index.php?title=Kamailio_LCR

https://dopensource.com/2014/12/16/least-cost-routing-with-kamailio-v4-1/

http://www.amitnepal.com/using-lcr-with-kamailio/

Regards


El 27/07/2017 a las 03:18, Logeshwaran G escribió:
I need to place the call outside using lcr ,

Please help me with some example documents for lcr kamailio.cfg.



On Thu, Jul 27, 2017 at 11:01 AM, Logeshwaran G <logeshwarangs@gmail.com> wrote:
Getting an Error:
 0(23634) INFO: rr [rr_mod.c:175]: mod_init(): outbound module not available
 0(23634) ERROR: <core> [db.c:203]: db_bind_mod(): Module db_DBURL not found. Missing loadmodule?
 0(23634) ERROR: lcr [lcr_mod.c:389]: lcr_db_bind(): unable to bind to the database module
 0(23634) ERROR: lcr [lcr_mod.c:430]: mod_init(): no database module found
 0(23634) ERROR: <core> [core/sr_module.c:968]: init_mod(): Error while initializing module lcr (/usr/local/lib64/kamailio/modules/lcr.so)

I am not sure what else need to be do?

Kindly Guid me to solve this issue, I am an begineer

On Wed, Jul 26, 2017 at 5:52 PM, Juha Heinanen <jh@tutpro.com> wrote:
Logeshwaran G writes:

> Getting Error while executing kamailio,
>
>  0(16640) ERROR: lcr [lcr_mod.c:479]: mod_init(): AVP gw_uri_avp has not
> been defined

Read lcr/README carefully before trying to use the module.

-- Juha

-----------------------------------------------

3.28. gw_uri_avp (AVP string)

Internal AVP that load_gws() function uses to store information of
matching gateways.

There is NO default value, thus this variable must be defined in
sip-router.cfg.

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users




_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users