[Asterisk-Users] Wildcards and variable number of digits

Lyle Giese lyle at lcrcomputer.net
Sun Sep 5 07:18:57 MST 2004


[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




More information about the asterisk-users mailing list