Alex,

Can you show the configuration example in vanilla configuration? I could not find out the example. To refresh your memory, I need to setup Freeswitch to send DTMF based on 200 SDP answer in B call leg.

1. If answer supports telephone event, then FreeSwitch sends DTMF in rfc2833.

2. If answer does not support telephone event, then FreeSwitch sends DTMF inband.

The call is a bridged call and DTMF always comes from A call leg in rfc2833.

Many thanks for help,

/Kaiduan


On Tuesday, March 6, 2018, 6:28:22 p.m. EST, Alexey Sibyakin <alex@freeswitch.com> wrote:


Yes, it's possible. Vanilla config has example.

Alex

On Fri, Mar 2, 2018 at 12:39 AM, kaiduan xie <kaiduanx@yahoo.ca> wrote:
Alex,

Thanks for the help.

With <param name="dtmf-type" value="none"/> in sofia profile, the offer from FreeSwitch does not add telephone event support.

With <action application="set" data="execute_on_media=start_ dtmf_generate"/>, FreeSwitch always sends DTMF inband even the offer from FreeSwitch and answer both supports telephone event.

What I want is DTMF negotiation as below,

FreeSwitch always adds telephone event support in offer,

1. If answer supports telephone event, then FreeSwitch sends DTMF in rfc2833.
2. If answer does not support telephone event, then FreeSwitch sends DTMF inband.

Is it possible?

Thanks again.

/Kaiduan

On Thursday, March 1, 2018 3:22 AM, Alexey Sibyakin <alex@freeswitch.com> wrote:


Hi,

You need 
<action application="set" data="execute_on_media=start_ dtmf_generate"/>
in dialplan and probably
<param name="dtmf-type" value="none"/>
in sofia profile

Alex

On Thu, Mar 1, 2018 at 12:02 AM, kaiduan xie <kaiduanx@yahoo.ca> wrote:
Hi,

We are encountering the following DTMF issue,

FreeSwitch adds telephone-event support in INVITE to SBC, SBC replies back without telephone-event support in 200. 

However FreeSwitch still sends out DTMF in RFC 2833 event.

I think FreeSwitch should send out DTMF inband instead of 2833 event, what is the configuration for this?

Many thanks for help,

/Kaiduan

______________________________ ______________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@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@lists. freeswitch.org
http://lists.freeswitch.org/ mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists. freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org



--

Alex Sibyakin | Support Engineer
Need commercial support? Contact sales@freeswitch.com f or details.



______________________________ ______________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@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@lists. freeswitch.org
http://lists.freeswitch.org/ mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists. freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org



--

Alex Sibyakin | Support Engineer
Need commercial support? Contact sales@freeswitch.com for details.