10-05-2021 09:11 AM
Hello Everybody,
We have 40 SIP phones connected to CISCO 2911 router with 4 FXO ports. I have 4 PSTN analog lines and I have also created 4 DIAL PEERS
dial-peer voice 100 pots
destination-pattern 9T
port 0/1/1
dial-peer voice 104 pots
destination-pattern 912.........
port 0/1/2
When my user extension 139 dials it should use dial-peer voice 104 pots.
I another words I want to restrict my user to use a line connected on port 0/1/2 an its with out international calling
and port 0/1/1 is with International.
Your help will be appreciated ..
10-05-2021 10:13 AM
10-05-2021 10:35 AM
Defining the cor list
dial-peer cor custom
name GSM
name Landline
name Local
name INTERNATIONAL
!
!
dial-peer cor list GSM
member GSM
member Landline
member Local
!
dial-peer cor list INT
member GSM
member Landline
member Local
member INTERNATIONAL
!
dial-peer cor list Landline
member Landline
member Local
!
dial-peer cor list Local
member Local
!
dial-peer cor list gsm
member GSM
!
dial-peer cor list int
member INTERNATIONAL
!
dial-peer cor list landline
member Landline
!
dial-peer cor list local
member Local
applying inbound cor list
voice register pool 1
busy-trigger-per-button 2
id mac 5067.AEE3.866B
type 7841
number 1 dn 1
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
aplying outbound corlist
dial-peer voice 2 pots
trunkgroup M-TRUNK
corlist outgoing gsm
description ##DIAL_PEER_GSM##
destination-pattern 9[79].......
forward-digits 8
!
Sample Configurations. I am using trunk Group .
trunk group M-TRUNK
max-calls voice 8
hunt-scheme sequential
voice register pool 1
busy-trigger-per-button 2
id mac 5067.AEE3.866B
type 7841
number 1 dn 1
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
!
voice register pool 2
busy-trigger-per-button 2
id mac 5067.AEE3.84D2
type 7841
number 1 dn 2
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
!
voice register pool 3
busy-trigger-per-button 2
id mac 5067.AEE3.84F9
type 7841
number 1 dn 3
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
!
voice register pool 4
busy-trigger-per-button 2
id mac 5067.AEE3.84D3
type 7841
number 1 dn 4
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
!
voice register pool 5
busy-trigger-per-button 2
id mac 5067.AEE3.8501
type 7841
number 1 dn 5
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
!
voice register pool 6
busy-trigger-per-button 2
id mac 5067.AEE3.84FC
type 7841
number 1 dn 6
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
!
voice register pool 7
busy-trigger-per-button 2
id mac 5067.AE21.A61C
type 7841
number 1 dn 7
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
!
voice register pool 8
busy-trigger-per-button 2
id mac 5067.AE21.A649
type 7841
number 1 dn 8
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
!
voice register pool 9
busy-trigger-per-button 2
id mac 5067.AE21.A6CC
type 7841
number 1 dn 9
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
!
voice register pool 10
busy-trigger-per-button 2
id mac 5067.AE21.A615
type 7841
number 1 dn 10
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
!
voice register pool 11
busy-trigger-per-button 2
id mac 5067.AE21.A6D1
type 7841
number 1 dn 11
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
!
voice register pool 12
busy-trigger-per-button 2
id mac 5067.AE21.A6EB
type 7841
number 1 dn 12
cor incoming GSM default
dtmf-relay rtp-nte sip-kpml
!
!
voice-port 0/0/0
!
voice-port 0/0/1
!
voice-port 0/1/0
trunk-group M-TRUNK
supervisory custom-cptone 1
ring number 3
cptone OM
connection plar opx 1000
caller-id enable
!
voice-port 0/1/1
trunk-group M-TRUNK
supervisory custom-cptone 1
ring number 3
cptone OM
connection plar opx 1000
caller-id enable
!
voice-port 0/1/2
trunk-group M-TRUNK
supervisory custom-cptone 1
ring number 3
cptone OM
connection plar opx 1000
caller-id enable
!
voice-port 0/1/3
trunk-group M-TRUNK
supervisory custom-cptone 1
ring number 3
cptone OM
connection plar opx 1000
caller-id enable
!
!
!
!
dial-peer cor custom
name GSM
name Landline
name Local
name INTERNATIONAL
!
!
dial-peer cor list GSM
member GSM
member Landline
member Local
!
dial-peer cor list INT
member GSM
member Landline
member Local
member INTERNATIONAL
!
dial-peer cor list Landline
member Landline
member Local
!
dial-peer cor list Local
member Local
!
dial-peer cor list gsm
member GSM
!
dial-peer cor list int
member INTERNATIONAL
!
dial-peer cor list landline
member Landline
!
dial-peer cor list local
member Local
!
!
!
dial-peer voice 2 pots
trunkgroup M-TRUNK
corlist outgoing gsm
description ##DIAL_PEER_GSM##
destination-pattern 9[79].......
forward-digits 8
!
dial-peer voice 3 pots
trunkgroup M-TRUNK
corlist outgoing landline
description ##DIAL_PEER_LANDLINE##
destination-pattern 92.......
forward-digits 8
!
dial-peer voice 4 pots
trunkgroup M-TRUNK
corlist outgoing int
description ##DIAL_PEER_INTERNATIONAL##
destination-pattern 900T
prefix 00
!
dial-peer voice 5 pots
trunkgroup M-TRUNK
corlist outgoing local
description ##DIAL_PEER_OMANTEL_CUSTOMER_CARE##
destination-pattern 91...
forward-digits 4
!
dial-peer voice 8 pots
corlist outgoing landline
description ##DIAL_PEER_TOLL_FREE##
destination-pattern 98.......
forward-digits all
!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide