search for: exttodial

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

2008 Mar 05
2
Passing variables between two DUNDi/IAX2 peers
...witch => DUNDI/priv exten => s,1,Set(CDR(userfield)=test) exten => s,2,Set(DUNDIVAR=${ARG1}#TEST) exten => s,3,NoOp(Passing ${DUNDIVAR} to DUNDi peer.) exten => s,4,Goto(${DUNDIVAR},1) On peer2: [dundi-incoming] exten => _X.,1,NoOp(Received EXTEN ${EXTEN}.) exten => _X.,n,Set(EXTTODIAL=${CUT(EXTEN|#|1)}) exten => _X.,n,Set(DUNDIVAR=${CUT(EXTEN|#|2)}) exten => _X.,1,NoOp(Extracted extension ${EXTTODIAL} and DUNDi variable ${DUNDIVAR}) exten => _X.,n,Goto(local-extensions,${EXTTODIAL},1) If I try a test call then nothing ever reaches peer2. However, if I remove #TEST from...
2006 Nov 21
0
Callback agents without chan_agent issues (queue recording)
...d to the queue using AQM where ${agent} is agent number. Context agentdial looks like this [agentdial] ; Local/${agent}@agentdial are dynamic queue members, they are added to the queue exten => _XX.,1,Noop(Agent to dial is ${EXTEN}) exten => _XX.,n,Set(agent=${EXTEN}) exten => _XX.,n,Set(ExtToDial=${DB(AGENT/${agent}/onExten)}) exten => _XX.,n,Macro(callagent,${LDP${ExtToDial}},e${ExtToDial}) LDP${ExtToDial} is global variable where Tech/peer is stored (for example SIP/102) callagent is macro which dials phone where agent is. The shortened version of this macro is: [macro-callagent] ;AR...