[Asterisk-Users] Background timeout and Read questions

didier didier.cuffaut at neuf.fr
Fri Mar 10 09:55:33 MST 2006


Hello list,
Three questions on dialplan commands/functions:

-  cmd BACKGROUND:
a) If i just want to allow user to send DTMF ONLY while the message is 
played (with no additional time after ), does TIMEOUT RESPONSE = 0 make 
sense or this action produce some border effect ?

b) if YES (border effect = stupid me), may i use an AGI with 
'record_file' and 'get_data' to do  something like that ? ( timeout is 
in milliseconds in this case => if '0' is a dangerous value, perhaps i 
could use timeout = someveryverylittlevalue   100/200 ms

The goal is to have a 'juke-box' playing messages (not only sequential 
order: in this case X  succesive Background cmd do the job)

-  cmd READ:
c)  i need a confirmation, the  wiki said : optional message FIRST 
(before timeout start)..... Really first ? ie READ is = playback + wait 
digit,  or perhaps simultaneous 'play/wait' as Background ?.... i've 
take a look to the code and i'm not absolutely sure



Thanks a lot for your help









More information about the asterisk-users mailing list