[Asterisk-Users] Buffering DTMF input

Thilo Salmon salmon at netzquadrat.de
Fri Aug 29 05:22:37 MST 2003


An application I am running provides a dial tone to my users, read 9
digits, checks whether or not the called party number should be allowed
and then dials out using overlap dialing on a pri channel. I.e.

exten => _XXXXXXXXX,1,AGI(pm-check-destination.agi) 
exten => _XXXXXXXXX,2,Dial,Zap/g1/BYEXTENSION|60|CH 

The AGI-Skript takes about 0.3 to 0.5 seconds (it does a number of
rather complex database queries). Any digits dialed during this time are
lost. I tried to retrieve those digits at the end of the AGI-Skript by
using 'wait for digits', but this function appears to only read digits
while it is waiting. 

Does * buffer DTMF digits? If so, how can they be read?

Thilo





More information about the asterisk-users mailing list