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:[email protected]<sip%[email protected]>" and "sip:[email protected] <sip%[email protected]>", 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 <[email protected]> > 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 > > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
