Re: [Freeswitch-users] FreeSWITCH adds WebRTC support to new 1.4 BETA.
I was experiencing the same problem as Henry. Ubuntu 12.04 has an earlier version version of OpenSSL and when I upgrade OpenSSL prior to installing FS as per the following snippet: # prerequisites sudo apt-get install git-core build-essential autoconf automake libtool libncurses5 libncurses5-dev gawk libjpeg-dev zlib1g-dev pkg-config libssl-dev -y # requires openssl v1.0.1e for WebRTC dtls wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz tar -xvzf openssl-1.0.1e.tar.gz cd openssl-1.0.1e/ ./config --prefix=/usr make make install ... I get the following error: quiet_libtool: link: gcc -I/usr/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -I/usr/local/src/freeswitch/libs/stfu -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g -O2 -pthread -D_REENTRANT -D_GNU_SOURCE -I/usr/local/src/freeswitch/libs/apr/include -I/usr/local/src/freeswitch/libs/apr-util/include -I/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib -I/usr/local/src/freeswitch/libs/libtpl-1.5/src -I/usr/local/src/freeswitch/libs/stfu -I/usr/local/src/freeswitch/libs/sqlite -I/usr/local/src/freeswitch/libs/pcre -I/usr/local/src/freeswitch/libs/speex/include -Ilibs/speex/include -I/usr/local/src/freeswitch/libs/srtp/include -I/usr/local/src/freeswitch/libs/srtp/crypto/include -Ilibs/srtp/crypto/include -I/usr/local/src/freeswitch/libs/spandsp/src -I/usr/local/src/freeswitch/libs/tiff-4.0.2/libtiff -DENABLE_SRTP -I/usr/local/src/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT -g -O2 -o .libs/freeswitch freeswitch-switch.o -lm -lz ./.libs/libfreeswitch.so libs/apr/.libs/libapr-1.a -lrt -ldl -lcrypt -lpthread libs/libedit/src/.libs/libedit.a -lssl -lcrypto -lncurses -ljpeg -pthread -Wl,-rpath -Wl,/usr/local/freeswitch/lib ./.libs/libfreeswitch.so: undefined reference to `SSLv2_client_method' collect2: ld returned 1 exit status make[1]: *** [freeswitch] Error 1 make: *** [install] Error 2 [1]+ Exit 2 make Cannot even build FS now. Ashley. From: Michael Jerris [mailto:mike@jerris.com] Sent: Wednesday, July 3, 2013 9:58 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH adds WebRTC support to new 1.4 BETA. yes. you can see it working on the demo at http://webrtc.freeswitch.org. On Jul 3, 2013, at 12:53 AM, Henry Huang <red.rain.seven@gmail.com <mailto:red.rain.seven@gmail.com> > wrote: Anyone getting audio working bridging call to webrtc client without bypassing media? On Jul 2, 2013 6:45 PM, "João Mesquita" <jmesquita@freeswitch.org <mailto:jmesquita@freeswitch.org> > wrote: I think you might need to re bootstrap maybe? On Jul 2, 2013 8:54 PM, "Henry Huang" <red.rain.seven@gmail.com <mailto:red.rain.seven@gmail.com> > wrote: I did, and just in case I ran it again. ./configure make make install restart freeswitch This is what I am still seeing. 2013-07-02 16:40:51.135302 [ALERT] switch_core_media.c:1310 Dispatched RTCP event 2013-07-02 16:40:51.175310 [ALERT] switch_rtp.c:3883 Drop audio packet 70 bytes (dtls not ready!) b=4294967168 2013-07-02 16:40:52.255306 [ALERT] switch_rtp.c:1510 Setting RTCP src-1 to 10.128.7.103 2013-07-02 16:40:52.255306 [ALERT] switch_rtp.c:1515 Setting RTCP src-1 LENGTH to 12 (1280, 10.128.7.103) 2013-07-02 16:40:52.255306 [ALERT] switch_rtp.c:1516 Setting msw = -1267375797, lsw = -601115572 2013-07-02 16:40:52.255306 [ALERT] switch_rtp.c:1517 now = 0, now lo = 0, now hi = 0 Henry On Tue, Jul 2, 2013 at 3:13 PM, Ken Rice <krice@freeswitch.org <mailto:krice@freeswitch.org> > wrote: Did you reconfigure? On 7/2/13 4:29 PM, "Henry Huang" <red.rain.seven@gmail.com <http://red.rain.seven@gmail.com/> > wrote: Ok, I have upgraded openssl to 1.0.1e, recompiled FreeSWITCH, but I am still getting the "dtls not ready!" alerts and no audio 2013-07-02 14:26:47.695312 [ALERT] switch_rtp.c:4408 sofia/internal/1004@10.128.7.103 <http://sofia/internal/1004@10.128.7.103> Hot Hit 2 2013-07-02 14:26:47.695312 [ALERT] switch_rtp.c:4425 sofia/internal/1004@10.128.7.103 <http://sofia/internal/1004@10.128.7.103> timer while HOT 2013-07-02 14:26:47.715313 [ALERT] switch_rtp.c:5443 Skip sending audio packet 172 bytes (dtls not ready!) Here is my openssl version: root@fusionpbx:/usr/src# openssl version OpenSSL 1.0.1e 11 Feb 2013 On Tue, Jul 2, 2013 at 9:35 AM, Michael Collins <msc@freeswitch.org <http://msc@freeswitch.org/> > wrote: You'll need to make sure you have OpenSSL 1.0.1e which was released in Feb of this year. I suspect the version in Ubuntu might not be older. -MC On Tue, Jul 2, 2013 at 9:02 AM, Henry Huang <red.rain.seven@gmail.com <http://red.rain.seven@gmail.com/> > wrote: Michael, I am just using whatever comes with Ubuntu 12.04 64bit. Package: openssl Version: 1.0.1-4ubuntu5.8 Depends: libc6 (>= 2.15), libssl1.0.0 (>= 1.0.1) Thanks, Henry _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://consulting@freeswitch.org/> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com <http://www.cudatel.com/> Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://wiki.freeswitch.org <http://wiki.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <http://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 <http://www.freeswitch.org/> -- Ken http://www.FreeSWITCH.org <http://www.freeswitch.org/> http://www.ClueCon.com <http://www.cluecon.com/> http://www.OSTAG.org <http://www.ostag.org/> irc.freenode.net <http://irc.freenode.net/> #freeswitch _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com <http://www.cudatel.com/> Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://wiki.freeswitch.org <http://wiki.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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 <http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com <http://www.cudatel.com/> Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://wiki.freeswitch.org <http://wiki.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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 <http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com <http://www.cudatel.com/> Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://wiki.freeswitch.org <http://wiki.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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 <http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
Ashley, I didn't install openssl from source. I found Debian/Ubuntu packages and installed them from deb files. After reconfigure & recompiling FreeSWITCH, I am still having the same issue. Henry On Wed, Jul 3, 2013 at 5:14 AM, Ashley B <ashley@midletearth.com> wrote:
I was experiencing the same problem as Henry.****
Ubuntu 12.04 has an earlier version version of OpenSSL and when I upgrade OpenSSL prior to installing FS as per the following snippet:****
** **
# prerequisites****
sudo apt-get install git-core build-essential autoconf automake libtool libncurses5 libncurses5-dev gawk libjpeg-dev zlib1g-dev pkg-config libssl-dev -y****
** **
# requires openssl v1.0.1e for WebRTC dtls****
wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz****
tar -xvzf openssl-1.0.1e.tar.gz****
cd openssl-1.0.1e/****
./config --prefix=/usr****
make****
make install****
** **
...****
** **
… I get the following error:****
** **
quiet_libtool: link: gcc -I/usr/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -I/usr/local/src/freeswitch/libs/stfu -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g -O2 -pthread -D_REENTRANT -D_GNU_SOURCE -I/usr/local/src/freeswitch/libs/apr/include -I/usr/local/src/freeswitch/libs/apr-util/include -I/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib -I/usr/local/src/freeswitch/libs/libtpl-1.5/src -I/usr/local/src/freeswitch/libs/stfu -I/usr/local/src/freeswitch/libs/sqlite -I/usr/local/src/freeswitch/libs/pcre -I/usr/local/src/freeswitch/libs/speex/include -Ilibs/speex/include -I/usr/local/src/freeswitch/libs/srtp/include -I/usr/local/src/freeswitch/libs/srtp/crypto/include -Ilibs/srtp/crypto/include -I/usr/local/src/freeswitch/libs/spandsp/src -I/usr/local/src/freeswitch/libs/tiff-4.0.2/libtiff -DENABLE_SRTP -I/usr/local/src/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT -g -O2 -o .libs/freeswitch freeswitch-switch.o -lm -lz ./.libs/libfreeswitch.so libs/apr/.libs/libapr-1.a -lrt -ldl -lcrypt -lpthread libs/libedit/src/.libs/libedit.a -lssl -lcrypto -lncurses -ljpeg -pthread -Wl,-rpath -Wl,/usr/local/freeswitch/lib****
./.libs/libfreeswitch.so: undefined reference to `SSLv2_client_method'****
collect2: ld returned 1 exit status****
make[1]: *** [freeswitch] Error 1****
make: *** [install] Error 2****
[1]+ Exit 2 make****
** **
Cannot even build FS now.****
** **
Ashley.****
** **
** **
** **
*From:* Michael Jerris [mailto:mike@jerris.com] *Sent:* Wednesday, July 3, 2013 9:58 AM
*To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] FreeSWITCH adds WebRTC support to new 1.4 BETA.****
** **
yes. you can see it working on the demo at http://webrtc.freeswitch.org.* ***
** **
On Jul 3, 2013, at 12:53 AM, Henry Huang <red.rain.seven@gmail.com> wrote: ****
** **
Anyone getting audio working bridging call to webrtc client without bypassing media?****
On Jul 2, 2013 6:45 PM, "João Mesquita" <jmesquita@freeswitch.org> wrote:* ***
I think you might need to re bootstrap maybe?****
On Jul 2, 2013 8:54 PM, "Henry Huang" <red.rain.seven@gmail.com> wrote:*** *
I did, and just in case I ran it again. ****
./configure****
make****
make install****
restart freeswitch****
** **
This is what I am still seeing. ****
** **
2013-07-02 16:40:51.135302 [ALERT] switch_core_media.c:1310 Dispatched RTCP event****
2013-07-02 16:40:51.175310 [ALERT] switch_rtp.c:3883 Drop audio packet 70 bytes (dtls not ready!) b=4294967168****
2013-07-02 16:40:52.255306 [ALERT] switch_rtp.c:1510 Setting RTCP src-1 to 10.128.7.103****
2013-07-02 16:40:52.255306 [ALERT] switch_rtp.c:1515 Setting RTCP src-1 LENGTH to 12 (1280, 10.128.7.103)****
2013-07-02 16:40:52.255306 [ALERT] switch_rtp.c:1516 Setting msw = -1267375797, lsw = -601115572****
2013-07-02 16:40:52.255306 [ALERT] switch_rtp.c:1517 now = 0, now lo = 0, now hi = 0****
** **
Henry****
** **
On Tue, Jul 2, 2013 at 3:13 PM, Ken Rice <krice@freeswitch.org> wrote:****
Did you reconfigure? ****
On 7/2/13 4:29 PM, "Henry Huang" <red.rain.seven@gmail.com> wrote:****
Ok, I have upgraded openssl to 1.0.1e, recompiled FreeSWITCH, but I am still getting the "dtls not ready!" alerts and no audio
2013-07-02 14:26:47.695312 [ALERT] switch_rtp.c:4408 sofia/internal/1004@10.128.7.103 Hot Hit 2 2013-07-02 14:26:47.695312 [ALERT] switch_rtp.c:4425 sofia/internal/1004@10.128.7.103 timer while HOT 2013-07-02 14:26:47.715313 [ALERT] switch_rtp.c:5443 Skip sending audio packet 172 bytes (dtls not ready!)
Here is my openssl version: root@fusionpbx:/usr/src# openssl version OpenSSL 1.0.1e 11 Feb 2013
On Tue, Jul 2, 2013 at 9:35 AM, Michael Collins <msc@freeswitch.org> wrote:****
You'll need to make sure you have OpenSSL 1.0.1e which was released in Feb of this year. I suspect the version in Ubuntu might not be older.
-MC
On Tue, Jul 2, 2013 at 9:02 AM, Henry Huang <red.rain.seven@gmail.com> wrote:****
Michael,
I am just using whatever comes with Ubuntu 12.04 64bit.
Package: openssl Version: 1.0.1-4ubuntu5.8 Depends: libc6 (>= 2.15), libssl1.0.0 (>= 1.0.1)
Thanks,
Henry
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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****
** **
-- Ken****
*http://www.FreeSWITCH.org <http://www.freeswitch.org/> http://www.ClueCon.com <http://www.cluecon.com/> http://www.OSTAG.org <http://www.ostag.org/>*****
irc.freenode.net #freeswitch****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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****
** **
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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****
** **
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
participants (2)
-
Ashley B
-
Henry Huang