[Asterisk-Users] Wildcards and variable number of digits
Lyle Giese
lyle at lcrcomputer.net
Sun Sep 5 08:37:39 MST 2004
Take a look at the options, DigitTimeout and ResponseTimeout in
extensions.conf. Those will fix the problem with not enough time to dial
the complete number.
Lyle
----- Original Message -----
From: "Eric Jacksch" <jacksch at tenebris.ca>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Sunday, September 05, 2004 9:31 AM
Subject: Re: [Asterisk-Users] Wildcards and variable number of digits
Thanks Lyle,
I tried that...now it let's me dial two digits after the 7 (i.e. 761 <ring>
<busy>) and two digits after the 81 (i.e. 8161 <ring> <busy>)
The log shows "Call rejected by <IP>: No such context/extension"
Any idea why it won't wait for more digits, even with the 7X. ???
On 2004-09-05 10:18, "Lyle Giese" <lyle at lcrcomputer.net> wrote:
>
>
> [tovpc]
> exten => _81XXXXXXXXXX,1,Macro(dialvpc,${EXTEN:1},70)
>
> Change the above to one X with a . after it. Right now, it will accept 10
> digits, no more, no less. Putting the period in
> makes that 81 plus at least 1 digit until we timeout looking for more
> digits.
>
> New line:
> exten => _81X.,1,Macro(dialvpc,${EXTEN:1},70)
>
> exten => _7.,1,Macro(dialwfd,${EXTEN:1},60)
>
> Same here. In this line, you wait for the 7 and then continue one. You
are
> not requiring any more digits.
>
> New line:
> exten => _7X.,1,Macro(dialwfd,${EXTEN:1},60)
>
> Try these.
>
> Lyle
>
> ----- Original Message -----
> From: "Eric Jacksch" <jacksch at tenebris.ca>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> <asterisk-users at lists.digium.com>
> Sent: Sunday, September 05, 2004 7:48 AM
> Subject: Re: [Asterisk-Users] Wildcards and variable number of digits
>
>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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
--
Eric Jacksch, CISSP, CISM
Tenebris Technologies Inc.
http://www.tenebris.ca
+1 613 860-0964
jacksch at tenebris.ca
Information security consulting, investigations, and forensics.
> _______________________________________________
> 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