Hi guys,
with Kamailio 4.1.6 standard configuration and dbtext as db module, when server receives a publish message on the log there's:
ERROR: db_text [dbt_base.c:391]: dbt_insert(): incompatible types v[5] - c[7]!
ERROR: presence [presentity.c:402]: update_presentity(): inserting new record in database
ERROR: presence [publish.c:464]: handle_publish(): when updating presentity
and the server reply with 500 Server Internal Error.
My conf is standard I've only used DBURL to point to my dbtext files: I've enable presence and presence_xml module
# ----- presence params -----
modparam("presence", "db_url", text:///opt/kamailio-orig/dbtext)
modparam("presence", "db_table_lock_type", 0)
modparam("presence_xml", "db_url", text:///opt/kamailio-orig/dbtext)
modparam("presence_xml", "force_active", 1)
Any idea?
Marino