Yate Community Forum
OpenLTE => YateBTS => Topic started by: K. on August 01, 2017, 07:09:42 AM
-
Hello !
I have the problem with the DTMF tone. When I make a call between 2 cell phones, I press the number in one phone, but the other phone cannot hear any dtmf tone at all. But from the log file I have attached here, it seem like the base station can detect the dtmf tone. Any way to fix this problem?
Thank you :)
Khem
-
DTMF forward to MS is not implemented.
-
Hello marian,
Thank you for your answer. I still don't know how to get this work. I have tried to configure the regexroute.conf : .*tonedetect_out=yes, but still cannot get the dtmf work.
Can you guide me a bit?
Regards
Khem
-
You may try to generate inband dtmf:
Catch chan.dtmf message, and attach a tonegen source to indicated peerid.
See:
http://docs.yate.ro/wiki/Chan.masquerade
http://docs.yate.ro/wiki/Tonegen#Override_data_source (override=tone/dtmf/handled_digit_in_chan_dtmf)
http://docs.yate.ro/wiki/Chan.attach
Bottom line
Send a chan.masquerade with message 'chan.attach' to peerid taken from handled chan.dtmf to attach a tone generator for received DTMF.
-
Hi marian,
Sorry for my ignorance, but I don't know how to generate the dtmf tone using Tonegen module. From reading the yate documents, do I need to use regex to generate the tone, or I need to do the configuration in tonegen.conf? Can you give me some example? I don't quit understand that.
Khem
-
You may try to following (not tested):
regexroute.conf:
[extra]
chan.dtmf=
[chan.dtmf]
${peerid}^ybts/=enqueue chan.masquerade;id=${peerid};message=chan.attach;override=tone/dtmfstr/${text}
-
Hello marian !
Thank you for your responding. Your code is working like magic!! I've been trying so hard to figure this out.
I will keep working on my yatebts. And will get back here soon if I have any question.
Cheers !
Khem