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
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"> <settings> <param name="debug" value="1"/> <param name="codec-prefs" value="PCMU@8000"/> </settings> <profile type="client"> <param name="name" value="gtalk"/> <param name="login" value="myuser@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"/> </profile> </configuration> and here the relevant parts of default.xml: <context name="default"> <extension name="gtalk"> <condition field="source" expression="mod_sofia"/> <condition field="destination_number" expression="^gtalk=([a-zA-z0-9.-]+)$"> <action application="set" data="no_media=false"/> <action application="set" data="effective_caller_id_number=myuser@gmail.com"/> <action application="bridge" data="dingaling/gtalk/$1@gmail.com"/> </condition> </extension> <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@sip.intellectics.com"/> </condition> </extension> </context> - 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 clients... br, pekka 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@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 http://www.intellectics.com 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@sip.intellectics.com skype: pkkurki, pkkurki-sip (sip gateway) gtalk: pekkis50@gtalk.com (sip gateway - experimental) gizmo: pekkis50 h323:432256815811@sip.intellectics.com email: Pekka.Kurki@intellectics.com www: http://pekka.kurki.at
Hi, Thanks for the clarification and help. I was wondering what version of freeswitch are you using? I have configured pretty much identical as your sample and now I get "TLS NOT SUPPORTED IN THUS BUILD" below is the debug message I get: freeswitch@JSIRCAR> 2007-02-20 22:34:33 [DEBUG] libdingaling.c:1459 xmpp_connect () io error 7 SEND[<?xml version='1.0'?><stream:stream xmlns:stream=' http://etherx.jabber.org/ streams' xmlns='jabber:client' to='gmail.com' version='1.0'>] RECV[<?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com" id="2 6571D019C85090F" version="1.0" xmlns:stream=" http://etherx.jabber.org/streams" x mlns="jabber:client">] RECV2007-02-20 22:34:34 [DEBUG] libdingaling.c:1096 on_stream() TLS NOT SUPPORTE D IN THIS BUILD! [<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism>< /mechanisms></stream:features>] The freeswitch version that I have compiled and running is : FreeSwitch Version 1.0.4296M thanks -ssircar On 2/20/07, Pekka K. Kurki <pekka.kurki@intellectics.com> wrote:
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"> <settings> <param name="debug" value="1"/> <param name="codec-prefs" value="PCMU@8000"/> </settings>
<profile type="client"> <param name="name" value="gtalk"/> <param name="login" value="myuser@gmail.com/talk"<myuser@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"/> </profile> </configuration>
and here the relevant parts of default.xml:
<context name="default">
<extension name="gtalk"> <condition field="source" expression="mod_sofia"/> <condition field="destination_number" expression="^gtalk=([a-zA-z0-9.-]+)$"> <action application="set" data="no_media=false"/> <action application="set" data= "effective_caller_id_number=myuser@gmail.com"<effective_caller_id_number=myuser@gmail.com> /> <action application="bridge" data= "dingaling/gtalk/$1@gmail.com" <dingaling/gtalk/$1@gmail.com>/> </condition> </extension>
<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@sip.intellectics.com"<sofia/sip.intellectics.com/mysipuser@sip.intellectics.com> /> </condition> </extension>
</context>
- 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 clients...
br,
pekka
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@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
-- (Mr.) Pekka K. Kurki Intellectics GesmbH http://www.intellectics.com 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@sip.intellectics.com skype: pkkurki, pkkurki-sip (sip gateway) gtalk: pekkis50@gtalk.com (sip gateway - experimental) gizmo: pekkis50 h323:432256815811@sip.intellectics.com email: Pekka.Kurki@intellectics.com www: http://pekka.kurki.at
_______________________________________________ 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
I am using the svn trunk 1.0.4338M. I had the same problem in one of the earlier versions, it could be a problem wihth the tls library as well, I updated several packages some time ago... br, pekka Shiladitya Sircar wrote:
Hi, Thanks for the clarification and help. I was wondering what version of freeswitch are you using? I have configured pretty much identical as your sample and now I get "TLS NOT SUPPORTED IN THUS BUILD" below is the debug message I get:
freeswitch@JSIRCAR> 2007-02-20 22:34:33 [DEBUG] libdingaling.c:1459 xmpp_connect () io error 7 SEND[<?xml version='1.0'?><stream:stream xmlns:stream=' http://etherx.jabber.org/ streams' xmlns='jabber:client' to='gmail.com <http://gmail.com>' version='1.0'>] RECV[<?xml version="1.0" encoding="UTF-8"?><stream:stream from=" gmail.com <http://gmail.com>" id="2 6571D019C85090F" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" x mlns="jabber:client">] RECV2007-02-20 22:34:34 [DEBUG] libdingaling.c:1096 on_stream() TLS NOT SUPPORTE D IN THIS BUILD! [<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism><
/mechanisms></stream:features>]
The freeswitch version that I have compiled and running is : FreeSwitch Version 1.0.4296M
-- (Mr.) Pekka K. Kurki Intellectics GesmbH http://www.intellectics.com 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@sip.intellectics.com skype: pkkurki, pkkurki-sip (sip gateway) gtalk: pekkis50@gtalk.com (sip gateway - experimental) gizmo: pekkis50 h323:432256815811@sip.intellectics.com email: Pekka.Kurki@intellectics.com www: http://pekka.kurki.at
The build for tls support for dingaling is not as clean as I would like. To my recollection, you need to have gnu tls installed on the system before you do your first build, or it will not include support, if you add gnutls afterwards, you will need to rebuild the iksemel library manually (and maybe libdingaling). You can do this by removing the .complete file from those 2 lib directories, and then doing a make sure. Mike ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Pekka K. Kurki Sent: Wednesday, February 21, 2007 5:39 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Setting up for googletalk I am using the svn trunk 1.0.4338M. I had the same problem in one of the earlier versions, it could be a problem wihth the tls library as well, I updated several packages some time ago... br, pekka Shiladitya Sircar wrote: Hi, Thanks for the clarification and help. I was wondering what version of freeswitch are you using? I have configured pretty much identical as your sample and now I get "TLS NOT SUPPORTED IN THUS BUILD" below is the debug message I get: freeswitch@JSIRCAR> 2007-02-20 22:34:33 [DEBUG] libdingaling.c:1459 xmpp_connect () io error 7 SEND[<?xml version='1.0'?><stream:stream xmlns:stream=' http://etherx.jabber.org/ <http://etherx.jabber.org/> streams' xmlns='jabber:client' to='gmail.com' version='1.0'>] RECV[<?xml version="1.0" encoding="UTF-8"?><stream:stream from=" gmail.com" id="2 6571D019C85090F" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" x mlns="jabber:client">] RECV2007-02-20 22:34:34 [DEBUG] libdingaling.c:1096 on_stream() TLS NOT SUPPORTE D IN THIS BUILD! [<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mech anism>< /mechanisms></stream:features>] The freeswitch version that I have compiled and running is : FreeSwitch Version 1.0.4296M -- (Mr.) Pekka K. Kurki Intellectics GesmbH http://www.intellectics.com 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@sip.intellectics.com skype: pkkurki, pkkurki-sip (sip gateway) gtalk: pekkis50@gtalk.com (sip gateway - experimental) gizmo: pekkis50 h323:432256815811@sip.intellectics.com email: Pekka.Kurki@intellectics.com www: http://pekka.kurki.at
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I had the same problem on my ubuntu machine. I did the following as root: apt-get install libgnutls-dev apt-get install libgnutls11-dev Then as freeswitch user I deleted file ".complete" in iksemel directory, did a "make sure" and a "make installall". That added TLS support to freeswitch. I got currently this Error: SEND[<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='gmail.com' version='1.0'>] RECV[<?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com" id="80BF1C2152C92A10" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">] SEND[<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>] RECV[<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>] RECV[<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>] SecSEND[<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='gmail.com' version='1.0'>] SecRECV[<?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com" id="BA3D10F842D1E99B" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">] SecRECV[<stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>] SecSEND[<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN' encoding='UTF-8'>AGhlbG11dC5rdXBlcgBERTY0c2lnbg==</auth>] SecRECV[<failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>] SecRECV[</stream:stream>] 2007-02-26 14:10:22 [DEBUG] libdingaling.c:1146 on_stream() sasl authentication failed 2007-02-26 14:10:22 [DEBUG] libdingaling.c:1459 xmpp_connect() io error 7 Any ideas what do do ? regards Helmut Michael Jerris schrieb:
The build for tls support for dingaling is not as clean as I would like. To my recollection, you need to have gnu tls installed on the system before you do your first build, or it will not include support, if you add gnutls afterwards, you will need to rebuild the iksemel library manually (and maybe libdingaling). You can do this by removing the .complete file from those 2 lib directories, and then doing a make sure.
Mike
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF4t0Q4tZeNddg3dwRAmE7AJ9PD2uhsOQNSvWH/QKVkQKzAoqw+ACgjfE8 VEFjCV9eI0yeCkKo799M9z0= =VE8P -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, got my problem solved. Had a wrong googlemail account ... Helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF4vOw4tZeNddg3dwRAgPiAJ4mDGFrDqf7SRqyx0UWTGAPq3Ik2ACgkSMt 0ivSe5heBx5jooauNkmBSms= =aoaX -----END PGP SIGNATURE-----
participants (4)
-
Helmut Kuper
-
Michael Jerris
-
Pekka K. Kurki
-
Shiladitya Sircar