Also, there's a more in the dialplan chapter in the Asterisk TFOT book. Google for it, I found it at http://cachefly.oreilly.com/books/9780596510480.pdf
Chapter 5 "Dialplan Basics" has the "pattern matching" examples on/around page 137, but reading through all of chapters 5 and 6 may just save your life one day (well, maybe not literally), but it'll definitely cement the dial plan basics for you. -Marc > -----Original Message----- > From: Liviu Toma [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 28, 2008 4:37 PM > To: [EMAIL PROTECTED] > Cc: Andre Courchesne - Consultant; Simon P. Ditner; > [EMAIL PROTECTED]; [email protected] > Subject: Re: [on-asterisk] Dialplan question > > 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 > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
