search for: accountco

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

2018 May 11
2
Passing parameter to Queue-called macro
Hi Marie Thanks! I was just worried about thread safety if I had to use a global variable, e. g. it might be set to a value by one call (since I'm using the same global for every incoming call to transfer the accountcode gotten from my HTTP endpoint to the same macro, and there can be several calls simultaneously all inserting HTTP-sourced values at more or less the same instant) and then another call is in such a state that it then reads this call's data - and never reads its logical "own" data. Th...
2018 May 08
2
Passing parameter to Queue-called macro
...[incomingcontext] exten=>tstqueue,1,NoOp(Incoming call for VerDi) same=>n,Set(curlResult=${SHELL(/usr/src/verdi/bash/verdiIncGetUUID.sh)}) same=>n,Set(curlResultLength=${LEN(${curlResult})}) same=>n,NoOp(Curl result for incoming call UUID from VerDi: ${curlResult}) same=>n,Set(CDR(accountcode)=${curlResult}) same=>n,Set(curIncAccCode=${curlResult},g) same=>n,Macro(VCRECORD,stefantestEXT${CALLERID(num)}ACC${CDR(accountcode)},$ {EXTEN}) same=>n,Queue(queuetest,trhc,,,60,,verdianswer(${curIncAccCode})) same=>n,Hangup() This results, when executed, in: [May 8 15:14:50] WAR...