cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
561
Views
0
Helpful
6
Replies

Control analog phones CSS

ali.othman
Level 1
Level 1

Dears,

Today i am asking for help with my voice network, i have analog phones connected to PBX with no PRI connected directly to PBX instead the PRI line is directly connected to voice gateway, this voice gateway connected to both VOIP network (CUCM, IP Phones) with E1 port and connected also to traditional network (PBX, analog Phones), BTW the voice gateway protocol is H323.

i am able to control IP Phones calling privilage with the help of CUCM calling search space, while i am not able to control analog phones calling privilage except from PBX side which require me always to get PBX men in any change for calling privilage changes,

i need to remove all restriction from PBX and only asks PBX men to route all calls to my voice gateway, which will control this calling privilages, i know that there is a feature called COR "Class Of Restriction" but i don`t know if it suit in my case and how can i use it.

Please Help

1 Accepted Solution

Accepted Solutions

Give this a try. It may not be exact but should get you close. You can use the 'show call active voice brief' command to verify calls are hitting the correct PID (i.e. dial-peer) on inbound/outbound legs.

dial-peer cor custom

name pbx

name pstn-local

name pstn-toll

name pstn-international

name cucm

!

dial-peer cor list INCOMING-PBX-ALLOW-LOCAL

member pstn-local

member cucm

!

dial-peer cor list INCOMING-PBX-ALLOW-TOLL

member pstn-local

member pstn-toll

member cucm

!

dial=peer cor list INCOMING-PBX-ALLOW-INTERNATIONAL

member pstn-local

member pstn-toll

member pstn-international

member cucm

!

dial-peer cor list OUTGOING-PSTN-LOCAL

member pstn-local

!

dial-peer cor list OUTGOING-PSTN-TOLL

member pstn-toll

!

dial-peer cor list OUTGOING-PSTN-INTERNATIONAL

member pstn-international

!

dial-peer voice 1 pots

description Inbound PSTN

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 2 pots

description Inbound PSTN

direct-inward-dial

port 0/0/1:15

!

dial-peer voice 10 voip

description CUCM Publisher

destination-pattern ....

session target ipv4:192.168.2.100

voice-class codec 1 

voice-class h323 1

dtmf-relay rtp-nte h245-alphanumeric

no vad  

!

dial-peer voice 11 voip

description CUCM Subscriber

preference 1

destination-pattern ....

session target ipv4:192.168.3.100

voice-class codec 1

voice-class h323 1

dtmf-relay rtp-nte h245-alphanumeric

no vad

!

dial-peer voice 20 pots

corlist outgoing OUTGOING-PSTN-???

destination-pattern 8........

port 0/0/0:15

!

dial-peer voice 21 pots

corlist outgoing OUTGOING-PSTN-???

preference 1

destination-pattern 8........

port 0/0/1:15

!

dial-peer voice 22 pots

corlist outgoing OUTGOING-PSTN-???

destination-pattern 80T

port 0/0/0:15

prefix 0

!

dial-peer voice 23 pots

corlist outgoing OUTGOING-PSTN-???

preference 1

destination-pattern 80T

port 0/0/1:15

prefix 0

!

dial-peer voice 24 pots

corlist outgoing OUTGOING-PSTN-???

destination-pattern [89]01[012]........

port 0/0/0:15

forward-digits 11

!

dial-peer voice 25 pots

corlist outgoing OUTGOING-PSTN-???

preference 1

destination-pattern [89]01[012]........

port 0/0/1:15

forward-digits all

!

dial-peer voice 26 pots

corlist outgoing OUTGOING-PSTN-???

translation-profile outgoing Analog_Phone_Out

destination-pattern 9[234].......

port 0/0/0:15

forward-digits 8

!

dial-peer voice 27 pots

corlist outgoing OUTGOING-PSTN-???

preference 1

translation-profile outgoing Analog_Phone_Out

destination-pattern 9[234].......

port 0/0/1:15

forward-digits 8

!

dial-peer voice 28 pots

corlist outgoing OUTGOING-PSTN-???

description PSTN Services

destination-pattern 91...?

port 0/0/0:15

prefix 1

!

dial-peer voice 29 pots

corlist outgoing OUTGOING-PSTN-???

preference 1

description PSTN Services

destination-pattern 91...?

port 0/0/0:15

prefix 1

!

dial-peer voice 31 pots

translation-profile outgoing Analog_Phone_In

destination-pattern 636[^0]

port 0/1/0:15

forward-digits all

!

dial-peer voice 30 pots

description Legacy PBX faxes

destination-pattern 63[7-9].

port 0/1/0:15

forward-digits all

!

dial-peer voice 32 pots

destination-pattern 65[0-5].

port 0/1/0:15

forward-digits all

!

! PBX Incoming Dial-Peers Per Extension

!

dial-peer voice 32 pots

corlist incoming INCOMING-PBX-ALLOW-???

answer-address 6301

!

dial-peer voice 33 pots

corlist incoming INCOMING-PBX-ALLOW-???

answer-address 6302

! Continue as-needed...

Please remember to rate helpful responses and identify helpful or correct answers.

View solution in original post

6 Replies 6

Jonathan Schulenberg
Hall of Fame
Hall of Fame

What type of interface is the gateway connected to the PBX with?

CoR is correct but it depends on calling<->called destination pairs to impose a restriction. Example: ANI 1234  calls DNIS 9011T. To use it we either need an interface that provides ANI (e.g. ISDN) or a unique physical interface for each endpoint so we can subsititue the interface for the ANI.

If the interface provides ANI you would need to construct your incoming POTS dial-peers to use answer-address instead of incoming called-number. This way you can create a unique dial-peer per PBX extension and apply an incoming CoR to it.

Please remember to rate helpful responses and identify helpful or correct answers.

Dear Jonathan,

Voice gateway connected to PBX through E1 interface. 

Which way is better and please give me an example helps me to know how to control analog phone calling privilege without affecting IP Phone calling privilege which controlled by CUCM

Thanks

Post your existing dial-peers and I'll suggest what to add. Ensure that you specify what voice-port the PBX is vs. the PSTN.

Dear Jonathan,

Thanks for your help, i really appreciate that, please find attached are copy of my voice gateway configuration

Give this a try. It may not be exact but should get you close. You can use the 'show call active voice brief' command to verify calls are hitting the correct PID (i.e. dial-peer) on inbound/outbound legs.

dial-peer cor custom

name pbx

name pstn-local

name pstn-toll

name pstn-international

name cucm

!

dial-peer cor list INCOMING-PBX-ALLOW-LOCAL

member pstn-local

member cucm

!

dial-peer cor list INCOMING-PBX-ALLOW-TOLL

member pstn-local

member pstn-toll

member cucm

!

dial=peer cor list INCOMING-PBX-ALLOW-INTERNATIONAL

member pstn-local

member pstn-toll

member pstn-international

member cucm

!

dial-peer cor list OUTGOING-PSTN-LOCAL

member pstn-local

!

dial-peer cor list OUTGOING-PSTN-TOLL

member pstn-toll

!

dial-peer cor list OUTGOING-PSTN-INTERNATIONAL

member pstn-international

!

dial-peer voice 1 pots

description Inbound PSTN

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 2 pots

description Inbound PSTN

direct-inward-dial

port 0/0/1:15

!

dial-peer voice 10 voip

description CUCM Publisher

destination-pattern ....

session target ipv4:192.168.2.100

voice-class codec 1 

voice-class h323 1

dtmf-relay rtp-nte h245-alphanumeric

no vad  

!

dial-peer voice 11 voip

description CUCM Subscriber

preference 1

destination-pattern ....

session target ipv4:192.168.3.100

voice-class codec 1

voice-class h323 1

dtmf-relay rtp-nte h245-alphanumeric

no vad

!

dial-peer voice 20 pots

corlist outgoing OUTGOING-PSTN-???

destination-pattern 8........

port 0/0/0:15

!

dial-peer voice 21 pots

corlist outgoing OUTGOING-PSTN-???

preference 1

destination-pattern 8........

port 0/0/1:15

!

dial-peer voice 22 pots

corlist outgoing OUTGOING-PSTN-???

destination-pattern 80T

port 0/0/0:15

prefix 0

!

dial-peer voice 23 pots

corlist outgoing OUTGOING-PSTN-???

preference 1

destination-pattern 80T

port 0/0/1:15

prefix 0

!

dial-peer voice 24 pots

corlist outgoing OUTGOING-PSTN-???

destination-pattern [89]01[012]........

port 0/0/0:15

forward-digits 11

!

dial-peer voice 25 pots

corlist outgoing OUTGOING-PSTN-???

preference 1

destination-pattern [89]01[012]........

port 0/0/1:15

forward-digits all

!

dial-peer voice 26 pots

corlist outgoing OUTGOING-PSTN-???

translation-profile outgoing Analog_Phone_Out

destination-pattern 9[234].......

port 0/0/0:15

forward-digits 8

!

dial-peer voice 27 pots

corlist outgoing OUTGOING-PSTN-???

preference 1

translation-profile outgoing Analog_Phone_Out

destination-pattern 9[234].......

port 0/0/1:15

forward-digits 8

!

dial-peer voice 28 pots

corlist outgoing OUTGOING-PSTN-???

description PSTN Services

destination-pattern 91...?

port 0/0/0:15

prefix 1

!

dial-peer voice 29 pots

corlist outgoing OUTGOING-PSTN-???

preference 1

description PSTN Services

destination-pattern 91...?

port 0/0/0:15

prefix 1

!

dial-peer voice 31 pots

translation-profile outgoing Analog_Phone_In

destination-pattern 636[^0]

port 0/1/0:15

forward-digits all

!

dial-peer voice 30 pots

description Legacy PBX faxes

destination-pattern 63[7-9].

port 0/1/0:15

forward-digits all

!

dial-peer voice 32 pots

destination-pattern 65[0-5].

port 0/1/0:15

forward-digits all

!

! PBX Incoming Dial-Peers Per Extension

!

dial-peer voice 32 pots

corlist incoming INCOMING-PBX-ALLOW-???

answer-address 6301

!

dial-peer voice 33 pots

corlist incoming INCOMING-PBX-ALLOW-???

answer-address 6302

! Continue as-needed...

Please remember to rate helpful responses and identify helpful or correct answers.

Dear Jonathan,

      

i will give it a try and thanks very much for your help.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: