<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dynamic payload range is 96-127. Codecs below 96 are assigned to specific codecs so would only match if 84 is assigned to speex, which it is not.<div class=""><br class=""></div><div class="">See the IANA assignments for pt here:</div><div class=""><br class=""></div><div class=""><a href="http://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-parameters-1" class="">http://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-parameters-1</a></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 28, 2016, at 6:16 PM, Dave Horton <<a href="mailto:daveh@beachdognet.com" class="">daveh@beachdognet.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">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.<br class=""><br class="">Relevant log snippets / details:<br class=""><br class="">1. Freeswitch version<br class="">FreeSWITCH Version 1.6.9+git~20160613T181044Z~d574870720~64bit (git d574870 2016-06-13 18:10:44Z 64bit)<br class=""><br class="">2. speex seems to be enabled...<br class=""><br class=""><blockquote type="cite" class="">show codecs<br class=""></blockquote><br class="">type,name,ikey<br class="">…<br class="">codec,Speex,CORE_SPEEX_MODULE<br class="">…<br class=""><br class="">3. Log snippets from call<br class=""><br class="">2016-09-28 18:09:56.592985 [DEBUG] sofia.c:6943 Remote SDP:<br class="">v=0<br class="">o=- 1475100596518739 1 IN IP4 10.0.1.7<br class="">s=Bria 4 release 4.4.0 stamp 79957<br class="">c=IN IP4 10.0.1.7<br class="">t=0 0<br class="">m=audio 50218 RTP/AVP 84 101<br class="">a=rtpmap:84 speex/16000<br class="">a=rtpmap:101 telephone-event/8000<br class="">a=fmtp:101 0-15<br class=""><br class="">EXECUTE <a href="mailto:sofia/internal/1000@srf-qa-02.drachtio.org" class="">sofia/internal/1000@srf-qa-02.drachtio.org</a> answer()<br class="">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]<br class="">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]<br class="">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]<br class="">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]<br class="">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]<br class="">2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4281 Set telephone-event payload to 101@8000<br class="">2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4693 <a href="mailto:sofia/internal/1000@srf-qa-02.drachtio.org" class="">sofia/internal/1000@srf-qa-02.drachtio.org</a> Set 2833 dtmf send payload to 101 recv payload to 101<br class="">2016-09-28 18:09:56.592985 [NOTICE] switch_channel.c:3809 Hangup <a href="mailto:sofia/internal/1000@srf-qa-02.drachtio.org" class="">sofia/internal/1000@srf-qa-02.drachtio.org</a> [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]'<br class=""><br class="">send 949 bytes to tcp/[198.0.151.126]:39915 at 18:09:56.612541:<br class=""> ------------------------------------------------------------------------<br class=""> SIP/2.0 488 Not Acceptable Here<br class=""><br class=""><br class="">_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></div></blockquote></div><br class=""></div></body></html>