[OpenSIPS-Users] pua_xmpp sip-xmpp gateway - works one way, not other way

mani sivaraman mani.opensips at gmail.com
Wed Jun 24 16:18:08 CEST 2009


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 ?

mysql> select * from pua;
Empty set (0.00 sec)

mysql> select * from active_watchers;
Empty set (0.00 sec)

mysql> select * from presentity;
Empty set (0.00 sec)

I have sent the opensips debug out in another email for your review.

Thank you

On Wed, Jun 24, 2009 at 5:48 AM, Anca Vamanu <anca at opensips.org> wrote:

> Hi Mani,
>
> Not, this is not expected. I seems that the jabber server does not send
> presence information to opensips.
> 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.
>
> regards,
> Anca
>
> mani sivaraman wrote:
>
>> Hi Anca
>> 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 ?
>>
>> Thanks you
>> Mani
>>
>> On Tue, Jun 23, 2009 at 11:53 AM, mani sivaraman <mani.opensips at gmail.com<mailto:
>> mani.opensips at gmail.com>> wrote:
>>
>>    Hi Anca
>>    I now switched to opensips from kamailio to make sure I do not
>>    have too many variables. I'm usingt he exact example config shown
>>    fir puaxmppConfig on the website. The XMPP client is able to
>>    detect the presence of sip client, but sip-client is not able to
>>    get the presence status of the xmpp client. I get some error on
>>    opensips during execution.
>>
>>    You can discard the previous email that uses kamailio.
>>
>>    Here is the error I see.
>>
>>    Jun 23 11:46:14 [24062] INFO:presence:send_notify_request: NOTIFY
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> via
>>    sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>>    sip:jabb1*xmpp.smithmicro.com
>>    <http://xmpp.smithmicro.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com> for event presence
>>    Jun 23 11:46:14 [24060] INFO:presence:send_notify_request: NOTIFY
>>    sip:jabb1*xmpp.smithmicro.com
>>    <http://xmpp.smithmicro.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com> via sip:172.16.0.139:5060
>>    <http://172.16.0.139:5060> on behalf of
>>    sip:jabb1*xmpp.smithmicro.com
>>    <http://xmpp.smithmicro.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com> for event presence.winfo
>>    Jun 23 11:47:28 [24062] INFO:presence:send_notify_request: NOTIFY
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> via
>>    sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> for event
>>    presence.winfo
>>    Jun 23 11:47:28 [24062] INFO:presence:send_notify_request: NOTIFY
>>    sip:jabb1*xmpp.smithmicro.com
>>    <http://xmpp.smithmicro.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com> via sip:jabb1*xmpp.smithmicro.com
>>    <http://xmpp.smithmicro.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com> on behalf of
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> for event presence
>>    Jun 23 11:47:28 [24059] ERROR:pua_xmpp:Notify2Xmpp: 'To' header
>>    ALREADY PARSED:<sip:jabb1*xmpp.smithmicro.com
>>    <http://xmpp.smithmicro.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com>>
>>    Jun 23 11:47:28 [24059] ERROR:pua_xmpp:Notify2Xmpp: 'From' header
>>    not parsed
>>    Jun 23 11:47:37 [24062] INFO:presence:send_notify_request: NOTIFY
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> via
>>    sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> for event presence
>>    Jun 23 11:47:37 [24062] INFO:presence:send_notify_request: NOTIFY
>>    sip:jabb1*xmpp.smithmicro.com
>>    <http://xmpp.smithmicro.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com> via sip:jabb1*xmpp.smithmicro.com
>>    <http://xmpp.smithmicro.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com> on behalf of
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> for event presence
>>    Jun 23 11:47:37 [24061] ERROR:pua_xmpp:Notify2Xmpp: 'To' header
>>    ALREADY PARSED:<sip:jabb1*xmpp.smithmicro.com
>>    <http://xmpp.smithmicro.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com>>
>>    Jun 23 11:47:37 [24061] ERROR:pua_xmpp:Notify2Xmpp: 'From' header
>>    not parsed
>>    Jun 23 11:47:41 [24059] INFO:presence:send_notify_request: NOTIFY
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> via
>>    sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> for event presence
>>    Jun 23 11:47:41 [24059] INFO:presence:send_notify_request: NOTIFY
>>    sip:jabb1*xmpp.smithmicro.com
>>    <http://xmpp.smithmicro.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com> via sip:jabb1*xmpp.smithmicro.com
>>    <http://xmpp.smithmicro.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com> on behalf of
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> for event presence
>>    Jun 23 11:47:41 [24059] ERROR:pua_xmpp:Notify2Xmpp: 'To' header
>>    ALREADY PARSED:<sip:jabb1*xmpp.smithmicro.com
>>    <http://xmpp.smithmicro.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com>>
>>    Jun 23 11:47:41 [24059] ERROR:pua_xmpp:Notify2Xmpp: 'From' header
>>    not parsed
>>    Jun 23 11:48:13 [24061] INFO:presence:send_notify_request: NOTIFY
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> via
>>    sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> for event
>>    presence.winfo
>>    Jun 23 11:48:14 [24062] INFO:presence:send_notify_request: NOTIFY
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> via
>>    sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> for event
>>    presence.winfo
>>    Jun 23 11:48:14 [24062] INFO:presence:send_notify_request: NOTIFY
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> via
>>    sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> for event presence
>>    Jun 23 11:48:14 [24062] INFO:presence:send_notify_request: NOTIFY
>>    sip:msivaraman at sips01.smithmicro.com<sip%3Amsivaraman at sips01.smithmicro.com>
>>    <mailto:sip%3Amsivaraman at sips01.smithmicro.com<sip%253Amsivaraman at sips01.smithmicro.com>>
>> via
>>    sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>>    sip:mani_openfire*dsdev-xmpp.smsi.com
>>    <http://dsdev-xmpp.smsi.com>@sip-xmpp.smithmicro.com
>>    <http://sip-xmpp.smithmicro.com> for event presence
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090624/7cb12f23/attachment-0001.htm 


More information about the Users mailing list