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

2009-06-23 Thread mani sivaraman
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

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

2009-06-23 Thread mani sivaraman
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

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

2009-06-24 Thread Anca Vamanu
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 communica

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

2009-06-24 Thread mani sivaraman
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

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

2009-06-24 Thread mani sivaraman
Hi Anca I did an ngrep of port 5347 to see if jabber server is sending the status info to c2s interface of opensips. Seems like it is sending some thing like the personal note "I'm here . in the xml stream from port 5347. But I don't know if this the correct status since I do not know xmpp protocol

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

2009-06-24 Thread mani sivaraman
Oh wait, this xml packet is destined to "ja...@xmpp.smithmicro.com" , 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

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

2009-06-24 Thread mani sivaraman
Hi Anca I do not see any xmpp subscribe packet request sent from opensips to jabber server. That's the reason why jabber server is not sending any presence notify to opensips. Jabber sends the xmpp status to other clients like pidgin. When I add a xmpp buddy to sip client, I get the Subscriber/200

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

2009-06-25 Thread Anca Vamanu
Hi Mani, I order to have opensips send subscribe messages to jabber, you need to call 'pua_xmpp_req_winfo("$ruri", "$hdr(Expires)");' when you see from the script that a Subscribe request is sent to a jabber contact. This is the function responsible for sending subscribe messages to jabber. Wh

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

2009-06-25 Thread mani sivaraman
Hi Anca I am using 1.5.1 version of opensips and I have pua_xmpp_req_winfo call in my cfg file. I get NOTIFY for Watcher Info with the watcherinfo+xml payoad. But there is no presence state communication sent from Jabber2 server to opensips. Did you look at the debug output document that I sent you

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

2009-06-25 Thread Anca Vamanu
Hi Mani, I can not open the document on google docs. It says that the document is not available. I see in the paste of your config document that at the line with the check before calling pua_xmpp_req_winfo there is a big space in the middle of the word "presence" .. You could check that. regar

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

2009-06-26 Thread mani sivaraman
The space is presence only here in the email (due to some formatting issue). The cfg file on opensips server does not have any space in between. I get presence.winfo NOTIFY. I'm missing only the presence NOTIFY. I see the repeated error like this one ERROR:presence:get_stored_info: record not foun

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

2009-06-29 Thread mani sivaraman
The space is presence only here (due to some formatting issue). The cfg file does not have any space in between. I get presence.winfo NOTIFY. I'm missing only the presence NOTIFY. I see the repeated error like this one ERROR:presence:get_stored_info: record not found in hash_table ERROR:presence:h

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

2009-07-06 Thread mani sivaraman
I keep getting this error when running pua_xmpp, xmpp and pua module. Jun 30 12:35:13 [4350] ERROR:presence:get_stored_info: record not found in hash_table Jun 30 12:35:13 [4350] ERROR:presence:handle_subscribe: getting stored info Jun 30 12:35:13 [4351] ERROR:presence:get_stored_info: record not