<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body ocsi="x">
<p><font size="2" face="Tahoma">Hi All</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">We're quite new to Freeswitch and are in the process of migrating from OpenSer (as an SBC) to Freeswitch.</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">Mostly all is working well, except an oddity on DTMF.</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">Our scenario:</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">Telco/SIP Provider A is passing us calls using DTMF inband.</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">We have a freeswitch configured as a SBC using 2 sip profiles (telco and internal) to topology hide and manage</font></p>
<p><font size="2" face="Tahoma">distribution of calls to the PBX servers located behind the SBC.</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">The freeswitch will be handling up to a few hundred calls so we're trying to keep it lightweight.</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">Behind the SBC is a series of Asterisk and Freeswitch PBX boxes handling customer needs.</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">An example inbound call profile looks like this:</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">&lt;extension name=&quot;Inbound 124356&quot;&gt;</font></p>
<p><font size="2" face="Tahoma">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^(123456)$&quot;&gt;</font></p>
<p><font size="2" face="Tahoma">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;pre_answer&quot;/&gt;</font></p>
<p><font size="2" face="Tahoma">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;start_dtmf&quot; /&gt;</font></p>
<p><font size="2" face="Tahoma">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;<a href="mailto:sofia/external/123456@INTERNAL.PBX.IP:5060%22/">sofia</a><a href="mailto:sofia/external/123456@INTERNAL.PBX.IP:5060&quot;/">/external/123456@INTERNAL.PBX.IP:5060&quot;/</a>&gt;</font></p>
<p><font size="2" face="Tahoma">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;</font></p>
<p><font size="2" face="Tahoma">&lt;/extension&gt;</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">Initially when calling into the platform IVR type applications runinng on our PBX boxes would not</font></p>
<p><font size="2" face="Tahoma">work (you could hear the DTMF but the platform did not recognise the tones).</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">We have had to add the appliation start_dtmf in order for Freeswitch to pass the DTMF to the Asterisk</font></p>
<p><font size="2" face="Tahoma">PBX behind the SBC.&nbsp;&nbsp; Interestingly on our OpenSer platform we just proxied the media (rtpproxy) with</font></p>
<p><font size="2" face="Tahoma"><font size="2" face="Tahoma">inband</font> DTMF from the Telco and our PBX boxes recognised the inband DTMF tones on the PBX platforms and</font></p>
<p><font size="2" face="Tahoma"><font size="2" face="Tahoma">IVR</font> type applications just worked.</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">However under freeswitch if we don't start_dtmf before the bridge the backend PBX boxes don't recognise</font></p>
<p><font size="2" face="Tahoma">the DTMF inband (even though the tones are audible ie you can hear them on a call recording on the</font></p>
<p><font size="2" face="Tahoma">PBX).</font></p>
<p><font size="2" face="Tahoma">&nbsp;</font></p>
<p><font size="2" face="Tahoma">Have we missed something here?&nbsp; We would have thought with inband DTMF on non compressed codec (no
</font></p>
<p><font size="2" face="Tahoma"><font size="2" face="Tahoma">transcoding</font>) that the tones would just work with the media stream?</font></p>
<p><font size="2" face="Tahoma"><font face="tahoma"></font>&nbsp;</p>
<p></font><font size="2" face="Tahoma">We have confirmed both legs are PCMA and when using start_dtmf the first second of the call is clipped.</font></p>
<p><font size="2" face="Tahoma"></font>&nbsp;</p>
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">
<p class="MsoNormal"><font face="tahoma"></font>&nbsp;</p>
<p class="MsoNormal"><font face="tahoma"></font>&nbsp;</p>
</font></div>
<div><font size="2" face="Tahoma">Kind Regards,</font></div>
<div><font size="2" face="tahoma"></font>&nbsp;</div>
</body>
</html>