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

Anca Vamanu anca at opensips.org
Wed Jun 24 12:48:13 CEST 2009


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
>     <mailto:sip%3Amsivaraman 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
>     <mailto:sip%3Amsivaraman at sips01.smithmicro.com> via
>     sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>     sip:msivaraman at sips01.smithmicro.com
>     <mailto:sip%3Amsivaraman 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
>     <mailto:sip%3Amsivaraman 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
>     <mailto:sip%3Amsivaraman at sips01.smithmicro.com> via
>     sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>     sip:msivaraman at sips01.smithmicro.com
>     <mailto:sip%3Amsivaraman 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
>     <mailto:sip%3Amsivaraman 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
>     <mailto:sip%3Amsivaraman at sips01.smithmicro.com> via
>     sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>     sip:msivaraman at sips01.smithmicro.com
>     <mailto:sip%3Amsivaraman 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
>     <mailto:sip%3Amsivaraman 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
>     <mailto:sip%3Amsivaraman at sips01.smithmicro.com> via
>     sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>     sip:msivaraman at sips01.smithmicro.com
>     <mailto:sip%3Amsivaraman 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
>     <mailto:sip%3Amsivaraman at sips01.smithmicro.com> via
>     sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>     sip:msivaraman at sips01.smithmicro.com
>     <mailto:sip%3Amsivaraman 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
>     <mailto:sip%3Amsivaraman at sips01.smithmicro.com> via
>     sip:msivaraman at 172.16.1.125:6464;transport=udp on behalf of
>     sip:msivaraman at sips01.smithmicro.com
>     <mailto:sip%3Amsivaraman 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
>     <mailto:sip%3Amsivaraman 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
>   




More information about the Users mailing list