rendered paste body[globals]
#include globals_custom.conf
CALLFILENAME = ""
DIAL_OPTIONS = tr
DIAL_OUT = 9
FAX =
FAX_RX = disabled
FAX_RX_EMAIL = fax@mydomain.com
INCOMING = group-all
NULL = ""
OPERATOR =
PARKNOTIFY = SIP/200
RECORDEXTEN = ""
RINGTIMER = 15
DIRECTORY = last
AFTER_INCOMING =
IN_OVERRIDE = forcereghours
REGTIME = 7:55-17:05
REGDAYS = mon-fri
DIRECTORY_OPTS = e
DIALOUTIDS = 1/2/3/4/5/6/
OUTCID_2 =
VM_PREFIX = *
OUTCID_4 =
OUTMAXCHANS_4 = 1
OUTPREFIX_4 =
OUT_4 = SIP/piclawea
OUTMAXCHANS_2 = 2
OUTPREFIX_2 =
OUT_2 = SIP/25804758
OUTCID_3 =
OUTMAXCHANS_3 = 1
OUTPREFIX_3 =
OUT_3 = SIP/lapmeda
OUTCID_1 =
OUTMAXCHANS_1 = 1
OUTPREFIX_1 =
OUT_1 = SIP/25804757
OUTCID_5 = 767692
OUTMAXCHANS_5 =
OUTPREFIX_5 =
OUT_5 = IAX2/FreeWorldDialup
TONEZONE = cl
ALLOW_SIP_ANON = yes
FAX_RX_FROM = freepbx@gmail.com
OUTCID_6 =
OUTMAXCHANS_6 =
OUTPREFIX_6 = 393*
OUT_6 = SIP/redlibre
;end of [globals]
[macro-pinsets]
include => macro-pinsets-custom
exten => s,1,GotoIf(${ARG2} = 1?cdr,1)
exten => s,n,Authenticate(/etc/asterisk/pinset_${ARG1},)
exten => cdr,1,Authenticate(/etc/asterisk/pinset_${ARG1},a)
; end of [macro-pinsets]
[ext-group]
include => ext-group-custom
exten => 1,1,Macro(user-callerid,)
exten => 1,n,GotoIf($[${CALLERID(name):0:${LEN(${RGPREFIX})}} != ${RGPREFIX}]?NEWPREFIX) exten => 1,n,Set(CALLERID(name)=${CALLERID(name):${LEN(${RGPREFIX})}})
exten => 1,n(NEWPREFIX),Set(RGPREFIX=)
exten => 1,n,Set(CALLERID(name)=${RGPREFIX}${CALLERID(name)})
exten => 1,n,Set(RecordMethod=Group)
exten => 1,n,Macro(record-enable,1011-101,${RecordMethod})
exten => 1,n,Set(RingGroupMethod=hunt)
exten => 1,n(DIALGRP),Macro(dial,30,${DIAL_OPTIONS},1011-101)
exten => 1,n,Set(RingGroupMethod=)
exten => 1,n,Goto(ext-local,101,1)
; end of [ext-group]
[app-recordings]
include => app-recordings-custom
exten => *77,1,Macro(user-callerid,)
exten => *77,n,Wait(2)
exten => *77,n,Macro(systemrecording,dorecord)
exten => *99,1,Macro(user-callerid,)
exten => *99,n,Wait(2)
exten => *99,n,Macro(systemrecording,docheck)
; end of [app-recordings]
[ivr-1]
include => ivr-1-custom
include => app-directory
exten => h,1,Hangup
exten => s,1,Set(LOOPCOUNT=0)
exten => s,n,Set(__DIR-CONTEXT=default)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Set(TIMEOUT(digit)=3) exten => s,n,Set(TIMEOUT(response)=10) exten => s,n,Background(custom/Contestador_General)
exten => hang,1,Playback(vm-goodbye)
exten => hang,n,Hangup
exten => 101,1,Goto(ext-local,101,1)
exten => 102,1,Goto(ext-local,102,1)
exten => i,1,Playback(invalid)
exten => i,n,Goto(loop,1)
exten => t,1,Goto(loop,1)
exten => loop,1,Set(LOOPCOUNT=$[${LOOPCOUNT} + 1]) exten => loop,n,GotoIf($[${LOOPCOUNT} > 2]?hang,1) exten => loop,n,Goto(ivr-1,s,begin) exten => fax,1,Goto(ext-fax,in_fax,1)
; end of [ivr-1]
[ivr-5]
include => ivr-5-custom
include => app-directory
exten => h,1,Hangup
exten => s,1,Set(LOOPCOUNT=0)
exten => s,n,Set(__DIR-CONTEXT=default)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Set(TIMEOUT(digit)=3) exten => s,n,Set(TIMEOUT(response)=10) exten => s,n,Background(custom/TomLec1) exten => hang,1,Playback(vm-goodbye) exten => hang,n,Hangup exten => 0,1,Goto(ivr-6,s,1) exten => 101,1,Goto(ext-local,101,1) exten => 103,1,Goto(ext-local,103,1) exten => 104,1,Goto(ext-local,104,1) exten => i,1,Playback(invalid) exten => i,n,Goto(loop,1) exten => t,1,Goto(loop,1) exten => loop,1,Set(LOOPCOUNT=$[${LOOPCOUNT} + 1]) exten => loop,n,GotoIf($[${LOOPCOUNT} > 2]?hang,1) exten => loop,n,Goto(ivr-5,s,begin) exten => fax,1,Goto(ext-fax,in_fax,1)
; end of [ivr-5]
[ivr-6]
include => ivr-6-custom
include => app-directory
exten => h,1,Hangup
exten => s,1,Set(LOOPCOUNT=0)
exten => s,n,Set(__DIR-CONTEXT=default)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Set(TIMEOUT(digit)=3) exten => s,n,Set(TIMEOUT(response)=10) exten => s,n,Background(custom/TomLec2) exten => hang,1,Playback(vm-goodbye) exten => hang,n,Hangup exten => 101,1,Goto(ext-local,101,1) exten => 103,1,Goto(ext-local,103,1) exten => 104,1,Goto(ext-local,104,1) exten => i,1,Playback(invalid) exten => i,n,Goto(loop,1) exten => t,1,Goto(loop,1) exten => loop,1,Set(LOOPCOUNT=$[${LOOPCOUNT} + 1]) exten => loop,n,GotoIf($[${LOOPCOUNT} > 2]?hang,1) exten => loop,n,Goto(ivr-6,s,begin) exten => fax,1,Goto(ext-fax,in_fax,1)
; end of [ivr-6]
[app-calltrace]
include => app-calltrace-custom
exten => *69,1,Goto(app-calltrace-perform,s,1)
; end of [app-calltrace]
[app-calltrace-perform]
include => app-calltrace-perform-custom
exten => s,1,Macro(user-callerid,)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n,Playback(info-about-last-call&telephone-number)
exten => s,n,Set(lastcaller=${DB(CALLTRACE/${CALLERID(number)})})
exten => s,n,GotoIf($[ "${lastcaller}" = "" ]?noinfo) exten => s,n,SayDigits(${lastcaller}) exten => s,n,Set(TIMEOUT(digit)=3) exten => s,n,Set(TIMEOUT(response)=7) exten => s,n,Background(to-call-this-number&press-1)
exten => s,n,Goto(fin)
exten => s,n(noinfo),Playback(from-unknown-caller)
exten => s,n,Macro(hangupcall,)
exten => s,n(fin),Noop(Waiting for input) exten => 1,1,Goto(from-internal,${lastcaller},1)
exten => i,1,Playback(vm-goodbye)
exten => i,n,Macro(hangupcall,)
exten => t,1,Playback(vm-goodbye)
exten => t,n,Macro(hangupcall,)
; end of [app-calltrace-perform]
[app-directory]
include => app-directory-custom
exten => #,1,Wait(1)
exten => #,n,AGI(directory,${DIR-CONTEXT},ext-local,${DIRECTORY:0:1}${DIRECTORY_OPTS}o)
exten => #,n,Playback(vm-goodbye)
exten => #,n,Hangup
; end of [app-directory]
[app-echo-test]
include => app-echo-test-custom
exten => *43,1,Answer
exten => *43,n,Wait(1)
exten => *43,n,Playback(demo-echotest)
exten => *43,n,Echo()
exten => *43,n,Playback(demo-echodone)
exten => *43,n,Hangup
; end of [app-echo-test]
[app-speakextennum]
include => app-speakextennum-custom
exten => *65,1,Answer
exten => *65,n,Wait(1)
exten => *65,n,Playback(your)
exten => *65,n,Playback(extension)
exten => *65,n,Playback(number)
exten => *65,n,Playback(is)
exten => *65,n,SayDigits(${CALLERIDNUM}) exten => *65,n,Wait(2) exten => *65,n,Hangup
; end of [app-speakextennum]
[app-speakingclock]
include => app-speakingclock-custom
exten => *60,1,Answer
exten => *60,n,Wait(1)
exten => *60,n,Playback(at-tone-time-exactly)
exten => *60,n,SayUnixTime(,,IMp)
exten => *60,n,Playback(beep)
exten => *60,n,Hangup
; end of [app-speakingclock]
[app-callwaiting-cwoff]
include => app-callwaiting-cwoff-custom
exten => *71,1,Answer
exten => *71,n,Wait(1)
exten => *71,n,Macro(user-callerid,)
exten => *71,n,dbDel(CW/${CALLERID(number)})
exten => *71,n,Playback(call-waiting&de-activated)
exten => *71,n,Macro(hangupcall,)
; end of [app-callwaiting-cwoff]
[app-callwaiting-cwon]
include => app-callwaiting-cwon-custom
exten => *70,1,Answer
exten => *70,n,Wait(1)
exten => *70,n,Macro(user-callerid,)
exten => *70,n,Set(DB(CW/${CALLERID(number)})=ENABLED)
exten => *70,n,Playback(call-waiting&activated)
exten => *70,n,Macro(hangupcall,)
; end of [app-callwaiting-cwon]
[ext-findmefollow]
include => ext-findmefollow-custom
exten => 101,1,Macro(user-callerid,)
exten => 101,n,GotoIf($[${CALLERID(name):0:${LEN(${RGPREFIX})}} != ${RGPREFIX}]?NEWPREFIX) exten => 101,n,Set(CALLERID(name)=${CALLERID(name):${LEN(${RGPREFIX})}})
exten => 101,n(NEWPREFIX),Set(RGPREFIX=) exten => 101,n,Set(CALLERID(name)=${RGPREFIX}${CALLERID(name)})
exten => 101,n,Set(RecordMethod=Group)
exten => 101,n,Macro(record-enable,${MACRO_EXTEN},${RecordMethod})
exten => 101,n,Set(RingGroupMethod=hunt) exten => 101,n(DIALGRP),Macro(dial,30,${DIAL_OPTIONS},1011-101)
exten => 101,n,Set(RingGroupMethod=)
exten => 101,n,Goto(ext-local,101,1)
; end of [ext-findmefollow]
[app-cf-busy-off]
include => app-cf-busy-off-custom
exten => *91,1,Answer
exten => *91,n,Wait(1)
exten => *91,n,Macro(user-callerid,)
exten => *91,n,dbDel(CFB/${CALLERID(number)})
exten => *91,n,Playback(call-fwd-on-busy&de-activated)
exten => *91,n,Macro(hangupcall,)
exten => _*91.,1,Answer
exten => _*91.,n,Wait(1)
exten => _*91.,n,Set(fromext=${EXTEN:3}) exten => _*91.,n,dbDel(CFB/${fromext}) exten => _*91.,n,Playback(call-fwd-on-busy&for&extension)
exten => _*91.,n,SayDigits(${fromext})
exten => _*91.,n,Playback(cancelled)
exten => _*91.,n,Macro(hangupcall,)
; end of [app-cf-busy-off]
[app-cf-busy-off-any]
include => app-cf-busy-off-any-custom
exten => *92,1,Answer
exten => *92,n,Wait(1)
exten => *92,n,Playback(please-enter-your&extension)
exten => *92,n,Read(fromext,then-press-pound,,)
exten => *92,n,Wait(1)
exten => *92,n,dbDel(CFB/${fromext})
exten => *92,n,Playback(call-fwd-on-busy&for&extension)
exten => *92,n,SayDigits(${fromext})
exten => *92,n,Playback(cancelled)
exten => *92,n,Macro(hangupcall,)
; end of [app-cf-busy-off-any]
[app-cf-busy-on]
include => app-cf-busy-on-custom
exten => *90,1,Answer
exten => *90,n,Wait(1)
exten => *90,n,Playback(call-fwd-on-busy) exten => *90,n,Playback(please-enter-your&extension)
exten => *90,n,Read(fromext,then-press-pound,,)
exten => *90,n,Set(fromext=${IF($["foo${fromext}"="foo"]?${CALLERID(number)}:${fromext})})
exten => *90,n,Wait(1)
exten => *90,n(startread),Playback(ent-target-attendant)
exten => *90,n,Read(toext,then-press-pound,,)
exten => *90,n,GotoIf($["foo${toext}"="foo"]?startread)
exten => *90,n,Wait(1)
exten => *90,n,Set(DB(CFB/${fromext})=${toext})
exten => *90,n,Playback(call-fwd-on-busy&for&extension)
exten => *90,n,SayDigits(${fromext})
exten => *90,n,Playback(is-set-to)
exten => *90,n,SayDigits(${toext})
exten => *90,n,Macro(hangupcall,)
exten => _*90.,1,Answer
exten => _*90.,n,Wait(1)
exten => _*90.,n,Macro(user-callerid,)
exten => _*90.,n,Set(DB(CFB/${CALLERID(number)})=${EXTEN:3})
exten => _*90.,n,Playback(call-fwd-on-busy&for&extension)
exten => _*90.,n,SayDigits(${CALLERID(number)})
exten => _*90.,n,Playback(is-set-to)
exten => _*90.,n,SayDigits(${EXTEN:3})
exten => _*90.,n,Macro(hangupcall,)
; end of [app-cf-busy-on]
[app-cf-off]
include => app-cf-off-custom
exten => *73,1,Answer
exten => *73,n,Wait(1)
exten => *73,n,Macro(user-callerid,)
exten => *73,n,dbDel(CF/${CALLERID(number)})
exten => *73,n,Playback(call-fwd-unconditional&de-activated)
exten => *73,n,Macro(hangupcall,)
exten => _*73.,1,Answer
exten => _*73.,n,Wait(1)
exten => _*73.,n,Set(fromext=${EXTEN:3}) exten => _*73.,n,dbDel(CF/${fromext}) exten => _*73.,n,Playback(call-fwd-unconditional&for&extension)
exten => _*73.,n,SayDigits(${fromext})
exten => _*73.,n,Playback(cancelled)
exten => _*73.,n,Macro(hangupcall,)
; end of [app-cf-off]
[app-cf-off-any]
include => app-cf-off-any-custom
exten => *74,1,Answer
exten => *74,n,Wait(1)
exten => *74,n,Playback(please-enter-your&extension)
exten => *74,n,Read(fromext,then-press-pound,,)
exten => *74,n,Wait(1)
exten => *74,n,dbDel(CF/${fromext})
exten => *74,n,Playback(call-fwd-unconditional&for&extension)
exten => *74,n,SayDigits(${fromext})
exten => *74,n,Playback(cancelled)
exten => *74,n,Macro(hangupcall,)
; end of [app-cf-off-any]
[app-cf-on]
include => app-cf-on-custom
exten => *72,1,Answer
exten => *72,n,Wait(1)
exten => *72,n,Playback(call-fwd-unconditional)
exten => *72,n,Playback(please-enter-your&extension)
exten => *72,n,Read(fromext,then-press-pound,,)
exten => *72,n,Set(fromext=${IF($["foo${fromext}"="foo"]?${CALLERID(number)}:${fromext})})
exten => *72,n,Wait(1)
exten => *72,n(startread),Playback(ent-target-attendant)
exten => *72,n,Read(toext,then-press-pound,,)
exten => *72,n,GotoIf($["foo${toext}"="foo"]?startread)
exten => *72,n,Wait(1)
exten => *72,n,Set(DB(CF/${fromext})=${toext})
exten => *72,n,Playback(call-fwd-unconditional&for&extension)
exten => *72,n,SayDigits(${fromext})
exten => *72,n,Playback(is-set-to)
exten => *72,n,SayDigits(${toext})
exten => *72,n,Macro(hangupcall,)
exten => _*72.,1,Answer
exten => _*72.,n,Wait(1)
exten => _*72.,n,Macro(user-callerid,)
exten => _*72.,n,Set(DB(CF/${CALLERID(number)})=${EXTEN:3})
exten => _*72.,n,Playback(call-fwd-unconditional&for&extension)
exten => _*72.,n,SayDigits(${CALLERID(number)})
exten => _*72.,n,Playback(is-set-to)
exten => _*72.,n,SayDigits(${EXTEN:3})
exten => _*72.,n,Macro(hangupcall,)
; end of [app-cf-on]
[app-cf-unavailable-off]
include => app-cf-unavailable-off-custom exten => *53,1,Answer exten => *53,n,Wait(1) exten => *53,n,Macro(user-callerid,) exten => *53,n,dbDel(CFU/${CALLERID(number)})
exten => *53,n,Playback(call-fwd-no-ans&de-activated)
exten => *53,n,Macro(hangupcall,)
exten => _*53.,1,Answer
exten => _*53.,n,Wait(1)
exten => _*53.,n,Set(fromext=${EXTEN:3}) exten => _*53.,n,dbDel(CFU/${fromext}) exten => _*53.,n,Playback(call-fwd-no-ans&for&extension)
exten => _*53.,n,SayDigits(${fromext})
exten => _*53.,n,Playback(cancelled)
exten => _*53.,n,Macro(hangupcall,)
; end of [app-cf-unavailable-off]
[app-cf-unavailable-on]
include => app-cf-unavailable-on-custom
exten => *52,1,Answer
exten => *52,n,Wait(1)
exten => *52,n,Playback(call-fwd-no-ans) exten => *52,n,Playback(please-enter-your&extension)
exten => *52,n,Read(fromext,then-press-pound,,)
exten => *52,n,Set(fromext=${IF($["foo${fromext}"="foo"]?${CALLERID(number)}:${fromext})})
exten => *52,n,Wait(1)
exten => *52,n(startread),Playback(ent-target-attendant)
exten => *52,n,Read(toext,then-press-pound,,)
exten => *52,n,GotoIf($["foo${toext}"="foo"]?startread)
exten => *52,n,Wait(1)
exten => *52,n,Set(DB(CFU/${fromext})=${toext})
exten => *52,n,Playback(call-fwd-no-ans&for&extension)
exten => *52,n,SayDigits(${fromext})
exten => *52,n,Playback(is-set-to)
exten => *52,n,SayDigits(${toext})
exten => *52,n,Macro(hangupcall,)
exten => _*52.,1,Answer
exten => _*52.,n,Wait(1)
exten => _*52.,n,Macro(user-callerid,)
exten => _*52.,n,Set(DB(CFU/${CALLERID(number)})=${EXTEN:3})
exten => _*52.,n,Playback(call-fwd-no-ans&for&extension)
exten => _*52.,n,SayDigits(${CALLERID(number)})
exten => _*52.,n,Playback(is-set-to)
exten => _*52.,n,SayDigits(${EXTEN:3})
exten => _*52.,n,Macro(hangupcall,)
; end of [app-cf-unavailable-on]
[app-dialvm]
include => app-dialvm-custom
exten => *98,1,Answer
exten => *98,n,Wait(1)
exten => *98,n,VoiceMailMain()
exten => *98,n,Macro(hangupcall,)
exten => _*98.,1,Answer
exten => _*98.,n,Wait(1)
exten => _*98.,n,Macro(get-vmcontext,${EXTEN:3})
exten => _*98.,n,VoiceMailMain(${EXTEN:3}@${VMCONTEXT})
exten => _*98.,n,Macro(hangupcall,)
; end of [app-dialvm]
[app-vmmain]
include => app-vmmain-custom
exten => *97,1,Answer
exten => *97,n,Wait(1)
exten => *97,n,Macro(user-callerid,)
exten => *97,n,Macro(get-vmcontext,${CALLERID(num)})
exten => *97,n,VoiceMailMain(${CALLERID(num)}@${VMCONTEXT})
exten => *97,n,Macro(hangupcall,)
; end of [app-vmmain]
[app-dnd-off]
include => app-dnd-off-custom
exten => *79,1,Answer
exten => *79,n,Wait(1)
exten => *79,n,Macro(user-callerid,)
exten => *79,n,dbDel(DND/${CALLERID(number)})
exten => *79,n,Playback(do-not-disturb&de-activated)
exten => *79,n,Macro(hangupcall,)
; end of [app-dnd-off]
[app-dnd-on]
include => app-dnd-on-custom
exten => *78,1,Answer
exten => *78,n,Wait(1)
exten => *78,n,Macro(user-callerid,)
exten => *78,n,Set(DB(DND/${CALLERID(number)})=YES)
exten => *78,n,Playback(do-not-disturb&activated)
exten => *78,n,Macro(hangupcall,)
; end of [app-dnd-on]
[app-userlogonoff]
include => app-userlogonoff-custom
exten => *12,1,Macro(user-logoff,)
exten => *12,n,Hangup
exten => *11,1,Macro(user-logon,)
exten => *11,n,Hangup
exten => _*11.,1,Macro(user-logon,${EXTEN:3},)
exten => _*11.,n,Hangup
; end of [app-userlogonoff]
[app-zapbarge]
include => app-zapbarge-custom
exten => 888,1,Macro(user-callerid,)
exten => 888,n,Set(GROUP()=${CALLERID(number)})
exten => 888,n,Answer
exten => 888,n,Wait(1)
exten => 888,n,ZapBarge()
exten => 888,n,Hangup
; end of [app-zapbarge]
[ext-test]
include => ext-test-custom
exten => 7777,1,Goto(from-pstn,s,1)
exten => 666,1,Goto(ext-fax,in_fax,1)
exten => h,1,Macro(hangupcall,)
; end of [ext-test]
[ext-did]
include => ext-did-custom
exten => 25804757,1,Set(FROM_DID=25804757) exten => 25804757,n,Answer exten => 25804757,n,Wait(0) exten => 25804757,n,Goto(ext-group,1,1) exten => 25804758,1,Set(FROM_DID=25804758) exten => 25804758,n,Goto(ext-local,102,1) exten => 25804759,1,Set(FROM_DID=25804759) exten => 25804759,n,Goto(ivr-5,s,1) exten => 25804760,1,Set(FROM_DID=25804760) exten => 25804760,n,Goto(ivr-1,s,1) exten => 767692,1,Set(FROM_DID=767692) exten => 767692,n,Goto(ext-local,1011,1) exten => s,1,Noop(No DID or CID Match) exten => s,n,Answer exten => s,n,Wait(2) exten => s,n,Playback(ss-noservice) exten => s,n,SayAlpha(${FROM_DID}) exten => _[*#X].,1,Set(FROM_DID=${EXTEN}) exten => _[*#X].,n,Goto(ext-did,s,1)
; end of [ext-did]
[ext-local]
include => ext-local-custom
exten => 101,1,Macro(exten-vm,101,101)
exten => 101,hint,SIP/101
exten => ${VM_PREFIX}101,1,Macro(vm,101,DIRECTDIAL)
exten => 102,1,Macro(exten-vm,102,102)
exten => 102,hint,SIP/102
exten => ${VM_PREFIX}102,1,Macro(vm,102,DIRECTDIAL)
exten => 103,1,Macro(exten-vm,103,103)
exten => 103,hint,SIP/103
exten => ${VM_PREFIX}103,1,Macro(vm,103,DIRECTDIAL)
exten => 104,1,Macro(exten-vm,104,104)
exten => 104,hint,SIP/104
exten => ${VM_PREFIX}104,1,Macro(vm,104,DIRECTDIAL)
exten => 105,1,Macro(exten-vm,105,105)
exten => 105,hint,SIP/105
exten => ${VM_PREFIX}105,1,Macro(vm,105,DIRECTDIAL)
exten => 199,1,Macro(exten-vm,199,199)
exten => 199,hint,SIP/199
exten => ${VM_PREFIX}199,1,Macro(vm,199,DIRECTDIAL)
exten => 200,1,Macro(exten-vm,200,200)
exten => 200,hint,SIP/200
exten => ${VM_PREFIX}200,1,Macro(vm,200,DIRECTDIAL)
exten => 1011,1,Macro(exten-vm,novm,1011) exten => 1011,hint,SIP/1011
; end of [ext-local]
[outbound-allroutes]
include => outbound-allroutes-custom
include => outrt-001-RUTA1
include => outrt-002-USA
exten => foo,1,Noop(bar)
; end of [outbound-allroutes]
[outrt-001-RUTA1]
include => outrt-001-RUTA1-custom
exten => _1.,1,Macro(dialout-trunk,4,${EXTEN:1},,)
exten => _1.,n,Macro(outisbusy,)
; end of [outrt-001-RUTA1]
[outrt-002-USA]
include => outrt-002-USA-custom
exten => _2.,1,Macro(dialout-trunk,6,${EXTEN:1},,)
exten => _2.,n,Macro(outisbusy,)
; end of [outrt-002-USA]
[from-internal-additional]
include => from-internal-additional-custom include => ext-group include => app-recordings include => app-calltrace include => app-directory include => app-echo-test include => app-speakextennum include => app-speakingclock include => ext-meetme include => app-callwaiting-cwoff include => app-callwaiting-cwon include => ext-findmefollow include => app-cf-busy-off include => app-cf-busy-off-any include => app-cf-busy-on include => app-cf-off include => app-cf-off-any include => app-cf-on include => app-cf-unavailable-off include => app-cf-unavailable-on include => app-dialvm include => app-vmmain include => app-dnd-off include => app-dnd-on include => ext-queues include => app-userlogonoff include => app-zapbarge include => ext-test include => ext-local include => outbound-allroutes exten => h,1,Hangup
; end of [from-internal-additional]