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">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">172.16.0.139:59284</a> -> <a href="http://172.16.0.139:5347">172.16.0.139:5347</a> [AP]<br>
<presence to="<a href="mailto:jabb2@xmpp.smithmicro.com">jabb2@xmpp.smithmicro.com</a>" from="rboxall*<a href="http://sips01.smithmicro.com">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com">xmpp-sip.smithmicro.com</a>"<br>
type="unavailable"/><br>##<br>T <a href="http://172.16.0.139:59284">172.16.0.139:59284</a> -> <a href="http://172.16.0.139:5347">172.16.0.139:5347</a> [AP]<br> <presence to="<a href="mailto:jabb1@xmpp.smithmicro.com">jabb1@xmpp.smithmicro.com</a>" from="rboxall*<a href="http://sips01.smithmicro.com">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com">xmpp-sip.smithmicro.com</a>"<br>
type="unavailable"/><br>##<br>T <a href="http://172.16.0.139:59284">172.16.0.139:59284</a> -> <a href="http://172.16.0.139:5347">172.16.0.139:5347</a> [AP]<br> <presence to="<a href="mailto:jabb2@xmpp.smithmicro.com">jabb2@xmpp.smithmicro.com</a>" from="rboxall*<a href="http://sips01.smithmicro.com">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com">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">172.16.0.139:59284</a> -> <a href="http://172.16.0.139:5347">172.16.0.139:5347</a> [AP]<br>
<presence to="<a href="mailto:jabb1@xmpp.smithmicro.com">jabb1@xmpp.smithmicro.com</a>" from="rboxall*<a href="http://sips01.smithmicro.com">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com">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">172.16.0.139:5347</a> -> <a href="http://172.16.0.139:59284">172.16.0.139:59284</a> [AP]<br>
<presence xmlns='jabber:client' type='probe' to='rboxall*<a href="http://sips01.smithmicro.com">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com">xmpp-sip.smithmicro.com</a>' from='jabb1<br>
@<a href="http://xmpp.smithmicro.com">xmpp.smithmicro.com</a>'/><br>##<br>T <a href="http://172.16.0.139:59284">172.16.0.139:59284</a> -> <a href="http://172.16.0.139:5347">172.16.0.139:5347</a> [AP]<br> <presence to="<a href="mailto:jabb1@xmpp.smithmicro.com">jabb1@xmpp.smithmicro.com</a>" from="rboxall*<a href="http://sips01.smithmicro.com">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com">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">172.16.0.139:5347</a> -> <a href="http://172.16.0.139:59284">172.16.0.139:59284</a> [AP]<br>
<presence xmlns='jabber:client' type='probe' 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='ja<br>
<a href="mailto:bb1@xmpp.smithmicro.com">bb1@xmpp.smithmicro.com</a>'/><br>#<br>T <a href="http://172.16.0.139:59284">172.16.0.139:59284</a> -> <a href="http://172.16.0.139:5347">172.16.0.139:5347</a> [AP]<br>
<presence to="<a href="mailto:jabb1@xmpp.smithmicro.com">jabb1@xmpp.smithmicro.com</a>" from="msivaraman*<a href="http://sips01.smithmicro.com">sips01.smithmicro.com</a>@<a href="http://xmpp-sip.smithmicro.com">xmpp-sip.smithmicro.com</a>" type="unav<br>
ailable"/><br><br>