Excellent write-up but I have one small correction. RFC2833 is another payload type in the same RTP stream as the audio. I<span></span>t follows RTP, not SIP.<br><br>On Wednesday, May 21, 2014, Guillermo Ruiz Camauer &lt;<a href="mailto:grcamauer@gmail.com">grcamauer@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>AVT seems to be another way of referring to RFC2833.  This is a way of sending the DTMFs out of band.  That is, through a separate data stream than the voice.  Just like SIP carried the signaling and RTP carries the voice.  </div>
<div>RFC 2833 has several advantages over INBand DTMFs.  INBand DTMFs must be first extracted from the voice stream and then interpreted, which consumes much more CPU than just reading a number.  The DTMF decoders will also get confused some times with people with high pitched voices and generate spurious DTMFs.  Also, if the RTP packets follow a different route that the SIP packets, your FS server will not be able to listen for DTMFs once the call has been established (because the RTP packets are not passing through FS).  RFC 2833 signaling goes together with SIP, and therefore will always be available to FS, so it will be able to monitor key presses and react accordingly.</div>
<div>So if bandwidth is not a problem, use G711u, set Provess AVT to yes, and DTMF Tx method to AVT (only) on the Ciscos, and RFC2833 on the FS side sand you&#39;ll be fine.</div><div><br></div><div>Guillermo<br><br><br><br>
Sent from my iPhone</div><div><br>On 21/05/2014, at 21:33, Sean Devoy &lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sdevoy@bizfocused.com&#39;);" target="_blank">sdevoy@bizfocused.com</a>&gt; wrote:<br><br></div><blockquote type="cite">
<div>






<div>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a">Hi Guillermo,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a">Thank you for your response.  I wish understood more, but let me tell what I know and ask you another question.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a">My (voice) ISP only supports “ULaw, ALaw, GSM and G729a”<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a">My phones are all Cisco504G’s.  They support “G711u, G711a, G729a, G722, G726-16 (-24, -24 and -32).  Then there are 2 other items that must be relevant: “DTMF Process AVT:
 Yes or No” and “DTMF Tx method: Inband, AVT, Info, Auto, Inband + Info, AVT + Info”<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a">I think Tx Method defaulted to AVT+Info as I got warnings about receive DTMF in INFO on FS.  I am set to AVT and DTMF is working fine.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a">Here is what I think (I would know, but it may not be correct) about codecs:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a">G711u = ULaw, G711a=ALaw, The phones don’t seem to support GSM (?) and my VISP doesn’t support 722 or any 726. So that leaves me with G711a, G711u, G729.  I have abundant bandwidth
 everywhere involved.  I know G729 is fairly high quality compression with regard to bandwidth vs audio quality. I also know I have to get a license for each G729 channel on FS for about $10 each.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a">I do not understand the difference in G711u and G711a.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a">What is my best choice for DTMF Tx Method?  And codec?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a">Thank you for your time.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a">Sean<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#44546a"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> <a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;freeswitch-users-bounces@lists.freeswitch.org&#39;);" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;freeswitch-users-bounces@lists.freeswitch.org&#39;);" target="_blank">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Guillermo Ruiz Camauer<br>
<b>Sent:</b> Wednesday, May 21, 2014 7:53 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] IVR codec issue (I think)<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">If possible, try to use RFC-2833 for the DTMF and you shouldn&#39;t have any codec problems.  711u is only required if you are doing INBAND DTMF.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Guillermo<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, May 21, 2014 at 6:35 PM, Ian McMaster &lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;ian.mcmaster@gmail.com&#39;);" target="_blank">ian.mcmaster@gmail.com</a>&gt; wrote:<u></u><u></u></p>

<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Try:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">export data=&quot;absolute_codec_string=PCMU&quot;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">before the answer in the dialplan.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">After answer, the codec is already established.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Ian.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">On Wed, May 21, 2014 at 5:22 PM, Sean Devoy &lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sdevoy@bizfocused.com&#39;);" target="_blank">sdevoy@bizfocused.com</a>&gt; wrote:<u></u><u></u></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<p class="MsoNormal">&lt;image001.gif&gt;<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="color:#44546a">HI Everybody!</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#44546a"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#44546a">I had a recent problem where a transferred call’s audio was highly degraded.  The cause was identified as mismatched codecs – thanks again.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#44546a"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#44546a">Today, I have a VERY VERY similar problem.  The difference is that the first step is an IVR, not the receptionist.  How do I set the CODEC for an incoming
 call to 711u when it is routed to an IVR.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#44546a"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#44546a">Thanks,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#44546a">Sean</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;consulting@freeswitch.org&#39;);" 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="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" 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><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;consulting@freeswitch.org&#39;);" 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="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" 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><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <br>
Guillermo Ruiz Camauer<u></u><u></u></p>
</div>
</div>


</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;consulting@freeswitch.org&#39;);" target="_blank">consulting@freeswitch.org</a></span><br>
<span><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a></span><br>
<span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a></span><br>
<span><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
<span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
<span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br></div></blockquote></div></blockquote><br><br>-- <br>Sent from mobile device<br>