Hi Anca<br>I do not see any xmpp subscribe packet request sent from opensips to jabber server. That's the reason why jabber server is not sending any presence notify to opensips. Jabber sends the xmpp status to other clients like pidgin.<br>
<br>When I add a xmpp buddy to sip client, I get the Subscriber/200 OK response. I can see the output saying subscribe sent in behalf of xmpp buddy.. etc. But this is just a sip subscribe output. I do not see any xmpp subscribe sent to jabber server from opensips. What is blocking opensips from sendsing the xmpp subscribes to jabber server ?<br>
<br>Please let me know.<br><br><div class="gmail_quote">On Wed, Jun 24, 2009 at 11:12 AM, 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;">
Oh wait, this xml packet is destined to "<a href="http://jabb2@xmpp.smithmicro.com/275c37159368" target="_blank">jabb2@xmpp.smithmicro.com</a>" , not opensips c2s interface. Since all status goes out from 5347 to all xmpp clients, I have to separate out the opensips port connected to 5347 and then try. I found it to be dynamic port 59284. After doing ngrep on that port I see opensips sending all status update to 5347, but not other way. The only packet from 5347 to 59284 is a probe to know if the an offline sip buddy is available (last couple of packets)<br>
<br>Here is the ngrep output<br><br>sips01:/etc/jabberd2# ngrep -d lo port 59284<br>interface: lo (<a href="http://127.0.0.0/255.0.0.0" target="_blank">127.0.0.0/255.0.0.0</a>)<br>filter: (ip or ip6) and ( port 59284 )<br>
#<br>T <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> -> <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> [AP]<br>
<presence to="<a href="mailto:jabb2@xmpp.smithmicro.com" target="_blank">jabb2@xmpp.smithmicro.com</a>" from="rboxall*<a href="http://sips01.smithmicro.com" target="_blank">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com" target="_blank">xmpp-sip.smithmicro.com</a>"<br>
type="unavailable"/><br>##<br>T <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> -> <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> [AP]<br> <presence to="<a href="mailto:jabb1@xmpp.smithmicro.com" target="_blank">jabb1@xmpp.smithmicro.com</a>" from="rboxall*<a href="http://sips01.smithmicro.com" target="_blank">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com" target="_blank">xmpp-sip.smithmicro.com</a>"<br>
type="unavailable"/><br>##<br>T <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> -> <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> [AP]<br> <presence to="<a href="mailto:jabb2@xmpp.smithmicro.com" target="_blank">jabb2@xmpp.smithmicro.com</a>" from="rboxall*<a href="http://sips01.smithmicro.com" target="_blank">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com" target="_blank">xmpp-sip.smithmicro.com</a>"><br>
. <status>hi there !!!</status>. <priority>0.00</priority>. </presence><br>##<br>T <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> -> <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> [AP]<br>
<presence to="<a href="mailto:jabb1@xmpp.smithmicro.com" target="_blank">jabb1@xmpp.smithmicro.com</a>" from="rboxall*<a href="http://sips01.smithmicro.com" target="_blank">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com" target="_blank">xmpp-sip.smithmicro.com</a>"><br>
. <status>hi there !!!</status>. <priority>0.00</priority>. </presence><br>##<br>T <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> -> <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> [AP]<br>
<presence xmlns='jabber:client' type='probe' to='rboxall*<a href="http://sips01.smithmicro.com" target="_blank">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com" target="_blank">xmpp-sip.smithmicro.com</a>' from='jabb1<br>
@<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a>'/><br>##<br>T <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> -> <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> [AP]<br>
<presence to="<a href="mailto:jabb1@xmpp.smithmicro.com" target="_blank">jabb1@xmpp.smithmicro.com</a>" from="rboxall*<a href="http://sips01.smithmicro.com" target="_blank">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com" target="_blank">xmpp-sip.smithmicro.com</a>">. <status><br>
hi there !!!</status>. <priority>0.00</priority>. </presence><br>##<br>T <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> -> <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> [AP]<br>
<presence xmlns='jabber:client' type='probe' to='msivaraman*<a href="http://sips01.smithmicro.com" target="_blank">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com" target="_blank">xmpp-sip.smithmicro.com</a>' from='ja<br>
<a href="mailto:bb1@xmpp.smithmicro.com" target="_blank">bb1@xmpp.smithmicro.com</a>'/><br>#<br>T <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> -> <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> [AP]<br>
<presence to="<a href="mailto:jabb1@xmpp.smithmicro.com" target="_blank">jabb1@xmpp.smithmicro.com</a>" from="msivaraman*<a href="http://sips01.smithmicro.com" target="_blank">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com" target="_blank">xmpp-sip.smithmicro.com</a>" type="unav<br>
ailable"/><br><br>
</blockquote></div><br>