Home > Uncategorized > raspberry pi gcc 4.6 bug

raspberry pi gcc 4.6 bug

spent a few hours compiling freeswitch on a raspberry pi, couldn’t get any calls to work -everything died with


The call would ring at both ends and die when answered.

turns out there’s a bug in gcc 4.6 which is the default on raspbian.

here’s instructions for installing newer gcc

# uname -a
Linux SkyPi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l GNU/Linux
2015-12-07 22:43:57.513845 [INFO] switch_ivr_originate.c:1216 Sending early media
2015-12-07 22:43:57.513845 [ERR] mod_sofia.c:2309 CODEC NEGOTIATION ERROR. SDP:
o=sip:[email protected] 1 34 IN IP4
s=sip:[email protected]
c=IN IP4
t=0 0
m=audio 5004 RTP/AVP 0 8 18 110 120
a=rtpmap:0 PCMU/8000/1
a=rtpmap:8 PCMA/8000/1
a=rtpmap:18 G729/8000/1
a=fmtp:18 annexb=no
a=rtpmap:110 G726-32/8000/1
a=rtpmap:120 telephone-event/8000/1

2015-12-07 22:43:57.513845 [NOTICE] switch_channel.c:3501 Hangup sofia/internal/[email protected] [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
2015-12-07 22:43:57.513845 [NOTICE] switch_ivr_originate.c:3841 Hangup sofia/internal/[email protected]:5060 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
2015-12-07 22:43:57.513845 [NOTICE] switch_ivr_originate.c:2763 Cannot create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL]
2015-12-07 22:43:57.513845 [INFO] mod_dptools.c:3379 Originate Failed. Cause: ORIGINATOR_CANCEL

Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.