<div dir="ltr"><div><div>u may check the selected codec by set console log level to debug and then reload mod_sofia it will show the codec for inbound and outbound codec prefs for every sip profile there u have the idea which codecs are selected for the specific profile<br>
<br></div><div>and u can update these values in the profile conf file like internal.xml in sip_profiles/<br></div><br>Regards<br></div>Shahzad Bhatti<br><div><div><div><br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---------- Forwarded message ----------<br>From: thomas peterseil <<a href="mailto:thomas.peterseil@gmail.com">thomas.peterseil@gmail.com</a>><br>
To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Date: Thu, 30 Jan 2014 22:02:33 +0100<br>Subject: Re: [Freeswitch-users] trans-coding is not working<br>
hello brian,<br>
thanks for your help! as far as i understood the default config of FS,<br>
it takes the codec list from the vars.xml file. i have both codecs<br>
(PCMU,PCMA) there:<br>
--------------<br>
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=G722,PCMU,PCMA,GSM"/><br>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA,GSM"/><br>
--------------<br>
<br>
when i do a show codec it also shows me both codecs. can you give me a<br>
hint where else i should look for this config problem?<br>
<br>
thanks a lot!<br>
best,<br>
thomas<br>
<br>
<br>
2014-01-30 Brian West <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>>:<br>
> Thomas,<br>
> It will, but if you wish this to take place then you MUST offer both PCMU and PCMA on the leg headed to the device that only has PCMU enabled, otherwise you're sending an invite with only PCMA in it and that x-lite thats configured with only PCMU, Its responding 488. Its behaving exactly how its configured. Please add PCMA and PCMU to your codecs list on FreeSWITCH.<br>
><br>
><br>
> --<br>
> Brian West<br>
> <a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><br>
> FreeSWITCH Solutions, LLC<br>
> PO BOX 2531<br>
> Brookfield, WI 53008-2531<br>
> Twitter: @FreeSWITCH , @briankwest<br>
> <a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
> <a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br>
><br>
> T: <a href="tel:%2B1.918.420.9001" value="+19184209001">+1.918.420.9001</a> | F: <a href="tel:%2B1.918.420.9002" value="+19184209002">+1.918.420.9002</a> | M: +1.918.424.WEST<br>
> iNUM: <a href="tel:%2B883%205100%201420%209001" value="+883510014209001">+883 5100 1420 9001</a><br>
> ISN: 410*543<br>
> Skype:briankwest<br>
> PGP Key: <a href="http://www.bkw.org/key.txt" target="_blank">http://www.bkw.org/key.txt</a> (AB93356707C76CED)<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> On Jan 30, 2014, at 1:51 PM, thomas peterseil <<a href="mailto:thomas.peterseil@gmail.com">thomas.peterseil@gmail.com</a>> wrote:<br>
><br>
>> hello brian,<br>
>> as far as i know FS by default is doing transcoding, so my expectation<br>
>> is that FS will do a transcoding between both call-legs. i didn´t<br>
>> change anything of the default config. on one client PCMA is enabled,<br>
>> on the other PCMU.<br>
>> thank you very much!<br>
>> best,<br>
>> thomas<br>
><br><br>
<br></blockquote></div><br></div></div></div></div></div>