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@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Sharath Kumar <Sharath.Kumar@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