Oops. Yes, Actually I do have _X. .... I didn't copy and paste what I had, I 
just typed it from memory. Thanks for the tip. 

-----Original Message-----
From: Eric "ManxPower" Wieling [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 9:48 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Re: Asterisk at large



> On Thu, Mar 02, 2006 at 04:14:34PM -0700, Douglas Garstang wrote:
>> The best way to achieve maximum manageability is to design a MySQL database 
>> and develop AGI scripts (in your language of choice) that work to that 
>> design. I've found that it has been far easier to develop complex routing 
>> logic in python than it is in the horrible assembler-like Asterisk 
>> extensions.conf language. In a perfect world, there would be _ONE_ line in 
>> your extensions.conf, and it would be:
>>
>> exten => _.,1,AGI(routing_script)

I assume your routing script handles exten => h (which is called when 
the call disconnects), exten => i (which is handled when an invalid 
number is dialed), as well as extens "a", "o" and others?

Because the above pattern match also matches the extensions I just 
mentioned.  Perhaps you would condsider using exten => _X.  that will 
only match extensions that are all numbers AND are at least 2 digits long.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to