[Freeswitch-users] Setting up for googletalk

Pekka K. Kurki pekka.kurki at intellectics.com
Tue Feb 20 02:50:45 PST 2007

here my setups that work as an asterisk-to-gtk gateway. it works 
perfectly when connecting to/from original gtalk on windows but not with 
linux clients as jabbin or psi or tapioca. in those cases the codec 
negociation fails somehow...

here my dingaling.conf:

   <configuration name="dingaling.conf" description="XMPP Jingle Endpoint">
        <param name="debug" value="1"/>
        <param name="codec-prefs" value="PCMU at 8000"/>

     <profile type="client">
        <param name="name" value="gtalk"/>
        <param name="login" value="myuser at gmail.com/talk"/>
        <param name="password" value="mypasswd"/>
        <param name="dialplan" value="XML"/>
        <param name="message" value="Jingle-to-SIP Gateway via Freeswitch"/>
        <param name="rtp-ip" value="85.126.xxx.xxx"/>
        <param name="auto-login" value="true"/>
        <param name="auto-reply" value="Press *Call* to call me via 
FreeSWITCH and visit me at http://pekka.kurki.at"/>
        <!-- SASL "plain" or "md5" -->
        <param name="sasl" value="md5"/>
        <!-- if the server where the jabber is hosted is not the same as 
the one in the jid -->
        <param name="server" value="talk.google.com:5222"/>
        <!-- Enable TLS or not -->
        <param name="tls" value="true"/>
        <!-- disable to trade async for more calls -->
        <param name="use-rtp-timer" value="true"/>
        <!-- or -->
        <!-- <param name="rtp-ip" value="my_lan_ip"/> -->
        <param name="ext-rtp-ip" value="85.126.xxx.xxx"/>
        <!-- default extension (if one cannot be determined) -->
        <param name="exten" value="1004j"/>
        <!-- VAD choose one -->
        <!-- <param name="vad" value="in"/> -->
        <!-- <param name="vad" value="out"/> -->
        <param name="vad" value="both"/>

and here the relevant parts of default.xml:

<context name="default">

      <extension name="gtalk">
          <condition field="source" expression="mod_sofia"/>
          <condition field="destination_number" 
            <action application="set" data="no_media=false"/>
            <action application="set" 
data="effective_caller_id_number=myuser at gmail.com"/>
            <action application="bridge" 
data="dingaling/gtalk/$1 at gmail.com"/>

      <extension name="1004j">
          <condition field="source" expression="mod_dingaling"/>
          <condition field="destination_number" expression="^1004j">
             <action application="set" data="no_media=false"/>
             <action application="bridge" 
data="sofia/sip.intellectics.com/mysipuser at sip.intellectics.com"/>


- sip calls with target address "gtalk=usrname" are forwarded to  gtalk
- all calls from gtalk are forwarded to my sip phone on asterisk server

this works ok for me but i am still looking for solution for linux 



Shiladitya Sircar wrote:
> Hello,
> I was wondering if any of you can point me towards some documentation 
> in configuring FreeSwitch with Google Talk, using dingaling.conf ? A 
> sample dingaling.conf and a dail plan would be very helpful.
> thanks
> -ssircar
> ------------------------------------------------------------------------
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

(Mr.) Pekka K. Kurki
Intellectics GesmbH
Helenenstrasse 44, A-2500 Baden, Austria
Tel. +43 2256 815811  Mobile +43 699 12532539 
Fax  +43 2256 815819
(Tel. US: 360-2267729 UK: 0870 4787064)
sip:pekka.kurki at sip.intellectics.com
skype: pkkurki, pkkurki-sip (sip gateway)
gtalk: pekkis50 at gtalk.com (sip gateway - experimental)
gizmo: pekkis50
h323:432256815811 at sip.intellectics.com
email: Pekka.Kurki at intellectics.com
www: http://pekka.kurki.at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070220/67970441/attachment-0002.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pekka.kurki.vcf
Type: text/x-vcard
Size: 331 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070220/67970441/attachment-0002.vcf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3188 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070220/67970441/attachment-0002.bin 

More information about the FreeSWITCH-users mailing list