I have one dialplan in which what i want is,if user press any key then play file again but i can not understand how to get dtmf value in dialplan.
this is my dialplan:
[callme]
exten => s,1,Answer
exten => s,n,Playback(demo/${FILENAME1})
first how to get DTMF value and also if user press any key then playback should be executed 2 times.but i want to manage all this things using dialplan.
Thanks for reply me solution but i get this solution and it work for me……