search for: dialno

Displaying 1 result from an estimated 1 matches for "dialno".

Did you mean: diallo
2011 Jan 07
1
AGI->Macro w/Agruments
...html I have tried this, but it doesn't work. $AGI->set_variable('DAILNO', $BranchPhone); $AGI->exec("Macro","agidial"); And my macro: [macro-agidial] exten => s,1,AGI(getcid.pl,${CALLERID(NUM)},1) exten => s,2,NoOp(DIALNO=${DIALNO}) exten => s,3,Dial(SIP/${DIALNO}@SIPPROVIDER,60) exten => s,4,GotoIf($["${DIALSTATUS}" = "CONGESTION"]?10) exten => s,6,Hangup() exten => s,10,Dial(IAX2/SERVER2/${DIALNO}) exten => s,12,Hangup() but when the macro is called, Dialno = nothing....