[asterisk-users] quenstion about asterisk

Miguel Molina mmolina at millenium.com.co
Fri Jul 17 11:38:25 CDT 2009


Elvis Jorge escribió:
> The problem with read() is that I have to wait that a message that is before 
> read finish, I can use XXX,1 set(variable=${EXTEN}) but the user has to type 
> the quantity of digits predefine.
>
> Could you give me other solution?
>   
Instead of XXX,1,Blah() use _X.,1,Blah() then.

Or, you can use a exten => s,1,WaitExten(<number of seconds to wait for 
user input>) too. If the user doesn't dial anything, the call will be 
redirected to the 't' extension if you have it.

For a better understanding of dialplan basics, how dialplan pattern 
matching works and special 't', 'i' ,'s', 'h', and others please "RTFM":

http://downloads.oreilly.com/books/9780596510480.pdf

-- 
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center




More information about the asterisk-users mailing list