[asterisk-users] Calling Functions from AEL2

Douglas Garstang dgarstang at oneeighty.com
Wed Oct 4 14:49:11 MST 2006


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.




More information about the asterisk-users mailing list