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 digits
that are different at the end)
Let's say the range was 441234567899 through 441234567999
then your dialplan will be
exten => 441234567899,1,Goto(a2billing-did,${EXTEN},1)
exten => _4412345679XX,1,Goto(a2billing-did,${EXTEN},1) ; this one
covers ...900 through ...999
Be sure to put an underscore in front of the range that has XX's at the end
Liviu
On 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 to
441234567899,1,Goto(a2billing-did,${EXTEN},1)
>
> ?
>
> Thank you for your answers,
>
> Tudor
>
>
>
>