Re: [Asterisk-Users] AEL2 and CID

2006-06-01 Thread Julian Lyndon-Smith
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

RE: [Asterisk-Users] AEL2 and CID

2006-06-01 Thread Steve Murphy
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:

Re: [Asterisk-Users] AEL2 and CID

2006-06-01 Thread Julian Lyndon-Smith
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

Re: [Asterisk-Users] AEL2 and CID

2006-06-01 Thread Aaron Daniel
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

RE: [Asterisk-Users] AEL2 and CID

2006-05-31 Thread Douglas Garstang
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:

Re: [Asterisk-Users] AEL2 and CID

2006-05-31 Thread Mojo with Horan Company, LLC
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)

Re: [Asterisk-Users] AEL2 and CID

2006-05-31 Thread Mojo with Horan Company, LLC
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.