привет :)

The Speex preferred mode in each direction is announced by the receiving party:
http://tools.ietf.org/html/rfc5574#section-4.1.1

So I guess you need to use Wireshark and see what's going on between the parties.







From: Dmitriy Shumaev <pm_zefman_r@mail.ru>
To: freeswitch-users@lists.freeswitch.org
Sent: Thursday, August 29, 2013 2:54 PM
Subject: [Freeswitch-users] Speex codec in low bandwidth mode (narrowband, mode = 8, quality = 1, bit-rate = 3.95 kbps)

FreeSWITCH Version 1.2.6+git~20130104T154559Z~a4247651ca (git a424765 2013-01-04 15:45:59Z).

I'm trying to use speex codec in mode = 8 (quality = 1, bit-rate = 3.95 kbps), but it seems that it only works with 24.6, 42.2, 44.0 kbps (quality = 10).
Can FS work with other modes/quality (I'm only interested in mode = 8)? If so, what should I do to configure it to use specific mode / quality (i.e. 8 / 1)?

I've modified file <speex.conf.xml> as follows:
<configuration name="speex.conf" description="Speex codec configuration">
  <settings name="default">

    <param name="quality" value="1"/>    <!-- !!! -->
    <param name="complexity" value="10"/>    <!-- !!! -->
    <param name="enhancement" value="false"/>
    <param name="vad" value="false"/>
    <param name="vbr" value="false"/>
    <param name="vbr-quality" value="4.0"/>
    <param name="abr" value="0"/>
    <param name="dtx" value="false"/>
    ...
  </settings>
</configuration>

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org