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.<br><br><br>Jun 18 14:28:48 [26322] DBG:xmpp:xmpp_component_child_process: got pipe cmd 2<br>
Jun
18 14:28:48 [26322] DBG:xmpp:do_send_message_component:
do_send_message_component from=[<a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com">sip:msivaraman@sips01.smithmicro.com</a>]
to=[sip:mani_openfire*<a href="http://dsdev-xmpp.smsi.com">dsdev-xmpp.smsi.com</a>@<a href="http://sip-xmpp.smithmicro.com">sip-xmpp.smithmicro.com</a>]
body=[hi]<br>Jun 18 14:28:48 [26322] DBG:xmpp:xode_send: xode_send
[<message id='smsiUA_372474835-534838778'
from='msivaraman*<a href="http://sips01.smithmicro.com">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com">xmpp-sip.smithmicro.com</a>'
to='<a href="mailto:mani_openfire@dsdev-xmpp.smsi.com">mani_openfire@dsdev-xmpp.smsi.com</a>'
type='chat'><body>hi</body></message>]<br>Jun 18 14:28:48 [26322] DBG:xmpp:xmpp_component_child_process: server read<br>[<message
type='error'
to='msivaraman*<a href="http://sips01.smithmicro.com">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com">xmpp-sip.smithmicro.com</a>'
from='<a href="mailto:mani_openfire@dsdev-xmpp.smsi.com">mani_openfire@dsdev-xmpp.smsi.com</a>'
id='smsiUA_372474835-534838778'><body>hi</body><error
code='400' type='modify'><bad-request
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></message>]<br><br>Could any one please help.<br><br><br><div class="gmail_quote">On Thu, Jun 18, 2009 at 2:43 PM, mani sivaraman <span dir="ltr"><<a href="mailto:mani.opensips@gmail.com">mani.opensips@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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.<br>
<br>Could any one look at the output log and tell me what is missing ?<br>Thanks you very much<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Thu, Jun 18, 2009 at 10:56 AM, mani sivaraman <span dir="ltr"><<a href="mailto:mani.opensips@gmail.com" target="_blank">mani.opensips@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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<br>
<br><a href="http://www.opensips.org/Resources/PuaXmppConfig" target="_blank">http://www.opensips.org/Resources/PuaXmppConfig</a><br>
<br>I have 3 domains defined for my opensips server.<br><br><a href="http://sips01.mydomain.com" target="_blank">sips01.mydomain.com</a> - primary opensips dns/domain defined in my sql doamin table<br><a href="http://sip-xmpp.mydoamin.com" target="_blank">sip-xmpp.mydoamin.com</a> - for gateway sip domain<br>
<a href="http://xmpp.mydomain.com" target="_blank">xmpp.mydomain.com</a> - for xmpp server<br><a href="http://xmpp-sip.mydomain.com" target="_blank">xmpp-sip.mydomain.com</a> - for xmpp component of opensips<br><br>
I have configured the same according to the link. config above.<br>
<br>I have all these 4 domain in /etc/hosts file. The first primary domain is the only one on dns look up.<br><br>I have ejabbered server listenening on port 5347, I also see my opensips ESTABLISHED connetion to port 5347 of ejabbered.<br>
<br>Testing:<br>------------<br>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.<br>so the buddy added was like<br>
<br>mani_openfire*<a href="http://openfire.mydomain.com" target="_blank">openfire.mydomain.com</a>@<a href="http://sip-xmpp.mydomain.com" target="_blank">sip-xmpp.mydomain.com</a><br><br>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.<br>
<br>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.<br><br>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.<br>
<br>
</blockquote></div><br>
</div></div></blockquote></div><br>