<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Brian,<br>
</p>
<p><br>
</p>
<p>Thanks for responding.<br>
</p>
<p>1] I had already set it in the channel variable for the bridge line. Freeswitch *always* seems to convert between INFO --> rfc2833. In the internal and external profiles. I have removed "liberal-dtmf" and also set "dtmf-type" to "info". And the bridge line
contains "dtmf_type" as info. Am I missing something here?<br>
</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"><br>
</span></p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">logs - 1fc06e8a-f334-11e4-ade6-413a2da7e1fc Dialplan: sofia/internal/nXXX.sXXX@voip.XXX.com Action bridge({sip_cid_type=pid,<strong style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">dtmf_type=info</span></strong>,origination_privacy=screen,ignore_early_media=true}sofia/gateway/tata/XXXXXXX)</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">​</span><br>
</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"><br>
</span></p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">Tested on latest master and on 1.5.13b. Same thing.</span></p>
<p><br>
</p>
<p>2] The bug from what I tested.<br>
</p>
<p>- if "liberal-dtmf" is set to false and even though "dtmf-type" is set to "info" in the profile, then I see "<span style="color: rgb(33, 33, 33); font-family: Calibri, sans-serif; font-size: 14.6666669845581px; background-color: rgb(255, 255, 255);">channel
is not configured to use info dtmf”</span> . <br>
</p>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
>From the latest master. In mod_sofia.c<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
8589 if (dtmf.digit) {</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
8590 if (tech_pvt->mparams.dtmf_type == DTMF_INFO ||<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
I believe it should instead be checking what is set in the profile. <font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;">if (tech_pvt-></span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;">profile->dtmf_type</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;">​</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;"> ==
DTMF_INFO</span></font>​).</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
3] Sonus RTP fixes - Yes I have applied them. It probably works most of the time. But I occasionally get complains from my customers regarding - missing dtmf and repeated dtmfs. I am hoping moving to INFO will fix the problem for good ? Any thoughts ? <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<p>thank you very much!<br>
</p>
<p>Sharath<br>
</p>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> freeswitch-users-bounces@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Brian West <brian@freeswitch.org><br>
<b>Sent:</b> Monday, May 4, 2015 5:39 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] DTMF relay with INFO across bridge</font>
<div> </div>
</div>
<div>
<div dir="ltr"><a href="https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-dtmf_type">https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-dtmf_type</a><br>
<div><br>
</div>
<div>I suspect you only need to set the dtmf_type inside the {} on the bridge line if you wish to send INFO, You do know we have a bunch of RTP bug flags that can be tweaked to make Sonus work correctly.</div>
<div><br>
</div>
<div><a href="https://freeswitch.org/confluence/display/FREESWITCH/RTP+Issues">https://freeswitch.org/confluence/display/FREESWITCH/RTP+Issues</a><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, May 4, 2015 at 1:07 PM, Sharath Kumar <span dir="ltr">
<<a href="mailto:Sharath.Kumar@mezocliq.com" target="_blank">Sharath.Kumar@mezocliq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div lang="EN-US">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I looked around in the mailing list and don’t see any conclusive solution to this problem.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have a setup like this below.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Webrtc client -----FS----sonus gateway.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The Webrtc client is sending INFO as DTMF. The FS currently bridges the call to the gateway and in the outbound leg uses rfc2833.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Problem: Some calls suffer from missing DTMF and repeated duplicate DTMF.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Solution: Use INFO all through to sonus gateway ?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">How do I achieve this ?<u></u><u></u></p>
<p class="MsoNormal">In the internal profile if I change the “dtmf-type” to “info”. Nothing really happens, it still sends rfc2833 dtmf. I believe it is because of “liberal-dtmf” is “true”.[accept any but always offer rfc2833] But if I change “liberal-dtmf”
to “false”. I get “channel is not configured to use info dtmf”.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is this a bug ? Is there any way around it ?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any input much appreciated.<u></u><u></u></p>
<p class="MsoNormal">Thank you,<u></u><u></u></p>
<p class="MsoNormal">Sharath<u></u><u></u></p>
</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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br>
<span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img style="-webkit-user-select: none;" src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br>
</font></p>
<p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br>
<a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="monospace, monospace">ClueCon 2015 <a href="https://www.cluecon.com/call-for-speakers/" target="_blank">
Call for Speakers</a> | <a href="https://freeswitch.com/cart.php?gid=1" target="_blank">
Register</a> TODAY! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 |
<b>M:</b>+1918424WEST (9378)<br>
<b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>