[Freeswitch-docs] raspberry pi compiler issue

Russell Treleaven rtreleaven at bunnykick.ca
Thu Oct 30 22:52:14 MSK 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-docs/attachments/20141030/c4f92add/attachment.html 


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