How to get dtmf value in dailpan

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:

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......

exten => s,1,Answer
exten => s,n,DumpChan()
exten => s,n,Playback(sclbrd/welcome)
exten => s,n,Wait(2)
exten => s,n,Set(i=1)
exten => s,n,While($[${i} != 3])
exten => s,n,Playback(sclbrd/${FILENAME1})
exten => s,n,Read(digit|sclbrd/press|1)
exten => s,n,Wait(1)
exten => s,n,GotoIf($["${digit}x" = "x"]?done:again)
exten => s,n(again),Wait(1)
exten => s,n,Set(i=$[${i} + 1])
exten => s,n,EndWhile()
exten => h,n(done),Wait(1)

Need Your Help

Android, upload a file in the tomcat server

java android tomcat file-upload

I am looking for code that can quickly upload an image from my android application in tomcat server.

Describe table SQL Oracle

sql oracle table describe

How to describe table in SQL Oracle, i tried desc and describe, but it says desc not supported. I also tried mysql sintax show columns from table, but show is also unsupported ?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.