[Freeswitch-users] DTMF relay with INFO across bridge

Sharath Kumar Sharath.Kumar at meZocliq.com
Tue May 5 01:35:09 MSD 2015


I believe I found a small bug.

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?).  Otherwise, in order for dtmf INFO to be processed by the channel, we need to set liberal-dtmf=true.

Of course my original problem of sending INFO outbound is still not resolved.
Please confirm.

thank you,
?Sharath


From: freeswitch-users-bounces at lists.freeswitch.org <freeswitch-users-bounces at lists.freeswitch.org> on behalf of Sharath Kumar <Sharath.Kumar at meZocliq.com>

Sent: Monday, May 4, 2015 2:07 PM
To: FreeSWITCH Users Help
Subject: [Freeswitch-users] DTMF relay with INFO across bridge

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150504/88166fb0/attachment-0001.html 


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