I deleted the param xmpp_domain, and the component registered itself. But now I can't figure out how to debug pua_xmpp function. I tried seting contacts on the xmpp client in the form "<a href="mailto:sip%3Aalerios@sip.avatar.com.co">sip:alerios@sip.avatar.com.co</a>" and "<a href="mailto:sip%3Aalerios@sipx.avatar.com.co">sip:alerios@sipx.avatar.com.co</a>", but nothing happens :(<br>
<br>It would be really nice to have a full working example including xmpp and sip clients configuration for this sip-xmpp gateway module<br><br>Thank you<br><br clear="all">Alejandro Rios Peņa<br><br><br><div class="gmail_quote">
2010/6/24 Alejandro Rios <span dir="ltr"><<a href="mailto:alejandro.rios@avatar.com.co">alejandro.rios@avatar.com.co</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5"><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>
</div></div></blockquote></div><br>