If I sign out sip and xmpp (pidgin) client , all the 3 tables becomes empty. After sign in I see the sip clients PIDF in presentity table. and I can see data in all the other tables as well. Since the tables are cleaned properly after sign out, I guess there is no old data/dates in the tables that causes the issue . Sip2XMPP state notification works great. But nothing from xmpp to sip. My guess is that Jabberd2 server is not sending any thing to opensips. Is there any thing on the Jabberd2 server that I need to check ?. I mean how can I make sure the Jabberd2 server is sending the state update to opensips ? Is there any setting on Jabberd2 server other than just c2s connection via port 5347 ?<br>
<br>mysql&gt; select * from pua;<br>Empty set (0.00 sec)<br><br>mysql&gt; select * from active_watchers;<br>Empty set (0.00 sec)<br><br>mysql&gt; select * from presentity;<br>Empty set (0.00 sec)<br><br>I have sent the opensips debug out in another email for your review.<br>
<br>Thank you<br><br><div class="gmail_quote">On Wed, Jun 24, 2009 at 5:48 AM, Anca Vamanu <span dir="ltr">&lt;<a href="mailto:anca@opensips.org">anca@opensips.org</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;">
Hi Mani,<br>
<br>
Not, this is not expected. I seems that the jabber server does not send presence information to opensips.<br>
I suggest you to start clean ( stop the sever, delete the database dates from tables pua, active_watchers and presentity) and watch the debug messages that say abouth the communication with the jabber server. Watch there is state info is received.<br>

<br>
regards,<br>
Anca<br>
<br>
mani sivaraman wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Hi Anca<br>
Why is that the NOTIFY received by the SIP Client for the xmpp buddy is always with no PIDF or xml payload. The Content Length of this NOTIFY is always 0. Where as the normal sip buddy presence NOTIFY is having the PIDF xml document. Is this expected ?<br>

<br>
Thanks you<br>
Mani<br>
<br></div><div class="im">
On Tue, Jun 23, 2009 at 11:53 AM, mani sivaraman &lt;<a href="mailto:mani.opensips@gmail.com" target="_blank">mani.opensips@gmail.com</a> &lt;mailto:<a href="mailto:mani.opensips@gmail.com" target="_blank">mani.opensips@gmail.com</a>&gt;&gt; wrote:<br>

<br>
    Hi Anca<br>
    I now switched to opensips from kamailio to make sure I do not<br>
    have too many variables. I&#39;m usingt he exact example config shown<br>
    fir puaxmppConfig on the website. The XMPP client is able to<br>
    detect the presence of sip client, but sip-client is not able to<br>
    get the presence status of the xmpp client. I get some error on<br>
    opensips during execution.<br>
<br>
    You can discard the previous email that uses kamailio.<br>
<br>
    Here is the error I see.<br>
<br>
    Jun 23 11:46:14 [24062] INFO:presence:send_notify_request: NOTIFY<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; via<div class="im"><br>
    sip:msivaraman@172.16.1.125:6464;transport=udp on behalf of<br>
    sip:jabb1*<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a><br></div>
    &lt;<a href="http://xmpp.smithmicro.com" target="_blank">http://xmpp.smithmicro.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt; for event presence<div class="im"><br>
    Jun 23 11:46:14 [24060] INFO:presence:send_notify_request: NOTIFY<br>
    sip:jabb1*<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a><br></div>
    &lt;<a href="http://xmpp.smithmicro.com" target="_blank">http://xmpp.smithmicro.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt; via sip:<a href="http://172.16.0.139:5060" target="_blank">172.16.0.139:5060</a><br>
    &lt;<a href="http://172.16.0.139:5060" target="_blank">http://172.16.0.139:5060</a>&gt; on behalf of<div class="im"><br>
    sip:jabb1*<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a><br></div>
    &lt;<a href="http://xmpp.smithmicro.com" target="_blank">http://xmpp.smithmicro.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt; for event presence.winfo<div class="im"><br>
    Jun 23 11:47:28 [24062] INFO:presence:send_notify_request: NOTIFY<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; via<div class="im"><br>
    sip:msivaraman@172.16.1.125:6464;transport=udp on behalf of<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; for event<div class="im"><br>
    presence.winfo<br>
    Jun 23 11:47:28 [24062] INFO:presence:send_notify_request: NOTIFY<br>
    sip:jabb1*<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a><br></div>
    &lt;<a href="http://xmpp.smithmicro.com" target="_blank">http://xmpp.smithmicro.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt; via sip:jabb1*<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a><br>
    &lt;<a href="http://xmpp.smithmicro.com" target="_blank">http://xmpp.smithmicro.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt; on behalf of<div class="im"><br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; for event presence<div class="im"><br>
    Jun 23 11:47:28 [24059] ERROR:pua_xmpp:Notify2Xmpp: &#39;To&#39; header<br>
    ALREADY PARSED:&lt;sip:jabb1*<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a><br></div>
    &lt;<a href="http://xmpp.smithmicro.com" target="_blank">http://xmpp.smithmicro.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt;&gt;<div class="im"><br>
    Jun 23 11:47:28 [24059] ERROR:pua_xmpp:Notify2Xmpp: &#39;From&#39; header<br>
    not parsed<br>
    Jun 23 11:47:37 [24062] INFO:presence:send_notify_request: NOTIFY<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; via<div class="im"><br>
    sip:msivaraman@172.16.1.125:6464;transport=udp on behalf of<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; for event presence<div class="im"><br>
    Jun 23 11:47:37 [24062] INFO:presence:send_notify_request: NOTIFY<br>
    sip:jabb1*<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a><br></div>
    &lt;<a href="http://xmpp.smithmicro.com" target="_blank">http://xmpp.smithmicro.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt; via sip:jabb1*<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a><br>
    &lt;<a href="http://xmpp.smithmicro.com" target="_blank">http://xmpp.smithmicro.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt; on behalf of<div class="im"><br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; for event presence<div class="im"><br>
    Jun 23 11:47:37 [24061] ERROR:pua_xmpp:Notify2Xmpp: &#39;To&#39; header<br>
    ALREADY PARSED:&lt;sip:jabb1*<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a><br></div>
    &lt;<a href="http://xmpp.smithmicro.com" target="_blank">http://xmpp.smithmicro.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt;&gt;<div class="im"><br>
    Jun 23 11:47:37 [24061] ERROR:pua_xmpp:Notify2Xmpp: &#39;From&#39; header<br>
    not parsed<br>
    Jun 23 11:47:41 [24059] INFO:presence:send_notify_request: NOTIFY<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; via<div class="im"><br>
    sip:msivaraman@172.16.1.125:6464;transport=udp on behalf of<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; for event presence<div class="im"><br>
    Jun 23 11:47:41 [24059] INFO:presence:send_notify_request: NOTIFY<br>
    sip:jabb1*<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a><br></div>
    &lt;<a href="http://xmpp.smithmicro.com" target="_blank">http://xmpp.smithmicro.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt; via sip:jabb1*<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a><br>
    &lt;<a href="http://xmpp.smithmicro.com" target="_blank">http://xmpp.smithmicro.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt; on behalf of<div class="im"><br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; for event presence<div class="im"><br>
    Jun 23 11:47:41 [24059] ERROR:pua_xmpp:Notify2Xmpp: &#39;To&#39; header<br>
    ALREADY PARSED:&lt;sip:jabb1*<a href="http://xmpp.smithmicro.com" target="_blank">xmpp.smithmicro.com</a><br></div>
    &lt;<a href="http://xmpp.smithmicro.com" target="_blank">http://xmpp.smithmicro.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt;&gt;<div class="im"><br>
    Jun 23 11:47:41 [24059] ERROR:pua_xmpp:Notify2Xmpp: &#39;From&#39; header<br>
    not parsed<br>
    Jun 23 11:48:13 [24061] INFO:presence:send_notify_request: NOTIFY<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; via<div class="im"><br>
    sip:msivaraman@172.16.1.125:6464;transport=udp on behalf of<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; for event<div class="im"><br>
    presence.winfo<br>
    Jun 23 11:48:14 [24062] INFO:presence:send_notify_request: NOTIFY<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; via<div class="im"><br>
    sip:msivaraman@172.16.1.125:6464;transport=udp on behalf of<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; for event<div class="im"><br>
    presence.winfo<br>
    Jun 23 11:48:14 [24062] INFO:presence:send_notify_request: NOTIFY<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; via<div class="im"><br>
    sip:msivaraman@172.16.1.125:6464;transport=udp on behalf of<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; for event presence<div class="im"><br>
    Jun 23 11:48:14 [24062] INFO:presence:send_notify_request: NOTIFY<br>
    <a href="mailto:sip%3Amsivaraman@sips01.smithmicro.com" target="_blank">sip:msivaraman@sips01.smithmicro.com</a><br></div>
    &lt;mailto:<a href="mailto:sip%253Amsivaraman@sips01.smithmicro.com" target="_blank">sip%3Amsivaraman@sips01.smithmicro.com</a>&gt; via<div class="im"><br>
    sip:msivaraman@172.16.1.125:6464;transport=udp on behalf of<br>
    sip:mani_openfire*<a href="http://dsdev-xmpp.smsi.com" target="_blank">dsdev-xmpp.smsi.com</a><br></div>
    &lt;<a href="http://dsdev-xmpp.smsi.com" target="_blank">http://dsdev-xmpp.smsi.com</a>&gt;@<a href="http://sip-xmpp.smithmicro.com" target="_blank">sip-xmpp.smithmicro.com</a><br>
    &lt;<a href="http://sip-xmpp.smithmicro.com" target="_blank">http://sip-xmpp.smithmicro.com</a>&gt; for event presence<br>
<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
  <br>
</blockquote>
<br>
</blockquote></div><br>