[Asterisk-Users] DISA and a long delay; ideas?

Rod Bacon rod.bacon at empoweredcomms.com.au
Sun Feb 27 14:33:58 MST 2005


I agree. The following commands may also be of use...

.
.
exten => s,3,DigitTimeout,5   ; Set Digit Timeout to 5 seconds
exten => s,4,ResponseTimeout,10   ; Set Response Timeout to 10 seconds
.
.

----- Original Message ----- 
From: "Greg Hill" <gregh-asterisk at hillnet.us>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Monday, February 28, 2005 8:22 AM
Subject: RE: [Asterisk-Users] DISA and a long delay; ideas?


> On Sun, 27 Feb 2005, C. Tomlinson wrote:
>
>> I have just setup a DISA setup whereby people can dial in, authenticate, 
>> are
>> given a dialtone and can then call out.
>>
>> Everything works however there is a 10 second delay after the user enters
>> the number and presses #, until the system does anything.
>>
>> Here is the relevant section from my extensions.conf:
>>
>> [dialtone]
>> exten => s,1,Authenticate(1234)
>> exten => s,2,DISA(no-password|dialtone_outgoing)
>>
>> [dialtone_outgoing]
>> exten => _01.,1,Dial(${OUTGOING}/44${EXTEN:1},30,L(60000:30000:10000))
>> exten => _07.,1,Playback(pbx-invalid)
> <snip>
>> HOWEVER there is a 10 second delay between the dialing (followed by #) 
>> and
>> the system doing anything.
>
> My first guess would be digit timeouts. Your patterns are _01. and _07..
> These don't give asterisk any hints about how many digits to expect, so
> its only choice is to wait for the maximum digit timeout period to be sure
> that it doesn't make a decision early before you've entered all your
> digits.
>
> The "best" thing (in my view) would be to completely specify the digit
> patterns you want users to be able to use. This gives you the opportunity
> to control which numbers may be called and which may not, and it also
> gives asterisk hints about what kinds of digit patterns it should expect.
> These hints allow it to make faster decisions about whether a digit
> pattern is complete and/or valid. An alternative would be to use the
> DigitTimeout application to set a lower timeout period.
>
> Greg
>
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 





More information about the asterisk-users mailing list