[Freeswitch-docs] raspberry pi compiler issue

William King wking at freeswitch.org
Fri Nov 28 05:42:51 MSK 2014


Another write up of the issue here:
https://blog.quentusrex.com/freeswitch-raspberrypi-gcc-compiler-bug.html

William King
wking at freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @quentusrex
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T: +1.213.286.0416
Skype:quentusrex

On 10/30/14 12:52 PM, Russell Treleaven wrote:
> Hi,
> 
> I write this in hopes that someone will review it and add it to the wiki.
> -------------------
> 
> Attention: raspberry pi users
> 
> There is a bug in the compiler that ships with raspbian 7.6
> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61509 for details
> 
> One of the symptoms of this bug is
> 
> 2014-10-27 22:50:00.217016 [INFO] switch_ivr_originate.c:3501 Sending early
> media
> 2014-10-27 22:50:00.217016 [DEBUG] switch_core_media.c:3590 Audio Codec
> Compare [SPEEX:105:8000:30:32000:1]/[PCMA:8:8000:20:64000:1]
> 2014-10-27 22:50:00.217016 [DEBUG] switch_core_media.c:3590 Audio Codec
> Compare [SPEEX:103:16000:30:32000:1]/[PCMA:8:8000:20:64000:1]
> 2014-10-27 22:50:00.217016 [DEBUG] switch_core_media.c:3590 Audio Codec
> Compare [PCMU:0:8000:30:32000:1]/[PCMA:8:8000:20:64000:1]
> 2014-10-27 22:50:00.217016 [DEBUG] switch_core_media.c:3590 Audio Codec
> Compare [PCMA:8:8000:30:32000:1]/[PCMA:8:8000:20:64000:1]
> 2014-10-27 22:50:00.217016 [DEBUG] switch_core_media.c:3590 Audio Codec
> Compare [GSM:3:8000:30:32000:1]/[PCMA:8:8000:20:64000:1]
> 2014-10-27 22:50:00.217016 [DEBUG] switch_core_media.c:3590 Audio Codec
> Compare [G722:9:8000:30:32000:1]/[PCMA:8:8000:20:64000:1]
> 2014-10-27 22:50:00.217016 [DEBUG] switch_core_media.c:3506 Set
> telephone-event payload to 101
> 2014-10-27 22:50:00.217016 [DEBUG] switch_core_media.c:3836 Set 2833 dtmf
> send/recv payload to 101
> 2014-10-27 22:50:00.217016 [ERR] mod_sofia.c:2219 CODEC NEGOTIATION ERROR.
> SDP:
> 
> Notice the ptime is 30 and bits per second is 32000
> 
> This bug has been fixed in gcc 4.7 or higher
> 
> To upgrade gcc do
> apt-get update
> apt-get dist-upgrade
> To verify the compiler version do
> gcc --version
> #version should be "gcc (Debian 4.7.2-5+rpi1) 4.7.2" or higher
> 
> -------------------
> 
> Sincererly,
> 
> Russell Treleaven
> mailto:rtreleaven at bunnykick.ca
> sip:rtreleaven at sip.bunnykick.ca
> 
> 
> 
> _______________________________________________
> Freeswitch-docs mailing list
> Freeswitch-docs at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs
> 



Join us at ClueCon 2014 Aug 4-7, 2014
More information about the Freeswitch-docs mailing list