Limit an Extension (or group of Extensios) to a Trunk (or Group of Trunks)
-
Copy from-internal context from
extensions.conf and paste it to extensions_custom.conf
-
Rename it
to custom-trunk-1
-
It looks like this
-
[from-internal] <- [custom-trunk-1] <-
Rename
-
;allow phones to use applications
-
include => app-userlogonoff
-
include => app-directory
-
include => app-dnd
-
include => app-callforward
-
include => app-callwaiting
-
include => app-messagecenter
-
include => app-calltrace
-
include => parkedcalls
-
include => from-internal-custom
-
;allow phones to dial other extensions
-
include => ext-fax
-
include => ext-local
-
include => ext-group
-
include => ext-queues
-
include => ext-zapbarge
-
include => ext-meetme
-
include => ext-record
-
include => ext-test
-
;allow phones to access trunks
-
;include =>
outbound-allroutes <-
Mark
-
include => outrt-001-OR1
<- Add
-
include => outrt-001-OR3
<-
Add
-
exten => s,1,Macro(hangupcall)
-
exten => h,1,Macro(hangupcall)
-
Mark the line
include => outbound-allroutes
-
Open the file extensions_additional.conf
and look for the context outbound-allroutes,
it looks like this
-
include => outbound-allroutes-custom
-
include =>
outrt-001-OR1
<- Copy
-
include => outrt-002-OR2
-
include =>
outrt-003-OR3
<- Copy
-
include => outrt-004-OR4
-
Add the
required Outbound Routings, to custom-trunk-1
context
-
In the extension setup, set the context to custom-trunk-1,
click for a sample