DTMF Echo Test

From KlavoWiki
Share/Save/Bookmark
Jump to: navigation, search

Just like an Echo Test the DTMF Echo Test will respond with the key that you have pressed. The dial plan below is based on Festival. If Festival is not installed the Festival lines can be removed.

;DTMF Test
exten => 13,1,Wait(1)
exten => 13,n,Festival(Welcome to the D T M F echo test)
exten => 13,n,Festival(After the tone press digits on the keypad)
exten => 13,n,Festival(when done hangup)
exten => 13,n,Playback(beep)
exten => 13,n,Read(digito||1)
exten => 13,n,SayDigits(${digito})
exten => 13,n,GoTo(13,6)
exten => 13,n,HangUp