[OpenSIPS-Users] XMPP Stream Errors;

Anca Vamanu anca at opensips.org
Mon Dec 13 14:16:18 CET 2010


Hi David,

Are you sure you have configured ejabber to accept component connection 
from OpenSIPS?

You have to edit the /etc/ejabberd/ejabberd.conf and add a block in the 
listen list:

  %% External OpenSIPS component
   {5347, ejabberd_service, [
                     {host, "domain.com", [{password, "passw0rd"}]}
                 ]},

Also the port you set in the opensips configuration is not right - the 
default port for the component is 5347, you should not set the xmpp_port 
parameter and let it use the default one.

Regards,

-- 
Anca Vamanu
www.voice-system.ro





On 12/13/2010 02:49 PM, David J. wrote:
> Dec 13 12:46:27 [9576] DBG:xmpp:xmpp_component_child_process: server read
> [<stream:error><invalid-namespace 
> xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>]
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback: 
> 0: stream:error
> Dec 13 12:46:27 [9576] DBG:xmpp:xode_send: xode_send 
> [<handshake>72117fa8284621f1aa0745039a7a22584b7c901a</handshake>]
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback: 
> 1: invalid-namespace
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback: 
> 2: n/a
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: resolving hyperpbx.com...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connecting to 
> 204.232.210.34:5269...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connected to 
> 204.232.210.34:5269...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_printf: net_printf: [<?xml 
> version='1.0'?><stream:stream xmlns='jabber:component:accept' 
> to='127.0.0.1' version='1.0' 
> xmlns:stream='http://etherx.jabber.org/streams'>]
> Dec 13 12:46:27 [9576] DBG:xmpp:xmpp_component_child_process: server read
> [<stream:error><invalid-namespace 
> xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>]
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback: 
> 0: stream:error
> Dec 13 12:46:27 [9576] DBG:xmpp:xode_send: xode_send 
> [<handshake>72117fa8284621f1aa0745039a7a22584b7c901a</handshake>]
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback: 
> 1: invalid-namespace
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback: 
> 2: n/a
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: resolving hyperpbx.com...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connecting to 
> 204.232.210.34:5269...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connected to 
> 204.232.210.34:5269...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_printf: net_printf: [<?xml 
> version='1.0'?><stream:stream xmlns='jabber:component:accept' 
> to='127.0.0.1' version='1.0' 
> xmlns:stream='http://etherx.jabber.org/streams'>]
> Dec 13 12:46:27 [9576] DBG:xmpp:xmpp_component_child_process: server read
> [<stream:error><invalid-namespace 
> xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>]
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback: 
> 0: stream:error
> Dec 13 12:46:27 [9576] DBG:xmpp:xode_send: xode_send 
> [<handshake>72117fa8284621f1aa0745039a7a22584b7c901a</handshake>]
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback: 
> 1: invalid-namespace
> Dec 13 12:46:27 [9576] DBG:xmpp:stream_node_callback: stream callback: 
> 2: n/a
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: resolving hyperpbx.com...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connecting to 
> 204.232.210.34:5269...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_connect: connected to 
> 204.232.210.34:5269...
> Dec 13 12:46:27 [9576] DBG:xmpp:net_printf: net_printf: [<?xml 
> version='1.0'?><stream:stream xmlns='jabber:component:accept' 
> to='127.0.0.1' version='1.0' 
> xmlns:stream='http://etherx.jabber.org/streams'>]
>



More information about the Users mailing list