Hello to all Im trying to use Kamailio with xmpp module in Component Mode. So, I have Jabberd2 installed and running in the same machine, and this is my config:
loadmodule "xmpp.so"
modparam("xmpp", "domain_separator", "*") modparam("xmpp", "gateway_domain", "jabber.servebeer.com") modparam("xmpp", "xmpp_domain", "jabber.servebeer.com") modparam("xmpp", "xmpp_host", "my_server_IP") modparam("xmpp", "xmpp_port", 5347)
if (method == "MESSAGE") { log("*** xmpp-handled MESSAGE message.\n");
if (xmpp_send_message()) { t_reply("200", "Accepted"); } else { t_reply("404", "Not found"); } return; }
but I'm receiving this errors:
kamailio[8218]: ERROR:xmpp:cmd_send_message: invalid content-type 0x300ff
What could be the problem? Thanks regards Joao Pereira