[globals]
static=yes
writeprotect=yes
CONSOLE=Console/dsp
IAXINFO=murf:tlhfckoct
FWDNUMBER=544788 
FWDCIDNAME="Joe-Worker"
FWDPASSWORD=zingledoodle 
FWDRINGS=Zap/6 
FWDVMBOX=1 


[macro-std-exten]
exten => s,1,Set(ext=${ARG1})
exten => s,2,Set(dev=${ARG2})
exten => s,3,Set(~~EXTEN~~=${EXTEN})
exten => s,4,Dial(${dev}/${ext}|20)
exten => s,5,Goto(sw-1-${DIALSTATUS}|10)
exten => s,6,NoOp(Finish switch-std-exten-1)
exten => a,1,VoiceMailMain(${ext})
exten => _sw-1-.,10,Voicemail(u${ext})
exten => _sw-1-.,11,Goto(s|6)
exten => sw-1-,10,Goto(sw-1-.|10)
exten => sw-1-ANSWER,10,Goto(s|6)
exten => sw-1-NOANSWER,10,Voicemail(u${ext})
exten => sw-1-NOANSWER,11,Goto(s|6)
exten => sw-1-BUSY,10,Voicemail(b${ext})
exten => sw-1-BUSY,11,Goto(s|6)


[macro-std-priv-exten_1]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-3-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_1-3)
exten => _sw-3-.,10,Voicemail(u${ext})
exten => _sw-3-.,11,Goto(s|11)
exten => sw-3-,10,Goto(sw-3-.|10)
exten => sw-3-NOANSWER,10,Voicemail(u${ext})
exten => sw-3-NOANSWER,11,Goto(s|11)
exten => sw-3-ANSWER,10,Goto(s|11)
exten => sw-3-BUSY,10,Voicemail(b${ext})
exten => sw-3-BUSY,11,Goto(s|11)
exten => sw-3-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-3-DONTCALL,11,Goto(s|11)
exten => sw-3-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-3-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_2]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-4-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_2-4)
exten => _sw-4-.,10,Voicemail(u${ext})
exten => _sw-4-.,11,Goto(s|11)
exten => sw-4-,10,Goto(sw-4-.|10)
exten => sw-4-NOANSWER,10,Voicemail(u${ext})
exten => sw-4-NOANSWER,11,Goto(s|11)
exten => sw-4-ANSWER,10,Goto(s|11)
exten => sw-4-BUSY,10,Voicemail(b${ext})
exten => sw-4-BUSY,11,Goto(s|11)
exten => sw-4-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-4-DONTCALL,11,Goto(s|11)
exten => sw-4-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-4-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_3]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-5-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_3-5)
exten => _sw-5-.,10,Voicemail(u${ext})
exten => _sw-5-.,11,Goto(s|11)
exten => sw-5-,10,Goto(sw-5-.|10)
exten => sw-5-NOANSWER,10,Voicemail(u${ext})
exten => sw-5-NOANSWER,11,Goto(s|11)
exten => sw-5-ANSWER,10,Goto(s|11)
exten => sw-5-BUSY,10,Voicemail(b${ext})
exten => sw-5-BUSY,11,Goto(s|11)
exten => sw-5-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-5-DONTCALL,11,Goto(s|11)
exten => sw-5-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-5-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_4]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-6-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_4-6)
exten => _sw-6-.,10,Voicemail(u${ext})
exten => _sw-6-.,11,Goto(s|11)
exten => sw-6-,10,Goto(sw-6-.|10)
exten => sw-6-NOANSWER,10,Voicemail(u${ext})
exten => sw-6-NOANSWER,11,Goto(s|11)
exten => sw-6-ANSWER,10,Goto(s|11)
exten => sw-6-BUSY,10,Voicemail(b${ext})
exten => sw-6-BUSY,11,Goto(s|11)
exten => sw-6-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-6-DONTCALL,11,Goto(s|11)
exten => sw-6-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-6-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_5]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-7-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_5-7)
exten => _sw-7-.,10,Voicemail(u${ext})
exten => _sw-7-.,11,Goto(s|11)
exten => sw-7-,10,Goto(sw-7-.|10)
exten => sw-7-NOANSWER,10,Voicemail(u${ext})
exten => sw-7-NOANSWER,11,Goto(s|11)
exten => sw-7-ANSWER,10,Goto(s|11)
exten => sw-7-BUSY,10,Voicemail(b${ext})
exten => sw-7-BUSY,11,Goto(s|11)
exten => sw-7-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-7-DONTCALL,11,Goto(s|11)
exten => sw-7-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-7-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_6]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-8-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_6-8)
exten => _sw-8-.,10,Voicemail(u${ext})
exten => _sw-8-.,11,Goto(s|11)
exten => sw-8-,10,Goto(sw-8-.|10)
exten => sw-8-NOANSWER,10,Voicemail(u${ext})
exten => sw-8-NOANSWER,11,Goto(s|11)
exten => sw-8-ANSWER,10,Goto(s|11)
exten => sw-8-BUSY,10,Voicemail(b${ext})
exten => sw-8-BUSY,11,Goto(s|11)
exten => sw-8-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-8-DONTCALL,11,Goto(s|11)
exten => sw-8-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-8-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_7]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-9-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_7-9)
exten => _sw-9-.,10,Voicemail(u${ext})
exten => _sw-9-.,11,Goto(s|11)
exten => sw-9-,10,Goto(sw-9-.|10)
exten => sw-9-NOANSWER,10,Voicemail(u${ext})
exten => sw-9-NOANSWER,11,Goto(s|11)
exten => sw-9-ANSWER,10,Goto(s|11)
exten => sw-9-BUSY,10,Voicemail(b${ext})
exten => sw-9-BUSY,11,Goto(s|11)
exten => sw-9-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-9-DONTCALL,11,Goto(s|11)
exten => sw-9-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-9-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_8]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-10-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_8-10)
exten => _sw-10-.,10,Voicemail(u${ext})
exten => _sw-10-.,11,Goto(s|11)
exten => sw-10-,10,Goto(sw-10-.|10)
exten => sw-10-NOANSWER,10,Voicemail(u${ext})
exten => sw-10-NOANSWER,11,Goto(s|11)
exten => sw-10-ANSWER,10,Goto(s|11)
exten => sw-10-BUSY,10,Voicemail(b${ext})
exten => sw-10-BUSY,11,Goto(s|11)
exten => sw-10-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-10-DONTCALL,11,Goto(s|11)
exten => sw-10-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-10-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_9]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-11-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_9-11)
exten => _sw-11-.,10,Voicemail(u${ext})
exten => _sw-11-.,11,Goto(s|11)
exten => sw-11-,10,Goto(sw-11-.|10)
exten => sw-11-NOANSWER,10,Voicemail(u${ext})
exten => sw-11-NOANSWER,11,Goto(s|11)
exten => sw-11-ANSWER,10,Goto(s|11)
exten => sw-11-BUSY,10,Voicemail(b${ext})
exten => sw-11-BUSY,11,Goto(s|11)
exten => sw-11-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-11-DONTCALL,11,Goto(s|11)
exten => sw-11-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-11-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_10]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-12-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_10-12)
exten => _sw-12-.,10,Voicemail(u${ext})
exten => _sw-12-.,11,Goto(s|11)
exten => sw-12-,10,Goto(sw-12-.|10)
exten => sw-12-NOANSWER,10,Voicemail(u${ext})
exten => sw-12-NOANSWER,11,Goto(s|11)
exten => sw-12-ANSWER,10,Goto(s|11)
exten => sw-12-BUSY,10,Voicemail(b${ext})
exten => sw-12-BUSY,11,Goto(s|11)
exten => sw-12-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-12-DONTCALL,11,Goto(s|11)
exten => sw-12-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-12-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_11]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-13-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_11-13)
exten => _sw-13-.,10,Voicemail(u${ext})
exten => _sw-13-.,11,Goto(s|11)
exten => sw-13-,10,Goto(sw-13-.|10)
exten => sw-13-NOANSWER,10,Voicemail(u${ext})
exten => sw-13-NOANSWER,11,Goto(s|11)
exten => sw-13-ANSWER,10,Goto(s|11)
exten => sw-13-BUSY,10,Voicemail(b${ext})
exten => sw-13-BUSY,11,Goto(s|11)
exten => sw-13-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-13-DONTCALL,11,Goto(s|11)
exten => sw-13-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-13-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_12]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-14-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_12-14)
exten => _sw-14-.,10,Voicemail(u${ext})
exten => _sw-14-.,11,Goto(s|11)
exten => sw-14-,10,Goto(sw-14-.|10)
exten => sw-14-NOANSWER,10,Voicemail(u${ext})
exten => sw-14-NOANSWER,11,Goto(s|11)
exten => sw-14-ANSWER,10,Goto(s|11)
exten => sw-14-BUSY,10,Voicemail(b${ext})
exten => sw-14-BUSY,11,Goto(s|11)
exten => sw-14-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-14-DONTCALL,11,Goto(s|11)
exten => sw-14-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-14-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_13]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-15-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_13-15)
exten => _sw-15-.,10,Voicemail(u${ext})
exten => _sw-15-.,11,Goto(s|11)
exten => sw-15-,10,Goto(sw-15-.|10)
exten => sw-15-NOANSWER,10,Voicemail(u${ext})
exten => sw-15-NOANSWER,11,Goto(s|11)
exten => sw-15-ANSWER,10,Goto(s|11)
exten => sw-15-BUSY,10,Voicemail(b${ext})
exten => sw-15-BUSY,11,Goto(s|11)
exten => sw-15-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-15-DONTCALL,11,Goto(s|11)
exten => sw-15-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-15-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_14]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-16-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_14-16)
exten => _sw-16-.,10,Voicemail(u${ext})
exten => _sw-16-.,11,Goto(s|11)
exten => sw-16-,10,Goto(sw-16-.|10)
exten => sw-16-NOANSWER,10,Voicemail(u${ext})
exten => sw-16-NOANSWER,11,Goto(s|11)
exten => sw-16-ANSWER,10,Goto(s|11)
exten => sw-16-BUSY,10,Voicemail(b${ext})
exten => sw-16-BUSY,11,Goto(s|11)
exten => sw-16-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-16-DONTCALL,11,Goto(s|11)
exten => sw-16-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-16-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_15]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-17-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_15-17)
exten => _sw-17-.,10,Voicemail(u${ext})
exten => _sw-17-.,11,Goto(s|11)
exten => sw-17-,10,Goto(sw-17-.|10)
exten => sw-17-NOANSWER,10,Voicemail(u${ext})
exten => sw-17-NOANSWER,11,Goto(s|11)
exten => sw-17-ANSWER,10,Goto(s|11)
exten => sw-17-BUSY,10,Voicemail(b${ext})
exten => sw-17-BUSY,11,Goto(s|11)
exten => sw-17-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-17-DONTCALL,11,Goto(s|11)
exten => sw-17-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-17-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_16]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-18-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_16-18)
exten => _sw-18-.,10,Voicemail(u${ext})
exten => _sw-18-.,11,Goto(s|11)
exten => sw-18-,10,Goto(sw-18-.|10)
exten => sw-18-NOANSWER,10,Voicemail(u${ext})
exten => sw-18-NOANSWER,11,Goto(s|11)
exten => sw-18-ANSWER,10,Goto(s|11)
exten => sw-18-BUSY,10,Voicemail(b${ext})
exten => sw-18-BUSY,11,Goto(s|11)
exten => sw-18-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-18-DONTCALL,11,Goto(s|11)
exten => sw-18-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-18-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_17]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-19-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_17-19)
exten => _sw-19-.,10,Voicemail(u${ext})
exten => _sw-19-.,11,Goto(s|11)
exten => sw-19-,10,Goto(sw-19-.|10)
exten => sw-19-NOANSWER,10,Voicemail(u${ext})
exten => sw-19-NOANSWER,11,Goto(s|11)
exten => sw-19-ANSWER,10,Goto(s|11)
exten => sw-19-BUSY,10,Voicemail(b${ext})
exten => sw-19-BUSY,11,Goto(s|11)
exten => sw-19-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-19-DONTCALL,11,Goto(s|11)
exten => sw-19-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-19-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_18]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-20-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_18-20)
exten => _sw-20-.,10,Voicemail(u${ext})
exten => _sw-20-.,11,Goto(s|11)
exten => sw-20-,10,Goto(sw-20-.|10)
exten => sw-20-NOANSWER,10,Voicemail(u${ext})
exten => sw-20-NOANSWER,11,Goto(s|11)
exten => sw-20-ANSWER,10,Goto(s|11)
exten => sw-20-BUSY,10,Voicemail(b${ext})
exten => sw-20-BUSY,11,Goto(s|11)
exten => sw-20-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-20-DONTCALL,11,Goto(s|11)
exten => sw-20-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-20-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_19]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-21-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_19-21)
exten => _sw-21-.,10,Voicemail(u${ext})
exten => _sw-21-.,11,Goto(s|11)
exten => sw-21-,10,Goto(sw-21-.|10)
exten => sw-21-NOANSWER,10,Voicemail(u${ext})
exten => sw-21-NOANSWER,11,Goto(s|11)
exten => sw-21-ANSWER,10,Goto(s|11)
exten => sw-21-BUSY,10,Voicemail(b${ext})
exten => sw-21-BUSY,11,Goto(s|11)
exten => sw-21-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-21-DONTCALL,11,Goto(s|11)
exten => sw-21-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-21-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_20]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-22-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_20-22)
exten => _sw-22-.,10,Voicemail(u${ext})
exten => _sw-22-.,11,Goto(s|11)
exten => sw-22-,10,Goto(sw-22-.|10)
exten => sw-22-NOANSWER,10,Voicemail(u${ext})
exten => sw-22-NOANSWER,11,Goto(s|11)
exten => sw-22-ANSWER,10,Goto(s|11)
exten => sw-22-BUSY,10,Voicemail(b${ext})
exten => sw-22-BUSY,11,Goto(s|11)
exten => sw-22-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-22-DONTCALL,11,Goto(s|11)
exten => sw-22-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-22-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_21]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-23-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_21-23)
exten => _sw-23-.,10,Voicemail(u${ext})
exten => _sw-23-.,11,Goto(s|11)
exten => sw-23-,10,Goto(sw-23-.|10)
exten => sw-23-NOANSWER,10,Voicemail(u${ext})
exten => sw-23-NOANSWER,11,Goto(s|11)
exten => sw-23-ANSWER,10,Goto(s|11)
exten => sw-23-BUSY,10,Voicemail(b${ext})
exten => sw-23-BUSY,11,Goto(s|11)
exten => sw-23-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-23-DONTCALL,11,Goto(s|11)
exten => sw-23-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-23-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_22]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-24-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_22-24)
exten => _sw-24-.,10,Voicemail(u${ext})
exten => _sw-24-.,11,Goto(s|11)
exten => sw-24-,10,Goto(sw-24-.|10)
exten => sw-24-NOANSWER,10,Voicemail(u${ext})
exten => sw-24-NOANSWER,11,Goto(s|11)
exten => sw-24-ANSWER,10,Goto(s|11)
exten => sw-24-BUSY,10,Voicemail(b${ext})
exten => sw-24-BUSY,11,Goto(s|11)
exten => sw-24-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-24-DONTCALL,11,Goto(s|11)
exten => sw-24-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-24-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_23]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-25-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_23-25)
exten => _sw-25-.,10,Voicemail(u${ext})
exten => _sw-25-.,11,Goto(s|11)
exten => sw-25-,10,Goto(sw-25-.|10)
exten => sw-25-NOANSWER,10,Voicemail(u${ext})
exten => sw-25-NOANSWER,11,Goto(s|11)
exten => sw-25-ANSWER,10,Goto(s|11)
exten => sw-25-BUSY,10,Voicemail(b${ext})
exten => sw-25-BUSY,11,Goto(s|11)
exten => sw-25-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-25-DONTCALL,11,Goto(s|11)
exten => sw-25-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-25-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_24]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-26-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_24-26)
exten => _sw-26-.,10,Voicemail(u${ext})
exten => _sw-26-.,11,Goto(s|11)
exten => sw-26-,10,Goto(sw-26-.|10)
exten => sw-26-NOANSWER,10,Voicemail(u${ext})
exten => sw-26-NOANSWER,11,Goto(s|11)
exten => sw-26-ANSWER,10,Goto(s|11)
exten => sw-26-BUSY,10,Voicemail(b${ext})
exten => sw-26-BUSY,11,Goto(s|11)
exten => sw-26-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-26-DONTCALL,11,Goto(s|11)
exten => sw-26-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-26-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_25]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-27-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_25-27)
exten => _sw-27-.,10,Voicemail(u${ext})
exten => _sw-27-.,11,Goto(s|11)
exten => sw-27-,10,Goto(sw-27-.|10)
exten => sw-27-NOANSWER,10,Voicemail(u${ext})
exten => sw-27-NOANSWER,11,Goto(s|11)
exten => sw-27-ANSWER,10,Goto(s|11)
exten => sw-27-BUSY,10,Voicemail(b${ext})
exten => sw-27-BUSY,11,Goto(s|11)
exten => sw-27-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-27-DONTCALL,11,Goto(s|11)
exten => sw-27-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-27-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_26]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-28-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_26-28)
exten => _sw-28-.,10,Voicemail(u${ext})
exten => _sw-28-.,11,Goto(s|11)
exten => sw-28-,10,Goto(sw-28-.|10)
exten => sw-28-NOANSWER,10,Voicemail(u${ext})
exten => sw-28-NOANSWER,11,Goto(s|11)
exten => sw-28-ANSWER,10,Goto(s|11)
exten => sw-28-BUSY,10,Voicemail(b${ext})
exten => sw-28-BUSY,11,Goto(s|11)
exten => sw-28-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-28-DONTCALL,11,Goto(s|11)
exten => sw-28-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-28-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_27]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-29-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_27-29)
exten => _sw-29-.,10,Voicemail(u${ext})
exten => _sw-29-.,11,Goto(s|11)
exten => sw-29-,10,Goto(sw-29-.|10)
exten => sw-29-NOANSWER,10,Voicemail(u${ext})
exten => sw-29-NOANSWER,11,Goto(s|11)
exten => sw-29-ANSWER,10,Goto(s|11)
exten => sw-29-BUSY,10,Voicemail(b${ext})
exten => sw-29-BUSY,11,Goto(s|11)
exten => sw-29-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-29-DONTCALL,11,Goto(s|11)
exten => sw-29-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-29-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_28]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-30-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_28-30)
exten => _sw-30-.,10,Voicemail(u${ext})
exten => _sw-30-.,11,Goto(s|11)
exten => sw-30-,10,Goto(sw-30-.|10)
exten => sw-30-NOANSWER,10,Voicemail(u${ext})
exten => sw-30-NOANSWER,11,Goto(s|11)
exten => sw-30-ANSWER,10,Goto(s|11)
exten => sw-30-BUSY,10,Voicemail(b${ext})
exten => sw-30-BUSY,11,Goto(s|11)
exten => sw-30-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-30-DONTCALL,11,Goto(s|11)
exten => sw-30-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-30-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_29]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-31-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_29-31)
exten => _sw-31-.,10,Voicemail(u${ext})
exten => _sw-31-.,11,Goto(s|11)
exten => sw-31-,10,Goto(sw-31-.|10)
exten => sw-31-NOANSWER,10,Voicemail(u${ext})
exten => sw-31-NOANSWER,11,Goto(s|11)
exten => sw-31-ANSWER,10,Goto(s|11)
exten => sw-31-BUSY,10,Voicemail(b${ext})
exten => sw-31-BUSY,11,Goto(s|11)
exten => sw-31-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-31-DONTCALL,11,Goto(s|11)
exten => sw-31-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-31-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_30]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-32-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_30-32)
exten => _sw-32-.,10,Voicemail(u${ext})
exten => _sw-32-.,11,Goto(s|11)
exten => sw-32-,10,Goto(sw-32-.|10)
exten => sw-32-NOANSWER,10,Voicemail(u${ext})
exten => sw-32-NOANSWER,11,Goto(s|11)
exten => sw-32-ANSWER,10,Goto(s|11)
exten => sw-32-BUSY,10,Voicemail(b${ext})
exten => sw-32-BUSY,11,Goto(s|11)
exten => sw-32-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-32-DONTCALL,11,Goto(s|11)
exten => sw-32-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-32-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_31]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-33-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_31-33)
exten => _sw-33-.,10,Voicemail(u${ext})
exten => _sw-33-.,11,Goto(s|11)
exten => sw-33-,10,Goto(sw-33-.|10)
exten => sw-33-NOANSWER,10,Voicemail(u${ext})
exten => sw-33-NOANSWER,11,Goto(s|11)
exten => sw-33-ANSWER,10,Goto(s|11)
exten => sw-33-BUSY,10,Voicemail(b${ext})
exten => sw-33-BUSY,11,Goto(s|11)
exten => sw-33-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-33-DONTCALL,11,Goto(s|11)
exten => sw-33-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-33-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_32]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-34-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_32-34)
exten => _sw-34-.,10,Voicemail(u${ext})
exten => _sw-34-.,11,Goto(s|11)
exten => sw-34-,10,Goto(sw-34-.|10)
exten => sw-34-NOANSWER,10,Voicemail(u${ext})
exten => sw-34-NOANSWER,11,Goto(s|11)
exten => sw-34-ANSWER,10,Goto(s|11)
exten => sw-34-BUSY,10,Voicemail(b${ext})
exten => sw-34-BUSY,11,Goto(s|11)
exten => sw-34-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-34-DONTCALL,11,Goto(s|11)
exten => sw-34-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-34-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_33]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-35-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_33-35)
exten => _sw-35-.,10,Voicemail(u${ext})
exten => _sw-35-.,11,Goto(s|11)
exten => sw-35-,10,Goto(sw-35-.|10)
exten => sw-35-NOANSWER,10,Voicemail(u${ext})
exten => sw-35-NOANSWER,11,Goto(s|11)
exten => sw-35-ANSWER,10,Goto(s|11)
exten => sw-35-BUSY,10,Voicemail(b${ext})
exten => sw-35-BUSY,11,Goto(s|11)
exten => sw-35-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-35-DONTCALL,11,Goto(s|11)
exten => sw-35-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-35-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_34]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-36-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_34-36)
exten => _sw-36-.,10,Voicemail(u${ext})
exten => _sw-36-.,11,Goto(s|11)
exten => sw-36-,10,Goto(sw-36-.|10)
exten => sw-36-NOANSWER,10,Voicemail(u${ext})
exten => sw-36-NOANSWER,11,Goto(s|11)
exten => sw-36-ANSWER,10,Goto(s|11)
exten => sw-36-BUSY,10,Voicemail(b${ext})
exten => sw-36-BUSY,11,Goto(s|11)
exten => sw-36-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-36-DONTCALL,11,Goto(s|11)
exten => sw-36-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-36-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_35]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-37-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_35-37)
exten => _sw-37-.,10,Voicemail(u${ext})
exten => _sw-37-.,11,Goto(s|11)
exten => sw-37-,10,Goto(sw-37-.|10)
exten => sw-37-NOANSWER,10,Voicemail(u${ext})
exten => sw-37-NOANSWER,11,Goto(s|11)
exten => sw-37-ANSWER,10,Goto(s|11)
exten => sw-37-BUSY,10,Voicemail(b${ext})
exten => sw-37-BUSY,11,Goto(s|11)
exten => sw-37-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-37-DONTCALL,11,Goto(s|11)
exten => sw-37-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-37-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_36]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-38-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_36-38)
exten => _sw-38-.,10,Voicemail(u${ext})
exten => _sw-38-.,11,Goto(s|11)
exten => sw-38-,10,Goto(sw-38-.|10)
exten => sw-38-NOANSWER,10,Voicemail(u${ext})
exten => sw-38-NOANSWER,11,Goto(s|11)
exten => sw-38-ANSWER,10,Goto(s|11)
exten => sw-38-BUSY,10,Voicemail(b${ext})
exten => sw-38-BUSY,11,Goto(s|11)
exten => sw-38-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-38-DONTCALL,11,Goto(s|11)
exten => sw-38-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-38-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_37]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-39-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_37-39)
exten => _sw-39-.,10,Voicemail(u${ext})
exten => _sw-39-.,11,Goto(s|11)
exten => sw-39-,10,Goto(sw-39-.|10)
exten => sw-39-NOANSWER,10,Voicemail(u${ext})
exten => sw-39-NOANSWER,11,Goto(s|11)
exten => sw-39-ANSWER,10,Goto(s|11)
exten => sw-39-BUSY,10,Voicemail(b${ext})
exten => sw-39-BUSY,11,Goto(s|11)
exten => sw-39-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-39-DONTCALL,11,Goto(s|11)
exten => sw-39-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-39-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_38]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-40-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_38-40)
exten => _sw-40-.,10,Voicemail(u${ext})
exten => _sw-40-.,11,Goto(s|11)
exten => sw-40-,10,Goto(sw-40-.|10)
exten => sw-40-NOANSWER,10,Voicemail(u${ext})
exten => sw-40-NOANSWER,11,Goto(s|11)
exten => sw-40-ANSWER,10,Goto(s|11)
exten => sw-40-BUSY,10,Voicemail(b${ext})
exten => sw-40-BUSY,11,Goto(s|11)
exten => sw-40-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-40-DONTCALL,11,Goto(s|11)
exten => sw-40-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-40-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_39]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-41-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_39-41)
exten => _sw-41-.,10,Voicemail(u${ext})
exten => _sw-41-.,11,Goto(s|11)
exten => sw-41-,10,Goto(sw-41-.|10)
exten => sw-41-NOANSWER,10,Voicemail(u${ext})
exten => sw-41-NOANSWER,11,Goto(s|11)
exten => sw-41-ANSWER,10,Goto(s|11)
exten => sw-41-BUSY,10,Voicemail(b${ext})
exten => sw-41-BUSY,11,Goto(s|11)
exten => sw-41-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-41-DONTCALL,11,Goto(s|11)
exten => sw-41-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-41-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_40]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-42-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_40-42)
exten => _sw-42-.,10,Voicemail(u${ext})
exten => _sw-42-.,11,Goto(s|11)
exten => sw-42-,10,Goto(sw-42-.|10)
exten => sw-42-NOANSWER,10,Voicemail(u${ext})
exten => sw-42-NOANSWER,11,Goto(s|11)
exten => sw-42-ANSWER,10,Goto(s|11)
exten => sw-42-BUSY,10,Voicemail(b${ext})
exten => sw-42-BUSY,11,Goto(s|11)
exten => sw-42-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-42-DONTCALL,11,Goto(s|11)
exten => sw-42-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-42-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_41]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-43-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_41-43)
exten => _sw-43-.,10,Voicemail(u${ext})
exten => _sw-43-.,11,Goto(s|11)
exten => sw-43-,10,Goto(sw-43-.|10)
exten => sw-43-NOANSWER,10,Voicemail(u${ext})
exten => sw-43-NOANSWER,11,Goto(s|11)
exten => sw-43-ANSWER,10,Goto(s|11)
exten => sw-43-BUSY,10,Voicemail(b${ext})
exten => sw-43-BUSY,11,Goto(s|11)
exten => sw-43-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-43-DONTCALL,11,Goto(s|11)
exten => sw-43-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-43-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_42]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-44-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_42-44)
exten => _sw-44-.,10,Voicemail(u${ext})
exten => _sw-44-.,11,Goto(s|11)
exten => sw-44-,10,Goto(sw-44-.|10)
exten => sw-44-NOANSWER,10,Voicemail(u${ext})
exten => sw-44-NOANSWER,11,Goto(s|11)
exten => sw-44-ANSWER,10,Goto(s|11)
exten => sw-44-BUSY,10,Voicemail(b${ext})
exten => sw-44-BUSY,11,Goto(s|11)
exten => sw-44-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-44-DONTCALL,11,Goto(s|11)
exten => sw-44-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-44-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_43]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-45-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_43-45)
exten => _sw-45-.,10,Voicemail(u${ext})
exten => _sw-45-.,11,Goto(s|11)
exten => sw-45-,10,Goto(sw-45-.|10)
exten => sw-45-NOANSWER,10,Voicemail(u${ext})
exten => sw-45-NOANSWER,11,Goto(s|11)
exten => sw-45-ANSWER,10,Goto(s|11)
exten => sw-45-BUSY,10,Voicemail(b${ext})
exten => sw-45-BUSY,11,Goto(s|11)
exten => sw-45-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-45-DONTCALL,11,Goto(s|11)
exten => sw-45-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-45-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_44]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-46-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_44-46)
exten => _sw-46-.,10,Voicemail(u${ext})
exten => _sw-46-.,11,Goto(s|11)
exten => sw-46-,10,Goto(sw-46-.|10)
exten => sw-46-NOANSWER,10,Voicemail(u${ext})
exten => sw-46-NOANSWER,11,Goto(s|11)
exten => sw-46-ANSWER,10,Goto(s|11)
exten => sw-46-BUSY,10,Voicemail(b${ext})
exten => sw-46-BUSY,11,Goto(s|11)
exten => sw-46-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-46-DONTCALL,11,Goto(s|11)
exten => sw-46-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-46-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_45]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-47-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_45-47)
exten => _sw-47-.,10,Voicemail(u${ext})
exten => _sw-47-.,11,Goto(s|11)
exten => sw-47-,10,Goto(sw-47-.|10)
exten => sw-47-NOANSWER,10,Voicemail(u${ext})
exten => sw-47-NOANSWER,11,Goto(s|11)
exten => sw-47-ANSWER,10,Goto(s|11)
exten => sw-47-BUSY,10,Voicemail(b${ext})
exten => sw-47-BUSY,11,Goto(s|11)
exten => sw-47-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-47-DONTCALL,11,Goto(s|11)
exten => sw-47-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-47-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_46]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-48-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_46-48)
exten => _sw-48-.,10,Voicemail(u${ext})
exten => _sw-48-.,11,Goto(s|11)
exten => sw-48-,10,Goto(sw-48-.|10)
exten => sw-48-NOANSWER,10,Voicemail(u${ext})
exten => sw-48-NOANSWER,11,Goto(s|11)
exten => sw-48-ANSWER,10,Goto(s|11)
exten => sw-48-BUSY,10,Voicemail(b${ext})
exten => sw-48-BUSY,11,Goto(s|11)
exten => sw-48-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-48-DONTCALL,11,Goto(s|11)
exten => sw-48-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-48-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_47]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-49-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_47-49)
exten => _sw-49-.,10,Voicemail(u${ext})
exten => _sw-49-.,11,Goto(s|11)
exten => sw-49-,10,Goto(sw-49-.|10)
exten => sw-49-NOANSWER,10,Voicemail(u${ext})
exten => sw-49-NOANSWER,11,Goto(s|11)
exten => sw-49-ANSWER,10,Goto(s|11)
exten => sw-49-BUSY,10,Voicemail(b${ext})
exten => sw-49-BUSY,11,Goto(s|11)
exten => sw-49-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-49-DONTCALL,11,Goto(s|11)
exten => sw-49-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-49-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_48]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-50-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_48-50)
exten => _sw-50-.,10,Voicemail(u${ext})
exten => _sw-50-.,11,Goto(s|11)
exten => sw-50-,10,Goto(sw-50-.|10)
exten => sw-50-NOANSWER,10,Voicemail(u${ext})
exten => sw-50-NOANSWER,11,Goto(s|11)
exten => sw-50-ANSWER,10,Goto(s|11)
exten => sw-50-BUSY,10,Voicemail(b${ext})
exten => sw-50-BUSY,11,Goto(s|11)
exten => sw-50-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-50-DONTCALL,11,Goto(s|11)
exten => sw-50-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-50-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_49]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-51-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_49-51)
exten => _sw-51-.,10,Voicemail(u${ext})
exten => _sw-51-.,11,Goto(s|11)
exten => sw-51-,10,Goto(sw-51-.|10)
exten => sw-51-NOANSWER,10,Voicemail(u${ext})
exten => sw-51-NOANSWER,11,Goto(s|11)
exten => sw-51-ANSWER,10,Goto(s|11)
exten => sw-51-BUSY,10,Voicemail(b${ext})
exten => sw-51-BUSY,11,Goto(s|11)
exten => sw-51-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-51-DONTCALL,11,Goto(s|11)
exten => sw-51-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-51-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_50]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-52-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_50-52)
exten => _sw-52-.,10,Voicemail(u${ext})
exten => _sw-52-.,11,Goto(s|11)
exten => sw-52-,10,Goto(sw-52-.|10)
exten => sw-52-NOANSWER,10,Voicemail(u${ext})
exten => sw-52-NOANSWER,11,Goto(s|11)
exten => sw-52-ANSWER,10,Goto(s|11)
exten => sw-52-BUSY,10,Voicemail(b${ext})
exten => sw-52-BUSY,11,Goto(s|11)
exten => sw-52-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-52-DONTCALL,11,Goto(s|11)
exten => sw-52-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-52-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_51]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-53-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_51-53)
exten => _sw-53-.,10,Voicemail(u${ext})
exten => _sw-53-.,11,Goto(s|11)
exten => sw-53-,10,Goto(sw-53-.|10)
exten => sw-53-NOANSWER,10,Voicemail(u${ext})
exten => sw-53-NOANSWER,11,Goto(s|11)
exten => sw-53-ANSWER,10,Goto(s|11)
exten => sw-53-BUSY,10,Voicemail(b${ext})
exten => sw-53-BUSY,11,Goto(s|11)
exten => sw-53-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-53-DONTCALL,11,Goto(s|11)
exten => sw-53-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-53-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_52]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-54-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_52-54)
exten => _sw-54-.,10,Voicemail(u${ext})
exten => _sw-54-.,11,Goto(s|11)
exten => sw-54-,10,Goto(sw-54-.|10)
exten => sw-54-NOANSWER,10,Voicemail(u${ext})
exten => sw-54-NOANSWER,11,Goto(s|11)
exten => sw-54-ANSWER,10,Goto(s|11)
exten => sw-54-BUSY,10,Voicemail(b${ext})
exten => sw-54-BUSY,11,Goto(s|11)
exten => sw-54-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-54-DONTCALL,11,Goto(s|11)
exten => sw-54-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-54-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_53]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-55-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_53-55)
exten => _sw-55-.,10,Voicemail(u${ext})
exten => _sw-55-.,11,Goto(s|11)
exten => sw-55-,10,Goto(sw-55-.|10)
exten => sw-55-NOANSWER,10,Voicemail(u${ext})
exten => sw-55-NOANSWER,11,Goto(s|11)
exten => sw-55-ANSWER,10,Goto(s|11)
exten => sw-55-BUSY,10,Voicemail(b${ext})
exten => sw-55-BUSY,11,Goto(s|11)
exten => sw-55-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-55-DONTCALL,11,Goto(s|11)
exten => sw-55-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-55-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_54]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-56-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_54-56)
exten => _sw-56-.,10,Voicemail(u${ext})
exten => _sw-56-.,11,Goto(s|11)
exten => sw-56-,10,Goto(sw-56-.|10)
exten => sw-56-NOANSWER,10,Voicemail(u${ext})
exten => sw-56-NOANSWER,11,Goto(s|11)
exten => sw-56-ANSWER,10,Goto(s|11)
exten => sw-56-BUSY,10,Voicemail(b${ext})
exten => sw-56-BUSY,11,Goto(s|11)
exten => sw-56-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-56-DONTCALL,11,Goto(s|11)
exten => sw-56-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-56-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_55]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-57-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_55-57)
exten => _sw-57-.,10,Voicemail(u${ext})
exten => _sw-57-.,11,Goto(s|11)
exten => sw-57-,10,Goto(sw-57-.|10)
exten => sw-57-NOANSWER,10,Voicemail(u${ext})
exten => sw-57-NOANSWER,11,Goto(s|11)
exten => sw-57-ANSWER,10,Goto(s|11)
exten => sw-57-BUSY,10,Voicemail(b${ext})
exten => sw-57-BUSY,11,Goto(s|11)
exten => sw-57-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-57-DONTCALL,11,Goto(s|11)
exten => sw-57-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-57-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_56]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-58-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_56-58)
exten => _sw-58-.,10,Voicemail(u${ext})
exten => _sw-58-.,11,Goto(s|11)
exten => sw-58-,10,Goto(sw-58-.|10)
exten => sw-58-NOANSWER,10,Voicemail(u${ext})
exten => sw-58-NOANSWER,11,Goto(s|11)
exten => sw-58-ANSWER,10,Goto(s|11)
exten => sw-58-BUSY,10,Voicemail(b${ext})
exten => sw-58-BUSY,11,Goto(s|11)
exten => sw-58-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-58-DONTCALL,11,Goto(s|11)
exten => sw-58-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-58-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_57]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-59-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_57-59)
exten => _sw-59-.,10,Voicemail(u${ext})
exten => _sw-59-.,11,Goto(s|11)
exten => sw-59-,10,Goto(sw-59-.|10)
exten => sw-59-NOANSWER,10,Voicemail(u${ext})
exten => sw-59-NOANSWER,11,Goto(s|11)
exten => sw-59-ANSWER,10,Goto(s|11)
exten => sw-59-BUSY,10,Voicemail(b${ext})
exten => sw-59-BUSY,11,Goto(s|11)
exten => sw-59-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-59-DONTCALL,11,Goto(s|11)
exten => sw-59-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-59-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_58]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-60-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_58-60)
exten => _sw-60-.,10,Voicemail(u${ext})
exten => _sw-60-.,11,Goto(s|11)
exten => sw-60-,10,Goto(sw-60-.|10)
exten => sw-60-NOANSWER,10,Voicemail(u${ext})
exten => sw-60-NOANSWER,11,Goto(s|11)
exten => sw-60-ANSWER,10,Goto(s|11)
exten => sw-60-BUSY,10,Voicemail(b${ext})
exten => sw-60-BUSY,11,Goto(s|11)
exten => sw-60-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-60-DONTCALL,11,Goto(s|11)
exten => sw-60-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-60-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_59]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-61-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_59-61)
exten => _sw-61-.,10,Voicemail(u${ext})
exten => _sw-61-.,11,Goto(s|11)
exten => sw-61-,10,Goto(sw-61-.|10)
exten => sw-61-NOANSWER,10,Voicemail(u${ext})
exten => sw-61-NOANSWER,11,Goto(s|11)
exten => sw-61-ANSWER,10,Goto(s|11)
exten => sw-61-BUSY,10,Voicemail(b${ext})
exten => sw-61-BUSY,11,Goto(s|11)
exten => sw-61-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-61-DONTCALL,11,Goto(s|11)
exten => sw-61-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-61-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_60]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-62-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_60-62)
exten => _sw-62-.,10,Voicemail(u${ext})
exten => _sw-62-.,11,Goto(s|11)
exten => sw-62-,10,Goto(sw-62-.|10)
exten => sw-62-NOANSWER,10,Voicemail(u${ext})
exten => sw-62-NOANSWER,11,Goto(s|11)
exten => sw-62-ANSWER,10,Goto(s|11)
exten => sw-62-BUSY,10,Voicemail(b${ext})
exten => sw-62-BUSY,11,Goto(s|11)
exten => sw-62-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-62-DONTCALL,11,Goto(s|11)
exten => sw-62-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-62-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_61]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-63-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_61-63)
exten => _sw-63-.,10,Voicemail(u${ext})
exten => _sw-63-.,11,Goto(s|11)
exten => sw-63-,10,Goto(sw-63-.|10)
exten => sw-63-NOANSWER,10,Voicemail(u${ext})
exten => sw-63-NOANSWER,11,Goto(s|11)
exten => sw-63-ANSWER,10,Goto(s|11)
exten => sw-63-BUSY,10,Voicemail(b${ext})
exten => sw-63-BUSY,11,Goto(s|11)
exten => sw-63-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-63-DONTCALL,11,Goto(s|11)
exten => sw-63-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-63-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_62]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-64-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_62-64)
exten => _sw-64-.,10,Voicemail(u${ext})
exten => _sw-64-.,11,Goto(s|11)
exten => sw-64-,10,Goto(sw-64-.|10)
exten => sw-64-NOANSWER,10,Voicemail(u${ext})
exten => sw-64-NOANSWER,11,Goto(s|11)
exten => sw-64-ANSWER,10,Goto(s|11)
exten => sw-64-BUSY,10,Voicemail(b${ext})
exten => sw-64-BUSY,11,Goto(s|11)
exten => sw-64-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-64-DONTCALL,11,Goto(s|11)
exten => sw-64-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-64-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_63]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-65-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_63-65)
exten => _sw-65-.,10,Voicemail(u${ext})
exten => _sw-65-.,11,Goto(s|11)
exten => sw-65-,10,Goto(sw-65-.|10)
exten => sw-65-NOANSWER,10,Voicemail(u${ext})
exten => sw-65-NOANSWER,11,Goto(s|11)
exten => sw-65-ANSWER,10,Goto(s|11)
exten => sw-65-BUSY,10,Voicemail(b${ext})
exten => sw-65-BUSY,11,Goto(s|11)
exten => sw-65-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-65-DONTCALL,11,Goto(s|11)
exten => sw-65-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-65-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_64]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-66-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_64-66)
exten => _sw-66-.,10,Voicemail(u${ext})
exten => _sw-66-.,11,Goto(s|11)
exten => sw-66-,10,Goto(sw-66-.|10)
exten => sw-66-NOANSWER,10,Voicemail(u${ext})
exten => sw-66-NOANSWER,11,Goto(s|11)
exten => sw-66-ANSWER,10,Goto(s|11)
exten => sw-66-BUSY,10,Voicemail(b${ext})
exten => sw-66-BUSY,11,Goto(s|11)
exten => sw-66-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-66-DONTCALL,11,Goto(s|11)
exten => sw-66-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-66-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_65]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-67-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_65-67)
exten => _sw-67-.,10,Voicemail(u${ext})
exten => _sw-67-.,11,Goto(s|11)
exten => sw-67-,10,Goto(sw-67-.|10)
exten => sw-67-NOANSWER,10,Voicemail(u${ext})
exten => sw-67-NOANSWER,11,Goto(s|11)
exten => sw-67-ANSWER,10,Goto(s|11)
exten => sw-67-BUSY,10,Voicemail(b${ext})
exten => sw-67-BUSY,11,Goto(s|11)
exten => sw-67-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-67-DONTCALL,11,Goto(s|11)
exten => sw-67-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-67-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_66]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-68-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_66-68)
exten => _sw-68-.,10,Voicemail(u${ext})
exten => _sw-68-.,11,Goto(s|11)
exten => sw-68-,10,Goto(sw-68-.|10)
exten => sw-68-NOANSWER,10,Voicemail(u${ext})
exten => sw-68-NOANSWER,11,Goto(s|11)
exten => sw-68-ANSWER,10,Goto(s|11)
exten => sw-68-BUSY,10,Voicemail(b${ext})
exten => sw-68-BUSY,11,Goto(s|11)
exten => sw-68-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-68-DONTCALL,11,Goto(s|11)
exten => sw-68-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-68-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_67]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-69-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_67-69)
exten => _sw-69-.,10,Voicemail(u${ext})
exten => _sw-69-.,11,Goto(s|11)
exten => sw-69-,10,Goto(sw-69-.|10)
exten => sw-69-NOANSWER,10,Voicemail(u${ext})
exten => sw-69-NOANSWER,11,Goto(s|11)
exten => sw-69-ANSWER,10,Goto(s|11)
exten => sw-69-BUSY,10,Voicemail(b${ext})
exten => sw-69-BUSY,11,Goto(s|11)
exten => sw-69-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-69-DONTCALL,11,Goto(s|11)
exten => sw-69-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-69-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_68]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-70-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_68-70)
exten => _sw-70-.,10,Voicemail(u${ext})
exten => _sw-70-.,11,Goto(s|11)
exten => sw-70-,10,Goto(sw-70-.|10)
exten => sw-70-NOANSWER,10,Voicemail(u${ext})
exten => sw-70-NOANSWER,11,Goto(s|11)
exten => sw-70-ANSWER,10,Goto(s|11)
exten => sw-70-BUSY,10,Voicemail(b${ext})
exten => sw-70-BUSY,11,Goto(s|11)
exten => sw-70-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-70-DONTCALL,11,Goto(s|11)
exten => sw-70-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-70-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_69]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-71-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_69-71)
exten => _sw-71-.,10,Voicemail(u${ext})
exten => _sw-71-.,11,Goto(s|11)
exten => sw-71-,10,Goto(sw-71-.|10)
exten => sw-71-NOANSWER,10,Voicemail(u${ext})
exten => sw-71-NOANSWER,11,Goto(s|11)
exten => sw-71-ANSWER,10,Goto(s|11)
exten => sw-71-BUSY,10,Voicemail(b${ext})
exten => sw-71-BUSY,11,Goto(s|11)
exten => sw-71-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-71-DONTCALL,11,Goto(s|11)
exten => sw-71-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-71-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_70]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-72-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_70-72)
exten => _sw-72-.,10,Voicemail(u${ext})
exten => _sw-72-.,11,Goto(s|11)
exten => sw-72-,10,Goto(sw-72-.|10)
exten => sw-72-NOANSWER,10,Voicemail(u${ext})
exten => sw-72-NOANSWER,11,Goto(s|11)
exten => sw-72-ANSWER,10,Goto(s|11)
exten => sw-72-BUSY,10,Voicemail(b${ext})
exten => sw-72-BUSY,11,Goto(s|11)
exten => sw-72-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-72-DONTCALL,11,Goto(s|11)
exten => sw-72-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-72-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_71]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-73-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_71-73)
exten => _sw-73-.,10,Voicemail(u${ext})
exten => _sw-73-.,11,Goto(s|11)
exten => sw-73-,10,Goto(sw-73-.|10)
exten => sw-73-NOANSWER,10,Voicemail(u${ext})
exten => sw-73-NOANSWER,11,Goto(s|11)
exten => sw-73-ANSWER,10,Goto(s|11)
exten => sw-73-BUSY,10,Voicemail(b${ext})
exten => sw-73-BUSY,11,Goto(s|11)
exten => sw-73-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-73-DONTCALL,11,Goto(s|11)
exten => sw-73-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-73-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_72]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-74-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_72-74)
exten => _sw-74-.,10,Voicemail(u${ext})
exten => _sw-74-.,11,Goto(s|11)
exten => sw-74-,10,Goto(sw-74-.|10)
exten => sw-74-NOANSWER,10,Voicemail(u${ext})
exten => sw-74-NOANSWER,11,Goto(s|11)
exten => sw-74-ANSWER,10,Goto(s|11)
exten => sw-74-BUSY,10,Voicemail(b${ext})
exten => sw-74-BUSY,11,Goto(s|11)
exten => sw-74-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-74-DONTCALL,11,Goto(s|11)
exten => sw-74-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-74-TORTURE,11,Goto(s|11)


[macro-std-priv-exten_73]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-75-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten_73-75)
exten => _sw-75-.,10,Voicemail(u${ext})
exten => _sw-75-.,11,Goto(s|11)
exten => sw-75-,10,Goto(sw-75-.|10)
exten => sw-75-NOANSWER,10,Voicemail(u${ext})
exten => sw-75-NOANSWER,11,Goto(s|11)
exten => sw-75-ANSWER,10,Goto(s|11)
exten => sw-75-BUSY,10,Voicemail(b${ext})
exten => sw-75-BUSY,11,Goto(s|11)
exten => sw-75-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-75-DONTCALL,11,Goto(s|11)
exten => sw-75-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-75-TORTURE,11,Goto(s|11)


[macro-std-priv-exten]
exten => s,1,Set(dev=${ARG1})
exten => s,2,Set(ext=${ARG2})
exten => s,3,Set(timeout=${ARG3})
exten => s,4,Set(opts=${ARG4})
exten => s,5,Set(torcont=${ARG5})
exten => s,6,Set(dontcont=${ARG6})
exten => s,7,Set(~~EXTEN~~=${EXTEN})
exten => s,8,Dial(${dev}|${timeout}|${opts})
exten => s,9,NoOp(${DIALSTATUS} was chosen)
exten => s,10,Goto(sw-76-${DIALSTATUS}|10)
exten => s,11,NoOp(Finish switch-std-priv-exten-76)
exten => _sw-76-.,10,Voicemail(u${ext})
exten => _sw-76-.,11,Goto(s|11)
exten => sw-76-,10,Goto(sw-76-.|10)
exten => sw-76-NOANSWER,10,Voicemail(u${ext})
exten => sw-76-NOANSWER,11,Goto(s|11)
exten => sw-76-ANSWER,10,Goto(s|11)
exten => sw-76-BUSY,10,Voicemail(b${ext})
exten => sw-76-BUSY,11,Goto(s|11)
exten => sw-76-DONTCALL,10,Goto(${dontcont}|s|begin)
exten => sw-76-DONTCALL,11,Goto(s|11)
exten => sw-76-TORTURE,10,Goto(${torcont}|s|begin)
exten => sw-76-TORTURE,11,Goto(s|11)


[macro-fillcidname]
exten => s,1,GotoIf($["${CALLERID(number)}" = "" ]?2:3)
exten => s,2,Goto(13)
exten => s,3,NoOp(Finish if-fillcidname-77)
exten => s,4,Set(cidn=${DB(cidname/${CALLERID(num)})})
exten => s,5,GotoIf($["${CALLERID(name)}" != "" ]?6:9)
exten => s,6,GotoIf($[("${cidn}" = "Privacy Manager" & "${CALLERID(name)}" != "Privacy Manager") | "${cidn}" = "" ]?7:8)
exten => s,7,Set(DB(cidname/${CALLERID(number)})=${CALLERID(name)})
exten => s,8,NoOp(Finish if-if-fillcidname-78-79)
exten => s,9,NoOp(Finish if-fillcidname-78)
exten => s,10,GotoIf($[( "${cidn}" != "" ) & ( "${CALLERID(name)}" = ""                                                    | "${CALLERID(name)}" = "CODY|WY        "                                                       | "${CALLERID(name)}" = "POWELL|WY      "                                                       | "${CALLERID(name)}" = "WIRELESS CALLER"                                                     | "${CALLERID(name)}" = "SUBSCRIBER|WIRE"                                                     | "${CALLERID(name)}" = "CELLULAR ONE"                                                     | "${CALLERID(name)}" = "Cellular One Customer"                                                       | "${CALLERID(name)}" = "CELLULAR ONE   "                                                       | "${CALLERID(name)}" = "Privacy Manager"                                                    | "${CALLERID(name)}" = "RIVERTON|WY    "                                                     | "${CALLERID(name)}" = "BASIN|WY       "                                                     | "${CALLERID(name)}" = "BILLINGS|MT    "                                                   | "${CALLERID(name)}" = "PROVO|UT       "                                                     | "${CALLERID(name)}" = "TOLL FREE      " ) ]?11:12)
exten => s,11,Set(CALLERID(name)=${cidn})
exten => s,12,NoOp(Finish if-fillcidname-80)
exten => s,13,NoOp(End of Macro fillcidname-s)


[macro-ciddial]
exten => s,1,Set(dialnum=${ARG1})
exten => s,2,Set(lookup=${ARG2})
exten => s,3,Set(waittime=${ARG3})
exten => s,4,Set(dialopts=${ARG4})
exten => s,5,Set(ddev=${ARG5})
exten => s,6,Set(cidnu=${CALLERID(num)})
exten => s,7,Set(cidn=${DB(cidname/${lookup})})
exten => s,8,Set(CALLERID(name)=${cidn})
exten => s,9,Dial(${ddev}/${dialnum}|${waittime}|${dialopts})
exten => s,10,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL" ]?11:19)
exten => s,11,BackGround(try_voip)
exten => s,12,Set(CALLERID(num)=$[7075679201])
exten => s,13,Dial(SIP/1${lookup}@tctwest|${waittime}|${dialopts})
exten => s,14,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL" ]?15:18)
exten => s,15,BackGround(try_cell)
exten => s,16,Set(CALLERID(num)=$[${cidnu}])
exten => s,17,Dial(Zap/2/${lookup}|${waittime}|${dialopts})
exten => s,18,NoOp(Finish if-if-ciddial-81-82)
exten => s,19,NoOp(Finish if-ciddial-81)


[macro-ciddial3]
exten => s,1,Set(dialnum=${ARG1})
exten => s,2,Set(lookup=${ARG2})
exten => s,3,Set(waittime=${ARG3})
exten => s,4,Set(dialopts=${ARG4})
exten => s,5,Set(ddev=${ARG5})
exten => s,6,Set(cidnu=${CALLERID(num)})
exten => s,7,Set(cidn=${DB(cidname/${lookup})})
exten => s,8,Set(CALLERID(name)=${cidn})
exten => s,9,Dial(${ddev}/${dialnum}|${waittime}|${dialopts})
exten => s,10,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL" ]?11:13)
exten => s,11,BackGround(try_cell)
exten => s,12,Dial(Zap/2/${lookup}|${waittime}|${dialopts})
exten => s,13,NoOp(Finish if-ciddial3-83)


[macro-ciddial2]
exten => s,1,Set(dialnum=${ARG1})
exten => s,2,Set(lookup=${ARG2})
exten => s,3,Set(waittime=${ARG3})
exten => s,4,Set(dialopts=${ARG4})
exten => s,5,Set(ddev=${ARG5})
exten => s,6,Set(cidn=${DB(cidname/${lookup})})
exten => s,7,Set(cidnu=${CALLERID(num)})
exten => s,8,Set(CALLERID(name)=${cidn})
exten => s,9,Set(CALLERID(num)=7075679201)
exten => s,10,Dial(SIP/1${lookup}@tctwest|${waittime}|${dialopts})
exten => s,11,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL" ]?12:19)
exten => s,12,Set(CALLERID(num)=${cidnu})
exten => s,13,BackGround(try_zap)
exten => s,14,Dial(${ddev}/${dialnum}|${waittime}|${dialopts})
exten => s,15,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL" ]?16:18)
exten => s,16,BackGround(try_cell)
exten => s,17,Dial(Zap/2/${lookup}|${waittime}|${dialopts})
exten => s,18,NoOp(Finish if-if-ciddial2-84-85)
exten => s,19,NoOp(Finish if-ciddial2-84)


[macro-callerid-liar]
exten => s,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/priv-callerintros/LIAR.gsm&)
exten => s,2,Background(priv-liar)
exten => s,3,Hangup()


[macro-callerid-bad]
exten => s,1,Set(mycid=$[${CALLERID(num)}:"1([0-9]+)"])
exten => s,2,Set(CALLERID(num)=${mycid})
exten => s,3,Wait(0)


[privacyManagerFailed]
exten => s,1(begin),Background(PrivManInstructions)
exten => s,2,PrivacyManager()
exten => s,3,GotoIf($["${PRIVACYMGRSTATUS}" = "FAILED" ]?4:11)
exten => s,4,Background(tt-allbusy)
exten => s,5,Background(tt-somethingwrong)
exten => s,6,Background(tt-monkeysintro)
exten => s,7,Background(tt-monkeys)
exten => s,8,Background(tt-weasels)
exten => s,9,Hangup()
exten => s,10,Goto(12)
exten => s,11,Goto(homeline|s|postPriv)
exten => s,12,NoOp(Finish if-privacyManagerFailed-86)


[homeline]
exten => s,1,Set(~~EXTEN~~=${EXTEN})
exten => s,2(begin),Answer()
exten => s,3,Set(repeatcount=0)
exten => s,4,Zapateller(nocallerid)
exten => s,5,PrivacyManager()
exten => s,6,GotoIf($["${PRIVACYMGRSTATUS}" = "FAILED" ]?7:11)
exten => s,7,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/privmanfailed.gsm)
exten => s,8,Macro(std-priv-exten|Zap/3r1&Zap/5r1|2|25|mtw|telemarket|telemarket)
exten => s,9,Hangup()
exten => s,10,Goto(105)
exten => s,11,NoOp(Finish if-homeline-87)
exten => s,12(postPriv),Macro(fillcidname)
exten => s,13,Set(CONFCIDNA=${CALLERID(name)})
exten => s,14,Set(CONFCIDNU=${CALLERID(num)})
exten => s,15,AGI(callall)
exten => s,16,AGI(submit-announce.agi)
exten => s,17,GotoIf($["${CALLERID(num)}" : "1" ]?18:19)
exten => s,18,Macro(callerid-bad)
exten => s,19,NoOp(Finish if-homeline-88)
exten => s,20,GotoIf($["${CALLERID(num)}"  = "7077577685" & "${CALLERID(name)}" : "Privacy Manager" ]?21:22)
exten => s,21,Macro(callerid-liar)
exten => s,22,NoOp(Finish if-homeline-89)
exten => s,23,TrySystem(/usr/local/bin/who-is-it ${CALLERID(num)} "${CALLERID(name)}"&)
exten => s,24,Set(lds=${DB(playlds/${CALLERID(num)})})
exten => s,25,GotoIf($["${lds}" = "1" ]?26:27)
exten => s,26,SetMusicOnHold(mohlds)
exten => s,27,NoOp(Finish if-homeline-90)
exten => s,28,Set(direct=$[${DB(DirectCall/${CALLERID(num)})}])
exten => s,29,GotoIf($["${direct}" != "" & ${direct} != 0 ]?30:37)
exten => s,30,verbose(direct is XXX#${direct}XXXX)
exten => s,31,Playback(greetings/direct)
exten => s,32,Playback(/var/spool/asterisk/voicemail/default/${direct}/greet)
exten => s,33,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
exten => s,34,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/${direct}/greet.wav&)
exten => s,35,Goto(sw-92-${direct}|10)
exten => s,36,NoOp(Finish switch-if-homeline-91-92)
exten => s,37,NoOp(Finish if-homeline-91)
exten => s,38(loopback),GotoIfTime(*|*|20-25|dec?40)
exten => s,39,Goto(42)
exten => s,40,Playback(greetings/christmas)
exten => s,41,Goto(103)
exten => s,42,GotoIfTime(*|*|31|dec?44)
exten => s,43,Goto(46)
exten => s,44,Playback(greetings/newyear)
exten => s,45,Goto(102)
exten => s,46,GotoIfTime(*|*|1|jan?48)
exten => s,47,Goto(50)
exten => s,48,Playback(greetings/newyear)
exten => s,49,Goto(101)
exten => s,50,GotoIfTime(*|*|14|feb?52)
exten => s,51,Goto(54)
exten => s,52,Playback(greetings/valentines)
exten => s,53,Goto(100)
exten => s,54,GotoIfTime(*|*|17|mar?56)
exten => s,55,Goto(58)
exten => s,56,Playback(greetings/stPat)
exten => s,57,Goto(99)
exten => s,58,GotoIfTime(*|*|31|oct?60)
exten => s,59,Goto(62)
exten => s,60,Playback(greetings/halloween)
exten => s,61,Goto(98)
exten => s,62,GotoIfTime(*|mon|15-21|jan?64)
exten => s,63,Goto(66)
exten => s,64,Playback(greetings/mlkDay)
exten => s,65,Goto(97)
exten => s,66,GotoIfTime(*|thu|22-28|nov?68)
exten => s,67,Goto(70)
exten => s,68,Playback(greetings/thanksgiving)
exten => s,69,Goto(96)
exten => s,70,GotoIfTime(*|mon|25-31|may?72)
exten => s,71,Goto(74)
exten => s,72,Playback(greetings/memorial)
exten => s,73,Goto(95)
exten => s,74,GotoIfTime(*|mon|1-7|sep?76)
exten => s,75,Goto(78)
exten => s,76,Playback(greetings/labor)
exten => s,77,Goto(94)
exten => s,78,GotoIfTime(*|mon|15-21|feb?80)
exten => s,79,Goto(82)
exten => s,80,Playback(greetings/president)
exten => s,81,Goto(93)
exten => s,82,GotoIfTime(*|sun|8-14|may?84)
exten => s,83,Goto(86)
exten => s,84,Playback(greetings/mothers)
exten => s,85,Goto(92)
exten => s,86,GotoIfTime(*|sun|15-21|jun?88)
exten => s,87,Goto(90)
exten => s,88,Playback(greetings/fathers)
exten => s,89,Goto(91)
exten => s,90,Playback(greetings/hello)
exten => s,91,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99-100-101-102-103-104-105)
exten => s,92,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99-100-101-102-103-104)
exten => s,93,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99-100-101-102-103)
exten => s,94,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99-100-101-102)
exten => s,95,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99-100-101)
exten => s,96,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99-100)
exten => s,97,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98-99)
exten => s,98,NoOp(Finish iftime-iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97-98)
exten => s,99,NoOp(Finish iftime-iftime-iftime-iftime-iftime-homeline-93-94-95-96-97)
exten => s,100,NoOp(Finish iftime-iftime-iftime-iftime-homeline-93-94-95-96)
exten => s,101,NoOp(Finish iftime-iftime-iftime-homeline-93-94-95)
exten => s,102,NoOp(Finish iftime-iftime-homeline-93-94)
exten => s,103,NoOp(Finish iftime-homeline-93)
exten => s,104,Background(murphy-homeline-intro1)
exten => s,105,NoOp(End of Extension s)
exten => _sw-92-.,10,Set(z=${direct}-2)
exten => _sw-92-.,11,Goto(homeline-kids|${z}|1)
exten => sw-92-,10,Goto(sw-92-.|10)
exten => sw-92-2,10,Macro(std-priv-exten|Zap/3r1&Zap/5r1|2|25|mtw|telemarket|telemarket)
exten => sw-92-2,11,Goto(s|loopback)
exten => sw-92-1,10,Macro(std-priv-exten|Zap/6r3&Sip/murf|1|25|mpA(beep)tw|telemarket|telemarket)
exten => sw-92-1,11,Goto(s|loopback)
exten => 1,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
exten => 1,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/2/greet.wav&)
exten => 1,3,Macro(std-priv-exten|Zap/3r1&Zap/5r1|2|25|mtw|telemarket|telemarket)
exten => 1,4,Goto(s|loopback)
exten => 2,1,Goto(homeline-kids|s|begin)
exten => 21,1,Dial(IAX2/seaniax|20|T)
exten => 3,1,Macro(std-priv-exten|Zap/6r3&Sip/murf|1|25|mpA(beep)tw|telemarket|telemarket)
exten => 3,2,Goto(s|loopback)
exten => 4,1,VoicemailMain()
exten => 4,2,Goto(s|loopback)
exten => 5,1,Goto(home-introduction|s|begin)
exten => 6,1,Goto(telemarket|s|begin)
exten => 7,1,agi(tts-riddle.agi)
exten => 7,2,Background(gsm/what-time-it-is2)
exten => 7,3,SayUnixTime()
exten => 7,4,Goto(s|loopback)
exten => 792,1,Goto(pageall|s|begin)
exten => 793,1,Read(zz||0||1|0)
exten => 793,2,SayDigits(${zz})
exten => t,1,Set(repeatcount=${repeatcount} + 1)
exten => t,2,GotoIf($[${repeatcount} < 3 ]?3:4)
exten => t,3,Goto(s|loopback)
exten => t,4,NoOp(Finish if-homeline-106)
exten => t,5,Hangup()
exten => i,1,Background(invalid)
exten => i,2,Goto(s|loopback)
exten => o,1,Congestion()
exten => fax,1,Dial(Zap/4)


[pageall]
exten => s,1(begin),AGI(callall)
exten => s,2,MeetMe(5555|dtqp)
exten => s,3,MeetMeAdmin(5555|K)
exten => s,4,Hangup()
exten => h,1(begin),MeetMeAdmin(5555|K)
exten => h,2,Background(conf-muted)
exten => h,3,Hangup()


[add-to-conference]
exten => start,1,NoCDR()
exten => start,2,MeetMe(5555|dmqp)
exten => h,1,Hangup()


[home-introduction]
exten => s,1(begin),Background(intro-options)
exten => 1,1,Playback(priv-callerintros/${CALLERID(num)})
exten => 1,2,Goto(s|begin)
exten => 2,1,Goto(home-introduction-record|s|begin)
exten => 3,1,Goto(homeline|s|loopback)
exten => 4,1,Playback(intro-intro)
exten => 4,2,Goto(s|begin)
exten => t,1,Goto(s|begin)
exten => i,1,Background(invalid)
exten => i,2,Goto(s|begin)
exten => o,1,Goto(s|begin)


[home-introduction-record]
exten => s,1(begin),Background(intro-record-choices)
exten => 1,1,Playback(intro-record)
exten => 1,2,Goto(2|begin)
exten => 2,1(begin),Background(intro-start)
exten => 2,2,Background(beep)
exten => 2,3,Record(priv-callerintros/${CALLERID(num)}:gsm|3)
exten => 2,4,Background(priv-callerintros/${CALLERID(num)})
exten => 2,5,Goto(home-introduction|s|begin)
exten => t,1,Goto(s|begin)
exten => i,1,Background(invalid)
exten => i,2,Goto(s|begin)
exten => o,1,Goto(s|begin)


[homeline-kids]
exten => s,1(begin),Background(murphy-homeline-kids)
exten => 1,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
exten => 1,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/3/greet.wav&)
exten => 1,3,Macro(std-priv-exten|IAX2/seaniax&Zap/5r2|3|35|mtw|telemarket|telemarket)
exten => 1,4,Goto(homeline|s|loopback)
exten => 2,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
exten => 2,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/4/greet.wav&)
exten => 2,3,Voicemail(u4)
exten => 2,4,Goto(homeline|s|loopback)
exten => 3,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
exten => 3,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/5/greet.wav&)
exten => 3,3,Macro(std-priv-exten|Zap/3r2&Zap/5r2|5|35|mtw|telemarket|telemarket)
exten => 3,4,Goto(homeline|s|loopback)
exten => 4,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
exten => 4,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/6/greet.wav&)
exten => 4,3,Macro(std-priv-exten|Zap/3r2&Zap/5r2|6|35|mtw|telemarket|telemarket)
exten => 4,4,Goto(homeline|s|loopback)
exten => 5,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
exten => 5,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/7/greet.wav&)
exten => 5,3,Macro(std-priv-exten|Zap/3r2&Zap/5r2|7|35|mtw|telemarket|telemarket)
exten => 5,4,Goto(homeline|s|loopback)
exten => 6,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
exten => 6,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/8/greet.wav&)
exten => 6,3,Macro(std-priv-exten|Zap/3r2&Zap/5r2|8|35|mtw|telemarket|telemarket)
exten => 6,4,Goto(homeline|s|loopback)
exten => 7,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
exten => 7,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/9/greet.wav&)
exten => 7,3,Macro(std-priv-exten|Zap/3r2&Zap/5r2|9|35|mtw|telemarket|telemarket)
exten => 7,4,Goto(homeline|s|loopback)
exten => t,1,Goto(s|begin)
exten => i,1,Background(invalid)
exten => i,2,Goto(s|begin)
exten => o,1,Goto(s|begin)


[voipworkline]
exten => s,1(begin),Answer()
exten => s,2,TrySystem(/usr/local/bin/who-is-it ${CALLERID(num)} "${CALLERID(name)}"&)
exten => s,3,Goto(workline|s|loopback)
exten => 7075679201,1,Answer()
exten => 7075679201,2,TrySystem(/usr/local/bin/who-is-it ${CALLERID(num)} "${CALLERID(name)}"&)
exten => 7075679201,3,Goto(workline|s|loopback)


[workline]
exten => s,1(begin),Answer()
exten => s,2,Wait(1)
exten => s,3,Set(repeatcount=0)
exten => s,4,Zapateller(nocallerid)
exten => s,5,Macro(fillcidname)
exten => s,6,TrySystem(/usr/local/bin/who-is-it ${CALLERID(num)} "${CALLERID(name)}"&)
exten => s,7(loopback),Background(greetings/greeting)
exten => s,8,Background(murphy-office-intro1)
exten => 1,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
exten => 1,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/1/greet.wav&)
exten => 1,3,Macro(std-priv-exten|Zap/6&Sip/murf|1|30|mtw|telemarket|telemarket)
exten => 1,4,Goto(s|loopback)
exten => 4,1,VoicemailMain()
exten => 4,2,Goto(s|loopback)
exten => 6,1,Goto(telemarket|s|begin)
exten => 793,1,Read(zz||0||1|0)
exten => 793,2,SayDigits(${zz})
exten => t,1,Set(repeatcount=$[${repeatcount} + 1])
exten => t,2,GotoIf($[${repeatcount} < 3 ]?3:4)
exten => t,3,Goto(s|loopback)
exten => t,4,NoOp(Finish if-workline-107)
exten => t,5,Hangup()
exten => i,1,Background(invalid)
exten => i,2,Goto(s|loopback)
exten => o,1,Congestion()
exten => fax,1,Answer()
exten => fax,2,Dial(Zap/4)


[dialFWD]
ignorepat => 8
ignorepat => 9
exten => _83.,1,Set(CALLERID(name)=${FWDCIDNAME})
exten => _83.,2,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:2}|60|r)
exten => _83.,3,Congestion()
exten => _82NXX,1,Set(CALLERID(name)=${FWDCIDNAME})
exten => _82NXX,2,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:2}|60|r)
exten => _82NXX,3,Congestion()
exten => _92NXX,1,Set(CALLERID(name)=${FWDCIDNAME})
exten => _92NXX,2,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:2}|60|r)
exten => _92NXX,3,Congestion()


[dialiaxtel]
ignorepat => 8
ignorepat => 9
exten => _81700NXXXXXX,1,Dial(IAX2/zorch:zilchnoodle@iaxtel.com/${EXTEN:1}@iaxtel)
exten => _81800NXXXXXX,1,Dial(IAX2/zorch:zilchnoodle@iaxtel.com/${EXTEN:1}@iaxtel)
exten => _91700NXXXXXX,1,Dial(IAX2/zorch:zilchnoodle@iaxtel.com/${EXTEN:1}@iaxtel)
exten => _91800NXXXXXX,1,Dial(IAX2/zorch:zilchnoodle@iaxtel.com/${EXTEN:1}@iaxtel)


[dialgoiax]
ignorepat => 9
exten => _93.,1,Set(CALLERID(name)="Joe Worker")
exten => _93.,2,Dial(IAX2/878201007658:stickyfinger295@server1.goiax.com/${EXTEN:2}|60|r)
exten => _93.,3,Congestion()


[homefirst]
ignorepat => 9
exten => _91NXXNXXXXXX,1,Macro(ciddial|${EXTEN:1}|${EXTEN:2}|30|TW|Zap/1)
exten => _9754XXXX,1,Macro(ciddial|${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9574XXXX,1,Macro(ciddial|${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9202XXXX,1,Macro(ciddial|${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9219XXXX,1,Macro(ciddial|${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9254XXXX,1,Macro(ciddial|${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9716XXXX,1,Macro(ciddial|${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9NXXXXXX,1,Macro(ciddial|1707${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9011.,1,Macro(ciddial|${EXTEN:1}|${EXTEN:1}|30|TW|Zap/1)
exten => _9911,1,Dial(Zap/1/911|30|T)
exten => _9411,1,Dial(Zap/1/411|30|T)


[workfirst]
ignorepat => 9
exten => _91NXXNXXXXXX,1,Macro(ciddial2|${EXTEN:1}|${EXTEN:2}|30|TW|Zap/1)
exten => _9754XXXX,1,Macro(ciddial2|${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9574XXXX,1,Macro(ciddial2|${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9202XXXX,1,Macro(ciddial2|${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9219XXXX,1,Macro(ciddial2|${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9254XXXX,1,Macro(ciddial2|${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9716XXXX,1,Macro(ciddial2|${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9NXXXXXX,1,Macro(ciddial2|1707${EXTEN:1}|707${EXTEN:1}|30|TW|Zap/1)
exten => _9911,1,Dial(Zap/1/911|30|T)
exten => _9411,1,Dial(Zap/1/411|30|T)


[force_cell]
ignorepat => 8
exten => _81NXXNXXXXXX,1,Macro(ciddial|${EXTEN:1}#|${EXTEN:2}|30|TW|Zap/2)
exten => _8754XXXX,1,Macro(ciddial|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/2)
exten => _8574XXXX,1,Macro(ciddial|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/2)
exten => _8202XXXX,1,Macro(ciddial|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/2)
exten => _8219XXXX,1,Macro(ciddial|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/2)
exten => _8254XXXX,1,Macro(ciddial|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/2)
exten => _8716XXXX,1,Macro(ciddial|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/2)
exten => _8NXXXXXX,1,Macro(ciddial|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/2)
exten => _8911,1,Dial(Zap/1/911|30|T)
exten => _8411,1,Dial(Zap/1/411|30|T)


[force_home]
ignorepat => 8
exten => _81NXXNXXXXXX,1,Macro(ciddial3|${EXTEN:1}#|${EXTEN:2}|30|TW|Zap/1)
exten => _8754XXXX,1,Macro(ciddial3|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/1)
exten => _8574XXXX,1,Macro(ciddial3|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/1)
exten => _8202XXXX,1,Macro(ciddial3|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/1)
exten => _8219XXXX,1,Macro(ciddial3|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/1)
exten => _8254XXXX,1,Macro(ciddial3|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/1)
exten => _8716XXXX,1,Macro(ciddial3|${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/1)
exten => _8NXXXXXX,1,Macro(ciddial3|1707${EXTEN:1}#|707${EXTEN:1}|30|TW|Zap/1)
exten => _8911,1,Dial(Zap/1/911|30|T)
exten => _8411,1,Dial(Zap/1/411|30|T)


[homeext]
ignorepat => 8
ignorepat => 9
include => parkedcalls
include => homefirst
include => force_cell
exten => s,1(loopback),Wait(0)
exten => 1,1,Macro(std-priv-exten|Zap/3&Zap/5|2|35|mtw|telemarket|telemarket)
exten => 1,2,Goto(s|loopback)
exten => 2,1,Macro(std-priv-exten|Zap/6&Zap/5|1|35|mpA(beep3)Tt|telemarket|telemarket)
exten => 2,2,Goto(s|loopback)
exten => 4,1,VoicemailMain()
exten => 5,1,Record(recording:gsm)
exten => 5,2,Background(recording)
exten => 6,1,Background(recording)
exten => 760,1,DateTime()
exten => 760,2,Goto(s|loopback)
exten => 761,1,Record(announcement:gsm)
exten => 761,2,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/announcement.gsm&)
exten => 761,3,Goto(s|loopback)
exten => 762,1,agi(tts-riddle.agi)
exten => 762,2,Background(gsm/what-time-it-is2)
exten => 762,3,SayUnixTime()
exten => 762,4,Goto(s|loopback)
exten => 763,1,Set(CALLERID(num)=)
exten => 763,2,Dial(Zap/6r3|35|mptA(beep3))
exten => 763,3,Hangup()
exten => 764,1,Set(CALLERID(num)=)
exten => 764,2,Dial(Zap/6r3|35|mptnA(beep3))
exten => 764,3,Hangup()
exten => 765,1,Set(CALLERID(num)=)
exten => 765,2,Dial(Zap/6r3|35|mptNA(beep3))
exten => 765,3,Hangup()
exten => 766,1,Dial(Zap/6r3|35|mptNA(beep3))
exten => 766,2,Hangup()
exten => 767,1,Dial(Zap/6r3|35|mptnA(beep3))
exten => 767,2,Hangup()
exten => 769,1,Playtones(dial)
exten => 769,2,Wait(2)
exten => 769,3,Playtones(busy)
exten => 769,4,Wait(2)
exten => 769,5,Playtones(ring)
exten => 769,6,Wait(2)
exten => 769,7,Playtones(congestion)
exten => 769,8,Wait(2)
exten => 769,9,Playtones(callwaiting)
exten => 769,10,Wait(2)
exten => 769,11,Playtones(dialrecall)
exten => 769,12,Wait(2)
exten => 769,13,Playtones(record)
exten => 769,14,Wait(2)
exten => 769,15,Playtones(info)
exten => 769,16,Wait(5)
exten => 769,17,Hangup()
exten => 790,1,MeetMe(790|p)
exten => 792,1,Goto(pageall|s|begin)
exten => 795,1,AGI(wakeup.agi)
exten => 795,2,Congestion()
exten => 544716,1,TrySystem(/usr/local/bin/who-is-it ${CALLERID(num)} "${CALLERID(name)}"&)
exten => 544716,2,Goto(s|loopback)
exten => i,1,Background(invalid)
exten => i,2,Goto(s|loopback)
exten => o,1,Goto(s|loopback)
exten => t,1,Congestion()


[fromvmhome]
exten => 1,1,Dial(Zap/6&Sip/murf|20|Tt)
exten => 2,1,Dial(Zap/3&Zap/5|20|Tt)
exten => _707202XXXX,1,Macro(ciddial|1${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707219XXXX,1,Macro(ciddial|1${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707254XXXX,1,Macro(ciddial|1${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707716XXXX,1,Macro(ciddial|1${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707754XXXX,1,Macro(ciddial|${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707574XXXX,1,Macro(ciddial|${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _NXXNXXXXXX,1,Macro(ciddial|1${EXTEN}|${EXTEN}|30|TW|Zap/1)
exten => _1NXXNXXXXXX,1,Macro(ciddial|${EXTEN}|${EXTEN:1}|30|TW|Zap/1)
exten => _754XXXX,1,Macro(ciddial|${EXTEN}|707${EXTEN}|30|TW|Zap/1)
exten => _574XXXX,1,Macro(ciddial|${EXTEN}|707${EXTEN}|30|TW|Zap/1)
exten => _NXXXXXX,1,Macro(ciddial|1707${EXTEN}|707${EXTEN}|30|TW|Zap/1)
exten => _911,1,Macro(ciddial|911|911|30|TW|Zap/1)
exten => _411,1,Macro(ciddial|411|411|30|TW|Zap/1)


[fromvmwork]
exten => 1,1,Dial(Zap/6&Sip/murf|20|Tt)
exten => 2,1,Dial(Zap/3&Zap/5|20|Tt)
exten => _707202XXXX,1,Macro(ciddial|1${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707219XXXX,1,Macro(ciddial|1${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707254XXXX,1,Macro(ciddial|1${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707716XXXX,1,Macro(ciddial|1${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707754XXXX,1,Macro(ciddial|${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707574XXXX,1,Macro(ciddial|${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _NXXNXXXXXX,1,Macro(ciddial|1${EXTEN}|${EXTEN}|30|TW|Zap/1)
exten => _1NXXNXXXXXX,1,Macro(ciddial|${EXTEN}|${EXTEN:1}|30|TW|Zap/1)
exten => _754XXXX,1,Macro(ciddial|${EXTEN}|707${EXTEN}|30|TW|Zap/1)
exten => _574XXXX,1,Macro(ciddial|${EXTEN}|707${EXTEN}|30|TW|Zap/1)
exten => _NXXXXXX,1,Macro(ciddial|1707${EXTEN}|707${EXTEN}|30|TW|Zap/1)
exten => 911,1,Macro(ciddial|911|911|30|TW|Zap/1)
exten => 411,1,Macro(ciddial|411|411|30|TW|Zap/1)


[fromSeanUniden]
include => parkedcalls
exten => 21,1,Dial(IAX2/seaniax|20|T)
exten => _707202XXXX,1,Macro(ciddial|${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707219XXXX,1,Macro(ciddial|${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707254XXXX,1,Macro(ciddial|${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707716XXXX,1,Macro(ciddial|${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707754XXXX,1,Macro(ciddial|${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _707574XXXX,1,Macro(ciddial|${EXTEN:3}|${EXTEN}|30|TW|Zap/1)
exten => _NXXNXXXXXX,1,Macro(ciddial|1${EXTEN}|${EXTEN}|30|TW|Zap/1)
exten => _1NXXNXXXXXX,1,Macro(ciddial|${EXTEN}|${EXTEN:1}|30|TW|Zap/1)
exten => _754XXXX,1,Macro(ciddial|${EXTEN}|707${EXTEN}|30|TW|Zap/1)
exten => _574XXXX,1,Macro(ciddial|${EXTEN}|707${EXTEN}|30|TW|Zap/1)
exten => _NXXXXXX,1,Macro(ciddial|1707${EXTEN}|707${EXTEN}|30|TW|Zap/1)
exten => 911,1,Macro(ciddial|911|911|30|TW|Zap/1)
exten => 411,1,Macro(ciddial|411|411|30|TW|Zap/1)


[workext]
ignorepat => 8
ignorepat => 9
include => parkedcalls
include => workfirst
include => force_home
include => dialFWD
include => dialiaxtel
include => dialgoiax
exten => s,1(loopback),Wait(0)
exten => 1,1,Dial(Zap/3&Zap/5|20|tT)
exten => 2,1,Dial(Zap/5&Zap/6|20|tT)
exten => 21,1,Dial(IAX2/seaniax|20|T)
exten => 22,1,Set(CALLERID(num)=1234567890)
exten => 22,2,Set(CALLERID(name)=TestCaller)
exten => 22,3,Dial(Zap/5|20|mP()A(beep)tw)
exten => 22,4,NoOp(here is dialstatus: ${DIALSTATUS}...)
exten => 22,5,Goto(s|loopback)
exten => 4,1,VoicemailMain()
exten => 4,2,Goto(s|loopback)
exten => 5,1,Record(recording:gsm)
exten => 5,2,Background(recording)
exten => 6,1,ZapBarge()
exten => 760,1,DateTime()
exten => 760,2,Goto(s|loopback)
exten => 761,1,ZapBarge()
exten => 761,2,Goto(s|loopback)
exten => 765,1,Playback(demo-echotest)
exten => 765,2,Echo()
exten => 765,3,Playback(demo-echodone)
exten => 765,4,Goto(s|loopback)
exten => 766,1,Festival(The other thing to watch is neuro-electronics: the ability to interface technology with our neural system: My wife: Sigrid: has had a cochlear implant since 1996. This once profoundly deaf person now uses the phone: recognizes accents: and listens to movies and recorded books.)
exten => 766,2,Goto(s|loopback)
exten => 767,1,agi(tts-riddle.agi)
exten => 767,2,Background(gsm/what-time-it-is2)
exten => 767,3,SayUnixTime()
exten => 767,4,Goto(s|loopback)
exten => 768,1,agi(tts-computer.agi)
exten => 771,1,eagi(eagi-test)
exten => 771,2,agi(my-agi-test)
exten => 772,1,agi(wakeup.agi)
exten => 775,1,GotoIf($[${EXTEN}=${EXTEN} ]?2:4)
exten => 775,2,BackGround(digits/1)
exten => 775,3,Goto(5)
exten => 775,4,BackGround(digits/0)
exten => 775,5,NoOp(Finish if-workext-108)
exten => 775,6,GotoIf($[${EXTEN}=${LANGUAGE} ]?7:9)
exten => 775,7,BackGround(digits/1)
exten => 775,8,Goto(10)
exten => 775,9,BackGround(digits/0)
exten => 775,10,NoOp(Finish if-workext-109)
exten => 775,11,BackGround(digits/2)
exten => 776,1,Set(TEST=00359889811777)
exten => 776,2,GotoIf($[${TEST}= 00359889811777 ]?3:5)
exten => 776,3,BackGround(digits/1)
exten => 776,4,Goto(6)
exten => 776,5,BackGround(digits/0)
exten => 776,6,NoOp(Finish if-workext-110)
exten => 776,7,GotoIf($[${TEST}= 00359889811888 ]?8:10)
exten => 776,8,BackGround(digits/1)
exten => 776,9,Goto(11)
exten => 776,10,BackGround(digits/0)
exten => 776,11,NoOp(Finish if-workext-111)
exten => 776,12,Hangup()
exten => 790,1,MeetMe(790|p)
exten => 792,1,Goto(pageall|s|begin)
exten => 793,1,NoOp(Hello| this is included from include1.ael2)
exten => 793,2,NoOp(This was included from include2.ael2)
exten => 793,3,NoOp(This is include3.ael2!)
exten => 793,4,NoOp(Include5.ael2 doesn't include anything| either!)
exten => 793,5,NoOp(This is include4.ael2! Isn't it cool!?!?!?!)
exten => 793,6,NoOp(4 doesn't include anything)
exten => 795,1,AGI(wakeup.agi)
exten => 795,2,Congestion()
exten => 797,1,Set(CONFCIDNA=${CALLERID(name)})
exten => 797,2,Set(CONFCIDNU=${CALLERID(num)})
exten => 797,3,AGI(callall)
exten => 797,4,AGI(submit-announce.agi)
exten => 797,5,Hangup()


[wakeup]
exten => 3,1,Dial(Zap/3|30)
exten => 4,1,Dial(Zap/4|30)
exten => 5,1,Dial(Zap/5|30)
exten => 6,1,Dial(Zap/6|30)
exten => 99,1,Dial(IAX2/murfiaxphone|30)
exten => 97,1,Dial(IAX2/ryaniax|30)
exten => 94,1,Dial(IAX2/seaniax|30)


[announce-all]
exten => s,1(begin),MeetMe(5555|dtqp)
exten => s,2,MeetMeAdmin(5555|K)
exten => s,3,Hangup()
exten => h,1,MeetMeAdmin(5555|K)
exten => h,2,Hangup()


[telemarket]
exten => s,1(begin),Playback(telemarketer-intro)
exten => s,2,Playback(telemarketer-choices)
exten => 1,1,Goto(telemarket-charity|s|begin)
exten => 2,1,Goto(telemarket-political|s|begin)
exten => 3,1,Goto(telemarket-pollster|s|begin)
exten => 4,1,Goto(telemarket-research|s|begin)
exten => 5,1,Goto(telemarket-magazine|s|begin)
exten => 6,1,Goto(telemarket-commercial|s|begin)
exten => 7,1,Goto(telemarket-other|s|begin)
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemarket-charity]
exten => s,1(begin),Playback(telemark-charity-intro)
exten => s,2,Playback(telemark-charity-choices)
exten => 1,1,Goto(telemarket-char-disease|s|begin)
exten => 2,1,Goto(telemarket-char-handicap|s|begin)
exten => 3,1,Goto(telemarket-char-police|s|begin)
exten => 4,1,Goto(telemarket-char-school|s|begin)
exten => 5,1,Goto(telemarket-char-college|s|begin)
exten => 6,1,Goto(telemarket-char-animal|s|begin)
exten => 7,1,Goto(telemarket-char-candidate|s|begin)
exten => 8,1,Goto(telemarket-char-abuse|s|begin)
exten => 9,1,Goto(telemarket-char-other|s|begin)
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemarket-char-disease]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-char-handicap]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-char-police]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-char-school]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-char-college]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-char-animal]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-char-candidate]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-char-abuse]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-char-other]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-sorry]
exten => s,1(begin),Playback(telemarket-sorry)
exten => s,2,Hangup()


[telemarket-exception]
exten => s,1(begin),Playback(telemarket-success)
exten => s,2,Hangup()


[telemarket-political]
exten => s,1(begin),Playback(telemark-polit-intro)
exten => s,2,Playback(telemark-polit-choices)
exten => 1,1,Goto(telemarket-poli-Am1st|s|begin)
exten => 2,1,Goto(telemarket-poli-American|s|begin)
exten => 3,1,Goto(telemarket-poli-AmHer|s|begin)
exten => 4,1,Goto(telemarket-poli-AmInd|s|begin)
exten => 5,1,Goto(telemarket-poli-AmNaz|s|begin)
exten => 6,1,Goto(telemarket-poli-Pot|s|begin)
exten => 7,1,Goto(telemarket-poli-AmRef|s|begin)
exten => 8,1,Goto(telemarket-poli-CFP|s|begin)
exten => 9,1,Goto(telemarket-political2|s|begin)
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemarket-political2]
exten => s,1(begin),Playback(telemark-politx-intro)
exten => s,2,Playback(telemark-polit2-choices)
exten => 1,1,Goto(telemarket-poli-Communist|s|begin)
exten => 2,1,Goto(telemarket-poli-Constit|s|begin)
exten => 3,1,Goto(telemarket-poli-FamVal|s|begin)
exten => 4,1,Goto(telemarket-poli-FreedSoc|s|begin)
exten => 5,1,Goto(telemarket-poli-Grassroot|s|begin)
exten => 6,1,Goto(telemarket-poli-Green|s|begin)
exten => 7,1,Goto(telemarket-poli-Greens|s|begin)
exten => 8,1,Goto(telemarket-poli-Independence|s|begin)
exten => 9,1,Goto(telemarket-political3|s|begin)
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemarket-political3]
exten => s,1(begin),Playback(telemark-politx-intro)
exten => s,2,Playback(telemark-polit3-choices)
exten => 1,1,Goto(telemarket-poli-IndAm|s|begin)
exten => 2,1,Goto(telemarket-poli-Labor|s|begin)
exten => 3,1,Goto(telemarket-poli-Liber|s|begin)
exten => 4,1,Goto(telemarket-poli-Light|s|begin)
exten => 5,1,Goto(telemarket-poli-NatLaw|s|begin)
exten => 6,1,Goto(telemarket-poli-New|s|begin)
exten => 7,1,Goto(telemarket-poli-NewUn|s|begin)
exten => 8,1,Goto(telemarket-poli-PeaceFree|s|begin)
exten => 9,1,Goto(telemarket-political4|s|begin)
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemarket-political4]
exten => s,1(begin),Playback(telemark-politx-intro)
exten => s,2,Playback(telemark-polit4-choices)
exten => 1,1,Goto(telemarket-poli-Prohib|s|begin)
exten => 2,1,Goto(telemarket-poli-Ref|s|begin)
exten => 3,1,Goto(telemarket-poli-Revol|s|begin)
exten => 4,1,Goto(telemarket-poli-SocPart|s|begin)
exten => 5,1,Goto(telemarket-poli-SocAct|s|begin)
exten => 6,1,Goto(telemarket-poli-SocEq|s|begin)
exten => 7,1,Goto(telemarket-poli-SocLab|s|begin)
exten => 8,1,Goto(telemarket-poli-SocWork|s|begin)
exten => 9,1,Goto(telemarket-political5|s|begin)
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemarket-political5]
exten => s,1(begin),Playback(telemark-politx-intro)
exten => s,2,Playback(telemark-polit5-choices)
exten => 1,1,Goto(telemarket-poli-South|s|begin)
exten => 2,1,Goto(telemarket-poli-SoInd|s|begin)
exten => 3,1,Goto(telemarket-poli-USPac|s|begin)
exten => 4,1,Goto(telemarket-poli-WTP|s|begin)
exten => 5,1,Goto(telemarket-poli-WWP|s|begin)
exten => 6,1,Goto(telemarket-poli-Democrat|s|begin)
exten => 7,1,Goto(telemarket-poli-Repub|s|begin)
exten => 8,1,Goto(telemarket-poli-other|s|begin)
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemarket-poli-other]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Repub]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Democrat]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-WWP]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-WTP]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-USPac]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-SoInd]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-South]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-SocWork]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-SocLab]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-SocEq]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-SocAct]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-SocPart]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Revol]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Ref]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Prohib]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-PeaceFree]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-NewUn]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-New]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-NatLaw]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Light]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Liber]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Labor]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-IndAm]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Independence]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Greens]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Green]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Grassroot]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-FreedSoc]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-FamVal]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Constit]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Communist]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-CFP]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-AmRef]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Pot]
exten => s,1(begin),Goto(telemarket-political|s|begin)


[telemarket-poli-AmNaz]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-AmInd]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-AmHer]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-American]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-poli-Am1st]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-pollster]
exten => s,1(begin),Playback(telemark-poll-intro)
exten => s,2,Goto(telemarket-sorry|s|begin)
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemarket-research]
exten => s,1(begin),Playback(telemark-research-intro)
exten => s,2,Goto(telemarket-sorry|s|begin)
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemarket-magazine]
exten => s,1(begin),Playback(telemark-mag-choices)
exten => 1,1,Goto(telemark-mag-new|s|begin)
exten => 2,1,Goto(telemark-mag-renew|s|begin)
exten => 3,1,Goto(telemark-mag-survey|s|begin)
exten => 4,1,Goto(telemark-mag-verify|s|begin)
exten => 5,1,Goto(telemark-mag-other|s|begin)
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemark-mag-new]
exten => s,1(begin),Playback(telemark-mag-new)
exten => s,2,Hangup()
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemark-mag-renew]
exten => s,1(begin),Playback(telemark-mag-renew)
exten => s,2,Hangup()
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemark-mag-survey]
exten => s,1(begin),Playback(telemark-mag-survey)
exten => s,2,Hangup()
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemark-mag-verify]
exten => s,1(begin),Playback(telemark-mag-verify)
exten => s,2,Hangup()
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemark-mag-other]
exten => s,1(begin),Goto(telemarket-sorry|s|begin)


[telemarket-commercial]
exten => s,1(begin),Playback(telemark-comm-intro)
exten => s,2,Voicemail(u82)
exten => s,3,Goto(telemarket-sorry|s|begin)
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)


[telemarket-other]
exten => s,1(begin),Playback(telemark-other-intro)
exten => s,2,Hangup()
exten => t,1,Goto(telemarket|s|begin)
exten => i,1,Goto(telemarket|s|begin)
exten => o,1,Goto(telemarket|s|begin)
