Yep, that should work OK for your range
----- Original Message -----
From: Apa Minerala
To: [EMAIL PROTECTED]
Cc: [email protected]
Sent: Tuesday, October 28, 2008 5:12 PM
Subject: Re: [on-asterisk] Dialplan question
Hello Liviu,
Fastest response I ever got. Thank you.
Let's assume we have the following range:
443147980000 - 443147999999
If my understanding is correct, it should look like:
exten => _44314798XXXX,1,Goto(a2billing-did,${EXTEN},1)
exten => _44314799XXXX,1,Goto(a2billing-did,${EXTEN},1)Am I correct, following
what you said?Thank you,Tudor
--- On Tue, 10/28/08, Liviu Toma <[EMAIL PROTECTED]> wrote:
From: Liviu Toma <[EMAIL PROTECTED]>
Subject: Re: [on-asterisk] Dialplan question
To: [EMAIL PROTECTED]
Cc: "Andre Courchesne - Consultant" <[EMAIL PROTECTED]>, "Simon P.
Ditner" <[EMAIL PROTECTED]>, [EMAIL PROTECTED], [email protected]
Date: Tuesday, October 28, 2008, 1:36 PM
Sure, but it may be helpful to give us the range (or just the digitsthat are
different at the end)Let's say the range was 441234567899 through
441234567999then your dialplan will beexten =>
441234567899,1,Goto(a2billing-did,${EXTEN},1)exten =>
_4412345679XX,1,Goto(a2billing-did,${EXTEN},1) ; this onecovers ...900 through
...999Be sure to put an underscore in front of the range that has XX's at the
endLiviuOn Tue, Oct 28, 2008 at 4:32 PM, Apa Minerala <[EMAIL
PROTECTED]>wrote:> It is a dialplan question.....>> I use asterisk 1.4>> and in
the dialplan need to configure about 2000 extensions :> ---------------> exten
=> 441234567899,1,Goto(a2billing-did,${EXTEN},1)>>> exten =>
441234567900,1,Goto(a2billing-did,${EXTEN},1)>>> exten =>
441234567899,1,Goto(a2billing-did,${EXTEN},1)> etc....>>
---------------------------->> as I said 2000 extensions.>> It is a way that I
could use a syntax like>> exten => from 441234567899
to441234567899,1,Goto(a2billing-did,${EXTEN},1)>> ?>> Thank you for your
answers,>> Tudor>>>>