my notes

Asterisk: Background() greeting interfering with DTMF

If you are having issues with digits being cut while entering the extension on incoming calls the issue might be with the music interfering with DTMF being entered. Background will listen for DTMF tones while playing music in the background, like in the context below:


[menu]
exten => s,1,Answer()
exten => s,n,Set(TIMEOUT(response)=10)
exten => s,n,Set(TIMEOUT(digit)=5)
exten => s,n,Background(beep)
exten => s,n,Background(greeting7,m)
exten => s,n,WaitExten(4)
exten => s,n,Hangup

Tags

voIP