[globals]
#include globals_custom.conf
VM_PREFIX = *
RINGTIMER = 35
REGTIME = 7:55-17:05
REGDAYS = mon-fri
RECORDEXTEN = ""
PARKNOTIFY = SIP/200
OUT_1 = ZAP/g1
OUTPREFIX_1 = 
OUTMAXCHANS_1 = 32
OUTCID_1 = 033811234100
OPERATOR = 
NULL = ""
IN_OVERRIDE = forcereghours
INCOMING = EXT-100
FAX_RX_EMAIL = info@rapideye.de
FAX_RX = 101
FAX = 
DIRECTORY_OPTS = 
DIRECTORY = last
DIAL_OUT = 9
DIAL_OPTIONS = tr
DIALOUTIDS = 1/
CALLFILENAME = ""
AFTER_INCOMING = 

[ext-did]
include => ext-did-custom
exten => 12340,1,SetVar(FROM_DID=12340)
exten => 12340,2,Goto(ext-local,100,1)
exten => 1234100,1,SetVar(FROM_DID=1234100)
exten => 1234100,2,Goto(ext-local,100,1)
exten => 1234101,1,SetVar(FROM_DID=1234101)
exten => 1234101,2,Goto(ext-local,101,1)
exten => 1234102,1,SetVar(FROM_DID=1234102)
exten => 1234102,2,Goto(ext-local,102,1)
exten => 1234111,1,SetVar(FROM_DID=1234111)
exten => 1234111,2,Goto(custom-meetme,s,1)
exten => 1234112,1,SetVar(FROM_DID=1234112)
exten => 1234112,2,Goto(custom-meetme,s,1)
exten => 1234151,1,SetVar(FROM_DID=1234151)
exten => 1234151,2,Goto(ext-local,151,1)
exten => 1234201,1,SetVar(FROM_DID=1234201)
exten => 1234201,2,Goto(ext-local,201,1)
exten => 1234301,1,SetVar(FROM_DID=1234301)
exten => 1234301,2,Goto(ext-local,301,1)
exten => 1234302,1,SetVar(FROM_DID=1234302)
exten => 1234302,2,Goto(ext-local,506,1)
exten => 1234303,1,SetVar(FROM_DID=1234303)
exten => 1234303,2,Goto(ext-local,303,1)
exten => 1234304,1,SetVar(FROM_DID=1234304)
exten => 1234304,2,Goto(ext-local,304,1)
exten => 1234305,1,SetVar(FROM_DID=1234305)
exten => 1234305,2,Goto(ext-local,451,1)
exten => 1234306,1,SetVar(FROM_DID=1234306)
exten => 1234306,2,Goto(ext-local,306,1)
exten => 1234307,1,SetVar(FROM_DID=1234307)
exten => 1234307,2,Goto(ext-local,307,1)
exten => 1234308,1,SetVar(FROM_DID=1234308)
exten => 1234308,2,Goto(ext-local,308,1)
exten => 1234309,1,SetVar(FROM_DID=1234309)
exten => 1234309,2,Goto(ext-local,309,1)
exten => 1234310,1,SetVar(FROM_DID=1234310)
exten => 1234310,2,Goto(ext-local,102,1)
exten => 1234311,1,SetVar(FROM_DID=1234311)
exten => 1234311,2,Goto(ext-local,311,1)
exten => 1234312,1,SetVar(FROM_DID=1234312)
exten => 1234312,2,Goto(ext-local,312,1)
exten => 1234313,1,SetVar(FROM_DID=1234313)
exten => 1234313,2,Goto(ext-local,313,1)
exten => 1234314,1,SetVar(FROM_DID=1234314)
exten => 1234314,2,Goto(ext-local,314,1)
exten => 1234315,1,SetVar(FROM_DID=1234315)
exten => 1234315,2,Goto(ext-local,315,1)
exten => 1234316,1,SetVar(FROM_DID=1234316)
exten => 1234316,2,Goto(ext-local,316,1)
exten => 1234401,1,SetVar(FROM_DID=1234401)
exten => 1234401,2,Goto(ext-local,401,1)
exten => 1234402,1,SetVar(FROM_DID=1234402)
exten => 1234402,2,Goto(ext-local,402,1)
exten => 1234403,1,SetVar(FROM_DID=1234403)
exten => 1234403,2,Goto(ext-local,403,1)
exten => 1234404,1,SetVar(FROM_DID=1234404)
exten => 1234404,2,Goto(ext-local,404,1)
exten => 1234405,1,SetVar(FROM_DID=1234405)
exten => 1234405,2,Goto(ext-local,405,1)
exten => 1234451,1,SetVar(FROM_DID=1234451)
exten => 1234451,2,Goto(ext-local,451,1)
exten => 1234501,1,SetVar(FROM_DID=1234501)
exten => 1234501,2,Goto(ext-local,501,1)
exten => 1234502,1,SetVar(FROM_DID=1234502)
exten => 1234502,2,Goto(ext-local,502,1)
exten => 1234503,1,SetVar(FROM_DID=1234503)
exten => 1234503,2,Goto(ext-local,503,1)
exten => 1234504,1,SetVar(FROM_DID=1234504)
exten => 1234504,2,Goto(ext-local,504,1)
exten => 1234505,1,SetVar(FROM_DID=1234505)
exten => 1234505,2,Goto(ext-local,505,1)
exten => 1234506,1,SetVar(FROM_DID=1234506)
exten => 1234506,2,Goto(ext-local,506,1)
exten => 1234507,1,SetVar(FROM_DID=1234507)
exten => 1234507,2,Goto(ext-local,507,1)

[ext-group]
include => ext-group-custom
exten => 150,1,Macro(rg-group,ringall,15,,151-201-301-401-402-501)
exten => 150,2,Goto(ext-local,100,1)	; jump
exten => 200,1,Macro(rg-group,ringall,15,,201-301-401-402-501)
exten => 200,2,Goto(ext-local,100,1)	; jump
exten => 300,1,Macro(rg-group,ringall,15,,301-303-306-307-308-309-311-312-313-314-315-316-506)
exten => 300,2,Goto(ext-local,100,1)	; jump
exten => 400,1,Macro(rg-group,ringall,15,,401-402-403-404-405)
exten => 400,2,Goto(ext-local,100,1)	; jump
exten => 450,1,Macro(rg-group,ringall,15,,451)
exten => 450,2,Goto(ext-local,100,1)	; jump
exten => 500,1,Macro(rg-group,ringall,15,,301-316-501-502-503-504-505-506-507-508)
exten => 500,2,Goto(ext-local,100,1)	; jump

[ext-local]
include => ext-local-custom
exten => 100,1,Macro(exten-vm,100,100)
exten => ${VM_PREFIX}100,1,Macro(vm,100)
exten => 100,hint,SIP/100
exten => 101,1,Macro(exten-vm,novm,101)
exten => 101,hint,SIP/101
exten => 102,1,Macro(exten-vm,novm,102)
exten => 102,hint,SIP/102
exten => 110,1,Macro(exten-vm,novm,110)
exten => 110,hint,SIP/110
exten => 151,1,Macro(exten-vm,novm,151)
exten => 151,hint,SIP/100
exten => 201,1,Macro(exten-vm,201,201)
exten => ${VM_PREFIX}201,1,Macro(vm,201)
exten => 201,hint,SIP/201
exten => 301,1,Macro(exten-vm,301,301)
exten => ${VM_PREFIX}301,1,Macro(vm,301)
exten => 301,hint,SIP/301
exten => 302,1,Macro(exten-vm,novm,302)
exten => 302,hint,SIP/506
exten => 303,1,Macro(exten-vm,303,303)
exten => ${VM_PREFIX}303,1,Macro(vm,303)
exten => 303,hint,SIP/303
exten => 304,1,Macro(exten-vm,304,304)
exten => ${VM_PREFIX}304,1,Macro(vm,304)
exten => 304,hint,SIP/304
exten => 305,1,Macro(exten-vm,novm,305)
exten => 305,hint,SIP/451
exten => 306,1,Macro(exten-vm,306,306)
exten => ${VM_PREFIX}306,1,Macro(vm,306)
exten => 306,hint,SIP/306
exten => 307,1,Macro(exten-vm,307,307)
exten => ${VM_PREFIX}307,1,Macro(vm,307)
exten => 307,hint,SIP/307
exten => 308,1,Macro(exten-vm,308,308)
exten => ${VM_PREFIX}308,1,Macro(vm,308)
exten => 308,hint,SIP/308
exten => 309,1,Macro(exten-vm,309,309)
exten => ${VM_PREFIX}309,1,Macro(vm,309)
exten => 309,hint,SIP/309
exten => 311,1,Macro(exten-vm,311,311)
exten => ${VM_PREFIX}311,1,Macro(vm,311)
exten => 311,hint,SIP/311
exten => 312,1,Macro(exten-vm,312,312)
exten => ${VM_PREFIX}312,1,Macro(vm,312)
exten => 312,hint,SIP/312
exten => 313,1,Macro(exten-vm,313,313)
exten => ${VM_PREFIX}313,1,Macro(vm,313)
exten => 313,hint,SIP/313
exten => 314,1,Macro(exten-vm,314,314)
exten => ${VM_PREFIX}314,1,Macro(vm,314)
exten => 314,hint,SIP/314
exten => 315,1,Macro(exten-vm,315,315)
exten => ${VM_PREFIX}315,1,Macro(vm,315)
exten => 315,hint,SIP/315
exten => 316,1,Macro(exten-vm,316,316)
exten => ${VM_PREFIX}316,1,Macro(vm,316)
exten => 316,hint,SIP/316
exten => 401,1,Macro(exten-vm,401,401)
exten => ${VM_PREFIX}401,1,Macro(vm,401)
exten => 401,hint,SIP/401
exten => 402,1,Macro(exten-vm,402,402)
exten => ${VM_PREFIX}402,1,Macro(vm,402)
exten => 402,hint,SIP/402
exten => 403,1,Macro(exten-vm,403,403)
exten => ${VM_PREFIX}403,1,Macro(vm,403)
exten => 403,hint,SIP/403
exten => 404,1,Macro(exten-vm,404,404)
exten => ${VM_PREFIX}404,1,Macro(vm,404)
exten => 404,hint,SIP/404
exten => 405,1,Macro(exten-vm,405,405)
exten => ${VM_PREFIX}405,1,Macro(vm,405)
exten => 405,hint,SIP/405
exten => 451,1,Macro(exten-vm,451,451)
exten => ${VM_PREFIX}451,1,Macro(vm,451)
exten => 451,hint,SIP/451
exten => 501,1,Macro(exten-vm,501,501)
exten => ${VM_PREFIX}501,1,Macro(vm,501)
exten => 501,hint,SIP/501
exten => 502,1,Macro(exten-vm,502,502)
exten => ${VM_PREFIX}502,1,Macro(vm,502)
exten => 502,hint,SIP/502
exten => 503,1,Macro(exten-vm,503,503)
exten => ${VM_PREFIX}503,1,Macro(vm,503)
exten => 503,hint,SIP/503
exten => 504,1,Macro(exten-vm,504,504)
exten => ${VM_PREFIX}504,1,Macro(vm,504)
exten => 504,hint,SIP/504
exten => 505,1,Macro(exten-vm,505,505)
exten => ${VM_PREFIX}505,1,Macro(vm,505)
exten => 505,hint,SIP/505
exten => 506,1,Macro(exten-vm,506,506)
exten => ${VM_PREFIX}506,1,Macro(vm,506)
exten => 506,hint,SIP/506
exten => 507,1,Macro(exten-vm,507,507)
exten => ${VM_PREFIX}507,1,Macro(vm,507)
exten => 507,hint,SIP/507
exten => 508,1,Macro(exten-vm,508,508)
exten => ${VM_PREFIX}508,1,Macro(vm,508)
exten => 508,hint,SIP/508

[outbound-allroutes]
include => outbound-allroutes-custom
include => outrt-001-isdnout

[outrt-001-isdnout]
include => outrt-001-isdnout-custom
exten => _0.,1,Macro(dialout-trunk,1,${EXTEN:1},)
exten => _0.,2,Macro(outisbusy)	; No available circuits

