[SR-Users] Questions about LCR

Scott Fertig scottf at staff.wcoil.com
Thu Oct 8 02:17:57 CEST 2015

Downgraded to 4.3.3 and changed some values in the lcr tables  - now 
everything is working.

This is my first experience with Kamailio and it is sooo exciting!!!

you guys are great!


On 10/07/2015 06:13 PM, Scott Fertig wrote:
> In my haste I totally forgot to include the error I am getting, it 
> appears that no gateways are being loaded (from what I can see in my 
> sipcapture), the INVITE occurs but I get a general failure which is 
> the message provided by the route I am guessing
> SIP/2.0 503 Service not available, no gateways found.
> Via: SIP/2.0/UDP 
> From: <sip:4195555555 at>;tag=lIjmUowzPHblHWksJ2fIGgNpQgcfEb.9.
> To: 
> <sip:4192292645 at>;tag=5354c6ee59e2fd03cf2c294aac114b55.6b8e.
> Call-ID: cjh6VQ.6ckDQ01pbhpTwyYYmsdLRottB.
> CSeq: 27948 INVITE.
> Server: kamailio (4.4.0-dev5 (x86_64/linux)).
> Content-Length: 0.
> IP addresses have been changed, they are actually not lan addresses.
> Thanks again!
> On 10/07/2015 05:16 PM, Scott C. Fertig wrote:
>> Hello,
>> Sorry to bother and if I sound like a newb thats because I am kind of 
>> new (but im trying =) )
>> I am having some issues getting started using LCR and was wondering 
>> if anyone could point me in the right direction and/or let me know 
>> what I am doing wrong. I began setting up the other day using 
>> kamailio (4.4.0-dev5) from git (maybe I picked the wrong version?) 
>> and am struggling to get lcr to work properly. So far I have been 
>> able to get the module to load, added the route to the config and 
>> have added some LCR values. Inbound calling is working perfectly to a 
>> registered device which is great so far.
>> This is my config for the LCR:
>> http://pastebin.com/LUF0Pgr1
>> I have the following values in my database for LCR:
>> http://pastebin.com/bDpQug0J
>> I was not sure if dumping all the text in the email would be 
>> appropriate if needed please let me know to resend with the configs 
>> in the email.
>> Whats strange to me is that even with the xlog I do not get any 
>> messages to syslog at all, I have defined WITH_DEBUG, debug level at 
>> 3, and log facility set to LOG_LOCAL0
>> (Sorry if I'm bringing up multiple issues)
>> Anyways back on point, I'm wondering if this is related to the avp's 
>> listed, I am not sure what the avps referenced are supposed to 
>> represent, when I try to dump all the avps I get a empty list, and it 
>> is querying the usr_preference table for these. Is there something I 
>> need to add within this table, or is there perhaps something wrong 
>> with my configuration?
>> [root at localhost kamailio]# kamctl avp list
>> database engine 'MYSQL' loaded
>> Control engine 'FIFO' loaded
>> Query: SELECT uuid,username,domain,attribute,type,value FROM 
>> usr_preferences ;
>> Dumping AVPs
>> Thank you!

More information about the sr-users mailing list