<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Mark,<div><br></div><div>I confirm that, as I wrote that wiki page (the early negotiation part) :)</div><div><br></div><div>Can you really confirm your FS version ?</div><div>The parameter you showed is old.</div><div>codec-prefs has been replaced in SIP profiles by:</div><div><div><br></div><div>&nbsp;&nbsp; &nbsp;&lt;param name="inbound-codec-prefs" value="$${global_codec_prefs}"/&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;param name="outbound-codec-prefs" value="$${outbound_codec_prefs}"/&gt;</div><div><br></div><div><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#1C00FF">David Ponzone &nbsp;</font><font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Direction Technique</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">email: <a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: &nbsp; &nbsp; &nbsp;01 74 03 18 97</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">gsm: &nbsp; 06 66 98 76 34</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><br></font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">Service Client<span class="Apple-converted-space">&nbsp;</span></font><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#FF0000">IP</font></font><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">eva</font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: &nbsp; &nbsp; &nbsp;0811 46 26 26</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'" size="3"><span class="Apple-style-span" style="font-size: 13px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span style="text-decoration: underline; "><a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149); ">&nbsp; -&nbsp; &nbsp;<span style="color: rgb(0, 34, 243); text-decoration: underline; "><a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span" style="text-decoration: underline; "><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-align: justify; font: normal normal normal 10px/normal Arial; color: rgb(192, 192, 192); "><i>Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération.&nbsp;</i><b><i>IPeva</i></b><i>&nbsp;décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.</i></div><div style="text-decoration: underline; text-align: justify; "><font class="Apple-style-span" color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"> </div><br><div><div>Le 23/06/2010 à 14:43, Mark Campbell-Smith a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Check this good wiki page for how FS negotiates codecs (early<br>negotiation default):<br><a href="http://wiki.freeswitch.org/wiki/Codec_Negotiation">http://wiki.freeswitch.org/wiki/Codec_Negotiation</a><br><br>I have this set in my internal profile:<br> &nbsp;&nbsp;&nbsp;&lt;param name="codec-prefs" value="$${global_codec_prefs}"/&gt;<br><br>and as stated before vars.xml:<br> &lt;X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,PCMU,GSM"/&gt;<br> &lt;X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G729,PCMU,GSM"/&gt;<br><br>Setting late negotiation works (thanks Sergey), but reading the wiki<br>page, I see the following sentence, which I interpret that GSM should<br>still be sent:<br>When FS calls leg B, the list of codecs in outbound-codec-prefs for<br>the SIP profile is reorganized by pushing the codec negotiated above<br>for leg A at the top . If B does not accept any of the codecs, the<br>calls fails, obviously.<br><br><br><br>On Wed, Jun 23, 2010 at 10:28 PM, Tony Graziano<br>&lt;tgraziano@myitdepartment.net&gt; wrote:<br><blockquote type="cite">I'm a newb to fs, but doesn't codec get neogtiated by the endpoints?<br></blockquote><blockquote type="cite">Wouldn't fs only get involved when its media server is referred to?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">If the "other endpoint" will only accept G729, doesn't that mean you<br></blockquote><blockquote type="cite">need to change that endpoint to also accept G711 or also license G729<br></blockquote><blockquote type="cite">in FS?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 6/23/10, Mark Campbell-Smith &lt;mcampbellsmith@gmail.com&gt; wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Test Setup:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">vars.xml:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &lt;X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,PCMU,GSM"/&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &lt;X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G729,PCMU,GSM"/&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The call setup is extension 1000 calls extension 1020<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">1. Extension 1000 calls with preferred codec PCMU. &nbsp;PCMU is chosen by<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">FS as the A-leg codec<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">2. Extension 1020 only supports GSM codec. &nbsp;The call fails with Not<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Acceptable Here.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">FS only offers G729 and PCMU to 1020. &nbsp;How do I change the number of<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">codecs that are offered to an extension? &nbsp;I know I can change the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">order in the codec_prefs, but would prefer FS to offer all three<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">codecs to an extension.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;m=audio 23662 RTP/AVP 0 18 101 13<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;a=rtpmap:0 PCMU/8000<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;a=rtpmap:18 G729/8000<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;a=rtpmap:101 telephone-event/8000<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;a=fmtp:101 0-16<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;a=rtpmap:13 CN/8000<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &nbsp;a=ptime:30<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">FreeSWITCH-users mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">FreeSWITCH-users@lists.freeswitch.org<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">http://www.freeswitch.org<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">Sent from my mobile device<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">======================<br></blockquote><blockquote type="cite">Tony Graziano, Manager<br></blockquote><blockquote type="cite">Telephone: 434.984.8430<br></blockquote><blockquote type="cite">sip: tgraziano@voice.myitdepartment.net<br></blockquote><blockquote type="cite">Fax: 434.984.8431<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Email: tgraziano@myitdepartment.net<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">LAN/Telephony/Security and Control Systems Helpdesk:<br></blockquote><blockquote type="cite">Telephone: 434.984.8426<br></blockquote><blockquote type="cite">sip: helpdesk@voice.myitdepartment.net<br></blockquote><blockquote type="cite">Fax: 434.984.8427<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Helpdesk Contract Customers:<br></blockquote><blockquote type="cite">http://www.myitdepartment.net/gethelp/<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Why do mathematicians always confuse Halloween and Christmas?<br></blockquote><blockquote type="cite">Because 31 Oct = 25 Dec.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">FreeSWITCH-users mailing list<br></blockquote><blockquote type="cite">FreeSWITCH-users@lists.freeswitch.org<br></blockquote><blockquote type="cite">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br></blockquote><blockquote type="cite">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br></blockquote><blockquote type="cite">http://www.freeswitch.org<br></blockquote><blockquote type="cite"><br></blockquote><br>_______________________________________________<br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></div></blockquote></div><br></div></div></body></html>