DTMF code volume

I’m sending DTMF codes back when the menu is triggered.

For Example:

exten => s,1,Set(VOLUME(TX,p)=0)
exten => s,n,SendDTMF(a0,10,10)
exten => s,n,Background(press-1&or&press-2&or&press-3)
exten => s,n,WaitExten()

I can control the volume of the “Text” for the .WAV files “press-1”, “press-2”, “press-3”, but it doesn’t control the volume of the DTMF code “a0”.

Does anyone know how to control the DTMF volume?

Which channel technology driver?

Next time please use a Support forum.

Hi David,

I’m not 100% what channel is it. Basically I bought a DID number from didforsale. My Asterisk developer created a trunk to link it to Asterisk. When I’m testing, I’m just dialling the phone number and it connects to the IVR menu. DTMF codes are sent back based on the settings in the extensions.conf file as I’ve shown before.

I did come across this link that describes the Volume control


Any additional advice?

If you are using any VoIP channel driver, the DTMF tones will normally be generated in an external system and Asterisk will only send a code indicating which digit to generate. You can force inband DTMF, although I don’t know if you can control its volume. Inband DTMF is not compatible with G.729, GSM, and other voice only codecs. Other VoIP imperfections may also distort the tones.