search for: verdiincgetuuid

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

2018 May 08
2
Passing parameter to Queue-called macro
...timeout = 60 retry = 2 member=>SIP/testnum [macro-verdianswer] exten=>s,1,NoOp(Entering Verdi answer macro) exten=>s,n,NoOp(Value: ${ARG1}) exten=>s,n,MacroExit [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(acc...
2018 May 11
2
Passing parameter to Queue-called macro
...e pre-prended _ in the macro: E. g. [verdianswer] exten=>s,n,NoOp(Lodging CDR accountcode: ${curIncAccCode} as an incoming call from ${numbersource} with VerDi and answered by ${MEMBERINTERFACE}...) exten=>s,n,MacroExit [telkomin] . . . same=>n,Set(curlResult=${SHELL(/usr/src/verdi/bash/verdiIncGetUUID.sh)}) same=>n,Set(_curIncAccCode=${curlResult}) same=>n,Queue(stefantest,trhc,,,60,,verdianswer) The above works just fine for doing what I want to do, e. g. pass a parameter from an Asterisk dialplan context into a queue-triggered "agent just answered in the queue" Asterisk macro....