<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">However under freeswitch if we don't start_dtmf before the bridge the backend PBX boxes don't recognise<br>
the DTMF inband (even though the tones are audible ie you can hear them on a call recording on the<br>PBX).<br> <br>Have we missed something here? We would have thought with inband DTMF on non compressed codec (no<br>transcoding) that the tones would just work with the media stream?</blockquote>
<br>start_dtmf will detect inband DTMF, and then send out of band on the outgoing leg of the bridge. This is expected. You'll will need to call start_dtmf from dialplan, which can easily be done from dialplan by checking for some condition identifying calls requiring it. If they're authenticating to FS then it'd be trivial to set a variable in their user directory entry that you can test in the dialplan.<div>
<br></div><div>Now this is just a guess... During the codec negotiation FS will tell your PBX that it supports telephone-event (RFC2833). It may be that because the PBX sees that in the SDP that it doesn't look for inband DTMF, while when it received the SDP direct from the customer it didn't contain telephone-event and so did check for inband DTMF. Indeed it'd probably be a good idea for them to do so, since if you receive the same DTMF digit both inband and through RFC2833 then you'd be duplicating digits. So my guess is that the PBX doesn't bother check for inband because FS tells it it's sending out-of-band, which'd differ from before.</div>
<div><br></div><div>-Steve</div><div><br></div><div><br></div><div><br></div><div>-Steve</div><div><br></div><div><br><br><br>On 16 January 2013 04:02, <a href="mailto:support@ecn.net.au">support@ecn.net.au</a> <<a href="mailto:support@ecn.net.au">support@ecn.net.au</a>> wrote:<br>
> Hi All<br>><br>> <br>><br>> We're quite new to Freeswitch and are in the process of migrating from<br>> OpenSer (as an SBC) to Freeswitch.<br>><br>> <br>><br>> Mostly all is working well, except an oddity on DTMF.<br>
><br>> <br>><br>> Our scenario:<br>><br>> <br>><br>> Telco/SIP Provider A is passing us calls using DTMF inband.<br>><br>> <br>><br>> We have a freeswitch configured as a SBC using 2 sip profiles (telco and<br>
> internal) to topology hide and manage<br>><br>> distribution of calls to the PBX servers located behind the SBC.<br>><br>> <br>><br>> The freeswitch will be handling up to a few hundred calls so we're trying to<br>
> keep it lightweight.<br>><br>> <br>><br>> Behind the SBC is a series of Asterisk and Freeswitch PBX boxes handling<br>> customer needs.<br>><br>> <br>><br>> An example inbound call profile looks like this:<br>
><br>> <br>><br>> <extension name="Inbound 124356"><br>><br>> <condition field="destination_number" expression="^(123456)$"><br>><br>> <action application="pre_answer"/><br>
><br>> <action application="start_dtmf" /><br>><br>> <action application="bridge"<br>> data="sofia/external/123456@INTERNAL.PBX.IP:5060"/><br>
><br>> </condition><br>><br>> </extension><br>><br>> <br>><br>> Initially when calling into the platform IVR type applications runinng on<br>> our PBX boxes would not<br>><br>
> work (you could hear the DTMF but the platform did not recognise the tones).<br>><br>> <br>><br>> We have had to add the appliation start_dtmf in order for Freeswitch to pass<br>> the DTMF to the Asterisk<br>
><br>> PBX behind the SBC. Interestingly on our OpenSer platform we just proxied<br>> the media (rtpproxy) with<br>><br>> inband DTMF from the Telco and our PBX boxes recognised the inband DTMF<br>> tones on the PBX platforms and<br>
><br>> IVR type applications just worked.<br>><br>> <br>><br>> However under freeswitch if we don't start_dtmf before the bridge the<br>> backend PBX boxes don't recognise<br>><br>> the DTMF inband (even though the tones are audible ie you can hear them on a<br>
> call recording on the<br>><br>> PBX).<br>><br>> <br>><br>> Have we missed something here? We would have thought with inband DTMF on<br>> non compressed codec (no<br>><br>> transcoding) that the tones would just work with the media stream?<br>
><br>> <br>><br>> We have confirmed both legs are PCMA and when using start_dtmf the first<br>> second of the call is clipped.<br>><br>> <br>><br>> <br>><br>> <br>><br>> Kind Regards,<br>
> <br>><br>> _________________________________________________________________________<br>> Professional FreeSWITCH Consulting Services:<br>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>><br>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>> <a href="http://www.cudatel.com">http://www.cudatel.com</a><br>
><br>> Official FreeSWITCH Sites<br>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>> <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>> <a href="http://www.cluecon.com">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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
><br></div>