problem with jingaling (may cause by TLS)
Dear all: I am confused with dingaling for several days. I hope someone could help me please. Below are my config steps: 1. Download “gnutls-2.9.9.exe” from “ http://josefsson.org/gnutls4win/” and install. 2. Build “libgnutls-26.lib” (refer to “ http://wiki.freeswitch.org/wiki/Ixemel_MSVS_project_example”). I have rebuilt the FreeSwitch. 3. Copy the TLS dlls to “C:\FreeSWITCH\Debug”. 4. Set the conf in “\conf\jingle_profiles\client.xml” (refer to “ http://wiki.freeswitch.org/wiki/Mod_dingaling#TLS” and the letter “[Freeswitch-users] Problems making a receiveing calls with mod_jingling” ). 5. Start FreeSwitch. Below are my config in step 3: <include> <profile type="client"> <param name="name" value="thisjoy"/> <param name="login" value="account@gmail.com/gtalk"/> <param name="password" value="pwd"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> <param name="message" value="Jingle all the way"/> <param name="rtp-ip" value="$${bind_server_ip}"/> <param name="ext-rtp-ip" value="$${external_rtp_ip}"/> <param name="auto-login" value="true"/> <param name="sasl" value="plain"/> <param name="server" value="talk.google.com"/> <param name="tls" value="true"/> <param name="use-rtp-timer" value="true"/> <param name="exten" value="888"/> <param name="vad" value="both"/> <param name="candidate-acl" value="wan.auto"/> <param name="local-network-acl" value="localnet.auto"/> </profile> </include> I input the command “dingaling status” and found the account was “UNCONNECTED”. Besides, I saw a message in “freeswitch.log”, it is: I. 2010-10-28 18:46:56.468750 [DEBUG] libdingaling.c:1237 TLS NOT SUPPORTED IN THIS BUILD! II. 2010-10-28 18:47:16.453125 [DEBUG] libdingaling.c:1607 io error 2 7 retry in 20 second(s) My OS is Windows XP and the FreeSwitch is 1.0.head. Thank you for helping. Sincerely yours, Thisjoy.
This is not currently supported in the current windows iksemel project. The required code for tls has been conditionally compiled out. Do a search for WIN32 in the project! If you are able to make this work please post your recipe to the Wiki so we can correct the docs there. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/problem-with-jingaling-may-cau... Sent from the freeswitch-users mailing list archive at Nabble.com.
OK. I will keep trying. Thank you for suggestions. 2010/10/28 Jeff Lenk <jeff@jefflenk.com>
This is not currently supported in the current windows iksemel project. The required code for tls has been conditionally compiled out.
Do a search for WIN32 in the project!
If you are able to make this work please post your recipe to the Wiki so we can correct the docs there. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/problem-with-jingaling-may-cau... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
You'll need to patch the code to some extent for mod_dingaling with TLS support on Windows to work. For now, run FreeSwitch under CentOS/RHEL 5.x for now. Fedora 13's libgnutls is broken, so expect some segfaults when you try to load mod_dingaling under that distro. On Fri, Oct 29, 2010 at 4:06 AM, joy this <thisjoy0528@gmail.com> wrote:
OK. I will keep trying. Thank you for suggestions.
2010/10/28 Jeff Lenk <jeff@jefflenk.com>
This is not currently supported in the current windows iksemel project. The required code for tls has been conditionally compiled out.
Do a search for WIN32 in the project!
If you are able to make this work please post your recipe to the Wiki so we can correct the docs there. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/problem-with-jingaling-may-cau... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
_______________________________________________ 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 used Wireshark to observe the transferred packages which are sent by FreeSwitch and google talk software. I found that FreeSwitch packages are lacked of the “SSLv2” and “TLSv1” packages. Does this result from TLS does not support iksemel project on Windows? I used different versions of GnuTLS and ilsemel to rebuild FreeSwitch. Another message in the log file appeared: “2010-11-01 16:26:40.171875 [DEBUG] libdingaling.c:1609 io error 2 7 retry in 8 second(s)”. The work seems complicated. Are there any hints or suggestions? 2010/10/30 Jeffrey Leung <curriegrad2004@gmail.com>
You'll need to patch the code to some extent for mod_dingaling with TLS support on Windows to work. For now, run FreeSwitch under CentOS/RHEL 5.x for now. Fedora 13's libgnutls is broken, so expect some segfaults when you try to load mod_dingaling under that distro.
On Fri, Oct 29, 2010 at 4:06 AM, joy this <thisjoy0528@gmail.com> wrote:
OK. I will keep trying. Thank you for suggestions.
2010/10/28 Jeff Lenk <jeff@jefflenk.com>
This is not currently supported in the current windows iksemel project. The required code for tls has been conditionally compiled out.
Do a search for WIN32 in the project!
If you are able to make this work please post your recipe to the Wiki so we can correct the docs there. -- View this message in context:
http://freeswitch-users.2379917.n2.nabble.com/problem-with-jingaling-may-cau...
Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
As I kinda mentioned earlier have you enabled the HAVE_GNUTLS define? If you already have then I dont have any other ideas. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/problem-with-jingaling-may-cau... Sent from the freeswitch-users mailing list archive at Nabble.com.
Hi, You must use SSLv3 so that TLS works properly on Windows. Have you correctly configurate only TLS ? (certs and so on) Diego Toro http://voipensando.blogspot.com/ --- On Tue, 11/2/10, joy this <thisjoy0528@gmail.com> wrote: From: joy this <thisjoy0528@gmail.com> Subject: Re: [Freeswitch-users] problem with jingaling (may cause by TLS) To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Date: Tuesday, November 2, 2010, 4:39 AM I used Wireshark to observe the transferred packages which are sent by FreeSwitch and google talk software. I found that FreeSwitch packages are lacked of the “SSLv2” and “TLSv1” packages. Does this result from TLS does not support iksemel project on Windows? I used different versions of GnuTLS and ilsemel to rebuild FreeSwitch. Another message in the log file appeared: “2010-11-01 16:26:40.171875 [DEBUG] libdingaling.c:1609 io error 2 7 retry in 8 second(s)”. The work seems complicated. Are there any hints or suggestions? 2010/10/30 Jeffrey Leung <curriegrad2004@gmail.com> You'll need to patch the code to some extent for mod_dingaling with TLS support on Windows to work. For now, run FreeSwitch under CentOS/RHEL 5.x for now. Fedora 13's libgnutls is broken, so expect some segfaults when you try to load mod_dingaling under that distro. On Fri, Oct 29, 2010 at 4:06 AM, joy this <thisjoy0528@gmail.com> wrote:
OK. I will keep trying. Thank you for suggestions.
2010/10/28 Jeff Lenk <jeff@jefflenk.com>
This is not currently supported in the current windows iksemel project.
The
required code for tls has been conditionally compiled out.
Do a search for WIN32 in the project!
If you are able to make this work please post your recipe to the Wiki so
we
can correct the docs there.
--
View this message in context:
http://freeswitch-users.2379917.n2.nabble.com/problem-with-jingaling-may-cau...
Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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
_______________________________________________
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
_______________________________________________ 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 -----Inline Attachment Follows----- _______________________________________________ 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
After enabling the HAVE_GNUTLS define, I can now log in google talk. Thank you very much. I have one more question. “FreeSWITCH and Google Talk cannot connect to each other after a successful ringing and answering” (refer to “ http://wiki.freeswitch.org/wiki/Mod_dingaling”). I test it by: soft-phone (x-lite 3.0) --->FS (GT account1) --->GT account2 (GT software 1.0.0.105). Account2 rings and answers, but no sound can be heard. If GT account2 is signed in with the web page, it will not even ring. Is it a normal situation? The dial plan is as below (refer to " http://chesterton.id.au/blog/2008/01/02/freeswitch-google-talk-dingaling-jin... "): <extension name="gvoice_out"> <condition field="destination_number" expression="^gmail\+([^\@]+)\@?(.*)$"> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="dingaling/thisjoy/$ 1@gmail.com"/> </condition> </extension> Although I tried several versions, it is still unworkable. Now I am not sure if it is the problem of GT version or FreeSwitch. Is there any link for downloading the actually latest version of google talk software? 2010/11/2 Diego Toro <dftoro@yahoo.com>
Hi, You must use SSLv3 so that TLS works properly on Windows.
Have you correctly configurate only TLS ? (certs and so on)
Diego Toro http://voipensando.blogspot.com/
--- On *Tue, 11/2/10, joy this <thisjoy0528@gmail.com>* wrote:
From: joy this <thisjoy0528@gmail.com> Subject: Re: [Freeswitch-users] problem with jingaling (may cause by TLS) To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Date: Tuesday, November 2, 2010, 4:39 AM
I used Wireshark to observe the transferred packages which are sent by FreeSwitch and google talk software. I found that FreeSwitch packages are lacked of the “SSLv2” and “TLSv1” packages. Does this result from TLS does not support iksemel project on Windows?
I used different versions of GnuTLS and ilsemel to rebuild FreeSwitch. Another message in the log file appeared: “2010-11-01 16:26:40.171875 [DEBUG] libdingaling.c:1609 io error 2 7 retry in 8 second(s)”.
The work seems complicated. Are there any hints or suggestions?
2010/10/30 Jeffrey Leung <curriegrad2004@gmail.com<http://mc/compose?to=curriegrad2004@gmail.com>
You'll need to patch the code to some extent for mod_dingaling with TLS support on Windows to work. For now, run FreeSwitch under CentOS/RHEL 5.x for now. Fedora 13's libgnutls is broken, so expect some segfaults when you try to load mod_dingaling under that distro.
On Fri, Oct 29, 2010 at 4:06 AM, joy this <thisjoy0528@gmail.com<http://mc/compose?to=thisjoy0528@gmail.com>> wrote:
OK. I will keep trying. Thank you for suggestions.
2010/10/28 Jeff Lenk <jeff@jefflenk.com<http://mc/compose?to=jeff@jefflenk.com>
This is not currently supported in the current windows iksemel project. The required code for tls has been conditionally compiled out.
Do a search for WIN32 in the project!
If you are able to make this work please post your recipe to the Wiki so we can correct the docs there. -- View this message in context:
http://freeswitch-users.2379917.n2.nabble.com/problem-with-jingaling-may-cau...
Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<http://mc/compose?to=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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<http://mc/compose?to=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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<http://mc/compose?to=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
-----Inline Attachment Follows-----
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<http://mc/compose?to=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
_______________________________________________ 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
participants (4)
-
Diego Toro
-
Jeff Lenk
-
Jeffrey Leung
-
joy this