[Kamailio-Users] xmpp:cmd_send_message: invalid content-type 0x100ff
Daniel-Constantin Mierla
miconda at gmail.com
Wed May 13 11:30:24 CEST 2009
Hello,
On 05/12/2009 06:05 PM, Joao Gomes Pereira wrote:
> 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?
>
what is your sip client? Can you paste here the SIP MESSAGE captured
with ngrep? It might be a message with html body which is not supported
by xmpp.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com/
More information about the Users
mailing list