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:

<extension name="jingle2sip">
 <condition field="source" expression="mod_dingaling"/>
 <condition field="destination_number" expression="^conf\+([EMAIL 
PROTECTED])\@(.*)$">
   <action application="bridge" data="sofia/default/$1%192.168.1.253"/>
 </condition>
</extension>

where 192.168.1.253 is the ip address of freeswitch.

but I am having issues with the sip2jingle call.

in the default context dialplan, I can do this

<extension name="sip2jingle">
 <condition field="source" expression="mod_sofia"/>
 <condition field="destination_number" expression="^1500$">
   <action application="bridge" data="dingaling/
jabber.mydomain.com/[EMAIL PROTECTED]"/>
 </condition>
</extension>

where the jabber.mydomain.com is the component profile name I defined for
the gtalk server component.

but if I modify the dialplan to do more general sip2jingle call as below:

<extension name="sip2jingle">
 <condition field="source" expression="mod_sofia"/>
 <condition field="destination_number"
expression="^jingle\+([EMAIL PROTECTED])\@(.*)$">
   <action application="bridge" data="dingaling/
jabber.mydomain.com/[EMAIL PROTECTED]"/>
 </condition>
</extension>

or
<extension name="sip2jingle">
 <condition field="source" expression="mod_sofia"/>
 <condition field="destination_number"
expression="^jingle\+([EMAIL PROTECTED])\@(.*)$">
   <action application="bridge" data="dingaling/sip+${sip_fromuser}@
${sip_fromhost}/[EMAIL PROTECTED]"/>
 </condition>
</extension>

I tested with [EMAIL PROTECTED]<[EMAIL PROTECTED]>from
my extension 1000 on soft phone Bria 2.2 on XP, I got the error  "
[EMAIL PROTECTED] not found"

Could you guys share the correct syntax for doing SIP to Jingle calls?

Thanks,

Chris
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to