[Freeswitch-users] unable to set up a call using speex

Dave Horton daveh at beachdognet.com
Thu Sep 29 02:16:04 MSD 2016


I am trying to connect an incoming call to freeswitch using speech wideband, but freeswitch is returning a 488 Not Acceptable here.  It seems like freeswitch, which is using dynamic payload 99 for speex is unable to match that up to the fact that the remote side (client) is using payload 84.  If so, this would seem to be a bug.

Relevant log snippets / details:

1. Freeswitch version
FreeSWITCH Version 1.6.9+git~20160613T181044Z~d574870720~64bit (git d574870 2016-06-13 18:10:44Z 64bit)

2. speex seems to be enabled...

> show codecs

type,name,ikey
…
codec,Speex,CORE_SPEEX_MODULE
…

3. Log snippets from call

2016-09-28 18:09:56.592985 [DEBUG] sofia.c:6943 Remote SDP:
v=0
o=- 1475100596518739 1 IN IP4 10.0.1.7
s=Bria 4 release 4.4.0 stamp 79957
c=IN IP4 10.0.1.7
t=0 0
m=audio 50218 RTP/AVP 84 101
a=rtpmap:84 speex/16000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

EXECUTE sofia/internal/1000 at srf-qa-02.drachtio.org answer()
2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[opus:116:48000:20:0:1]
2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[G722:9:8000:20:64000:1]
2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[SPEEX:99:16000:20:42200:1]
2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4281 Set telephone-event payload to 101 at 8000
2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4693 sofia/internal/1000 at srf-qa-02.drachtio.org Set 2833 dtmf send payload to 101 recv payload to 101
2016-09-28 18:09:56.592985 [NOTICE] switch_channel.c:3809 Hangup sofia/internal/1000 at srf-qa-02.drachtio.org [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]'

send 949 bytes to tcp/[198.0.151.126]:39915 at 18:09:56.612541:
   ------------------------------------------------------------------------
   SIP/2.0 488 Not Acceptable Here




Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list