[SR-Users] Setting up a presence AS with Kamailio IMS.

Mihail Dakov mihail.dakov at ng4t.com
Mon May 18 16:00:32 CEST 2015


Hi all,

I have successfully setup a Kamailio IMS environment using just a single 
machine running three kamailio instances. I am using kamailio 4.2.4 
compiling it myself. I followed this guide: 
http://nil.uniza.sk/instant-messaging/simple/configuring-im-and-presence-kamailio-31-howto 
to setup a presence AS using the scscf instance. I used kamdbctl script 
to create the presence tables with one inconsistence with the guide. I 
had to create a db in which I created a couple of columns (table_name, 
table_version) to satisfy the kamdbctl script as it was failing  when 
running "kamdbctl presence".
At the moment the problem is that my kamailio instance is failing with 
the following error: scscf/scscf[5256]: ERROR: <core> [db.c:422]: 
db_table_version(): invalid type (3) or nul (0) version columns for 
presentity
...
and then some time later:

scscf/scscf[5256]: ERROR: <core> [db.c:440]: db_check_table_version(): 
querying version for table presentity
scscf/scscf[5256]: ERROR: presence [presence.c:322]: mod_init(): error 
during table version check
scscf/scscf[5256]: ERROR: <core> [sr_module.c:968]: init_mod(): Error 
while initializing module presence 
(/home/ng40/kamailio-4.2.4/modules/presence/presence.so)
scscf/scscf[5256]: DEBUG: cdp_avp [mod.c:224]: cdp_avp_destroy(): 
Destroying module cdp_avp

I suspect that the problem relays on creating manually the db where I 
inserted the two columns mentioned above (table_name, table_version) so 
that I could execute "kamdbctl presence". Could someone assist me into 
solving this issue?

br,

md.



More information about the sr-users mailing list