[OpenSER-Users] About xmpp-sip interoperability.

Gaoqiang Qian gqian at cc.hut.fi
Mon Jun 9 17:03:10 CEST 2008


Hi,
Thank you very much for replying, yes the handshake between sip and  
xmpp server was established. And I got some logs when I send a  
"subsribe" message from gqian at ovi.com(on Pidgin XMPP client) to  
address tcc11*sip.rcs.demo at rcs.allatum.wipsl.com  as below:

Jun  9 17:54:46 ims /home/openser/openser1.2.3/sbin/openser[18844]:  
xmpp: server read [<presence from='gaqian at ovi.com'  
to='tcc11*sip.rcs.demo at rcs.allatum.wipsl.com'  
type='subscribe'><status>I would like to add you to my  
roster.</status></presence>]
Jun  9 17:54:46 ims /home/openser/openser1.2.3/sbin/openser[18844]:  
xmpp: stream callback: 1: presence
Jun  9 17:56:06 ims /home/openser/openser1.2.3/sbin/openser[18821]:  
PRESENCE: msg_watchers_clean:cleaning pending subscriptions
Jun  9 17:56:06 ims /home/openser/openser1.2.3/sbin/openser[18821]:  
PRESENCE: msg_active_watchers_clean:cleaning expired watcher information

But nothing more and on the sip client X-lite side, I didn't get any message.

So now I still have two questions:
1. Is Having openser 1.2.3 module "mysql , presence, xmpp" enough to  
setup the sip gateway to a remote ejabber server? Or should I try  
"mysql, presence, pua, pua_xmpp" modules?
2. What sip and xmpp client should be used to test?

Thanks a lot in advance.

Br
Gaoqiang
Quoting Daniel-Constantin Mierla <miconda at gmail.com>:

> Hello,
>
> can you grab the sip trace  and xmpp trace on openser server to see if
> the messages reaches your sip server? Also, run openser with higher
> debug level so you get hints in syslog (e.g., debug=5).
>
> Cheers,
> Daniel
>
>
> On 06/05/08 16:22, Gaoqiang Qian wrote:
>> Hi all,
>> I have setup and configured my Openser with mysql, presence, xmpp,   
>> pua modules. The server was startup fine. I setup the xmpp module   
>> as the  xmpp gateway as component module cuase I have another   
>> jabber server  running remotely.
>>
>> The configuration of servers parameters is as below:
>>
>> #---------------openser.cfg------------------
>> listen=udp:193.210.148.243:5060
>> alias=xmpp.rcs.demo
>> modparam("xmpp", "domain_separator", "*")
>> modparam("xmpp", "gateway_domain", "xmpp.rcs.demo")//added to etc/hosts file
>> modparam("xmpp", "xmpp_domain", "rcs.allatum.wipsl.com")//added to   
>>  etc/hosts file
>> modparam("xmpp", "xmpp_host", "allatum.wipsl.com")
>> modparam("xmpp", "backend", "component")
>> #--------------------------------------------
>>
>> Now I want to test the interoperability of XMPP gateway of openser,  
>>  so I use sip client (X-lite) and a XMPP client. I use sip and xmpp  
>>   account to successfully register in the sip and XMPP client:
>> sip account: sip:test at 193.210.148.244
>> xmpp acount: gqian at allatum.wipsl.com
>>
>> But what destination address should I use to add to both of the   
>> client to test the interoperability? I failed at below address   
>> added  according to the xmpp module document.
>>
>> At SIP client I add Contact address:
>> sip:gqian*allatum.wipsl.com at xmpp.rcs.demo
>>
>> At XMPP client:
>> test*193.210.148.244 at rcs.allatum.wipsl.com
>>
>> Does anyone has this testing experience and give me some hints how   
>>  should I add the contacts in both client to let them talk to each   
>>  other? I am now really heading the wall.
>>
>> Thanks a lot in advance.
>>
>> BR,
>> Gaoqiang
>>
>>
>>
>
> -- 
> http://www.asipto.com



-- 
Gaoqiang Qian
Automation System and Technology
Helsinki University Of Technology
GSM: +358415058138





More information about the Users mailing list