I have setup one jabber server running along the Freeswitch on the centos 5, and setup the gtalk in public context as the jabber server component on port 5347 , and established the federation with googletalk network. Now I can call from gtalk client to my sip account on freeswitch without problem by the following dialplan:<br>
<br><span><extension name="jingle2sip"> <br>
<condition field="source" expression="mod_dingaling"/> <br> <condition field="destination_number" expression="^conf\+([^\@]+)\@(.*)$"> <br> <action application="bridge" data="sofia/default/$1%<a href="http://192.168.1.253">192.168.1.253</a>"/> <br>
</condition> <br></extension> </span><br><br>where <a href="http://192.168.1.253">192.168.1.253</a> is the ip address of freeswitch.<br><br>but I am having issues with the sip2jingle call.<br><br>in the default context dialplan, I can do this <br>
<br><span><extension name="sip2jingle"> <br> <condition field="source" expression="mod_sofia"/> <br> <condition field="destination_number" expression="^1500$"> <br>
<action application="bridge" data="dingaling/<a href="http://jabber.mydomain.com/mybuddy@gmail.com">jabber.mydomain.com/mybuddy@gmail.com</a>"/> <br> </condition> <br></extension> </span><br>
<br>where the <a href="http://jabber.mydomain.com">jabber.mydomain.com</a> is the component profile name I defined for the gtalk server component.<br><br>but if I modify the dialplan to do more general sip2jingle call as below:<br>
<br><span><extension name="sip2jingle"> <br> <condition field="source" expression="mod_sofia"/> <br> <condition field="destination_number" expression="^jingle\+([^\@]+)\@(.*)$"> <br>
<action application="bridge" data="dingaling/<a href="http://jabber.mydomain.com/$1@gmail.com">jabber.mydomain.com/$1@gmail.com</a>"/> <br> </condition> <br></extension> <br><br>
or <br></span><span><extension name="sip2jingle"> <br> <condition field="source" expression="mod_sofia"/> <br> <condition field="destination_number" expression="^jingle\+([^\@]+)\@(.*)$"> <br>
<action application="bridge" data="dingaling/sip+${sip_fromuser}@${sip_fromhost}/$<a href="mailto:1@gmail.com">1@gmail.com</a>"/> <br> </condition> <br></extension> </span><br><span><br>
I tested with <a href="mailto:jingle%2Bmybuddy.lastname@gmail.com">jingle+mybuddy.lastname@gmail.com</a> from my extension 1000 on soft phone Bria 2.2 on XP, I got the error "<a href="mailto:1000@gmail.com">1000@gmail.com</a> not found" <br>
</span><br>Could you guys share the correct syntax for doing SIP to Jingle calls?<br><br>Thanks,<br><br>Chris<br><br><br><br><br><br><br>