Contexts that are included elsewhere


Include Contexts



;********************************************************************
; BEGIN - Include Contexts
;
; These are general purpose contexts that are inluded
; as required into other contexts to provide routing
; based on number dialed
;********************************************************************
;
;
[set-global-vars]
;
;
exten => _436,1,SetGlobalVar(NM=${Usr1CIDNAME})
exten => _436,2,SetGlobalVar(VM=${Usr1VM})
exten => _436,3,SetGlobalVar(ID=${Usr1CID})
exten => _436,4,SetGlobalVar(EXT=${Usr1EXTEN})
exten => _436,5,SetGlobalVar(REM1=${Usr1REM1})
exten => _436,6,SetGlobalVar(REM2=${Usr1REM2})
exten => _436,7,SetGlobalVar(NMFILE=${Usr1NMFILE})
exten => _436,8,Goto(s-CONFIRM,1)
;
exten => _427,1,SetGlobalVar(NM=${Usr1CIDNAME})
exten => _427,2,SetGlobalVar(VM=${Usr1VM})
exten => _427,3,SetGlobalVar(ID=${Usr1CID})
exten => _427,4,SetGlobalVar(EXT=${Usr1EXTEN})
exten => _427,5,SetGlobalVar(REM1=${Usr1REM1})
exten => _427,6,SetGlobalVar(REM2=${Usr1REM2})
exten => _427,7,SetGlobalVar(NMFILE=${Usr1NMFILE})
exten => _427,8,Goto(s-CONFIRM,1)
;
exten => _837,1,SetGlobalVar(NM=${Usr2CIDNAME})
exten => _837,2,SetGlobalVar(VM=${Usr2VM})
exten => _837,3,SetGlobalVar(ID=${Usr2CID})
exten => _837,4,SetGlobalVar(EXT=${Usr2EXTEN})
exten => _837,5,SetGlobalVar(REM1=${Usr2REM1})
exten => _837,6,SetGlobalVar(REM2=${Usr2REM2})
exten => _837,7,SetGlobalVar(NMFILE=${Usr2NMFILE})
exten => _837,8,Goto(s-CONFIRM,1)
;
exten => _242,1,SetGlobalVar(NM=${Usr3CIDNAME})
exten => _242,2,SetGlobalVar(VM=${Usr3VM})
exten => _242,3,SetGlobalVar(ID=${Usr3CID})
exten => _242,4,SetGlobalVar(EXT=${Usr3EXTEN})
exten => _242,5,SetGlobalVar(REM1=${Usr3REM1})
exten => _242,6,SetGlobalVar(REM2=${Usr3REM2})
exten => _242,7,SetGlobalVar(NMFILE=${Usr3NMFILE})
exten => _242,8,Goto(s-CONFIRM,1)
;
exten => _223,1,SetGlobalVar(NM=${Usr4CIDNAME})
exten => _223,2,SetGlobalVar(VM=${Usr4VM})
exten => _223,3,SetGlobalVar(ID=${Usr4CID})
exten => _223,4,SetGlobalVar(EXT=${Usr4EXTEN})
exten => _223,5,SetGlobalVar(REM1=${Usr4REM1})
exten => _223,6,SetGlobalVar(REM2=${Usr4REM2})
exten => _223,7,SetGlobalVar(NMFILE=${Usr4NMFILE})
exten => _223,8,Goto(s-CONFIRM,1)
;
exten => _228,1,SetGlobalVar(NM=${Usr4CIDNAME})
exten => _228,2,SetGlobalVar(VM=${Usr4VM})
exten => _228,3,SetGlobalVar(ID=${Usr4CID})
exten => _228,4,SetGlobalVar(EXT=${Usr4EXTEN})
exten => _228,5,SetGlobalVar(REM1=${Usr4REM1})
exten => _228,6,SetGlobalVar(REM2=${Usr4REM2})
exten => _228,7,SetGlobalVar(NMFILE=${Usr4NMFILE})
exten => _228,8,Goto(s-CONFIRM,1)
;
exten => _776,1,SetGlobalVar(NM=${Usr5CIDNAME})
exten => _776,2,SetGlobalVar(VM=${Usr5VM})
exten => _776,3,SetGlobalVar(ID=${Usr5CID})
exten => _776,4,SetGlobalVar(EXT=${Usr5EXTEN})
exten => _776,5,SetGlobalVar(REM1=${Usr5REM1})
exten => _776,6,SetGlobalVar(REM2=${Usr5REM2})
exten => _776,7,SetGlobalVar(NMFILE=${Usr5NMFILE})
exten => _776,8,Goto(s-CONFIRM,1)
;
exten => _876,1,SetGlobalVar(NM=${Usr5CIDNAME})
exten => _876,2,SetGlobalVar(VM=${Usr5VM})
exten => _876,3,SetGlobalVar(ID=${Usr5CID})
exten => _876,4,SetGlobalVar(EXT=${Usr5EXTEN})
exten => _876,5,SetGlobalVar(REM1=${Usr5REM1})
exten => _876,6,SetGlobalVar(REM2=${Usr5REM2})
exten => _876,7,SetGlobalVar(NMFILE=${Usr5NMFILE})
exten => _876,8,Goto(s-CONFIRM,1)
;
exten => _476,1,SetGlobalVar(NM=${Usr6CIDNAME})
exten => _476,2,SetGlobalVar(VM=${Usr6VM})
exten => _476,3,SetGlobalVar(ID=${Usr6CID})
exten => _476,4,SetGlobalVar(EXT=${Usr6EXTEN})
exten => _476,5,SetGlobalVar(REM1=${Usr6REM1})
exten => _476,6,SetGlobalVar(REM2=${Usr6REM2})
exten => _476,7,SetGlobalVar(NMFILE=${Usr6NMFILE})
exten => _476,8,Goto(s-CONFIRM,1)
;
exten => _227,1,SetGlobalVar(NM=${Usr6CIDNAME})
exten => _227,2,SetGlobalVar(VM=${Usr6VM})
exten => _227,3,SetGlobalVar(ID=${Usr6CID})
exten => _227,4,SetGlobalVar(EXT=${Usr6EXTEN})
exten => _227,5,SetGlobalVar(REM1=${Usr6REM1})
exten => _227,6,SetGlobalVar(REM2=${Usr6REM2})
exten => _227,7,SetGlobalVar(NMFILE=${Usr6NMFILE})
exten => _227,8,Goto(s-CONFIRM,1)
;
exten => _XXX,1,Goto(s-INVALID,1)
;
;
[pana-trans]
;
; This context provides access to internal extensions
;
; Panasonic analog extensions are 11-23
; Reserved for Asterisk PBX interface are 24-25
; Special Panasonic extension 26 will ring CO6
; SIP extensions are 27-28
;
exten => _11,1,macro(pana-transfer,${PANAEXT11},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _12,1,macro(pana-transfer,${PANAEXT12},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _13,1,macro(pana-transfer,${PANAEXT13},${Usr2NMFILE},${RINGINGLINE},${Usr2VM})
exten => _14,1,macro(pana-transfer,${PANAEXT14},${Usr3NMFILE},${RINGINGLINE},${Usr3VM})
exten => _15,1,macro(pana-transfer,${PANAEXT15},${Usr4NMFILE},${RINGINGLINE},${Usr4VM})
exten => _16,1,macro(pana-transfer,${PANAEXT16},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _17,1,macro(pana-transfer,${PANAEXT17},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _18,1,macro(pana-transfer,${PANAEXT18},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _19,1,macro(pana-transfer,${PANAEXT19},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _20,1,macro(pana-transfer,${PANAEXT20},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _21,1,macro(pana-transfer,${PANAEXT21},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _22,1,macro(pana-transfer,${PANAEXT22},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _23,1,macro(pana-transfer,${PANAEXT23},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _26,1,Flash ; hook flash
exten => _26,2,background(silence/1) ; wait for KSU
exten => _26,3,SendDTMF(26) ; send KSU the extension
exten => _26,4,background(silence/1) ; wait for KSU
exten => _26,5,Hangup ; was SoftHangup
exten => _27,1,macro(intext,${Usr5EXTEN},${Usr5VM},${DEFTIMEOUT})
exten => _28,1,macro(intext,${Usr6EXTEN},${Usr6VM},${DEFTIMEOUT})
;
exten => _427,1,macro(pana-transfer,${PANAEXT11},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _436,1,macro(pana-transfer,${PANAEXT11},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _837,1,macro(pana-transfer,${PANAEXT13},${Usr2NMFILE},${RINGINGLINE},${Usr2VM})
exten => _242,1,macro(pana-transfer,${PANAEXT14},${Usr3NMFILE},${RINGINGLINE},${Usr3VM})
exten => _223,1,macro(pana-transfer,${PANAEXT15},${Usr4NMFILE},${RINGINGLINE},${Usr4VM})
exten => _228,1,macro(pana-transfer,${PANAEXT15},${Usr4NMFILE},${RINGINGLINE},${Usr4VM})
exten => _776,1,macro(intext,SIP/27,${Usr5VM},${DEFTIMEOUT})
exten => _876,1,macro(intext,SIP/27,${Usr5VM},${DEFTIMEOUT})
exten => _476,1,macro(intext,SIP/28,${Usr6VM},${DEFTIMEOUT})
exten => _227,1,macro(intext,SIP/28,${Usr6VM},${DEFTIMEOUT})
;
;
[sip-trans]
;
;
exten => _11,1,Dial(${PANA}/11,${DEFTIMEOUT},Tt)
exten => _12,1,Dial(${PANA}/12,${DEFTIMEOUT},Tt)
exten => _13,1,Dial(${PANA}/13,${DEFTIMEOUT},Tt)
exten => _14,1,Dial(${PANA}/14,${DEFTIMEOUT},Tt)
exten => _15,1,Dial(${PANA}/15,${DEFTIMEOUT},Tt)
exten => _16,1,Dial(${PANA}/16,${DEFTIMEOUT},Tt)
exten => _17,1,Dial(${PANA}/17,${DEFTIMEOUT},Tt)
exten => _18,1,Dial(${PANA}/18,${DEFTIMEOUT},Tt)
exten => _19,1,Dial(${PANA}/19,${DEFTIMEOUT},Tt)
exten => _20,1,Dial(${PANA}/20,${DEFTIMEOUT},Tt)
exten => _21,1,Dial(${PANA}/21,${DEFTIMEOUT},Tt)
exten => _22,1,Dial(${PANA}/22,${DEFTIMEOUT},Tt)
exten => _23,1,Dial(${PANA}/23,${DEFTIMEOUT},Tt)
exten => _26,1,Dial(${PANA}/26,${DEFTIMEOUT},Tt)
exten => _27,1,Dial(SIP/27,${DEFTIMEOUT},Tt)
exten => _28,1,Dial(SIP/28,${DEFTIMEOUT},Tt)
;
exten => _34,1,Dial(${PANA}/34,${DEFTIMEOUT},Tt)
;
exten => _427,1,Dial(${PANA}/11,${DEFTIMEOUT},Tt)
exten => _436,1,Dial(${PANA}/11,${DEFTIMEOUT},Tt)
exten => _837,1,Dial(${PANA}/13,${DEFTIMEOUT},Tt)
exten => _242,1,Dial(${PANA}/14,${DEFTIMEOUT},Tt)
exten => _223,1,Dial(${PANA}/15,${DEFTIMEOUT},Tt)
exten => _228,1,Dial(${PANA}/15,${DEFTIMEOUT},Tt)
exten => _776,1,Dial(SIP/27,${DEFTIMEOUT})
exten => _876,1,Dial(SIP/27,${DEFTIMEOUT})
exten => _476,1,Dial(SIP/28,${DEFTIMEOUT})
exten => _227,1,Dial(SIP/28,${DEFTIMEOUT})
;
;
[vmail-by-ext]
;
;
exten => _11,1,VoiceMail(u${Usr1VM})
exten => _11,2,Goto(#,1)
;
exten => _12,1,VoiceMail(u${Usr1VM})
exten => _12,2,Goto(#,1)
;
exten => _13,1,VoiceMail(u${Usr2VM})
exten => _13,2,Goto(#,1)
;
exten => _14,1,VoiceMail(u${Usr3VM})
exten => _14,2,Goto(#,1)
;
exten => _15,1,VoiceMail(u${Usr4VM})
exten => _15,2,Goto(#,1)
;
exten => _16,1,VoiceMail(u${Usr1VM})
exten => _16,2,Goto(#,1)
;
exten => _17,1,VoiceMail(u${Usr1VM})
exten => _17,2,Goto(#,1)
;
exten => _18,1,VoiceMail(u${Usr1VM})
exten => _18,2,Goto(#,1)
;
exten => _19,1,VoiceMail(u${Usr1VM})
exten => _19,2,Goto(#,1)
;
exten => _20,1,VoiceMail(u${Usr1VM})
exten => _20,2,Goto(#,1)
;
exten => _21,1,VoiceMail(u${Usr1VM})
exten => _21,2,Goto(#,1)
;
exten => _22,1,VoiceMail(u${Usr1VM})
exten => _22,2,Goto(#,1)
;
exten => _23,1,VoiceMail(u${Usr1VM})
exten => _23,2,Goto(#,1)
;
exten => _26,1,Flash ; hook flash
exten => _26,2,background(silence/1) ; wait for KSU
exten => _26,3,SendDTMF(26) ; send KSU the extension
exten => _26,4,background(silence/1) ; wait for KSU
exten => _26,5,Hangup ; was SoftHangup
;
exten => _27,1,VoiceMail(u${Usr5VM})
exten => _27,2,Goto(#,1)
;
exten => _28,1,VoiceMail(u${Usr6VM})
exten => _28,2,Goto(#,1)
;
;
[vmail-by-name]
;
;
exten => _427,1,VoiceMail(u${Usr1VM})
exten => _427,2,Goto(#,1)
;
exten => _837,1,VoiceMail(u${Usr2VM})
exten => _837,2,Goto(#,1)
;
exten => _242,1,VoiceMail(u${Usr3VM})
exten => _242,2,Goto(#,1)
;
exten => _223,1,VoiceMail(u${Usr4VM})
exten => _223,2,Goto(#,1)
;
exten => _228,1,VoiceMail(u${Usr4VM})
exten => _228,2,Goto(#,1)
;
exten => _776,1,VoiceMail(u${Usr5VM})
exten => _776,2,Goto(#,1)
;
exten => _876,1,VoiceMail(u${Usr5VM})
exten => _876,2,Goto(#,1)

exten => _476,1,VoiceMail(u${Usr6VM})
exten => _476,2,Goto(#,1)
;
exten => _227,1,VoiceMail(u${Usr6VM})
exten => _227,2,Goto(#,1)
;
;
[user-vm-by-name]
;
;
; User One h=4 e=2 n=7
exten => _427,1,VoiceMailMain(s${Usr1VM})
exten => _427,2,Goto(#,1)
;
; User One h=4 e=3 n=6
exten => _436,1,VoiceMailMain(s${Usr1VM})
exten => _436,2,Goto(#,1)
;
; User Two
exten => _837,1,VoiceMailMain(s${Usr2VM})
exten => _837,2,Goto(#,1)
;
; User Three
exten => _242,1,VoiceMailMain(s${Usr3VM})
exten => _242,2,Goto(#,1)
;
; Usr4 hendershot
exten => _223,1,VoiceMailMain(s${Usr4VM})
exten => _223,2,Goto(#,1)
;
; User Four
exten => _228,1,VoiceMailMain(s${Usr4VM})
exten => _228,2,Goto(#,1)
;
; User Five s=8 p=7 o=6
exten => _776,1,VoiceMailMain(s${Usr5VM})
exten => _776,2,Goto(#,1)
;
; User Five s=8 p=7 o=6
exten => _876,1,VoiceMailMain(s${Usr5VM})
exten => _876,2,Goto(#,1)
;
; User Six g=4 r=7 o=6
exten => _476,1,VoiceMailMain(s${Usr6VM})
exten => _476,2,Goto(#,1)
;
; User Six b=2 a=2 r=7
exten => _227,1,VoiceMailMain(s${Usr6VM})
exten => _227,2,Goto(#,1)
;
;
[internal-svc]
;
; This section provides access to internal services from outside
; and from inside extensions
;
;
exten => 8500,1,VoicemailMain
exten => 8500,2,Hangup
;
; Or a conference room (edit meetme.conf to enable this room)
;
exten => 8600,1,Meetme(8600)
exten => 8601,1,Meetme(8601)
exten => 8602,1,Meetme(8602)
exten => 8603,1,Meetme(8603)
exten => 8604,1,Meetme(8604)
exten => 8605,1,Meetme(8605)
;
;
[emergency]
;
;


;
;
;*************************************************************
; END - Include contexts
;*************************************************************
;
;


Include Contexts



;********************************************************************
; BEGIN - Include Contexts
;
; These are general purpose contexts that are inluded
; as required into other contexts to provide routing
; based on number dialed
;********************************************************************
;
;
[set-global-vars]
;
;
exten => _436,1,SetGlobalVar(NM=${Usr1CIDNAME})
exten => _436,2,SetGlobalVar(VM=${Usr1VM})
exten => _436,3,SetGlobalVar(ID=${Usr1CID})
exten => _436,4,SetGlobalVar(EXT=${Usr1EXTEN})
exten => _436,5,SetGlobalVar(REM1=${Usr1REM1})
exten => _436,6,SetGlobalVar(REM2=${Usr1REM2})
exten => _436,7,SetGlobalVar(NMFILE=${Usr1NMFILE})
exten => _436,8,Goto(s-CONFIRM,1)
;
exten => _427,1,SetGlobalVar(NM=${Usr1CIDNAME})
exten => _427,2,SetGlobalVar(VM=${Usr1VM})
exten => _427,3,SetGlobalVar(ID=${Usr1CID})
exten => _427,4,SetGlobalVar(EXT=${Usr1EXTEN})
exten => _427,5,SetGlobalVar(REM1=${Usr1REM1})
exten => _427,6,SetGlobalVar(REM2=${Usr1REM2})
exten => _427,7,SetGlobalVar(NMFILE=${Usr1NMFILE})
exten => _427,8,Goto(s-CONFIRM,1)
;
exten => _837,1,SetGlobalVar(NM=${Usr2CIDNAME})
exten => _837,2,SetGlobalVar(VM=${Usr2VM})
exten => _837,3,SetGlobalVar(ID=${Usr2CID})
exten => _837,4,SetGlobalVar(EXT=${Usr2EXTEN})
exten => _837,5,SetGlobalVar(REM1=${Usr2REM1})
exten => _837,6,SetGlobalVar(REM2=${Usr2REM2})
exten => _837,7,SetGlobalVar(NMFILE=${Usr2NMFILE})
exten => _837,8,Goto(s-CONFIRM,1)
;
exten => _242,1,SetGlobalVar(NM=${Usr3CIDNAME})
exten => _242,2,SetGlobalVar(VM=${Usr3VM})
exten => _242,3,SetGlobalVar(ID=${Usr3CID})
exten => _242,4,SetGlobalVar(EXT=${Usr3EXTEN})
exten => _242,5,SetGlobalVar(REM1=${Usr3REM1})
exten => _242,6,SetGlobalVar(REM2=${Usr3REM2})
exten => _242,7,SetGlobalVar(NMFILE=${Usr3NMFILE})
exten => _242,8,Goto(s-CONFIRM,1)
;
exten => _223,1,SetGlobalVar(NM=${Usr4CIDNAME})
exten => _223,2,SetGlobalVar(VM=${Usr4VM})
exten => _223,3,SetGlobalVar(ID=${Usr4CID})
exten => _223,4,SetGlobalVar(EXT=${Usr4EXTEN})
exten => _223,5,SetGlobalVar(REM1=${Usr4REM1})
exten => _223,6,SetGlobalVar(REM2=${Usr4REM2})
exten => _223,7,SetGlobalVar(NMFILE=${Usr4NMFILE})
exten => _223,8,Goto(s-CONFIRM,1)
;
exten => _228,1,SetGlobalVar(NM=${Usr4CIDNAME})
exten => _228,2,SetGlobalVar(VM=${Usr4VM})
exten => _228,3,SetGlobalVar(ID=${Usr4CID})
exten => _228,4,SetGlobalVar(EXT=${Usr4EXTEN})
exten => _228,5,SetGlobalVar(REM1=${Usr4REM1})
exten => _228,6,SetGlobalVar(REM2=${Usr4REM2})
exten => _228,7,SetGlobalVar(NMFILE=${Usr4NMFILE})
exten => _228,8,Goto(s-CONFIRM,1)
;
exten => _776,1,SetGlobalVar(NM=${Usr5CIDNAME})
exten => _776,2,SetGlobalVar(VM=${Usr5VM})
exten => _776,3,SetGlobalVar(ID=${Usr5CID})
exten => _776,4,SetGlobalVar(EXT=${Usr5EXTEN})
exten => _776,5,SetGlobalVar(REM1=${Usr5REM1})
exten => _776,6,SetGlobalVar(REM2=${Usr5REM2})
exten => _776,7,SetGlobalVar(NMFILE=${Usr5NMFILE})
exten => _776,8,Goto(s-CONFIRM,1)
;
exten => _876,1,SetGlobalVar(NM=${Usr5CIDNAME})
exten => _876,2,SetGlobalVar(VM=${Usr5VM})
exten => _876,3,SetGlobalVar(ID=${Usr5CID})
exten => _876,4,SetGlobalVar(EXT=${Usr5EXTEN})
exten => _876,5,SetGlobalVar(REM1=${Usr5REM1})
exten => _876,6,SetGlobalVar(REM2=${Usr5REM2})
exten => _876,7,SetGlobalVar(NMFILE=${Usr5NMFILE})
exten => _876,8,Goto(s-CONFIRM,1)
;
exten => _476,1,SetGlobalVar(NM=${Usr6CIDNAME})
exten => _476,2,SetGlobalVar(VM=${Usr6VM})
exten => _476,3,SetGlobalVar(ID=${Usr6CID})
exten => _476,4,SetGlobalVar(EXT=${Usr6EXTEN})
exten => _476,5,SetGlobalVar(REM1=${Usr6REM1})
exten => _476,6,SetGlobalVar(REM2=${Usr6REM2})
exten => _476,7,SetGlobalVar(NMFILE=${Usr6NMFILE})
exten => _476,8,Goto(s-CONFIRM,1)
;
exten => _227,1,SetGlobalVar(NM=${Usr6CIDNAME})
exten => _227,2,SetGlobalVar(VM=${Usr6VM})
exten => _227,3,SetGlobalVar(ID=${Usr6CID})
exten => _227,4,SetGlobalVar(EXT=${Usr6EXTEN})
exten => _227,5,SetGlobalVar(REM1=${Usr6REM1})
exten => _227,6,SetGlobalVar(REM2=${Usr6REM2})
exten => _227,7,SetGlobalVar(NMFILE=${Usr6NMFILE})
exten => _227,8,Goto(s-CONFIRM,1)
;
exten => _XXX,1,Goto(s-INVALID,1)
;
;
[pana-trans]
;
; This context provides access to internal extensions
;
; Panasonic analog extensions are 11-23
; Reserved for Asterisk PBX interface are 24-25
; Special Panasonic extension 26 will ring CO6
; SIP extensions are 27-28
;
exten => _11,1,macro(pana-transfer,${PANAEXT11},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _12,1,macro(pana-transfer,${PANAEXT12},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _13,1,macro(pana-transfer,${PANAEXT13},${Usr2NMFILE},${RINGINGLINE},${Usr2VM})
exten => _14,1,macro(pana-transfer,${PANAEXT14},${Usr3NMFILE},${RINGINGLINE},${Usr3VM})
exten => _15,1,macro(pana-transfer,${PANAEXT15},${Usr4NMFILE},${RINGINGLINE},${Usr4VM})
exten => _16,1,macro(pana-transfer,${PANAEXT16},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _17,1,macro(pana-transfer,${PANAEXT17},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _18,1,macro(pana-transfer,${PANAEXT18},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _19,1,macro(pana-transfer,${PANAEXT19},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _20,1,macro(pana-transfer,${PANAEXT20},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _21,1,macro(pana-transfer,${PANAEXT21},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _22,1,macro(pana-transfer,${PANAEXT22},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _23,1,macro(pana-transfer,${PANAEXT23},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _26,1,Flash ; hook flash
exten => _26,2,background(silence/1) ; wait for KSU
exten => _26,3,SendDTMF(26) ; send KSU the extension
exten => _26,4,background(silence/1) ; wait for KSU
exten => _26,5,Hangup ; was SoftHangup
exten => _27,1,macro(intext,${Usr5EXTEN},${Usr5VM},${DEFTIMEOUT})
exten => _28,1,macro(intext,${Usr6EXTEN},${Usr6VM},${DEFTIMEOUT})
;
exten => _427,1,macro(pana-transfer,${PANAEXT11},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _436,1,macro(pana-transfer,${PANAEXT11},${Usr1NMFILE},${RINGINGLINE},${Usr1VM})
exten => _837,1,macro(pana-transfer,${PANAEXT13},${Usr2NMFILE},${RINGINGLINE},${Usr2VM})
exten => _242,1,macro(pana-transfer,${PANAEXT14},${Usr3NMFILE},${RINGINGLINE},${Usr3VM})
exten => _223,1,macro(pana-transfer,${PANAEXT15},${Usr4NMFILE},${RINGINGLINE},${Usr4VM})
exten => _228,1,macro(pana-transfer,${PANAEXT15},${Usr4NMFILE},${RINGINGLINE},${Usr4VM})
exten => _776,1,macro(intext,SIP/27,${Usr5VM},${DEFTIMEOUT})
exten => _876,1,macro(intext,SIP/27,${Usr5VM},${DEFTIMEOUT})
exten => _476,1,macro(intext,SIP/28,${Usr6VM},${DEFTIMEOUT})
exten => _227,1,macro(intext,SIP/28,${Usr6VM},${DEFTIMEOUT})
;
;
[sip-trans]
;
;
exten => _11,1,Dial(${PANA}/11,${DEFTIMEOUT},Tt)
exten => _12,1,Dial(${PANA}/12,${DEFTIMEOUT},Tt)
exten => _13,1,Dial(${PANA}/13,${DEFTIMEOUT},Tt)
exten => _14,1,Dial(${PANA}/14,${DEFTIMEOUT},Tt)
exten => _15,1,Dial(${PANA}/15,${DEFTIMEOUT},Tt)
exten => _16,1,Dial(${PANA}/16,${DEFTIMEOUT},Tt)
exten => _17,1,Dial(${PANA}/17,${DEFTIMEOUT},Tt)
exten => _18,1,Dial(${PANA}/18,${DEFTIMEOUT},Tt)
exten => _19,1,Dial(${PANA}/19,${DEFTIMEOUT},Tt)
exten => _20,1,Dial(${PANA}/20,${DEFTIMEOUT},Tt)
exten => _21,1,Dial(${PANA}/21,${DEFTIMEOUT},Tt)
exten => _22,1,Dial(${PANA}/22,${DEFTIMEOUT},Tt)
exten => _23,1,Dial(${PANA}/23,${DEFTIMEOUT},Tt)
exten => _26,1,Dial(${PANA}/26,${DEFTIMEOUT},Tt)
exten => _27,1,Dial(SIP/27,${DEFTIMEOUT},Tt)
exten => _28,1,Dial(SIP/28,${DEFTIMEOUT},Tt)
;
exten => _34,1,Dial(${PANA}/34,${DEFTIMEOUT},Tt)
;
exten => _427,1,Dial(${PANA}/11,${DEFTIMEOUT},Tt)
exten => _436,1,Dial(${PANA}/11,${DEFTIMEOUT},Tt)
exten => _837,1,Dial(${PANA}/13,${DEFTIMEOUT},Tt)
exten => _242,1,Dial(${PANA}/14,${DEFTIMEOUT},Tt)
exten => _223,1,Dial(${PANA}/15,${DEFTIMEOUT},Tt)
exten => _228,1,Dial(${PANA}/15,${DEFTIMEOUT},Tt)
exten => _776,1,Dial(SIP/27,${DEFTIMEOUT})
exten => _876,1,Dial(SIP/27,${DEFTIMEOUT})
exten => _476,1,Dial(SIP/28,${DEFTIMEOUT})
exten => _227,1,Dial(SIP/28,${DEFTIMEOUT})
;
;
[vmail-by-ext]
;
;
exten => _11,1,VoiceMail(u${Usr1VM})
exten => _11,2,Goto(#,1)
;
exten => _12,1,VoiceMail(u${Usr1VM})
exten => _12,2,Goto(#,1)
;
exten => _13,1,VoiceMail(u${Usr2VM})
exten => _13,2,Goto(#,1)
;
exten => _14,1,VoiceMail(u${Usr3VM})
exten => _14,2,Goto(#,1)
;
exten => _15,1,VoiceMail(u${Usr4VM})
exten => _15,2,Goto(#,1)
;
exten => _16,1,VoiceMail(u${Usr1VM})
exten => _16,2,Goto(#,1)
;
exten => _17,1,VoiceMail(u${Usr1VM})
exten => _17,2,Goto(#,1)
;
exten => _18,1,VoiceMail(u${Usr1VM})
exten => _18,2,Goto(#,1)
;
exten => _19,1,VoiceMail(u${Usr1VM})
exten => _19,2,Goto(#,1)
;
exten => _20,1,VoiceMail(u${Usr1VM})
exten => _20,2,Goto(#,1)
;
exten => _21,1,VoiceMail(u${Usr1VM})
exten => _21,2,Goto(#,1)
;
exten => _22,1,VoiceMail(u${Usr1VM})
exten => _22,2,Goto(#,1)
;
exten => _23,1,VoiceMail(u${Usr1VM})
exten => _23,2,Goto(#,1)
;
exten => _26,1,Flash ; hook flash
exten => _26,2,background(silence/1) ; wait for KSU
exten => _26,3,SendDTMF(26) ; send KSU the extension
exten => _26,4,background(silence/1) ; wait for KSU
exten => _26,5,Hangup ; was SoftHangup
;
exten => _27,1,VoiceMail(u${Usr5VM})
exten => _27,2,Goto(#,1)
;
exten => _28,1,VoiceMail(u${Usr6VM})
exten => _28,2,Goto(#,1)
;
;
[vmail-by-name]
;
;
exten => _427,1,VoiceMail(u${Usr1VM})
exten => _427,2,Goto(#,1)
;
exten => _837,1,VoiceMail(u${Usr2VM})
exten => _837,2,Goto(#,1)
;
exten => _242,1,VoiceMail(u${Usr3VM})
exten => _242,2,Goto(#,1)
;
exten => _223,1,VoiceMail(u${Usr4VM})
exten => _223,2,Goto(#,1)
;
exten => _228,1,VoiceMail(u${Usr4VM})
exten => _228,2,Goto(#,1)
;
exten => _776,1,VoiceMail(u${Usr5VM})
exten => _776,2,Goto(#,1)
;
exten => _876,1,VoiceMail(u${Usr5VM})
exten => _876,2,Goto(#,1)

exten => _476,1,VoiceMail(u${Usr6VM})
exten => _476,2,Goto(#,1)
;
exten => _227,1,VoiceMail(u${Usr6VM})
exten => _227,2,Goto(#,1)
;
;
[user-vm-by-name]
;
;
; User One h=4 e=2 n=7
exten => _427,1,VoiceMailMain(s${Usr1VM})
exten => _427,2,Goto(#,1)
;
; User One h=4 e=3 n=6
exten => _436,1,VoiceMailMain(s${Usr1VM})
exten => _436,2,Goto(#,1)
;
; User Two
exten => _837,1,VoiceMailMain(s${Usr2VM})
exten => _837,2,Goto(#,1)
;
; User Three
exten => _242,1,VoiceMailMain(s${Usr3VM})
exten => _242,2,Goto(#,1)
;
; Usr4 hendershot
exten => _223,1,VoiceMailMain(s${Usr4VM})
exten => _223,2,Goto(#,1)
;
; User Four
exten => _228,1,VoiceMailMain(s${Usr4VM})
exten => _228,2,Goto(#,1)
;
; User Five s=8 p=7 o=6
exten => _776,1,VoiceMailMain(s${Usr5VM})
exten => _776,2,Goto(#,1)
;
; User Five s=8 p=7 o=6
exten => _876,1,VoiceMailMain(s${Usr5VM})
exten => _876,2,Goto(#,1)
;
; User Six g=4 r=7 o=6
exten => _476,1,VoiceMailMain(s${Usr6VM})
exten => _476,2,Goto(#,1)
;
; User Six b=2 a=2 r=7
exten => _227,1,VoiceMailMain(s${Usr6VM})
exten => _227,2,Goto(#,1)
;
;
[internal-svc]
;
; This section provides access to internal services from outside
; and from inside extensions
;
;
exten => 8500,1,VoicemailMain
exten => 8500,2,Hangup
;
; Or a conference room (edit meetme.conf to enable this room)
;
exten => 8600,1,Meetme(8600)
exten => 8601,1,Meetme(8601)
exten => 8602,1,Meetme(8602)
exten => 8603,1,Meetme(8603)
exten => 8604,1,Meetme(8604)
exten => 8605,1,Meetme(8605)
;
;
[emergency]
;
;


;
;
;*************************************************************
; END - Include contexts
;*************************************************************
;
;

Created by: ghendershot, Last modification: Fri 29 of Oct, 2004 (02:27 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+