Yeah, thanks, that was the way I was leaning to. Just was wanting to
know if it was a syntax I was getting wrong, or if there is no other way
of doing this.
Julian.
Mojo with Horan Company, LLC wrote:
I guess you could do this, but it would be a little cumbersome:
context incoming {
s
From: Douglas Garstang [EMAIL PROTECTED]
Yikes! I'm glad I didn't take the plunge into AEL2. Get #include
functionality, but lose cid in the dialplan. Hmmm.
-Original Message-
From: Julian Lyndon-Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 1:21 PM
To:
Yes! That's the answer I was hoping ! I'm not stupid - it's a *feature* :)
Anything you need testing, let me know !
Julian
Steve Murphy wrote:
From: Douglas Garstang [EMAIL PROTECTED]
Yikes! I'm glad I didn't take the plunge into AEL2. Get #include
functionality, but lose cid in the
Correct me if I'm wrong, but doing this CID stuff in AEL may not make as
much sense in terms of converting dialplans over as it seems. I say this,
because with the original usage of the CID checking in the old extension
language, you could base PRIORITIES on the CID, therefore changing only
Yikes! I'm glad I didn't take the plunge into AEL2. Get #include functionality,
but lose cid in the dialplan. Hmmm.
-Original Message-
From: Julian Lyndon-Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 1:21 PM
To: asterisk-users@lists.digium.com
Subject:
I guess you could do this, but it would be a little cumbersome:
context incoming {
s = {
if (${CALLERID(num)} = 8005551212)
{
NoOp(Dir. Asst. calling);
}
else if (${CALLERID(num)} = 800444)
Of course, without the quotes in the NoOp parameters, if it matters:
---
...
NoOp(Dir. Asst. calling);
...
Douglas Garstang wrote:
Yikes! I'm glad I didn't take the plunge into AEL2. Get #include functionality,
but lose cid in the dialplan. Hmmm.