Ed Greenberg
2014-Oct-16 13:07 UTC
[asterisk-users] Queue: Passing params to macros and gosubs
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