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