<div dir="ltr">on your internal sip profile ( one facing PBX's ) set <param name="dtmf-type" value="rfc2833"/><div><br></div><div>then note the dialplan context that super dodgey sip carrier ( the one doing inband only ) </div>
<div>sends calls to, and use <span class="" style="font-family:Tahoma"><action application="start_dtmf" /> on calls from them.</span></div><div><span class="" style="font-family:Tahoma"><br></span></div><div>
<span class="" style="font-family:Tahoma">Id advise against </span><span class="" style="font-family:Tahoma"><action application="pre_answer"/> in that location unless you REALLY want that.</span></div><div>
<font class="Apple-style-span" face="Tahoma"><br></font></div><div><span class="" style="font-family:Tahoma">that should do what you want.</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 16 January 2013 14:02, <a href="mailto:support@ecn.net.au">support@ecn.net.au</a> <span dir="ltr"><<a href="mailto:support@ecn.net.au" target="_blank">support@ecn.net.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p><font face="Tahoma">Hi All</font></p>
<p><font face="Tahoma"> </font></p>
<p><font 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 face="Tahoma"> </font></p>
<p><font face="Tahoma">Mostly all is working well, except an oddity on DTMF.</font></p>
<p><font face="Tahoma"> </font></p>
<p><font face="Tahoma">Our scenario:</font></p>
<p><font face="Tahoma"> </font></p>
<p><font face="Tahoma">Telco/SIP Provider A is passing us calls using DTMF inband.</font></p>
<p><font face="Tahoma"> </font></p>
<p><font 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 face="Tahoma">distribution of calls to the PBX servers located behind the SBC.</font></p>
<p><font face="Tahoma"> </font></p>
<p><font 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 face="Tahoma"> </font></p>
<p><font face="Tahoma">Behind the SBC is a series of Asterisk and Freeswitch PBX boxes handling customer needs.</font></p>
<p><font face="Tahoma"> </font></p>
<p><font face="Tahoma">An example inbound call profile looks like this:</font></p>
<p><font face="Tahoma"> </font></p>
<p><font face="Tahoma"><extension name="Inbound 124356"></font></p>
<p><font face="Tahoma"> <condition field="destination_number" expression="^(123456)$"></font></p>
<p><font face="Tahoma"> <action application="pre_answer"/></font></p>
<p><font face="Tahoma"> <action application="start_dtmf" /></font></p>
<p><font face="Tahoma"> <action application="bridge" data="<a href="mailto:sofia/external/123456@INTERNAL.PBX.IP:5060%22/" target="_blank">sofia</a><a href="mailto:sofia/external/123456@INTERNAL.PBX.IP:5060%22/" target="_blank">/external/123456@INTERNAL.PBX.IP:5060"/</a>></font></p>
<p><font face="Tahoma"> </condition></font></p>
<p><font face="Tahoma"></extension></font></p>
<p><font face="Tahoma"> </font></p>
<p><font face="Tahoma">Initially when calling into the platform IVR type applications runinng on our PBX boxes would not</font></p>
<p><font face="Tahoma">work (you could hear the DTMF but the platform did not recognise the tones).</font></p>
<p><font face="Tahoma"> </font></p>
<p><font 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 face="Tahoma">PBX behind the SBC. Interestingly on our OpenSer platform we just proxied the media (rtpproxy) with</font></p>
<p><font face="Tahoma"><font 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 face="Tahoma"><font face="Tahoma">IVR</font> type applications just worked.</font></p>
<p><font face="Tahoma"> </font></p>
<p><font 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 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 face="Tahoma">PBX).</font></p>
<p><font face="Tahoma"> </font></p>
<p><font face="Tahoma">Have we missed something here? We would have thought with inband DTMF on non compressed codec (no
</font></p>
<p><font face="Tahoma"><font face="Tahoma">transcoding</font>) that the tones would just work with the media stream?</font></p>
<p><font face="Tahoma"><font face="tahoma"></font> </font></p>
<p><font 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 face="Tahoma"></font> </p>
<div dir="ltr"><font color="#000000" face="Tahoma">
<p class="MsoNormal"><font face="tahoma"></font> </p>
<p class="MsoNormal"><font face="tahoma"></font> </p>
</font></div>
<div><font face="Tahoma">Kind Regards,</font></div>
<div><font face="tahoma"></font> </div>
</div>
<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><br clear="all"><div><br></div>-- <br>Sincerely<br><br>Jay
</div>