Hi Anca<br>I do not see any xmpp subscribe packet request sent from opensips to jabber server. That&#39;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">&lt;<a href="mailto:mani.opensips@gmail.com">mani.opensips@gmail.com</a>&gt;</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 &quot;<a href="http://jabb2@xmpp.smithmicro.com/275c37159368" target="_blank">jabb2@xmpp.smithmicro.com</a>&quot; , 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> -&gt; <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> [AP]<br>
  &lt;presence to=&quot;<a href="mailto:jabb2@xmpp.smithmicro.com" target="_blank">jabb2@xmpp.smithmicro.com</a>&quot; from=&quot;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>&quot;<br>

  type=&quot;unavailable&quot;/&gt;<br>##<br>T <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> -&gt; <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> [AP]<br>  &lt;presence to=&quot;<a href="mailto:jabb1@xmpp.smithmicro.com" target="_blank">jabb1@xmpp.smithmicro.com</a>&quot; from=&quot;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>&quot;<br>

  type=&quot;unavailable&quot;/&gt;<br>##<br>T <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> -&gt; <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> [AP]<br>  &lt;presence to=&quot;<a href="mailto:jabb2@xmpp.smithmicro.com" target="_blank">jabb2@xmpp.smithmicro.com</a>&quot; from=&quot;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>&quot;&gt;<br>

  .    &lt;status&gt;hi there !!!&lt;/status&gt;.    &lt;priority&gt;0.00&lt;/priority&gt;.  &lt;/presence&gt;<br>##<br>T <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> -&gt; <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> [AP]<br>

  &lt;presence to=&quot;<a href="mailto:jabb1@xmpp.smithmicro.com" target="_blank">jabb1@xmpp.smithmicro.com</a>&quot; from=&quot;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>&quot;&gt;<br>

  .    &lt;status&gt;hi there !!!&lt;/status&gt;.    &lt;priority&gt;0.00&lt;/priority&gt;.  &lt;/presence&gt;<br>##<br>T <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> -&gt; <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> [AP]<br>

  &lt;presence xmlns=&#39;jabber:client&#39; type=&#39;probe&#39; to=&#39;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>&#39; from=&#39;jabb1<br>

  @<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a>&#39;/&gt;<br>##<br>T <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> -&gt; <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> [AP]<br>
  &lt;presence to=&quot;<a href="mailto:jabb1@xmpp.smithmicro.com" target="_blank">jabb1@xmpp.smithmicro.com</a>&quot; from=&quot;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>&quot;&gt;.    &lt;status&gt;<br>

  hi there !!!&lt;/status&gt;.    &lt;priority&gt;0.00&lt;/priority&gt;.  &lt;/presence&gt;<br>##<br>T <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> -&gt; <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> [AP]<br>

  &lt;presence xmlns=&#39;jabber:client&#39; type=&#39;probe&#39; to=&#39;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>&#39; from=&#39;ja<br>

  <a href="mailto:bb1@xmpp.smithmicro.com" target="_blank">bb1@xmpp.smithmicro.com</a>&#39;/&gt;<br>#<br>T <a href="http://172.16.0.139:59284" target="_blank">172.16.0.139:59284</a> -&gt; <a href="http://172.16.0.139:5347" target="_blank">172.16.0.139:5347</a> [AP]<br>

  &lt;presence to=&quot;<a href="mailto:jabb1@xmpp.smithmicro.com" target="_blank">jabb1@xmpp.smithmicro.com</a>&quot; from=&quot;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>&quot; type=&quot;unav<br>

  ailable&quot;/&gt;<br><br>
</blockquote></div><br>