asterisk/pbx/ael/ael-test/ref.ael-vtest13

3182 lines
122 KiB
Plaintext

[globals]
static=yes
writeprotect=yes
CONSOLE=Console/dsp
IAXINFO=murf:tlhfckoct
FWDNUMBER=544788
FWDCIDNAME="Joe-Worker"
FWDPASSWORD=zingledoodle
FWDRINGS=Zap/6
FWDVMBOX=1
[std-exten]
exten => ~~s~~,1,Set(LOCAL(ext)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(dev)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,4,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,5,Dial(${dev}/${ext},20)
exten => ~~s~~,6,Goto(sw_1_${DIALSTATUS},10)
exten => ~~s~~,7,NoOp(Finish switch_std-exten_1)
exten => ~~s~~,8,Return()
exten => a,1,VoiceMailMain(${ext})
exten => _sw_1_.,10,Voicemail(u${ext})
exten => _sw_1_.,11,Goto(~~s~~,7)
exten => sw_1_,10,Goto(sw_1_.,10)
exten => sw_1_ANSWER,10,Goto(~~s~~,7)
exten => sw_1_NOANSWER,10,Voicemail(u${ext})
exten => sw_1_NOANSWER,11,Goto(~~s~~,7)
exten => sw_1_BUSY,10,Voicemail(b${ext})
exten => sw_1_BUSY,11,Goto(~~s~~,7)
[std-priv-exten_1]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_3_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_1_3)
exten => ~~s~~,13,Return()
exten => _sw_3_.,10,Voicemail(u${ext})
exten => _sw_3_.,11,Goto(~~s~~,12)
exten => sw_3_,10,Goto(sw_3_.,10)
exten => sw_3_NOANSWER,10,Voicemail(u${ext})
exten => sw_3_NOANSWER,11,Goto(~~s~~,12)
exten => sw_3_ANSWER,10,Goto(~~s~~,12)
exten => sw_3_BUSY,10,Voicemail(b${ext})
exten => sw_3_BUSY,11,Goto(~~s~~,12)
exten => sw_3_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_3_DONTCALL,11,Goto(~~s~~,12)
exten => sw_3_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_3_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_2]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_4_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_2_4)
exten => ~~s~~,13,Return()
exten => _sw_4_.,10,Voicemail(u${ext})
exten => _sw_4_.,11,Goto(~~s~~,12)
exten => sw_4_,10,Goto(sw_4_.,10)
exten => sw_4_NOANSWER,10,Voicemail(u${ext})
exten => sw_4_NOANSWER,11,Goto(~~s~~,12)
exten => sw_4_ANSWER,10,Goto(~~s~~,12)
exten => sw_4_BUSY,10,Voicemail(b${ext})
exten => sw_4_BUSY,11,Goto(~~s~~,12)
exten => sw_4_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_4_DONTCALL,11,Goto(~~s~~,12)
exten => sw_4_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_4_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_3]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_5_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_3_5)
exten => ~~s~~,13,Return()
exten => _sw_5_.,10,Voicemail(u${ext})
exten => _sw_5_.,11,Goto(~~s~~,12)
exten => sw_5_,10,Goto(sw_5_.,10)
exten => sw_5_NOANSWER,10,Voicemail(u${ext})
exten => sw_5_NOANSWER,11,Goto(~~s~~,12)
exten => sw_5_ANSWER,10,Goto(~~s~~,12)
exten => sw_5_BUSY,10,Voicemail(b${ext})
exten => sw_5_BUSY,11,Goto(~~s~~,12)
exten => sw_5_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_5_DONTCALL,11,Goto(~~s~~,12)
exten => sw_5_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_5_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_4]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_6_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_4_6)
exten => ~~s~~,13,Return()
exten => _sw_6_.,10,Voicemail(u${ext})
exten => _sw_6_.,11,Goto(~~s~~,12)
exten => sw_6_,10,Goto(sw_6_.,10)
exten => sw_6_NOANSWER,10,Voicemail(u${ext})
exten => sw_6_NOANSWER,11,Goto(~~s~~,12)
exten => sw_6_ANSWER,10,Goto(~~s~~,12)
exten => sw_6_BUSY,10,Voicemail(b${ext})
exten => sw_6_BUSY,11,Goto(~~s~~,12)
exten => sw_6_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_6_DONTCALL,11,Goto(~~s~~,12)
exten => sw_6_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_6_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_5]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_7_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_5_7)
exten => ~~s~~,13,Return()
exten => _sw_7_.,10,Voicemail(u${ext})
exten => _sw_7_.,11,Goto(~~s~~,12)
exten => sw_7_,10,Goto(sw_7_.,10)
exten => sw_7_NOANSWER,10,Voicemail(u${ext})
exten => sw_7_NOANSWER,11,Goto(~~s~~,12)
exten => sw_7_ANSWER,10,Goto(~~s~~,12)
exten => sw_7_BUSY,10,Voicemail(b${ext})
exten => sw_7_BUSY,11,Goto(~~s~~,12)
exten => sw_7_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_7_DONTCALL,11,Goto(~~s~~,12)
exten => sw_7_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_7_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_6]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_8_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_6_8)
exten => ~~s~~,13,Return()
exten => _sw_8_.,10,Voicemail(u${ext})
exten => _sw_8_.,11,Goto(~~s~~,12)
exten => sw_8_,10,Goto(sw_8_.,10)
exten => sw_8_NOANSWER,10,Voicemail(u${ext})
exten => sw_8_NOANSWER,11,Goto(~~s~~,12)
exten => sw_8_ANSWER,10,Goto(~~s~~,12)
exten => sw_8_BUSY,10,Voicemail(b${ext})
exten => sw_8_BUSY,11,Goto(~~s~~,12)
exten => sw_8_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_8_DONTCALL,11,Goto(~~s~~,12)
exten => sw_8_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_8_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_7]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_9_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_7_9)
exten => ~~s~~,13,Return()
exten => _sw_9_.,10,Voicemail(u${ext})
exten => _sw_9_.,11,Goto(~~s~~,12)
exten => sw_9_,10,Goto(sw_9_.,10)
exten => sw_9_NOANSWER,10,Voicemail(u${ext})
exten => sw_9_NOANSWER,11,Goto(~~s~~,12)
exten => sw_9_ANSWER,10,Goto(~~s~~,12)
exten => sw_9_BUSY,10,Voicemail(b${ext})
exten => sw_9_BUSY,11,Goto(~~s~~,12)
exten => sw_9_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_9_DONTCALL,11,Goto(~~s~~,12)
exten => sw_9_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_9_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_8]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_10_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_8_10)
exten => ~~s~~,13,Return()
exten => _sw_10_.,10,Voicemail(u${ext})
exten => _sw_10_.,11,Goto(~~s~~,12)
exten => sw_10_,10,Goto(sw_10_.,10)
exten => sw_10_NOANSWER,10,Voicemail(u${ext})
exten => sw_10_NOANSWER,11,Goto(~~s~~,12)
exten => sw_10_ANSWER,10,Goto(~~s~~,12)
exten => sw_10_BUSY,10,Voicemail(b${ext})
exten => sw_10_BUSY,11,Goto(~~s~~,12)
exten => sw_10_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_10_DONTCALL,11,Goto(~~s~~,12)
exten => sw_10_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_10_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_9]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_11_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_9_11)
exten => ~~s~~,13,Return()
exten => _sw_11_.,10,Voicemail(u${ext})
exten => _sw_11_.,11,Goto(~~s~~,12)
exten => sw_11_,10,Goto(sw_11_.,10)
exten => sw_11_NOANSWER,10,Voicemail(u${ext})
exten => sw_11_NOANSWER,11,Goto(~~s~~,12)
exten => sw_11_ANSWER,10,Goto(~~s~~,12)
exten => sw_11_BUSY,10,Voicemail(b${ext})
exten => sw_11_BUSY,11,Goto(~~s~~,12)
exten => sw_11_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_11_DONTCALL,11,Goto(~~s~~,12)
exten => sw_11_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_11_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_10]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_12_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_10_12)
exten => ~~s~~,13,Return()
exten => _sw_12_.,10,Voicemail(u${ext})
exten => _sw_12_.,11,Goto(~~s~~,12)
exten => sw_12_,10,Goto(sw_12_.,10)
exten => sw_12_NOANSWER,10,Voicemail(u${ext})
exten => sw_12_NOANSWER,11,Goto(~~s~~,12)
exten => sw_12_ANSWER,10,Goto(~~s~~,12)
exten => sw_12_BUSY,10,Voicemail(b${ext})
exten => sw_12_BUSY,11,Goto(~~s~~,12)
exten => sw_12_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_12_DONTCALL,11,Goto(~~s~~,12)
exten => sw_12_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_12_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_11]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_13_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_11_13)
exten => ~~s~~,13,Return()
exten => _sw_13_.,10,Voicemail(u${ext})
exten => _sw_13_.,11,Goto(~~s~~,12)
exten => sw_13_,10,Goto(sw_13_.,10)
exten => sw_13_NOANSWER,10,Voicemail(u${ext})
exten => sw_13_NOANSWER,11,Goto(~~s~~,12)
exten => sw_13_ANSWER,10,Goto(~~s~~,12)
exten => sw_13_BUSY,10,Voicemail(b${ext})
exten => sw_13_BUSY,11,Goto(~~s~~,12)
exten => sw_13_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_13_DONTCALL,11,Goto(~~s~~,12)
exten => sw_13_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_13_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_12]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_14_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_12_14)
exten => ~~s~~,13,Return()
exten => _sw_14_.,10,Voicemail(u${ext})
exten => _sw_14_.,11,Goto(~~s~~,12)
exten => sw_14_,10,Goto(sw_14_.,10)
exten => sw_14_NOANSWER,10,Voicemail(u${ext})
exten => sw_14_NOANSWER,11,Goto(~~s~~,12)
exten => sw_14_ANSWER,10,Goto(~~s~~,12)
exten => sw_14_BUSY,10,Voicemail(b${ext})
exten => sw_14_BUSY,11,Goto(~~s~~,12)
exten => sw_14_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_14_DONTCALL,11,Goto(~~s~~,12)
exten => sw_14_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_14_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_13]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_15_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_13_15)
exten => ~~s~~,13,Return()
exten => _sw_15_.,10,Voicemail(u${ext})
exten => _sw_15_.,11,Goto(~~s~~,12)
exten => sw_15_,10,Goto(sw_15_.,10)
exten => sw_15_NOANSWER,10,Voicemail(u${ext})
exten => sw_15_NOANSWER,11,Goto(~~s~~,12)
exten => sw_15_ANSWER,10,Goto(~~s~~,12)
exten => sw_15_BUSY,10,Voicemail(b${ext})
exten => sw_15_BUSY,11,Goto(~~s~~,12)
exten => sw_15_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_15_DONTCALL,11,Goto(~~s~~,12)
exten => sw_15_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_15_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_14]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_16_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_14_16)
exten => ~~s~~,13,Return()
exten => _sw_16_.,10,Voicemail(u${ext})
exten => _sw_16_.,11,Goto(~~s~~,12)
exten => sw_16_,10,Goto(sw_16_.,10)
exten => sw_16_NOANSWER,10,Voicemail(u${ext})
exten => sw_16_NOANSWER,11,Goto(~~s~~,12)
exten => sw_16_ANSWER,10,Goto(~~s~~,12)
exten => sw_16_BUSY,10,Voicemail(b${ext})
exten => sw_16_BUSY,11,Goto(~~s~~,12)
exten => sw_16_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_16_DONTCALL,11,Goto(~~s~~,12)
exten => sw_16_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_16_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_15]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_17_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_15_17)
exten => ~~s~~,13,Return()
exten => _sw_17_.,10,Voicemail(u${ext})
exten => _sw_17_.,11,Goto(~~s~~,12)
exten => sw_17_,10,Goto(sw_17_.,10)
exten => sw_17_NOANSWER,10,Voicemail(u${ext})
exten => sw_17_NOANSWER,11,Goto(~~s~~,12)
exten => sw_17_ANSWER,10,Goto(~~s~~,12)
exten => sw_17_BUSY,10,Voicemail(b${ext})
exten => sw_17_BUSY,11,Goto(~~s~~,12)
exten => sw_17_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_17_DONTCALL,11,Goto(~~s~~,12)
exten => sw_17_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_17_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_16]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_18_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_16_18)
exten => ~~s~~,13,Return()
exten => _sw_18_.,10,Voicemail(u${ext})
exten => _sw_18_.,11,Goto(~~s~~,12)
exten => sw_18_,10,Goto(sw_18_.,10)
exten => sw_18_NOANSWER,10,Voicemail(u${ext})
exten => sw_18_NOANSWER,11,Goto(~~s~~,12)
exten => sw_18_ANSWER,10,Goto(~~s~~,12)
exten => sw_18_BUSY,10,Voicemail(b${ext})
exten => sw_18_BUSY,11,Goto(~~s~~,12)
exten => sw_18_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_18_DONTCALL,11,Goto(~~s~~,12)
exten => sw_18_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_18_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_17]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_19_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_17_19)
exten => ~~s~~,13,Return()
exten => _sw_19_.,10,Voicemail(u${ext})
exten => _sw_19_.,11,Goto(~~s~~,12)
exten => sw_19_,10,Goto(sw_19_.,10)
exten => sw_19_NOANSWER,10,Voicemail(u${ext})
exten => sw_19_NOANSWER,11,Goto(~~s~~,12)
exten => sw_19_ANSWER,10,Goto(~~s~~,12)
exten => sw_19_BUSY,10,Voicemail(b${ext})
exten => sw_19_BUSY,11,Goto(~~s~~,12)
exten => sw_19_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_19_DONTCALL,11,Goto(~~s~~,12)
exten => sw_19_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_19_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_18]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_20_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_18_20)
exten => ~~s~~,13,Return()
exten => _sw_20_.,10,Voicemail(u${ext})
exten => _sw_20_.,11,Goto(~~s~~,12)
exten => sw_20_,10,Goto(sw_20_.,10)
exten => sw_20_NOANSWER,10,Voicemail(u${ext})
exten => sw_20_NOANSWER,11,Goto(~~s~~,12)
exten => sw_20_ANSWER,10,Goto(~~s~~,12)
exten => sw_20_BUSY,10,Voicemail(b${ext})
exten => sw_20_BUSY,11,Goto(~~s~~,12)
exten => sw_20_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_20_DONTCALL,11,Goto(~~s~~,12)
exten => sw_20_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_20_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_19]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_21_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_19_21)
exten => ~~s~~,13,Return()
exten => _sw_21_.,10,Voicemail(u${ext})
exten => _sw_21_.,11,Goto(~~s~~,12)
exten => sw_21_,10,Goto(sw_21_.,10)
exten => sw_21_NOANSWER,10,Voicemail(u${ext})
exten => sw_21_NOANSWER,11,Goto(~~s~~,12)
exten => sw_21_ANSWER,10,Goto(~~s~~,12)
exten => sw_21_BUSY,10,Voicemail(b${ext})
exten => sw_21_BUSY,11,Goto(~~s~~,12)
exten => sw_21_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_21_DONTCALL,11,Goto(~~s~~,12)
exten => sw_21_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_21_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_20]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_22_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_20_22)
exten => ~~s~~,13,Return()
exten => _sw_22_.,10,Voicemail(u${ext})
exten => _sw_22_.,11,Goto(~~s~~,12)
exten => sw_22_,10,Goto(sw_22_.,10)
exten => sw_22_NOANSWER,10,Voicemail(u${ext})
exten => sw_22_NOANSWER,11,Goto(~~s~~,12)
exten => sw_22_ANSWER,10,Goto(~~s~~,12)
exten => sw_22_BUSY,10,Voicemail(b${ext})
exten => sw_22_BUSY,11,Goto(~~s~~,12)
exten => sw_22_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_22_DONTCALL,11,Goto(~~s~~,12)
exten => sw_22_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_22_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_21]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_23_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_21_23)
exten => ~~s~~,13,Return()
exten => _sw_23_.,10,Voicemail(u${ext})
exten => _sw_23_.,11,Goto(~~s~~,12)
exten => sw_23_,10,Goto(sw_23_.,10)
exten => sw_23_NOANSWER,10,Voicemail(u${ext})
exten => sw_23_NOANSWER,11,Goto(~~s~~,12)
exten => sw_23_ANSWER,10,Goto(~~s~~,12)
exten => sw_23_BUSY,10,Voicemail(b${ext})
exten => sw_23_BUSY,11,Goto(~~s~~,12)
exten => sw_23_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_23_DONTCALL,11,Goto(~~s~~,12)
exten => sw_23_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_23_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_22]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_24_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_22_24)
exten => ~~s~~,13,Return()
exten => _sw_24_.,10,Voicemail(u${ext})
exten => _sw_24_.,11,Goto(~~s~~,12)
exten => sw_24_,10,Goto(sw_24_.,10)
exten => sw_24_NOANSWER,10,Voicemail(u${ext})
exten => sw_24_NOANSWER,11,Goto(~~s~~,12)
exten => sw_24_ANSWER,10,Goto(~~s~~,12)
exten => sw_24_BUSY,10,Voicemail(b${ext})
exten => sw_24_BUSY,11,Goto(~~s~~,12)
exten => sw_24_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_24_DONTCALL,11,Goto(~~s~~,12)
exten => sw_24_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_24_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_23]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_25_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_23_25)
exten => ~~s~~,13,Return()
exten => _sw_25_.,10,Voicemail(u${ext})
exten => _sw_25_.,11,Goto(~~s~~,12)
exten => sw_25_,10,Goto(sw_25_.,10)
exten => sw_25_NOANSWER,10,Voicemail(u${ext})
exten => sw_25_NOANSWER,11,Goto(~~s~~,12)
exten => sw_25_ANSWER,10,Goto(~~s~~,12)
exten => sw_25_BUSY,10,Voicemail(b${ext})
exten => sw_25_BUSY,11,Goto(~~s~~,12)
exten => sw_25_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_25_DONTCALL,11,Goto(~~s~~,12)
exten => sw_25_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_25_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_24]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_26_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_24_26)
exten => ~~s~~,13,Return()
exten => _sw_26_.,10,Voicemail(u${ext})
exten => _sw_26_.,11,Goto(~~s~~,12)
exten => sw_26_,10,Goto(sw_26_.,10)
exten => sw_26_NOANSWER,10,Voicemail(u${ext})
exten => sw_26_NOANSWER,11,Goto(~~s~~,12)
exten => sw_26_ANSWER,10,Goto(~~s~~,12)
exten => sw_26_BUSY,10,Voicemail(b${ext})
exten => sw_26_BUSY,11,Goto(~~s~~,12)
exten => sw_26_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_26_DONTCALL,11,Goto(~~s~~,12)
exten => sw_26_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_26_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_25]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_27_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_25_27)
exten => ~~s~~,13,Return()
exten => _sw_27_.,10,Voicemail(u${ext})
exten => _sw_27_.,11,Goto(~~s~~,12)
exten => sw_27_,10,Goto(sw_27_.,10)
exten => sw_27_NOANSWER,10,Voicemail(u${ext})
exten => sw_27_NOANSWER,11,Goto(~~s~~,12)
exten => sw_27_ANSWER,10,Goto(~~s~~,12)
exten => sw_27_BUSY,10,Voicemail(b${ext})
exten => sw_27_BUSY,11,Goto(~~s~~,12)
exten => sw_27_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_27_DONTCALL,11,Goto(~~s~~,12)
exten => sw_27_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_27_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_26]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_28_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_26_28)
exten => ~~s~~,13,Return()
exten => _sw_28_.,10,Voicemail(u${ext})
exten => _sw_28_.,11,Goto(~~s~~,12)
exten => sw_28_,10,Goto(sw_28_.,10)
exten => sw_28_NOANSWER,10,Voicemail(u${ext})
exten => sw_28_NOANSWER,11,Goto(~~s~~,12)
exten => sw_28_ANSWER,10,Goto(~~s~~,12)
exten => sw_28_BUSY,10,Voicemail(b${ext})
exten => sw_28_BUSY,11,Goto(~~s~~,12)
exten => sw_28_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_28_DONTCALL,11,Goto(~~s~~,12)
exten => sw_28_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_28_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_27]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_29_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_27_29)
exten => ~~s~~,13,Return()
exten => _sw_29_.,10,Voicemail(u${ext})
exten => _sw_29_.,11,Goto(~~s~~,12)
exten => sw_29_,10,Goto(sw_29_.,10)
exten => sw_29_NOANSWER,10,Voicemail(u${ext})
exten => sw_29_NOANSWER,11,Goto(~~s~~,12)
exten => sw_29_ANSWER,10,Goto(~~s~~,12)
exten => sw_29_BUSY,10,Voicemail(b${ext})
exten => sw_29_BUSY,11,Goto(~~s~~,12)
exten => sw_29_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_29_DONTCALL,11,Goto(~~s~~,12)
exten => sw_29_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_29_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_28]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_30_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_28_30)
exten => ~~s~~,13,Return()
exten => _sw_30_.,10,Voicemail(u${ext})
exten => _sw_30_.,11,Goto(~~s~~,12)
exten => sw_30_,10,Goto(sw_30_.,10)
exten => sw_30_NOANSWER,10,Voicemail(u${ext})
exten => sw_30_NOANSWER,11,Goto(~~s~~,12)
exten => sw_30_ANSWER,10,Goto(~~s~~,12)
exten => sw_30_BUSY,10,Voicemail(b${ext})
exten => sw_30_BUSY,11,Goto(~~s~~,12)
exten => sw_30_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_30_DONTCALL,11,Goto(~~s~~,12)
exten => sw_30_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_30_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_29]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_31_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_29_31)
exten => ~~s~~,13,Return()
exten => _sw_31_.,10,Voicemail(u${ext})
exten => _sw_31_.,11,Goto(~~s~~,12)
exten => sw_31_,10,Goto(sw_31_.,10)
exten => sw_31_NOANSWER,10,Voicemail(u${ext})
exten => sw_31_NOANSWER,11,Goto(~~s~~,12)
exten => sw_31_ANSWER,10,Goto(~~s~~,12)
exten => sw_31_BUSY,10,Voicemail(b${ext})
exten => sw_31_BUSY,11,Goto(~~s~~,12)
exten => sw_31_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_31_DONTCALL,11,Goto(~~s~~,12)
exten => sw_31_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_31_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_30]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_32_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_30_32)
exten => ~~s~~,13,Return()
exten => _sw_32_.,10,Voicemail(u${ext})
exten => _sw_32_.,11,Goto(~~s~~,12)
exten => sw_32_,10,Goto(sw_32_.,10)
exten => sw_32_NOANSWER,10,Voicemail(u${ext})
exten => sw_32_NOANSWER,11,Goto(~~s~~,12)
exten => sw_32_ANSWER,10,Goto(~~s~~,12)
exten => sw_32_BUSY,10,Voicemail(b${ext})
exten => sw_32_BUSY,11,Goto(~~s~~,12)
exten => sw_32_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_32_DONTCALL,11,Goto(~~s~~,12)
exten => sw_32_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_32_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_31]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_33_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_31_33)
exten => ~~s~~,13,Return()
exten => _sw_33_.,10,Voicemail(u${ext})
exten => _sw_33_.,11,Goto(~~s~~,12)
exten => sw_33_,10,Goto(sw_33_.,10)
exten => sw_33_NOANSWER,10,Voicemail(u${ext})
exten => sw_33_NOANSWER,11,Goto(~~s~~,12)
exten => sw_33_ANSWER,10,Goto(~~s~~,12)
exten => sw_33_BUSY,10,Voicemail(b${ext})
exten => sw_33_BUSY,11,Goto(~~s~~,12)
exten => sw_33_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_33_DONTCALL,11,Goto(~~s~~,12)
exten => sw_33_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_33_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_32]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_34_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_32_34)
exten => ~~s~~,13,Return()
exten => _sw_34_.,10,Voicemail(u${ext})
exten => _sw_34_.,11,Goto(~~s~~,12)
exten => sw_34_,10,Goto(sw_34_.,10)
exten => sw_34_NOANSWER,10,Voicemail(u${ext})
exten => sw_34_NOANSWER,11,Goto(~~s~~,12)
exten => sw_34_ANSWER,10,Goto(~~s~~,12)
exten => sw_34_BUSY,10,Voicemail(b${ext})
exten => sw_34_BUSY,11,Goto(~~s~~,12)
exten => sw_34_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_34_DONTCALL,11,Goto(~~s~~,12)
exten => sw_34_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_34_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_33]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_35_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_33_35)
exten => ~~s~~,13,Return()
exten => _sw_35_.,10,Voicemail(u${ext})
exten => _sw_35_.,11,Goto(~~s~~,12)
exten => sw_35_,10,Goto(sw_35_.,10)
exten => sw_35_NOANSWER,10,Voicemail(u${ext})
exten => sw_35_NOANSWER,11,Goto(~~s~~,12)
exten => sw_35_ANSWER,10,Goto(~~s~~,12)
exten => sw_35_BUSY,10,Voicemail(b${ext})
exten => sw_35_BUSY,11,Goto(~~s~~,12)
exten => sw_35_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_35_DONTCALL,11,Goto(~~s~~,12)
exten => sw_35_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_35_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_34]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_36_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_34_36)
exten => ~~s~~,13,Return()
exten => _sw_36_.,10,Voicemail(u${ext})
exten => _sw_36_.,11,Goto(~~s~~,12)
exten => sw_36_,10,Goto(sw_36_.,10)
exten => sw_36_NOANSWER,10,Voicemail(u${ext})
exten => sw_36_NOANSWER,11,Goto(~~s~~,12)
exten => sw_36_ANSWER,10,Goto(~~s~~,12)
exten => sw_36_BUSY,10,Voicemail(b${ext})
exten => sw_36_BUSY,11,Goto(~~s~~,12)
exten => sw_36_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_36_DONTCALL,11,Goto(~~s~~,12)
exten => sw_36_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_36_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_35]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_37_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_35_37)
exten => ~~s~~,13,Return()
exten => _sw_37_.,10,Voicemail(u${ext})
exten => _sw_37_.,11,Goto(~~s~~,12)
exten => sw_37_,10,Goto(sw_37_.,10)
exten => sw_37_NOANSWER,10,Voicemail(u${ext})
exten => sw_37_NOANSWER,11,Goto(~~s~~,12)
exten => sw_37_ANSWER,10,Goto(~~s~~,12)
exten => sw_37_BUSY,10,Voicemail(b${ext})
exten => sw_37_BUSY,11,Goto(~~s~~,12)
exten => sw_37_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_37_DONTCALL,11,Goto(~~s~~,12)
exten => sw_37_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_37_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_36]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_38_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_36_38)
exten => ~~s~~,13,Return()
exten => _sw_38_.,10,Voicemail(u${ext})
exten => _sw_38_.,11,Goto(~~s~~,12)
exten => sw_38_,10,Goto(sw_38_.,10)
exten => sw_38_NOANSWER,10,Voicemail(u${ext})
exten => sw_38_NOANSWER,11,Goto(~~s~~,12)
exten => sw_38_ANSWER,10,Goto(~~s~~,12)
exten => sw_38_BUSY,10,Voicemail(b${ext})
exten => sw_38_BUSY,11,Goto(~~s~~,12)
exten => sw_38_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_38_DONTCALL,11,Goto(~~s~~,12)
exten => sw_38_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_38_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_37]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_39_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_37_39)
exten => ~~s~~,13,Return()
exten => _sw_39_.,10,Voicemail(u${ext})
exten => _sw_39_.,11,Goto(~~s~~,12)
exten => sw_39_,10,Goto(sw_39_.,10)
exten => sw_39_NOANSWER,10,Voicemail(u${ext})
exten => sw_39_NOANSWER,11,Goto(~~s~~,12)
exten => sw_39_ANSWER,10,Goto(~~s~~,12)
exten => sw_39_BUSY,10,Voicemail(b${ext})
exten => sw_39_BUSY,11,Goto(~~s~~,12)
exten => sw_39_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_39_DONTCALL,11,Goto(~~s~~,12)
exten => sw_39_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_39_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_38]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_40_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_38_40)
exten => ~~s~~,13,Return()
exten => _sw_40_.,10,Voicemail(u${ext})
exten => _sw_40_.,11,Goto(~~s~~,12)
exten => sw_40_,10,Goto(sw_40_.,10)
exten => sw_40_NOANSWER,10,Voicemail(u${ext})
exten => sw_40_NOANSWER,11,Goto(~~s~~,12)
exten => sw_40_ANSWER,10,Goto(~~s~~,12)
exten => sw_40_BUSY,10,Voicemail(b${ext})
exten => sw_40_BUSY,11,Goto(~~s~~,12)
exten => sw_40_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_40_DONTCALL,11,Goto(~~s~~,12)
exten => sw_40_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_40_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_39]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_41_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_39_41)
exten => ~~s~~,13,Return()
exten => _sw_41_.,10,Voicemail(u${ext})
exten => _sw_41_.,11,Goto(~~s~~,12)
exten => sw_41_,10,Goto(sw_41_.,10)
exten => sw_41_NOANSWER,10,Voicemail(u${ext})
exten => sw_41_NOANSWER,11,Goto(~~s~~,12)
exten => sw_41_ANSWER,10,Goto(~~s~~,12)
exten => sw_41_BUSY,10,Voicemail(b${ext})
exten => sw_41_BUSY,11,Goto(~~s~~,12)
exten => sw_41_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_41_DONTCALL,11,Goto(~~s~~,12)
exten => sw_41_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_41_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_40]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_42_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_40_42)
exten => ~~s~~,13,Return()
exten => _sw_42_.,10,Voicemail(u${ext})
exten => _sw_42_.,11,Goto(~~s~~,12)
exten => sw_42_,10,Goto(sw_42_.,10)
exten => sw_42_NOANSWER,10,Voicemail(u${ext})
exten => sw_42_NOANSWER,11,Goto(~~s~~,12)
exten => sw_42_ANSWER,10,Goto(~~s~~,12)
exten => sw_42_BUSY,10,Voicemail(b${ext})
exten => sw_42_BUSY,11,Goto(~~s~~,12)
exten => sw_42_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_42_DONTCALL,11,Goto(~~s~~,12)
exten => sw_42_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_42_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_41]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_43_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_41_43)
exten => ~~s~~,13,Return()
exten => _sw_43_.,10,Voicemail(u${ext})
exten => _sw_43_.,11,Goto(~~s~~,12)
exten => sw_43_,10,Goto(sw_43_.,10)
exten => sw_43_NOANSWER,10,Voicemail(u${ext})
exten => sw_43_NOANSWER,11,Goto(~~s~~,12)
exten => sw_43_ANSWER,10,Goto(~~s~~,12)
exten => sw_43_BUSY,10,Voicemail(b${ext})
exten => sw_43_BUSY,11,Goto(~~s~~,12)
exten => sw_43_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_43_DONTCALL,11,Goto(~~s~~,12)
exten => sw_43_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_43_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_42]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_44_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_42_44)
exten => ~~s~~,13,Return()
exten => _sw_44_.,10,Voicemail(u${ext})
exten => _sw_44_.,11,Goto(~~s~~,12)
exten => sw_44_,10,Goto(sw_44_.,10)
exten => sw_44_NOANSWER,10,Voicemail(u${ext})
exten => sw_44_NOANSWER,11,Goto(~~s~~,12)
exten => sw_44_ANSWER,10,Goto(~~s~~,12)
exten => sw_44_BUSY,10,Voicemail(b${ext})
exten => sw_44_BUSY,11,Goto(~~s~~,12)
exten => sw_44_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_44_DONTCALL,11,Goto(~~s~~,12)
exten => sw_44_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_44_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_43]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_45_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_43_45)
exten => ~~s~~,13,Return()
exten => _sw_45_.,10,Voicemail(u${ext})
exten => _sw_45_.,11,Goto(~~s~~,12)
exten => sw_45_,10,Goto(sw_45_.,10)
exten => sw_45_NOANSWER,10,Voicemail(u${ext})
exten => sw_45_NOANSWER,11,Goto(~~s~~,12)
exten => sw_45_ANSWER,10,Goto(~~s~~,12)
exten => sw_45_BUSY,10,Voicemail(b${ext})
exten => sw_45_BUSY,11,Goto(~~s~~,12)
exten => sw_45_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_45_DONTCALL,11,Goto(~~s~~,12)
exten => sw_45_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_45_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_44]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_46_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_44_46)
exten => ~~s~~,13,Return()
exten => _sw_46_.,10,Voicemail(u${ext})
exten => _sw_46_.,11,Goto(~~s~~,12)
exten => sw_46_,10,Goto(sw_46_.,10)
exten => sw_46_NOANSWER,10,Voicemail(u${ext})
exten => sw_46_NOANSWER,11,Goto(~~s~~,12)
exten => sw_46_ANSWER,10,Goto(~~s~~,12)
exten => sw_46_BUSY,10,Voicemail(b${ext})
exten => sw_46_BUSY,11,Goto(~~s~~,12)
exten => sw_46_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_46_DONTCALL,11,Goto(~~s~~,12)
exten => sw_46_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_46_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_45]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_47_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_45_47)
exten => ~~s~~,13,Return()
exten => _sw_47_.,10,Voicemail(u${ext})
exten => _sw_47_.,11,Goto(~~s~~,12)
exten => sw_47_,10,Goto(sw_47_.,10)
exten => sw_47_NOANSWER,10,Voicemail(u${ext})
exten => sw_47_NOANSWER,11,Goto(~~s~~,12)
exten => sw_47_ANSWER,10,Goto(~~s~~,12)
exten => sw_47_BUSY,10,Voicemail(b${ext})
exten => sw_47_BUSY,11,Goto(~~s~~,12)
exten => sw_47_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_47_DONTCALL,11,Goto(~~s~~,12)
exten => sw_47_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_47_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_46]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_48_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_46_48)
exten => ~~s~~,13,Return()
exten => _sw_48_.,10,Voicemail(u${ext})
exten => _sw_48_.,11,Goto(~~s~~,12)
exten => sw_48_,10,Goto(sw_48_.,10)
exten => sw_48_NOANSWER,10,Voicemail(u${ext})
exten => sw_48_NOANSWER,11,Goto(~~s~~,12)
exten => sw_48_ANSWER,10,Goto(~~s~~,12)
exten => sw_48_BUSY,10,Voicemail(b${ext})
exten => sw_48_BUSY,11,Goto(~~s~~,12)
exten => sw_48_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_48_DONTCALL,11,Goto(~~s~~,12)
exten => sw_48_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_48_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_47]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_49_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_47_49)
exten => ~~s~~,13,Return()
exten => _sw_49_.,10,Voicemail(u${ext})
exten => _sw_49_.,11,Goto(~~s~~,12)
exten => sw_49_,10,Goto(sw_49_.,10)
exten => sw_49_NOANSWER,10,Voicemail(u${ext})
exten => sw_49_NOANSWER,11,Goto(~~s~~,12)
exten => sw_49_ANSWER,10,Goto(~~s~~,12)
exten => sw_49_BUSY,10,Voicemail(b${ext})
exten => sw_49_BUSY,11,Goto(~~s~~,12)
exten => sw_49_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_49_DONTCALL,11,Goto(~~s~~,12)
exten => sw_49_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_49_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_48]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_50_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_48_50)
exten => ~~s~~,13,Return()
exten => _sw_50_.,10,Voicemail(u${ext})
exten => _sw_50_.,11,Goto(~~s~~,12)
exten => sw_50_,10,Goto(sw_50_.,10)
exten => sw_50_NOANSWER,10,Voicemail(u${ext})
exten => sw_50_NOANSWER,11,Goto(~~s~~,12)
exten => sw_50_ANSWER,10,Goto(~~s~~,12)
exten => sw_50_BUSY,10,Voicemail(b${ext})
exten => sw_50_BUSY,11,Goto(~~s~~,12)
exten => sw_50_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_50_DONTCALL,11,Goto(~~s~~,12)
exten => sw_50_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_50_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_49]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_51_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_49_51)
exten => ~~s~~,13,Return()
exten => _sw_51_.,10,Voicemail(u${ext})
exten => _sw_51_.,11,Goto(~~s~~,12)
exten => sw_51_,10,Goto(sw_51_.,10)
exten => sw_51_NOANSWER,10,Voicemail(u${ext})
exten => sw_51_NOANSWER,11,Goto(~~s~~,12)
exten => sw_51_ANSWER,10,Goto(~~s~~,12)
exten => sw_51_BUSY,10,Voicemail(b${ext})
exten => sw_51_BUSY,11,Goto(~~s~~,12)
exten => sw_51_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_51_DONTCALL,11,Goto(~~s~~,12)
exten => sw_51_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_51_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_50]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_52_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_50_52)
exten => ~~s~~,13,Return()
exten => _sw_52_.,10,Voicemail(u${ext})
exten => _sw_52_.,11,Goto(~~s~~,12)
exten => sw_52_,10,Goto(sw_52_.,10)
exten => sw_52_NOANSWER,10,Voicemail(u${ext})
exten => sw_52_NOANSWER,11,Goto(~~s~~,12)
exten => sw_52_ANSWER,10,Goto(~~s~~,12)
exten => sw_52_BUSY,10,Voicemail(b${ext})
exten => sw_52_BUSY,11,Goto(~~s~~,12)
exten => sw_52_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_52_DONTCALL,11,Goto(~~s~~,12)
exten => sw_52_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_52_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_51]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_53_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_51_53)
exten => ~~s~~,13,Return()
exten => _sw_53_.,10,Voicemail(u${ext})
exten => _sw_53_.,11,Goto(~~s~~,12)
exten => sw_53_,10,Goto(sw_53_.,10)
exten => sw_53_NOANSWER,10,Voicemail(u${ext})
exten => sw_53_NOANSWER,11,Goto(~~s~~,12)
exten => sw_53_ANSWER,10,Goto(~~s~~,12)
exten => sw_53_BUSY,10,Voicemail(b${ext})
exten => sw_53_BUSY,11,Goto(~~s~~,12)
exten => sw_53_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_53_DONTCALL,11,Goto(~~s~~,12)
exten => sw_53_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_53_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_52]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_54_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_52_54)
exten => ~~s~~,13,Return()
exten => _sw_54_.,10,Voicemail(u${ext})
exten => _sw_54_.,11,Goto(~~s~~,12)
exten => sw_54_,10,Goto(sw_54_.,10)
exten => sw_54_NOANSWER,10,Voicemail(u${ext})
exten => sw_54_NOANSWER,11,Goto(~~s~~,12)
exten => sw_54_ANSWER,10,Goto(~~s~~,12)
exten => sw_54_BUSY,10,Voicemail(b${ext})
exten => sw_54_BUSY,11,Goto(~~s~~,12)
exten => sw_54_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_54_DONTCALL,11,Goto(~~s~~,12)
exten => sw_54_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_54_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_53]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_55_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_53_55)
exten => ~~s~~,13,Return()
exten => _sw_55_.,10,Voicemail(u${ext})
exten => _sw_55_.,11,Goto(~~s~~,12)
exten => sw_55_,10,Goto(sw_55_.,10)
exten => sw_55_NOANSWER,10,Voicemail(u${ext})
exten => sw_55_NOANSWER,11,Goto(~~s~~,12)
exten => sw_55_ANSWER,10,Goto(~~s~~,12)
exten => sw_55_BUSY,10,Voicemail(b${ext})
exten => sw_55_BUSY,11,Goto(~~s~~,12)
exten => sw_55_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_55_DONTCALL,11,Goto(~~s~~,12)
exten => sw_55_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_55_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_54]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_56_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_54_56)
exten => ~~s~~,13,Return()
exten => _sw_56_.,10,Voicemail(u${ext})
exten => _sw_56_.,11,Goto(~~s~~,12)
exten => sw_56_,10,Goto(sw_56_.,10)
exten => sw_56_NOANSWER,10,Voicemail(u${ext})
exten => sw_56_NOANSWER,11,Goto(~~s~~,12)
exten => sw_56_ANSWER,10,Goto(~~s~~,12)
exten => sw_56_BUSY,10,Voicemail(b${ext})
exten => sw_56_BUSY,11,Goto(~~s~~,12)
exten => sw_56_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_56_DONTCALL,11,Goto(~~s~~,12)
exten => sw_56_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_56_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_55]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_57_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_55_57)
exten => ~~s~~,13,Return()
exten => _sw_57_.,10,Voicemail(u${ext})
exten => _sw_57_.,11,Goto(~~s~~,12)
exten => sw_57_,10,Goto(sw_57_.,10)
exten => sw_57_NOANSWER,10,Voicemail(u${ext})
exten => sw_57_NOANSWER,11,Goto(~~s~~,12)
exten => sw_57_ANSWER,10,Goto(~~s~~,12)
exten => sw_57_BUSY,10,Voicemail(b${ext})
exten => sw_57_BUSY,11,Goto(~~s~~,12)
exten => sw_57_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_57_DONTCALL,11,Goto(~~s~~,12)
exten => sw_57_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_57_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_56]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_58_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_56_58)
exten => ~~s~~,13,Return()
exten => _sw_58_.,10,Voicemail(u${ext})
exten => _sw_58_.,11,Goto(~~s~~,12)
exten => sw_58_,10,Goto(sw_58_.,10)
exten => sw_58_NOANSWER,10,Voicemail(u${ext})
exten => sw_58_NOANSWER,11,Goto(~~s~~,12)
exten => sw_58_ANSWER,10,Goto(~~s~~,12)
exten => sw_58_BUSY,10,Voicemail(b${ext})
exten => sw_58_BUSY,11,Goto(~~s~~,12)
exten => sw_58_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_58_DONTCALL,11,Goto(~~s~~,12)
exten => sw_58_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_58_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_57]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_59_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_57_59)
exten => ~~s~~,13,Return()
exten => _sw_59_.,10,Voicemail(u${ext})
exten => _sw_59_.,11,Goto(~~s~~,12)
exten => sw_59_,10,Goto(sw_59_.,10)
exten => sw_59_NOANSWER,10,Voicemail(u${ext})
exten => sw_59_NOANSWER,11,Goto(~~s~~,12)
exten => sw_59_ANSWER,10,Goto(~~s~~,12)
exten => sw_59_BUSY,10,Voicemail(b${ext})
exten => sw_59_BUSY,11,Goto(~~s~~,12)
exten => sw_59_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_59_DONTCALL,11,Goto(~~s~~,12)
exten => sw_59_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_59_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_58]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_60_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_58_60)
exten => ~~s~~,13,Return()
exten => _sw_60_.,10,Voicemail(u${ext})
exten => _sw_60_.,11,Goto(~~s~~,12)
exten => sw_60_,10,Goto(sw_60_.,10)
exten => sw_60_NOANSWER,10,Voicemail(u${ext})
exten => sw_60_NOANSWER,11,Goto(~~s~~,12)
exten => sw_60_ANSWER,10,Goto(~~s~~,12)
exten => sw_60_BUSY,10,Voicemail(b${ext})
exten => sw_60_BUSY,11,Goto(~~s~~,12)
exten => sw_60_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_60_DONTCALL,11,Goto(~~s~~,12)
exten => sw_60_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_60_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_59]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_61_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_59_61)
exten => ~~s~~,13,Return()
exten => _sw_61_.,10,Voicemail(u${ext})
exten => _sw_61_.,11,Goto(~~s~~,12)
exten => sw_61_,10,Goto(sw_61_.,10)
exten => sw_61_NOANSWER,10,Voicemail(u${ext})
exten => sw_61_NOANSWER,11,Goto(~~s~~,12)
exten => sw_61_ANSWER,10,Goto(~~s~~,12)
exten => sw_61_BUSY,10,Voicemail(b${ext})
exten => sw_61_BUSY,11,Goto(~~s~~,12)
exten => sw_61_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_61_DONTCALL,11,Goto(~~s~~,12)
exten => sw_61_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_61_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_60]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_62_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_60_62)
exten => ~~s~~,13,Return()
exten => _sw_62_.,10,Voicemail(u${ext})
exten => _sw_62_.,11,Goto(~~s~~,12)
exten => sw_62_,10,Goto(sw_62_.,10)
exten => sw_62_NOANSWER,10,Voicemail(u${ext})
exten => sw_62_NOANSWER,11,Goto(~~s~~,12)
exten => sw_62_ANSWER,10,Goto(~~s~~,12)
exten => sw_62_BUSY,10,Voicemail(b${ext})
exten => sw_62_BUSY,11,Goto(~~s~~,12)
exten => sw_62_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_62_DONTCALL,11,Goto(~~s~~,12)
exten => sw_62_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_62_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_61]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_63_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_61_63)
exten => ~~s~~,13,Return()
exten => _sw_63_.,10,Voicemail(u${ext})
exten => _sw_63_.,11,Goto(~~s~~,12)
exten => sw_63_,10,Goto(sw_63_.,10)
exten => sw_63_NOANSWER,10,Voicemail(u${ext})
exten => sw_63_NOANSWER,11,Goto(~~s~~,12)
exten => sw_63_ANSWER,10,Goto(~~s~~,12)
exten => sw_63_BUSY,10,Voicemail(b${ext})
exten => sw_63_BUSY,11,Goto(~~s~~,12)
exten => sw_63_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_63_DONTCALL,11,Goto(~~s~~,12)
exten => sw_63_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_63_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_62]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_64_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_62_64)
exten => ~~s~~,13,Return()
exten => _sw_64_.,10,Voicemail(u${ext})
exten => _sw_64_.,11,Goto(~~s~~,12)
exten => sw_64_,10,Goto(sw_64_.,10)
exten => sw_64_NOANSWER,10,Voicemail(u${ext})
exten => sw_64_NOANSWER,11,Goto(~~s~~,12)
exten => sw_64_ANSWER,10,Goto(~~s~~,12)
exten => sw_64_BUSY,10,Voicemail(b${ext})
exten => sw_64_BUSY,11,Goto(~~s~~,12)
exten => sw_64_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_64_DONTCALL,11,Goto(~~s~~,12)
exten => sw_64_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_64_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_63]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_65_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_63_65)
exten => ~~s~~,13,Return()
exten => _sw_65_.,10,Voicemail(u${ext})
exten => _sw_65_.,11,Goto(~~s~~,12)
exten => sw_65_,10,Goto(sw_65_.,10)
exten => sw_65_NOANSWER,10,Voicemail(u${ext})
exten => sw_65_NOANSWER,11,Goto(~~s~~,12)
exten => sw_65_ANSWER,10,Goto(~~s~~,12)
exten => sw_65_BUSY,10,Voicemail(b${ext})
exten => sw_65_BUSY,11,Goto(~~s~~,12)
exten => sw_65_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_65_DONTCALL,11,Goto(~~s~~,12)
exten => sw_65_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_65_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_64]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_66_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_64_66)
exten => ~~s~~,13,Return()
exten => _sw_66_.,10,Voicemail(u${ext})
exten => _sw_66_.,11,Goto(~~s~~,12)
exten => sw_66_,10,Goto(sw_66_.,10)
exten => sw_66_NOANSWER,10,Voicemail(u${ext})
exten => sw_66_NOANSWER,11,Goto(~~s~~,12)
exten => sw_66_ANSWER,10,Goto(~~s~~,12)
exten => sw_66_BUSY,10,Voicemail(b${ext})
exten => sw_66_BUSY,11,Goto(~~s~~,12)
exten => sw_66_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_66_DONTCALL,11,Goto(~~s~~,12)
exten => sw_66_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_66_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_65]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_67_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_65_67)
exten => ~~s~~,13,Return()
exten => _sw_67_.,10,Voicemail(u${ext})
exten => _sw_67_.,11,Goto(~~s~~,12)
exten => sw_67_,10,Goto(sw_67_.,10)
exten => sw_67_NOANSWER,10,Voicemail(u${ext})
exten => sw_67_NOANSWER,11,Goto(~~s~~,12)
exten => sw_67_ANSWER,10,Goto(~~s~~,12)
exten => sw_67_BUSY,10,Voicemail(b${ext})
exten => sw_67_BUSY,11,Goto(~~s~~,12)
exten => sw_67_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_67_DONTCALL,11,Goto(~~s~~,12)
exten => sw_67_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_67_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_66]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_68_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_66_68)
exten => ~~s~~,13,Return()
exten => _sw_68_.,10,Voicemail(u${ext})
exten => _sw_68_.,11,Goto(~~s~~,12)
exten => sw_68_,10,Goto(sw_68_.,10)
exten => sw_68_NOANSWER,10,Voicemail(u${ext})
exten => sw_68_NOANSWER,11,Goto(~~s~~,12)
exten => sw_68_ANSWER,10,Goto(~~s~~,12)
exten => sw_68_BUSY,10,Voicemail(b${ext})
exten => sw_68_BUSY,11,Goto(~~s~~,12)
exten => sw_68_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_68_DONTCALL,11,Goto(~~s~~,12)
exten => sw_68_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_68_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_67]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_69_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_67_69)
exten => ~~s~~,13,Return()
exten => _sw_69_.,10,Voicemail(u${ext})
exten => _sw_69_.,11,Goto(~~s~~,12)
exten => sw_69_,10,Goto(sw_69_.,10)
exten => sw_69_NOANSWER,10,Voicemail(u${ext})
exten => sw_69_NOANSWER,11,Goto(~~s~~,12)
exten => sw_69_ANSWER,10,Goto(~~s~~,12)
exten => sw_69_BUSY,10,Voicemail(b${ext})
exten => sw_69_BUSY,11,Goto(~~s~~,12)
exten => sw_69_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_69_DONTCALL,11,Goto(~~s~~,12)
exten => sw_69_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_69_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_68]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_70_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_68_70)
exten => ~~s~~,13,Return()
exten => _sw_70_.,10,Voicemail(u${ext})
exten => _sw_70_.,11,Goto(~~s~~,12)
exten => sw_70_,10,Goto(sw_70_.,10)
exten => sw_70_NOANSWER,10,Voicemail(u${ext})
exten => sw_70_NOANSWER,11,Goto(~~s~~,12)
exten => sw_70_ANSWER,10,Goto(~~s~~,12)
exten => sw_70_BUSY,10,Voicemail(b${ext})
exten => sw_70_BUSY,11,Goto(~~s~~,12)
exten => sw_70_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_70_DONTCALL,11,Goto(~~s~~,12)
exten => sw_70_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_70_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_69]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_71_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_69_71)
exten => ~~s~~,13,Return()
exten => _sw_71_.,10,Voicemail(u${ext})
exten => _sw_71_.,11,Goto(~~s~~,12)
exten => sw_71_,10,Goto(sw_71_.,10)
exten => sw_71_NOANSWER,10,Voicemail(u${ext})
exten => sw_71_NOANSWER,11,Goto(~~s~~,12)
exten => sw_71_ANSWER,10,Goto(~~s~~,12)
exten => sw_71_BUSY,10,Voicemail(b${ext})
exten => sw_71_BUSY,11,Goto(~~s~~,12)
exten => sw_71_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_71_DONTCALL,11,Goto(~~s~~,12)
exten => sw_71_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_71_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_70]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_72_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_70_72)
exten => ~~s~~,13,Return()
exten => _sw_72_.,10,Voicemail(u${ext})
exten => _sw_72_.,11,Goto(~~s~~,12)
exten => sw_72_,10,Goto(sw_72_.,10)
exten => sw_72_NOANSWER,10,Voicemail(u${ext})
exten => sw_72_NOANSWER,11,Goto(~~s~~,12)
exten => sw_72_ANSWER,10,Goto(~~s~~,12)
exten => sw_72_BUSY,10,Voicemail(b${ext})
exten => sw_72_BUSY,11,Goto(~~s~~,12)
exten => sw_72_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_72_DONTCALL,11,Goto(~~s~~,12)
exten => sw_72_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_72_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_71]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_73_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_71_73)
exten => ~~s~~,13,Return()
exten => _sw_73_.,10,Voicemail(u${ext})
exten => _sw_73_.,11,Goto(~~s~~,12)
exten => sw_73_,10,Goto(sw_73_.,10)
exten => sw_73_NOANSWER,10,Voicemail(u${ext})
exten => sw_73_NOANSWER,11,Goto(~~s~~,12)
exten => sw_73_ANSWER,10,Goto(~~s~~,12)
exten => sw_73_BUSY,10,Voicemail(b${ext})
exten => sw_73_BUSY,11,Goto(~~s~~,12)
exten => sw_73_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_73_DONTCALL,11,Goto(~~s~~,12)
exten => sw_73_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_73_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_72]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_74_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_72_74)
exten => ~~s~~,13,Return()
exten => _sw_74_.,10,Voicemail(u${ext})
exten => _sw_74_.,11,Goto(~~s~~,12)
exten => sw_74_,10,Goto(sw_74_.,10)
exten => sw_74_NOANSWER,10,Voicemail(u${ext})
exten => sw_74_NOANSWER,11,Goto(~~s~~,12)
exten => sw_74_ANSWER,10,Goto(~~s~~,12)
exten => sw_74_BUSY,10,Voicemail(b${ext})
exten => sw_74_BUSY,11,Goto(~~s~~,12)
exten => sw_74_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_74_DONTCALL,11,Goto(~~s~~,12)
exten => sw_74_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_74_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten_73]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_75_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_73_75)
exten => ~~s~~,13,Return()
exten => _sw_75_.,10,Voicemail(u${ext})
exten => _sw_75_.,11,Goto(~~s~~,12)
exten => sw_75_,10,Goto(sw_75_.,10)
exten => sw_75_NOANSWER,10,Voicemail(u${ext})
exten => sw_75_NOANSWER,11,Goto(~~s~~,12)
exten => sw_75_ANSWER,10,Goto(~~s~~,12)
exten => sw_75_BUSY,10,Voicemail(b${ext})
exten => sw_75_BUSY,11,Goto(~~s~~,12)
exten => sw_75_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_75_DONTCALL,11,Goto(~~s~~,12)
exten => sw_75_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_75_TORTURE,11,Goto(~~s~~,12)
[std-priv-exten]
exten => ~~s~~,1,Set(LOCAL(dev)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(ext)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(timeout)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(opts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(torcont)=${ARG5})
exten => ~~s~~,6,Set(LOCAL(dontcont)=${ARG6})
exten => ~~s~~,7,Set(LOCAL(~~EXTEN~~)=${EXTEN})
exten => ~~s~~,8,Set(LOCAL(~~EXTEN~~)=${~~EXTEN~~})
exten => ~~s~~,9,Dial(${dev},${timeout},${opts})
exten => ~~s~~,10,NoOp(${DIALSTATUS} was chosen)
exten => ~~s~~,11,Goto(sw_76_${DIALSTATUS},10)
exten => ~~s~~,12,NoOp(Finish switch_std-priv-exten_76)
exten => ~~s~~,13,Return()
exten => _sw_76_.,10,Voicemail(u${ext})
exten => _sw_76_.,11,Goto(~~s~~,12)
exten => sw_76_,10,Goto(sw_76_.,10)
exten => sw_76_NOANSWER,10,Voicemail(u${ext})
exten => sw_76_NOANSWER,11,Goto(~~s~~,12)
exten => sw_76_ANSWER,10,Goto(~~s~~,12)
exten => sw_76_BUSY,10,Voicemail(b${ext})
exten => sw_76_BUSY,11,Goto(~~s~~,12)
exten => sw_76_DONTCALL,10,Goto(${dontcont},s,begin)
exten => sw_76_DONTCALL,11,Goto(~~s~~,12)
exten => sw_76_TORTURE,10,Goto(${torcont},s,begin)
exten => sw_76_TORTURE,11,Goto(~~s~~,12)
[fillcidname]
exten => ~~s~~,1,GotoIf($["${CALLERID(num)}" = "" ]?2:3)
exten => ~~s~~,2,Return()
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(num)})=${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,Return()
[ciddial]
exten => ~~s~~,1,Set(LOCAL(dialnum)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(lookup)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(waittime)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(dialopts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(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)
exten => ~~s~~,20,Return()
[ciddial3]
exten => ~~s~~,1,Set(LOCAL(dialnum)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(lookup)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(waittime)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(dialopts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(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)
exten => ~~s~~,14,Return()
[ciddial2]
exten => ~~s~~,1,Set(LOCAL(dialnum)=${ARG1})
exten => ~~s~~,2,Set(LOCAL(lookup)=${ARG2})
exten => ~~s~~,3,Set(LOCAL(waittime)=${ARG3})
exten => ~~s~~,4,Set(LOCAL(dialopts)=${ARG4})
exten => ~~s~~,5,Set(LOCAL(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)
exten => ~~s~~,20,Return()
[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()
exten => ~~s~~,4,Return()
[callerid-bad]
exten => ~~s~~,1,Set(mycid=$[${CALLERID(num)}:"1([0-9]+)"])
exten => ~~s~~,2,Set(CALLERID(num)=${mycid})
exten => ~~s~~,3,Wait(0)
exten => ~~s~~,4,Return()
[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,Gosub(std-priv-exten,~~s~~,1(Zap/3r1&Zap/5r1,2,25,mtw,telemarket,telemarket))
exten => s,9,Hangup()
exten => s,10,Return()
exten => s,11,NoOp(Finish if_homeline_87)
exten => s,12(postPriv),Gosub(fillcidname,~~s~~,1)
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,Gosub(callerid-bad,~~s~~,1)
exten => s,19,NoOp(Finish if_homeline_88)
exten => s,20,GotoIf($["${CALLERID(num)}" = "7077577685" & "${CALLERID(name)}" : "Privacy Manager" ]?21:22)
exten => s,21,Gosub(callerid-liar,~~s~~,1)
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 => _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,Gosub(std-priv-exten,~~s~~,1(Zap/3r1&Zap/5r1,2,25,mtw,telemarket,telemarket))
exten => sw_92_2,11,Goto(s,loopback)
exten => sw_92_1,10,Gosub(std-priv-exten,~~s~~,1(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,Gosub(std-priv-exten,~~s~~,1(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,Gosub(std-priv-exten,~~s~~,1(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,Gosub(std-priv-exten,~~s~~,1(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,Gosub(std-priv-exten,~~s~~,1(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,Gosub(std-priv-exten,~~s~~,1(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,Gosub(std-priv-exten,~~s~~,1(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,Gosub(std-priv-exten,~~s~~,1(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,Gosub(std-priv-exten,~~s~~,1(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,Gosub(fillcidname,~~s~~,1)
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,Gosub(std-priv-exten,~~s~~,1(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,Gosub(ciddial,~~s~~,1(${EXTEN:1},${EXTEN:2},30,TW,Zap/1))
exten => _9754XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9574XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9202XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9219XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9254XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9716XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9NXXXXXX,1,Gosub(ciddial,~~s~~,1(1707${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9011.,1,Gosub(ciddial,~~s~~,1(${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,Gosub(ciddial2,~~s~~,1(${EXTEN:1},${EXTEN:2},30,TW,Zap/1))
exten => _9754XXXX,1,Gosub(ciddial2,~~s~~,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9574XXXX,1,Gosub(ciddial2,~~s~~,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9202XXXX,1,Gosub(ciddial2,~~s~~,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9219XXXX,1,Gosub(ciddial2,~~s~~,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9254XXXX,1,Gosub(ciddial2,~~s~~,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9716XXXX,1,Gosub(ciddial2,~~s~~,1(${EXTEN:1},707${EXTEN:1},30,TW,Zap/1))
exten => _9NXXXXXX,1,Gosub(ciddial2,~~s~~,1(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,Gosub(ciddial,~~s~~,1(${EXTEN:1}#,${EXTEN:2},30,TW,Zap/2))
exten => _8754XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
exten => _8574XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
exten => _8202XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
exten => _8219XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
exten => _8254XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
exten => _8716XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/2))
exten => _8NXXXXXX,1,Gosub(ciddial,~~s~~,1(${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,Gosub(ciddial3,~~s~~,1(${EXTEN:1}#,${EXTEN:2},30,TW,Zap/1))
exten => _8754XXXX,1,Gosub(ciddial3,~~s~~,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
exten => _8574XXXX,1,Gosub(ciddial3,~~s~~,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
exten => _8202XXXX,1,Gosub(ciddial3,~~s~~,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
exten => _8219XXXX,1,Gosub(ciddial3,~~s~~,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
exten => _8254XXXX,1,Gosub(ciddial3,~~s~~,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
exten => _8716XXXX,1,Gosub(ciddial3,~~s~~,1(${EXTEN:1}#,707${EXTEN:1},30,TW,Zap/1))
exten => _8NXXXXXX,1,Gosub(ciddial3,~~s~~,1(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,Gosub(std-priv-exten,~~s~~,1(Zap/3&Zap/5,2,35,mtw,telemarket,telemarket))
exten => 1,2,Goto(s,loopback)
exten => 2,1,Gosub(std-priv-exten,~~s~~,1(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,Gosub(ciddial,~~s~~,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707219XXXX,1,Gosub(ciddial,~~s~~,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707254XXXX,1,Gosub(ciddial,~~s~~,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707716XXXX,1,Gosub(ciddial,~~s~~,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707754XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707574XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _NXXNXXXXXX,1,Gosub(ciddial,~~s~~,1(1${EXTEN},${EXTEN},30,TW,Zap/1))
exten => _1NXXNXXXXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN},${EXTEN:1},30,TW,Zap/1))
exten => _754XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN},707${EXTEN},30,TW,Zap/1))
exten => _574XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN},707${EXTEN},30,TW,Zap/1))
exten => _NXXXXXX,1,Gosub(ciddial,~~s~~,1(1707${EXTEN},707${EXTEN},30,TW,Zap/1))
exten => _911,1,Gosub(ciddial,~~s~~,1(911,911,30,TW,Zap/1))
exten => _411,1,Gosub(ciddial,~~s~~,1(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,Gosub(ciddial,~~s~~,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707219XXXX,1,Gosub(ciddial,~~s~~,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707254XXXX,1,Gosub(ciddial,~~s~~,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707716XXXX,1,Gosub(ciddial,~~s~~,1(1${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707754XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707574XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _NXXNXXXXXX,1,Gosub(ciddial,~~s~~,1(1${EXTEN},${EXTEN},30,TW,Zap/1))
exten => _1NXXNXXXXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN},${EXTEN:1},30,TW,Zap/1))
exten => _754XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN},707${EXTEN},30,TW,Zap/1))
exten => _574XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN},707${EXTEN},30,TW,Zap/1))
exten => _NXXXXXX,1,Gosub(ciddial,~~s~~,1(1707${EXTEN},707${EXTEN},30,TW,Zap/1))
exten => 911,1,Gosub(ciddial,~~s~~,1(911,911,30,TW,Zap/1))
exten => 411,1,Gosub(ciddial,~~s~~,1(411,411,30,TW,Zap/1))
[fromSeanUniden]
include => parkedcalls
exten => 21,1,Dial(IAX2/seaniax,20,T)
exten => _707202XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707219XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707254XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707716XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707754XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _707574XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN:3},${EXTEN},30,TW,Zap/1))
exten => _NXXNXXXXXX,1,Gosub(ciddial,~~s~~,1(1${EXTEN},${EXTEN},30,TW,Zap/1))
exten => _1NXXNXXXXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN},${EXTEN:1},30,TW,Zap/1))
exten => _754XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN},707${EXTEN},30,TW,Zap/1))
exten => _574XXXX,1,Gosub(ciddial,~~s~~,1(${EXTEN},707${EXTEN},30,TW,Zap/1))
exten => _NXXXXXX,1,Gosub(ciddial,~~s~~,1(1707${EXTEN},707${EXTEN},30,TW,Zap/1))
exten => 911,1,Gosub(ciddial,~~s~~,1(911,911,30,TW,Zap/1))
exten => 411,1,Gosub(ciddial,~~s~~,1(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)