How to control DTMF during a bridge calls

Hi,
Is there ant way to control DTMF during a bridge calls ?
for example waiting for 4-8 digits during a call as a confirmation code…

Thx in advance

  1. Why not to use Read?
  2. AMI

Thx for your reply.
My current routine is :
with a context in AEL I am getting call then handling call with AGI and play some files and bridge calls to a peer.
EXE DIAL SIP/1000
Now I don’t know how to read DTMF during the call !!!
I don’t know if it is possible to run READ during a bridge call !!!???

BR,

Have a look at actionmap in features.conf.

Otherwise, I think there are AMI events generated for detected DTMF, that might be useful.