Cannot Read() RTP RFC2833


I’m using asterisk to catch dtmf.When i set ‘rtp set debug on’ in asterisk CLI it shows below event when i press key.But i could not read it from dialplan.

my dialplan

exten => s-auto,20,Dial(SIP/0000FFFF0001,35,M(onanswer))

exten => s,1,Read(NUMBER,1,${ARG1})
;exten => s,n,Set(NUM=${NUMBER})
exten => s,n,UserEvent(CUSTOMDTMF,dtmfvalue=${NUMBER},actionId=${ARG2})
exten => s,n,Goto(1)[/code]


Could you add after ‘Read’ application something like

exten => s,n,NoOp(The input is ${NUMBER})

and show us the log from console.