[Asterisk-Users] How to set AbsoluteTimeout for DirectoryApp() ? Is this the safest way?

Marco Mouta marco.mouta at gmail.com
Mon Apr 10 07:14:21 MST 2006


I have this to access directory of Asterisk:

exten => *411,1,Answer
exten => *411,2,Wait(1)
exten =>
*411,3,AGI(directory,general,ext-local,${DIRECTORY:0:1}${DIRECTORY_OPTS})
exten => *411,4,Playback(vm-goodbye)
exten => *411,5,Hangup

Which is the safest way to establish an Absolut Timeout for this?

exten => *411,1,Answer
exten => *411,2,*AbsoluteTimeout(300) ; for 5 minutes*
exten => *411,3,Wait(1)
exten =>
*411,5,AGI(directory,general,ext-local,${DIRECTORY:0:1}${DIRECTORY_OPTS})
exten => *411,6,Playback(vm-goodbye)
exten => *411,7,Hangup


Best regards,
Marco Mouta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060410/0e3b46b5/attachment.htm


More information about the asterisk-users mailing list