[asterisk-users] Queue: Passing params to macros and gosubs

Ed Greenberg edg at greenberg.org
Thu Oct 16 08:07:48 CDT 2014


I wrote:

Queue("ENGLISH,rh,,,20,,,log-answer")

but no variables are available in the subroutine context. I need to get 
${UNIQUEID} in there.

In a Dial command, I can write U(log-answer^${UNIQUEID}) but not in the 
gosub field of the Queue command.

Is it possible to pass variables from the dialplan to the subroutine 
context?

Thanks,

Ed Greenberg

Asterisk 1.8.10.1~dfsg-1ubuntu1 built by buildd @ yellow on a x86_64 
running Linux on 2012-04-24 12:47:04 UTC




More information about the asterisk-users mailing list