[Kamailio-Users] Error runing svn version

Daniel-Constantin Mierla miconda at gmail.com
Sun May 24 09:58:06 CEST 2009



On 05/24/2009 10:54 AM, Raúl Alexis Betancor Santana wrote:
> On Sunday 24 May 2009 08:38:42 Daniel-Constantin Mierla wrote:
>   
>> Hello,
>>
>> On 05/24/2009 12:30 AM, Raúl Alexis Betancor Santana wrote:
>>     
>>> I'm geting this error when trying to run kamailio svn trunk version
>>>
>>> ...
>>> May 23 22:27:30 [17510] INFO:core:init_mod: initializing module usrloc
>>> May 23 22:27:30 [17510] INFO:usrloc:ul_init_locks: locks array size 512
>>> May 23 22:27:30 [17510] ERROR:core:db_check_api: module db_postges
>>>       

The error is that in your config you wrote wrong the name of the module 
-- it is not 'db_postges' as you can see in the message above, but 
'db_postgres' -- check your db_url parameters and see where 'postgres' 
is written wrongly.

Cheers,
Daniel


>> looks like there is a typo in the db_postgres name (you miss r or?!?).
>>
>> If you want to play with development version, then you should take the
>> sources from GIT http://sip-router.org. It is the place where the
>> development is done now.
>>     
>
> Also .. on db_postgres.c we have ...
>
> [...]
> int db_postgres_bind_api(db_func_t *dbb)
> {
>    if(dbb==NULL)
>       return -1;
>
>    memset(dbb, 0, sizeof(db_func_t));
>
>    dbb->use_table        = db_postgres_use_table;
>    dbb->init             = db_postgres_init;
> [...]
>
> So db_use_table is exported .. or am I missing something ?
>
>
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com/





More information about the sr-users mailing list