[Asterisk-Users] AEL2 and CID
Aaron Daniel
amdtech at shsu.edu
Thu Jun 1 08:18:43 MST 2006
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
part of the actual extension logic. With how you're looking at it, that
would effectively render an extension into two separate logical forms,
which I know would definitely confuse people when converting the
languages. Also, doing the CID checks inside the extension gives a larger
degree of control, and makes the dialplan a bit more eligible. From an
administration standpoint, you could have multiple EXTEN/CID's strewn
about, but if you strictly use the in-extension checking, you know that
*THIS* is the extension you're looking for, and *THOSE* CID's are the ones
that are going to do something different.
Just my thoughts on the matter :) Hope they help a little.
On Thu, 1 Jun 2006, Julian Lyndon-Smith wrote:
> 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 <dgarstang at oneeighty.com>
>>> 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:asterisk at dotr.com]
>>>> Sent: Wednesday, May 31, 2006 1:21 PM
>>>> To: asterisk-users at lists.digium.com
>>>> Subject: [Asterisk-Users] AEL2 and CID
>>>>
>>>>
>>>> Does anyone know how to get CID working in AEL2 ?
>>>>
>>>> In extensions.conf you can do:
>>>>
>>>> exten => 111/666,1,PlayBack(demo-congrats)
>>>> exten => 111/666,2,Hangup()
>>>>
>>>> exten => 111,1,PlayBack(demo-moreinfo)
>>>> exten => 111,2,Hangup()
>>>>
>>>> and if callerid 666 dialed 111, they would get demo-congrats, everyone
>>>> else gets demo-moreinfo.
>>>>
>>>> In AEL:
>>>>
>>>> 111 => {
>>>> Playback(demo-moreinfo);
>>>> Hangup();
>>>> };
>>>>
>>>> 111/666 => {
>>>> Playback(demo-congrats);
>>>> Hangup();
>>>> };
>>>>
>>>> does not work. It always plays demo-moreinfo.
>>>>
>>>> I cannot find and docs on how to do this.
>>>>
>>>> Anyone got any idea ?
>>>>
>>>> Many thanks.
>>>>
>>>> Julian
>>>>
>>
>> Douglas!! Now, now!! That is not the proper attitude!! ;^) AEL is still
>> in the formation, we'll look to see if this little problem can be
>> remedied.
>>
>> murf
>>
>>
>>
>>
>>
>> _______________________________________________
>> --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
>
--
Aaron Daniel
Computer Systems Technician
Sam Houston State University
amdtech at shsu.edu
(936) 294-4198
More information about the asterisk-users
mailing list