[SR-Users] KAMILIO-4.1.4 REGISTRATION ISSUE

Cibin Paul paul_cibin at me.com
Wed Jul 16 14:53:34 CEST 2014


Hello,

It is working now. Thanks for your prompt help. 

Regards
Cibin


On 16-Jul-2014, at 6:16 pm, g.aloitus at gmail.com wrote:

> Hello,
> 
> To get code within #!ifdef block to be executed, yo have to place corresponding #!define statements on top of kamailio.cfg, just after #!KAMAILIO line.
> 
> Best,
> 
> Teijo
> 
> 16.7.2014 15:21, Cibin Paul kirjoitti:
>> Hello,
>> 
>> I have the following configuration
>> #!ifdef WITH_MYSQL
>> loadmodule “db_mysql.so"
>> 
>> #!ifdef WITH_AUTH
>> loadmodule "auth.so"
>> loadmodule "auth_db.so"
>> 
>> #!ifdef WITH_USRLOCDB
>> modparam("usrloc", "db_url", DBURL)
>> modparam("usrloc", "db_mode", 2)
>> modparam("usrloc", "use_domain", MULTIDOMAIN)
>> #!endif
>> 
>> #!ifdef WITH_AUTH
>> modparam("auth_db", "db_url", DBURL)
>> modparam("auth_db", "calculate_ha1", yes)
>> modparam("auth_db", "password_column", "password")
>> modparam("auth_db", "load_credentials", "")
>> modparam("auth_db", "use_domain", MULTIDOMAIN)
>> 
>> Cibin
>> 
>> 
>> On 16-Jul-2014, at 5:45 pm, g.aloitus at gmail.com wrote:
>> 
>>> Hello,
>>> 
>>> And you have:
>>> 
>>> #!define WITH_MYSQL
>>> and
>>> #!define WITH_AUTH
>>> 
>>> in you kamailio.cfg?
>>> 
>>> Best,
>>> 
>>> Teijo
>>> 
>>> 16.7.2014 14:38, Cibin Paul kirjoitti:
>>>> I have kamailio 4.1.4 installed with DB Engine as mysql. I added users using the command kamctl add and I could see the entry in subscriber table. When I am trying to  register, kamailio is accepting any combination of username and password not listed in the table. What could be wrong? I followed the INSTALLATION document provided in the source file. Please help me troubleshoot this. Kamailio is up and running and not throwing any errors. kamctl moni shows 1 user registered. But the registered user doesn’t even exist
>>>> 
>>>> Server Details
>>>> 
>>>> OS : Centos 5.5
>>>> Kamailio version - 4.1.4
>>>> MySQL version - 5.0.95
>>>> 
>>>> Cibin
>>>> _______________________________________________
>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>> sr-users at lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>> 
>>> 
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>> 
>> 
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>> 
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




More information about the sr-users mailing list