[OpenSIPS-Users] pua_xmpp sip-xmpp gateway setup help
mani sivaraman
mani.opensips at gmail.com
Thu Jun 18 22:02:12 CEST 2009
I see the following XMPP message communication debug from opensips server
console. The opensips gets a 400 error for sending the xmpp message to
openfire.
Jun 18 14:28:48 [26322] DBG:xmpp:xmpp_component_child_process: got pipe cmd
2
Jun 18 14:28:48 [26322] DBG:xmpp:do_send_message_component:
do_send_message_component
from=[sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>]
to=[sip:mani_openfire*dsdev-xmpp.smsi.com at sip-xmpp.smithmicro.com] body=[hi]
Jun 18 14:28:48 [26322] DBG:xmpp:xode_send: xode_send [<message
id='smsiUA_372474835-534838778' from='msivaraman*sips01.smithmicro.com@
xmpp-sip.smithmicro.com' to='mani_openfire at dsdev-xmpp.smsi.com'
type='chat'><body>hi</body></message>]
Jun 18 14:28:48 [26322] DBG:xmpp:xmpp_component_child_process: server read
[<message type='error' to='msivaraman*sips01.smithmicro.com@
xmpp-sip.smithmicro.com' from='mani_openfire at dsdev-xmpp.smsi.com'
id='smsiUA_372474835-534838778'><body>hi</body><error code='400'
type='modify'><bad-request
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></message>]
Could any one please help.
On Thu, Jun 18, 2009 at 2:43 PM, mani sivaraman <mani.opensips at gmail.com>wrote:
> I have the full detailed debug console out of opensips, while trying to add
> an xmpp buddy to my sip client connected to opensips. Seems like I get the
> NOTIFY for the new xmpp buddy added, but blank xml body. The message is not
> reaching the openfire xmpp clinet.
>
> Could any one look at the output log and tell me what is missing ?
> Thanks you very much
>
>
>
> On Thu, Jun 18, 2009 at 10:56 AM, mani sivaraman <mani.opensips at gmail.com>wrote:
>
>> I'm new to opensips. I'm trying to setup sip-xmpp gateway using the
>> "component" mode with a local ejabbered server. I followed the opensips.cfg
>> found in link
>>
>> http://www.opensips.org/Resources/PuaXmppConfig
>>
>> I have 3 domains defined for my opensips server.
>>
>> sips01.mydomain.com - primary opensips dns/domain defined in my sql
>> doamin table
>> sip-xmpp.mydoamin.com - for gateway sip domain
>> xmpp.mydomain.com - for xmpp server
>> xmpp-sip.mydomain.com - for xmpp component of opensips
>>
>> I have configured the same according to the link. config above.
>>
>> I have all these 4 domain in /etc/hosts file. The first primary domain is
>> the only one on dns look up.
>>
>> I have ejabbered server listenening on port 5347, I also see my opensips
>> ESTABLISHED connetion to port 5347 of ejabbered.
>>
>> Testing:
>> ------------
>> I logged into opensips with a sip/presence client and added an xmpp buddy
>> to the sip contact list with the following format. The xmpp buddy is on an
>> openfire server.
>> so the buddy added was like
>>
>> mani_openfire*openfire.mydomain.com at sip-xmpp.mydomain.com
>>
>> I see opensips sending SUBSCRIBE to mani_openfire and got NOTIFY for the
>> same. But there is no body in the NOTIFY. Says subscription state = active.
>> I do not see any communication to the openfire server however, if I do a
>> tcpdump.
>>
>> When I try to send a message to the openfire buddy, I get 200 OK, but the
>> MESSAGE never gets through to the openfire server buddy.
>>
>> I'm attaching the opensips.cfg for ref. Could any one please point out
>> what I'm doing wrong. I do not seeing any error when testing. Still MESSAGE
>> is not working bet sip and xmpp.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090618/facface1/attachment-0001.htm
More information about the Users
mailing list