jsmith at digium.com Guest
|
Posted: Mon Jun 02, 2008 11:01 pm Post subject: [asterisk-users] How to limit extension to allow only intern |
|
|
On Mon, 2008-06-02 at 17:53 -0700, Steve Edwards wrote:
Quote: | Also note that something as obtuse as:
exten = _2[1-4]00,1, dial(${SERVICE-PHONE-${EXTEN:1:1}})
does not quite work because _2xxx is evaluated before _2[1-4]00 -- go
figure
|
That should not be the case, but you're right... something isn't as it
should be here.
Zwooop... (That's the sound of me running off to the lab to test this
one)
So, it seems obvious to me that this is a bug. I've posted more
information and an explanation of what I think is going wrong in the bug
tracker, as well as a proposed patch for the Asterisk 1.4 brach, trunk,
and the 1.6.0 branch.
See http://bugs.digium.com/view.php?id=12777 for more details.
--
Jared Smith
Training Manager
Digium, Inc. |
|