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

mani sivaraman mani.opensips at gmail.com
Wed Jun 24 18:31:17 CEST 2009


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 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 ?

Please let me know.

On Wed, Jun 24, 2009 at 11:12 AM, mani sivaraman <mani.opensips at gmail.com>wrote:

> Oh wait, this xml packet is destined to "jabb2 at xmpp.smithmicro.com<http://jabb2@xmpp.smithmicro.com/275c37159368>"
> , 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)
>
> Here is the ngrep output
>
> sips01:/etc/jabberd2# ngrep -d lo port 59284
> interface: lo (127.0.0.0/255.0.0.0)
> filter: (ip or ip6) and ( port 59284 )
> #
> T 172.16.0.139:59284 -> 172.16.0.139:5347 [AP]
>   <presence to="jabb2 at xmpp.smithmicro.com" from="rboxall*
> sips01.smithmicro.com at xmpp-sip.smithmicro.com"
>   type="unavailable"/>
> ##
> T 172.16.0.139:59284 -> 172.16.0.139:5347 [AP]
>   <presence to="jabb1 at xmpp.smithmicro.com" from="rboxall*
> sips01.smithmicro.com at xmpp-sip.smithmicro.com"
>   type="unavailable"/>
> ##
> T 172.16.0.139:59284 -> 172.16.0.139:5347 [AP]
>   <presence to="jabb2 at xmpp.smithmicro.com" from="rboxall*
> sips01.smithmicro.com at xmpp-sip.smithmicro.com">
>   .    <status>hi there !!!</status>.    <priority>0.00</priority>.
> </presence>
> ##
> T 172.16.0.139:59284 -> 172.16.0.139:5347 [AP]
>   <presence to="jabb1 at xmpp.smithmicro.com" from="rboxall*
> sips01.smithmicro.com at xmpp-sip.smithmicro.com">
>   .    <status>hi there !!!</status>.    <priority>0.00</priority>.
> </presence>
> ##
> T 172.16.0.139:5347 -> 172.16.0.139:59284 [AP]
>   <presence xmlns='jabber:client' type='probe' to='rboxall*
> sips01.smithmicro.com at xmpp-sip.smithmicro.com' from='jabb1
>   @xmpp.smithmicro.com'/>
> ##
> T 172.16.0.139:59284 -> 172.16.0.139:5347 [AP]
>   <presence to="jabb1 at xmpp.smithmicro.com" from="rboxall*
> sips01.smithmicro.com at xmpp-sip.smithmicro.com">.    <status>
>   hi there !!!</status>.    <priority>0.00</priority>.  </presence>
> ##
> T 172.16.0.139:5347 -> 172.16.0.139:59284 [AP]
>   <presence xmlns='jabber:client' type='probe' to='msivaraman*
> sips01.smithmicro.com at xmpp-sip.smithmicro.com' from='ja
>   bb1 at xmpp.smithmicro.com'/>
> #
> T 172.16.0.139:59284 -> 172.16.0.139:5347 [AP]
>   <presence to="jabb1 at xmpp.smithmicro.com" from="msivaraman*
> sips01.smithmicro.com at xmpp-sip.smithmicro.com" type="unav
>   ailable"/>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090624/2888479a/attachment.htm 


More information about the Users mailing list