[OpenSIPS-Users] pua_xmpp sip-xmpp gateway - works one way, not other way
mani sivaraman
mani.opensips at gmail.com
Wed Jun 24 18:12:22 CEST 2009
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/3e758385/attachment.htm
More information about the Users
mailing list