12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182 |
- [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)
|