[Asterisk-Users] Wildcards and variable number of digits

Eric Jacksch jacksch at tenebris.ca
Sun Sep 5 08:43:10 MST 2004


Thanks - where do those go, is it a global option, or do I have to put it in
my "internal" context?  Sorry if it's a dumb question, I'm very new to
asterisk...


On 2004-09-05 11:37, "Lyle Giese" <lyle at lcrcomputer.net> wrote:

> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2802 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040905/528d5d98/smime.bin


More information about the asterisk-users mailing list