<div class="gmail_quote">Hi<br><br>I have both OpenFire and OpenSIPS running on the same machine, and both with the domain <a href="http://sip.avatar.com.co" target="_blank">sip.avatar.com.co</a>. Here's the config on my opensips.cfg:<br>
<br>alias=<a href="http://sip.avatar.com.co" target="_blank">sip.avatar.com.co</a><br>
<br># -- xmpp parameters --<br>modparam("xmpp", "sip_domain", "<a href="http://sipx.avatar.com.co" target="_blank">sipx.avatar.com.co</a>")<br>modparam("xmpp", "xmpp_domain", "<a href="http://sip.avatar.com.co" target="_blank">sip.avatar.com.co</a>")<br>
modparam("xmpp", "xmpp_host", "127.0.0.1")<br>modparam("xmpp", "xmpp_port", 5275)<br>modparam("xmpp", "xmpp_password", "opensips")<br>modparam("xmpp", "backend", "component")<br>
<br>---------------------<br><br>And opensips won't register itself as component, with the following errors on the log:<br><br><br>Jun 24 12:39:03 Centrex2 /usr/sbin/opensips[15082]: DBG:xmpp:net_connect: connecting to 127.0.0.1:5275...<br>
Jun 24 12:39:03 Centrex2 /usr/sbin/opensips[15082]: DBG:xmpp:net_connect: connected to 127.0.0.1:5275...<br>Jun 24 12:39:03 Centrex2 /usr/sbin/opensips[15082]: DBG:xmpp:net_printf: net_printf: [<?xml version='1.0'?><stream:stream xmlns='jabber:component:accept' to='<a href="http://sip.avatar.com.co" target="_blank">sip.avatar.com.co</a>' version='1.0' xmlns:stream='<a href="http://etherx.jabber.org/streams" target="_blank">http://etherx.jabber.org/streams</a>'>]<br>
Jun 24 12:39:03 Centrex2 /usr/sbin/opensips[15082]: DBG:xmpp:xmpp_component_child_process: server read#012[</stream:stream>]<br>Jun 24 12:39:03 Centrex2 /usr/sbin/opensips[15082]: DBG:xmpp:stream_node_callback: stream callback: 4: error<br>
Jun 24 12:39:03 Centrex2 /usr/sbin/opensips[15082]: ERROR:xmpp:stream_node_callback: stream error<br><br><br>Any help would be appreciated.<br><font color="#888888"><br><br>Alejandro Rios Peņa<br><br>
</font></div><br>