search for: orig_uniqueid

Displaying 2 results from an estimated 2 matches for "orig_uniqueid".

2018 May 08
2
Passing parameter to Queue-called macro
Hi all I need to pass a parameter in a thread-safe manner to the Queue pickup macro. This is to know when (and who) picked up an incoming call to a queue and log that to my back-office system with a CURL to a HTTP endpoint. However, the Queue application does not appear to allow passing of parameters to the called queue pickup macro. E. g. non-working code is: [queuetest] timeout = 60 retry =
2018 May 11
2
Passing parameter to Queue-called macro
...ion <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] Passing parameter to Queue-called macro Hi, maybe I am overlooking something, but channel variables should be thread safe, shouldn't they? I am using the following (sorry, in ael): macro dial-queue (number) { Set(_ORIG_UNIQUEID=${UNIQUEID}); Queue(${number},rCt,,,${timeout},,set-dst-agent); .. } // the "context macro-..." things is an ael-specific workaround to get transfer working (macro sets context to app_queue_gosub_virtual_context) context macro-set-dst-agent { s => { Noop(${ORIG_UNIQUEID}); &amp...