[Freeswitch-users] DTMF relay with INFO across bridge

Sharath Kumar Sharath.Kumar at meZocliq.com
Tue May 5 18:37:37 MSD 2015


Brian,


Thanks for responding.

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?


logs - 1fc06e8a-f334-11e4-ade6-413a2da7e1fc Dialplan: sofia/internal/nXXX.sXXX at voip.XXX.com Action bridge({sip_cid_type=pid,dtmf_type=info,origination_privacy=screen,ignore_early_media=true}sofia/gateway/tata/XXXXXXX)?


Tested on latest master and on 1.5.13b. Same thing.


2] The bug from what I tested.

- if "liberal-dtmf" is set to false and even though "dtmf-type" is set to "info" in the profile, then I see "channel is not configured to use info dtmf"  .

>From the latest master. In mod_sofia.c

8589       if (dtmf.digit) {
8590         if (tech_pvt->mparams.dtmf_type == DTMF_INFO ||

I believe it should instead be checking what is set in the profile. if (tech_pvt->profile->dtmf_type? == DTMF_INFO?).

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 ?


thank you very much!

Sharath

________________________________
From: freeswitch-users-bounces at lists.freeswitch.org <freeswitch-users-bounces at lists.freeswitch.org> on behalf of Brian West <brian at freeswitch.org>
Sent: Monday, May 4, 2015 5:39 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] DTMF relay with INFO across bridge

https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-dtmf_type

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.

https://freeswitch.org/confluence/display/FREESWITCH/RTP+Issues



On Mon, May 4, 2015 at 1:07 PM, Sharath Kumar <Sharath.Kumar at mezocliq.com<mailto:Sharath.Kumar at mezocliq.com>> wrote:
Hi,

I looked around in the mailing list and don't see any conclusive solution to this problem.

I have a setup like this below.

Webrtc client -----FS----sonus gateway.

The Webrtc client is sending INFO as DTMF. The FS currently bridges the call to the gateway and in the outbound leg uses rfc2833.

Problem: Some calls suffer from missing DTMF and repeated duplicate DTMF.

Solution: Use INFO all through to sonus gateway ?

How do I achieve this ?
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".

Is this a bug ? Is there any way around it ?

Any input much appreciated.
Thank you,
Sharath

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--

Brian West
brian at freeswitch.org<mailto:brian at freeswitch.org>

[http://billing.freeswitch.org/templates/default/img/whmcslogo.png]

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

ClueCon 2015 Call for Speakers<https://www.cluecon.com/call-for-speakers/> | Register<https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch<https://www.reddit.com/r/freeswitch>

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150505/a690fd6b/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list