[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" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<[EMAIL PROTECTED]>
Sent: Sunday, September 05, 2004 7:48 AM
Subject: Re: [Asterisk-Users] Wildcards and variable number of digits
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users