<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Zohair,<br><br>In which file should i put this parameter  <br>&lt;param name="inbound-late-negotiation" value="true"/&gt;<br><pre>How does this command work<br><span class="yiv1155203981il" style="">ngrep</span><span style="">&nbsp;-q -Wbyline '' port 5060 and host x.x.x.x</span></pre><div><br>Should i make a call and during the call type it?<br><br>kind regards,<br>Sherif<br></div><pre><br></pre><br>--- On <b>Thu, 12/22/11, Zohair Raza <i>&lt;engineerzuhairraza@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Zohair Raza &lt;engineerzuhairraza@gmail.com&gt;<br>Subject: Re: [Freeswitch-users] how is codec selected<br>To: "FreeSWITCH Users Help" &lt;freeswitch-users@lists.freeswitch.org&gt;<br>Date: Thursday, December 22, 2011, 9:00 AM<br><br><div
 id="yiv1155203981"><div dir="ltr"><div>Hi,&nbsp;</div><div><br></div><div>You can set codec&nbsp;for a phone from dialplan using&nbsp;<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&nbsp;issues in case of G729 or G723 can be handled as:&nbsp;<a rel="nofollow" target="_blank" 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="yiv1155203981Apple-interchange-newline"></div><div><span style="line-height:15px;">See&nbsp;</span><a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org/wiki/Channel_Variables#Codec_Related">http://wiki.freeswitch.org/wiki/Channel_Variables#Codec_Related</a>&nbsp;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 rel="nofollow" target="_blank" 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="codec-prefs" value="$${outbound_codec_prefs}"/&gt;</pre></div><div><br></div><div>you can see SIP dialogues on each phone IP to verify which codec are being offered&nbsp;</div><div><br></div>

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

it's found here:<br><a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org/wiki/Codec_negotiation">http://wiki.freeswitch.org/wiki/Codec_negotiation</a><br clear="all"><br>hope this answers your question.<br><br><div class="yiv1155203981gmail_quote">

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

<div><div class="yiv1155203981h5">
<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 rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="/mc/compose?to=consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" target="_blank" href="http://www.cudatel.com">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="/mc/compose?to=consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" target="_blank" href="http://www.cudatel.com">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a ymailto="mailto:consulting@freeswitch.org" href="/mc/compose?to=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 ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org"
 href="/mc/compose?to=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></div></blockquote></td></tr></table>