search for: dialchan

Displaying 3 results from an estimated 3 matches for "dialchan".

Did you mean: dialchans
2003 Oct 03
1
Editting variable contents
...,Zap/3,Zap/4) ; Bedroom3 exten => 8901,3,Macro(twoline,Zap/5,Zap/6) ; Kitchen exten => 8901,4,Macro(twoline,Zap/7,Zap/8) ; Familyroom ;exten => 8901,5,Macro(twoline,Zap/13,Zap/14) exten => 8901,5,Macro(twoline,sip/set1,sip/set2) ; Now we dial!!!! exten => 8901,6,Macro(stdexten,8901,${DIALCHANS}) [macro-twoline] exten => s,1,SetVar(MACRO_OFFSET=0) exten => s,2,ChanIsAvail(${ARG1}&${ARG2}) exten => s,3,GotoIf($["${DIALCHANS}" = ""]?s,6:s,4) exten => s,4,SetVar(DIALCHANS=${DIALCHANS}&${AVAILCHAN}) exten => s,5,Goto(s,7) exten => s,6,SetVar(DIA...
2003 Oct 05
1
ChanIsAvail app setting ${AVAILCHAN} to an unusable value.
...,Zap/3,Zap/4) ; Bedroom3 exten => 8901,3,Macro(twoline,Zap/5,Zap/6) ; Kitchen exten => 8901,4,Macro(twoline,Zap/7,Zap/8) ; Familyroom ;exten => 8901,5,Macro(twoline,Zap/13,Zap/14) exten => 8901,5,Macro(twoline,sip/set1,sip/set2) ; Now we dial!!!! exten => 8901,6,Macro(stdexten,8901,${DIALCHANS}) [macro-twoline] exten => s,1,SetVar(MACRO_OFFSET=0) exten => s,2,ChanIsAvail(${ARG1}&${ARG2}) exten => s,3,GotoIf($["${DIALCHANS}" = ""]?s,6:s,4) exten => s,4,SetVar(DIALCHANS=${DIALCHANS}&${AVAILCHAN}) exten => s,5,Goto(s,7) exten => s,6,SetVar(DIA...
2007 Apr 02
1
understanding what h extension does
I am trying to make a dialplan that when I dial 90 I can go round a whole set of extensions and leave them a short message, hangup and go on the next one. I use the M facility of dial, with something like this [messages] exten => 90,n(calcnextchan),Set(DIALCHAN=...) exten => 90,n,Dial(${DIALCHAN},30,M(domessage)) exten => 90,n,Goto(calcnextchan) [macro-domessage] exten => s,1,Playback(message) exten => s,n,Set(MACRO_RESULT=CONTINUE) [There is actually more logic to check for busy dial channels and retry them later] This seems to work fine...