Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
edg at greenberg.org
Guest





PostPosted: Thu Oct 16, 2014 8:08 am    Post subject: [asterisk-users] Queue: Passing params to macros and gosubs Reply with quote

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


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services