search for: dodial

Displaying 4 results from an estimated 4 matches for "dodial".

2004 Nov 29
2
Variable substitution - How can I do Dial(${DIALSTRING}) where ${DIALSTRING} is 'SIP/201, 15, tT'?
I've been banging my head against a brick wall for the last hour and I'm sure this is one of those easy to solve things - just that I can't see the wood for the trees. I'm trying to do: ----------- [some-context] Exten => s,1,Macro(dodial,'SIP/201,15,tT',123456,MOHClass) [macro-dodial] Exten => s,1,SetCallerID(${ARG2}) Exten => s,2,SetMusicOnHold(${ARG3}) Exten => s,3,Dial(${ARG1}) ----------- (there's a lot more to it than that, but the above should give you an idea of what I'm trying to achieve) A comm...
2015 Jul 06
0
Asterisk 13.4.0 - mixmonitor only records one side's perspective
...CONTEXT}EXT${CALLERID(num)}ACC${CD R(accountcode)},${ARG2}) exten=>_[123]xxx,n,Set(__TRANSFER_CONTEXT=call-redirect) exten=>_[123]xxx,n(checkacc),NoOp(MY Account code is ${CDR(accountcode)}) ;exten=>_[123]xxx,n(checkacc),NoOp(OTHER Account code is ${CDR(accountcode)}) exten=>_[123]xxx,n(dodial),Dial(Sip/${EXTEN},120,tTg) exten=>_[123]xxx,n,NoOp(Dialstatus: ${DIALSTATUS}) exten=>_[123]xxx,n,GotoIf($["${DIALSTATUS}"="NOANSWER"]?takevoicemail:checkd ont) exten=>_[123]xxx,n(checkdont),GotoIf($["${DIALSTATUS}"="DONTCALL"]?takevoice mail:donecal...
2019 Jan 09
2
Switched from Asterisk 1.8 to 13 - CDR ringtime now always zero (Joshua C. Colp)
...,SIP/centra-out,27${EXTEN:1}) and the STDOUT macro, edited for brevity: [macro-STDOUT] ;${ARG1} = channel ;${ARG2} = number exten=>s,1,Macro(WAITCHANNEL) exten=>s,n,Macro(WAITCDR) exten=>s,n,Macro(VCRECORD,${MACRO_CONTEXT}X${CALLERID(num)}ACC${CHANNEL(accountcode)},${ARG2}) exten=>s,n(dodial),Macro(VCCALLOUT,${ARG1},${ARG2},${ARG3},${ARG4}) exten=>s,n,NoOp(Setting Userfield after call completion) exten=>s,n,Set(CDR(userfield)=${MIXMONITOR_FILENAME}) exten=>s,dodial+101,Busy() exten=>s,n,Hangup() exten=>s,n,MacroExit exten=>h,1,NoOp(Call hangup MACROSTDOUT) exten=>...
2010 Mar 03
0
CALLERID(num) not working
...;MyChan=SIP") in new stack [2010-03-02 13:32:09.617] -- Executing [91111111111 at context:2] GotoIf("SIP/username-114ffe50", "0?ISLOCAL") in new stack [2010-03-02 13:32:09.618] -- Executing [91111111111 at context:3] GotoIf("SIP/username-114ffe50", "0?DODIAL") in new stack [2010-03-02 13:32:09.618] -- Executing [91111111111 at context:4] Macro("SIP/username-114ffe50", "outgoing,""") in new stack [2010-03-02 13:32:09.618] -- Executing [s at macro-outgoing:1] GotoIf("SIP/username-114ffe50", "1?NEE...