[asterisk-users] Calling Functions from AEL2
Rushowr
rushowr at phreaker.net
Thu Oct 5 08:29:05 MST 2006
Douglas Garstang wrote:
> I am trying to call the DUNDILOOKUP dialplan function from ael2, like this:
>
> context route {
> Set(PATH=${DUNDILOOKUP(${EXTEN},DUNDIRegistr)});
> }
>
> The DUNDILOOKUP function returns no data. However, when I call it exactly the same way in a regular context, it DOES return data.
>
> [route]
>
> exten => _X.,n,Set(PATH=${DUNDILOOKUP(${EXTEN},DUNDIRegistr)})
>
> That works. Could this possibly be an AEL2 bug? This is Asterisk 1.4 beta2.
>
> Doug.
>
>
> _______________________________________________
> --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
>
I'll look into what I can find as soon as time permits (my company is
entering a beta release today), but my first suggestion to debug what's
happening is to do 'show dialplan route' and see what the "compiled"
dialplan shows. That could help you figure out if it's an AEL2 bug,
because it would show what the AEL2 compiler did with that line.
Hope this helps,
SKM
More information about the asterisk-users
mailing list