for example:
exten => _7XX,1,Dial(yada,10) exten => _7XX,2,Voicemail(unavail) exten => _7XX,3,Hangup exten => _7XX,102,Voicemail(Busy)
could be:
exten => Dial:_7XX,Dial(yada,10) exten => Hangup:_7XX,Hangup exten => VMUnavail:_7XX,Voicemail(unavail) exten => VMBusy_7XX,Voicemail(Busy)
in other words, the dial automatically looks for VMUnavail if not answered, or VMBusy if the line is busy
or
exten => StartPlan:Dial:_7XX,Dial(yada,10,BeforeAnswer=AA,AfterAnswer=ZZ,Busy=XX,NoAnswer=YY)
exten => ZZ:_7XX,Hangup
exten => XX:_7XX,Voicemail(unavail)
exten => YY:_7XX,Voicemail(Busy)
There must be fat better ways of expressing my thoughts, but it's late on Sunday :)
Julian
----- Original Message ----- From: "Brian Capouch" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <[EMAIL PROTECTED]>
Sent: Sunday, September 26, 2004 8:41 PM
Subject: Re: [Asterisk-Users] What about a higher level configuration language
Dinesh Nair wrote:On 27/09/2004 00:50 Jay Milk said the following:
Eliminating the need to specify (and keep track of) priorities would make changes to extensions.conf much easier to implement.
or perhaps allow non-consecutive priorities.
After this topic was discussed a bit at the developer's confab, I got to thinking about what a great feature that would be.
Renumbering priorities is a sadly common task for me in my somewhat chaotic config environment, and having a way to "sneak in" actions in between existing ones would be a major win.
Of course, the problem of the hard-coded "priority + 101" situation is problematical. I say we think through what the perfect world would look like in this respect and then see how hard it would be to implement. . .
B. _______________________________________________ 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
