[OpenSIPS-Users] XMPP Stream error in component mode with OpenFire

Alejandro Rios alejandro.rios at avatar.com.co
Fri Jun 25 02:04:18 CEST 2010


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
"sip:alerios at sip.avatar.com.co<sip%3Aalerios at sip.avatar.com.co>"
and "sip:alerios at sipx.avatar.com.co <sip%3Aalerios at sipx.avatar.com.co>", but
nothing happens :(

It would be really nice to have a full working example including xmpp and
sip clients configuration for this sip-xmpp gateway module

Thank you

Alejandro Rios Peña


2010/6/24 Alejandro Rios <alejandro.rios at avatar.com.co>

> Hi
>
> I have both OpenFire and OpenSIPS running on the same machine, and both
> with the domain sip.avatar.com.co. Here's the config on my opensips.cfg:
>
> alias=sip.avatar.com.co
>
> # -- xmpp parameters --
> modparam("xmpp", "sip_domain", "sipx.avatar.com.co")
> modparam("xmpp", "xmpp_domain", "sip.avatar.com.co")
> modparam("xmpp", "xmpp_host", "127.0.0.1")
> modparam("xmpp", "xmpp_port", 5275)
> modparam("xmpp", "xmpp_password", "opensips")
> modparam("xmpp", "backend", "component")
>
> ---------------------
>
> And opensips won't register itself as component, with the following errors
> on the log:
>
>
> Jun 24 12:39:03 Centrex2 /usr/sbin/opensips[15082]: DBG:xmpp:net_connect:
> connecting to 127.0.0.1:5275...
> Jun 24 12:39:03 Centrex2 /usr/sbin/opensips[15082]: DBG:xmpp:net_connect:
> connected to 127.0.0.1:5275...
> 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='sip.avatar.com.co' version='1.0'
> xmlns:stream='http://etherx.jabber.org/streams'>]
> Jun 24 12:39:03 Centrex2 /usr/sbin/opensips[15082]:
> DBG:xmpp:xmpp_component_child_process: server read#012[</stream:stream>]
> Jun 24 12:39:03 Centrex2 /usr/sbin/opensips[15082]:
> DBG:xmpp:stream_node_callback: stream callback: 4: error
> Jun 24 12:39:03 Centrex2 /usr/sbin/opensips[15082]:
> ERROR:xmpp:stream_node_callback: stream error
>
>
> Any help would be appreciated.
>
>
> Alejandro Rios Peña
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100624/8b8e0156/attachment.htm 


More information about the Users mailing list