Author Topic: Enable DTMF inband for incoming call and change duration DTMF tone  (Read 12206 times)

uomociuffo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Hi,
today i install Yate client 5.5.0 in my notebook (Windows 8.1 professional 64 bit) and register in h323 without problem.
i try incoming and outgoing call and don't have a problem but i need to enable the DTMF (Inband mode) for the incoming call, and change the duration of the tone
I try to rename the file yate\conf.d\h323chan.conf.sample in h323chan.conf and set:
dtmfmethods=inband
honor_dtmf_detect=enable

but the dtmf are enable only in outgoing calls
and the duration for me is too short because I could use to send commands to the equipment helpline for example by pressing 0 or # these devices should end the call
can you help me?
thanks

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: Enable DTMF inband for incoming call and change duration DTMF tone
« Reply #1 on: July 31, 2015, 12:31:52 AM »
The dtmfmethods parameter controls how to send DTMFs.
If you want to handle received inband tones:
- set a tonedetect_in=tone/* parameter when routing an incoming call
- set a tonedetect_out=tone/* parameter when making an outgoing call
This will enable the inband tone detector on the call. This will add extra processing: incoming audio data is analyzed to detect tones.
The tone detector will send a chan.dtmf for detected tones.
See http://docs.yate.ro/wiki/Tone_detector for some more info on tone detector.


uomociuffo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Enable DTMF inband for incoming call and change duration DTMF tone
« Reply #2 on: July 31, 2015, 03:15:14 AM »
Thank you!