[Kamailio-Users] xcap and pua modules

Juha Heinanen jh at tutpro.com
Wed Mar 25 11:30:11 CET 2009


Luntras Loredana writes:

 > I am still trying to install a presence server and a RLS. What I understood is that I have to install the xcap module on Kamailio and a Xcap server. I began with the pua and xcap_client module. When installing xcap_client I have the following errors:
 > 
 > xcap_client.c:162: attention : implicit declaration of function «curl_global_cleanup"
 > 
 > make[1]: *** [xcap_client.o] Erreur 1
 > 
 > make[1]: quittant le répertoire « /opt/kamailio-1.5.0-tls/modules/xcap_client »
 > 
 > make: *** [modules] Erreur 2

you mean when you are building, not installing xcap_client.  check that
you have libcurl installed.

 > And when I am restarting kamailio server (I've added "loadmodule pua.so) I also have an error (I am in the debug mode)
 > 
 > Mar 25 10:12:48 [11907] ERROR:core:db_check_table_version: invalid version 5 for table pua found, expected 6 (check table structure and table "version")
 > 
 > Mar 25 10:12:48 [11907] ERROR:pua:mod_init: error during table version check.
 > 
 > Mar 25 10:12:48 [11907] ERROR:core:init_mod: failed to initialize module pua
 
 > Mar 25 10:12:48 [11907] ERROR:core:main: error while initializing
 > modules

again you are doing something wrong.  1.5 presence_create.sql is
installing pua table with version number 6:

INSERT INTO version (table_name, table_version) values ('pua','6');

i suggest that if you ask this kind of question, you should not try to
build kamailio from source, but install it from a ready made package.

-- juha




More information about the sr-users mailing list