Queue: Passing Params To Macros And Gosubs

Home » Asterisk Users » Queue: Passing Params To Macros And Gosubs
Asterisk Users No Comments

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