[SR-Users] Presence Module do not load db_url

Vu. Minh Cao cmv.ict at gmail.com
Sun Jan 29 19:34:04 CET 2017


Hi,

I got error when loading presense module in Kamailio 4.4:

[Configure]
loadmodule "presence.so"
  modparam("presence", "db_url", "mysql://kamailio:kamailiorw@127.0.0.1/kamailio")


[Error]
ERROR: presence [presence.c:608]: fixup_presence(): Bad config - you can not call 'handle_publish' function (db_url not set)

Which is really strange since according to the source code this error just occurs if “db_url” is not set.

I already checked my database also, I can access mysql with about username/password.

Yours sincerely,

—
Vu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170130/a01453a5/attachment.html>


More information about the sr-users mailing list