Marco Mouta
2006-Apr-10 07:14 UTC
[Asterisk-Users] How to set AbsoluteTimeout for DirectoryApp() ? Is this the safest way?
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
Kevin P. Fleming
2006-Apr-10 07:25 UTC
[Asterisk-Users] How to set AbsoluteTimeout for DirectoryApp() ? Is this the safest way?
Marco Mouta wrote:> 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,HangupThe Asterisk directory is an application called Directory(); you are running some sort of external AGI script.