[asterisk-users] Asterisk accepting calls to fast

Stefan-Michael. Guenther (in-put GbR) asterisk at in-put.de
Thu Dec 7 14:38:09 MST 2006


Hi,

Am Donnerstag, 7. Dezember 2006 19:31 schrieb Forrest Beck:
> Have a look at TIMEOUT(digit)
>
> http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+DigitTimeout
>
I don't see how this function could help me.

If I change

exten => 5683091,1,Answer()
exten => 5683091,2,DIAL(ZAP/g5/56830990,10,r)
exten => 5683091,3,Hangup

to 

exten => 5683091,2,Set(TIMEOUT(digit)=10)
exten => 5683091,2,Answer()
exten => 5683091,3,DIAL(ZAP/g5/56830990,10,r)
exten => 5683091,4,Hangup()

Asterisk has already chosen the wrong extension.
The server has to wait for the complete number before it starts to look for 
any extension.I guess I need some kind of global timeout value.

Stefan

> > the german telco Colt Telekom has assigned the phone number block
> > 56830-xxx to one of our customers. In the diaplan we have setup
> > extensions like the following ones:
> >
> > exten => 56830910,1,Answer()
> > exten => 56830910,2,Dial(SIP/bduerring,10,tr)
> > exten => 56830910,3,VoiceMail,u20
> > exten => 56830910,4,hangup
> > exten => 56830910,103,VoiceMail,b20
> > exten => 56830910,104,hangup
> >
> > exten => 5683091,1,Answer()
> > exten => 5683091,2,DIAL(ZAP/g5/56830990,10,r)
> > exten => 5683091,3,Hangup
> >
> > The problem now is, that sometimes (maybe when the caller doesn't hit the
> > buttons fast enough) asterisk takes the extension for 5683091, although
> > the 0 is still coming a little bit later. I'm not quite sure whether the
> > delay in transferring the numbers is caused by the caller or by the
> > telco.
> >
> > But is their a chance to tell asterisk to wait a little bit longer,
> > before it starts searching the extensions.conf? Or do I have to tell the
> > ISDN card to wait for the complete number, before it is forwarded to
> > asterisk?
> >

-- 

********************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Guenther
Moltkestrasse 49     D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
********************************************
     Schulungen  Installationen  
         Beratung   Support
      Voice over IP - Lösungen
********************************************


More information about the asterisk-users mailing list