So I explain my question as: if I use x-lite softphone in speex codec(it must be narrowband), the vioce quality is pool . but when I use X-lite in speex wideband codec , the voice quality is very nice. I do try to change the parameter of default_codec_settings in mod_speex.c , but it seen don't affect anything. so who can tell me how to ajust the freeswitch side to fit the X-lite softphone in speex narrowband? best regards . your freeswitch' fan. --Forwarded Message Attachment-- From: sky.side@hotmail.com To: freeswitch-dev@lists.freeswitch.org Date: Sun, 20 Dec 2009 10:36:41 +0000 Subject: [Freeswitch-dev] Help ! How to adjust the speex Codec 's parameter for my sip phone hi, all I used my soft phone with codec in speex, 8000hz , my softphone ' codec is base on opal lib. but when I register it in freeswitch and call in a conference . I fine the voice quality is not good enough。 I did print the parameter in switch_speex_decode() function , I find that my softphone sent encoded_data_len=21. if I send frame as encoded_data_len=20, then the voice quality become nice. So ,who can tell me how to change the freeswitch's speex parameter, then I can operate the encoded_data_len=21 ? best regards . your freeswitch' fan. _________________________________________________________________ Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/soc...