<div dir="ltr"><div>Hi, </div><div><br></div><div>You can set codec for a phone from dialplan using <span style="background-color:rgb(255,255,255);line-height:1.1em">absolute_codec_string parameter as stated in codec negotiation link.</span></div>

<div><span style="line-height:15px"><br></span></div><div><div>Trans-coding issues in case of G729 or G723 can be handled as: <a href="http://wiki.freeswitch.org/wiki/Sofia#sip_renegotiate_codec_on_reinvite">http://wiki.freeswitch.org/wiki/Sofia#sip_renegotiate_codec_on_reinvite</a></div>

<br class="Apple-interchange-newline"></div><div><span style="line-height:15px">See </span><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#Codec_Related">http://wiki.freeswitch.org/wiki/Channel_Variables#Codec_Related</a> for codec related variables.</div>

<div><br></div><div>Also, there is a configuration in internal and external profiles to define a list of codec in each profile which can be set in global configuration</div><div><a href="http://wiki.freeswitch.org/wiki/Config_external.xml">http://wiki.freeswitch.org/wiki/Config_external.xml</a>
</div><div><br></div><div><pre style="padding-top:1em;padding-right:1em;padding-bottom:1em;padding-left:1em;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-left-style:dashed;border-top-color:rgb(47,111,171);border-right-color:rgb(47,111,171);border-bottom-color:rgb(47,111,171);border-left-color:rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.1em;font-size:10px">

&lt;param name=&quot;codec-prefs&quot; value=&quot;$${outbound_codec_prefs}&quot;/&gt;</pre></div><div><br></div><div>you can see SIP dialogues on each phone IP to verify which codec are being offered </div><div><br></div>

<span class="il" style>ngrep</span><span style> -q -Wbyline &#39;&#39; port 5060 and host x.x.x.x</span><div><br></div><div> <br clear="all"><div dir="ltr">Regards,<br>Zohair Raza<div><br></div><div><div><br></div></div>
</div>
<div class="gmail_quote">On Thu, Dec 22, 2011 at 2:54 AM, Nandy Dagondon <span dir="ltr">&lt;<a href="mailto:gcd@i.ph">gcd@i.ph</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

it&#39;s found here:<br><a href="http://wiki.freeswitch.org/wiki/Codec_negotiation" target="_blank">http://wiki.freeswitch.org/wiki/Codec_negotiation</a><br clear="all"><br>hope this answers your question.<br><br><div class="gmail_quote">

<div><div class="h5">
On Thu, Dec 22, 2011 at 5:25 AM, Sherif Omran <span dir="ltr">&lt;<a href="mailto:sherifomran2000@yahoo.com" target="_blank">sherifomran2000@yahoo.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class="h5">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit" valign="top">hello ,<br><br>does anybody know how to set up the codec selection negotiation list in freeswitch? How can you know which codec has been selected for such a call and which codecs are offered from telephone A and B.<br>


<br>I am using log 7<br><br><br>thank you in advance<br><br>k.regards<br><font color="#888888">Sherif<br></font></td></tr></tbody></table><br></div></div>_________________________________________________________________________<br>


Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>