[OpenSIPS-Users] XMPP Issue

JayaPrakash jp.manchu at gmail.com
Tue Mar 31 10:11:05 CEST 2009


Hi All,

I installed Opensips 1.5. I enabled XMPP module in component mode.
Jabber server (ejabberd 2.0.1) is running in the same machine.
I am trying to communicate between Opensips and Jabber server.
Opensips is configured with XMPP as described below.
**********************************************************************************
listen=udp:192.168.1.130:5060
loadmodule "xmpp.so"
# -- xmpp parameters --
modparam("xmpp", "domain_separator", "*")
modparam("xmpp", "gateway_domain", "my_host_name.com")
modparam("xmpp", "xmpp_domain", "my_host_name.com")
modparam("xmpp", "xmpp_host", "my_host_name.com")
modparam("xmpp", "backend", "component")
modparam("xmpp", "xmpp_port", 5347)
modparam("xmpp", "xmpp_password", "secret")

#------------XMPP related at route -----------------------------
        if (method == "MESSAGE") {
                log("*** xmpp-handled MESSAGE message.\n");
                if (xmpp_send_message()) {
                        t_reply("200", "Accepted");
                } else {
                        t_reply("404", "Not found");
                }
                return;
        }
*************************************************************************************
When the server is running it is keep on throwing the following error.

ERROR:xmpp:net_connect: connect() failed: Connection refused

Coming to jabber server (here it is ejabberd), it is able to allow
connections from outer xmpp servers.(It is able to connect to Gtalk and
communicate with it)
Can you please give me a suggesion to fix this issue.

Thanks
Jp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090331/9915b736/attachment.htm 


More information about the Users mailing list