Hi All,<br><br>I installed Opensips 1.5. I enabled XMPP module in component mode.<br>Jabber server (ejabberd 2.0.1) is running in the same machine. <br>I am trying to communicate between Opensips and Jabber server.<br>Opensips is configured with XMPP as described below.<br>
**********************************************************************************<br>listen=udp:<a href="http://192.168.1.130:5060">192.168.1.130:5060</a><br>loadmodule "xmpp.so"<br># -- xmpp parameters --<br>modparam("xmpp", "domain_separator", "*")<br>
modparam("xmpp", "gateway_domain", "<a href="http://my_host_name.com">my_host_name.com</a>")<br>modparam("xmpp", "xmpp_domain", "<a href="http://my_host_name.com">my_host_name.com</a>")<br>
modparam("xmpp", "xmpp_host", "<a href="http://my_host_name.com">my_host_name.com</a>")<br>modparam("xmpp", "backend", "component")<br>modparam("xmpp", "xmpp_port", 5347)<br>
modparam("xmpp", "xmpp_password", "secret")<br><br>#------------XMPP related at route -----------------------------<br> if (method == "MESSAGE") {<br> log("*** xmpp-handled MESSAGE message.\n");<br>
if (xmpp_send_message()) {<br> t_reply("200", "Accepted");<br> } else {<br> t_reply("404", "Not found");<br>
}<br> return;<br> }<br>*************************************************************************************<br>When the server is running it is keep on throwing the following error.<br>
<br>ERROR:xmpp:net_connect: connect() failed: Connection refused<br clear="all"><br>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)<br>
Can you please give me a suggesion to fix this issue.<br><br>Thanks<br>Jp<br>