<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&#39;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(&quot;xmpp&quot;, &quot;sip_domain&quot;, &quot;<a href="http://sipx.avatar.com.co" target="_blank">sipx.avatar.com.co</a>&quot;)<br>modparam(&quot;xmpp&quot;, &quot;xmpp_domain&quot;, &quot;<a href="http://sip.avatar.com.co" target="_blank">sip.avatar.com.co</a>&quot;)<br>

modparam(&quot;xmpp&quot;, &quot;xmpp_host&quot;, &quot;127.0.0.1&quot;)<br>modparam(&quot;xmpp&quot;, &quot;xmpp_port&quot;, 5275)<br>modparam(&quot;xmpp&quot;, &quot;xmpp_password&quot;, &quot;opensips&quot;)<br>modparam(&quot;xmpp&quot;, &quot;backend&quot;, &quot;component&quot;)<br>

<br>---------------------<br><br>And opensips won&#39;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: [&lt;?xml version=&#39;1.0&#39;?&gt;&lt;stream:stream xmlns=&#39;jabber:component:accept&#39; to=&#39;<a href="http://sip.avatar.com.co" target="_blank">sip.avatar.com.co</a>&#39; version=&#39;1.0&#39; xmlns:stream=&#39;<a href="http://etherx.jabber.org/streams" target="_blank">http://etherx.jabber.org/streams</a>&#39;&gt;]<br>

Jun 24 12:39:03 Centrex2 /usr/sbin/opensips[15082]: DBG:xmpp:xmpp_component_child_process: server read#012[&lt;/stream:stream&gt;]<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>