cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
260
Views
5
Helpful
2
Replies

restrict external lines

xiaoliangyue
Level 1
Level 1

My client has CCME4 set up for 2 departments. they want all outgoing calls from department B use certain PSTN lines, like FXO 1/0/0, 1/0/1. instead of automatic selection. how to set this up?

1 Accepted Solution

Accepted Solutions

paolo bevilacqua
Hall of Fame
Hall of Fame

Hello,

You need to configure an outgoing translation-profile on all the phones that need to use certain pstn lines, to replace the digit used for external calls. For example, if zero is normally used, this example will replace with 9 for Dept B. Then, the correct line is selected with the useful trunk group feature.

voice-port 0/0/0

trunk-group dept-A

voice-port 0/0/1

trunk-group dept-A

voice-port 1/0/0

trunk-group dept-B

voice-port 1/0/1

trunk-group dept-B

dial-peer voice 100 pots

destination-pattern 0T

trunkgroup dept-A

dial-peer voice 200 pots

destination-pattern 9T

trunkgroup dept-B

voice translation-profile 9to0

translate called 20

voice translation-rule 20

rule 1 /^0/ /9/

ephone-dn 20 <--- This DN in dept B

number 201

translation-profile outgoing 0to9

Let us know if it works, please rate if useful post!

View solution in original post

2 Replies 2

paolo bevilacqua
Hall of Fame
Hall of Fame

Hello,

You need to configure an outgoing translation-profile on all the phones that need to use certain pstn lines, to replace the digit used for external calls. For example, if zero is normally used, this example will replace with 9 for Dept B. Then, the correct line is selected with the useful trunk group feature.

voice-port 0/0/0

trunk-group dept-A

voice-port 0/0/1

trunk-group dept-A

voice-port 1/0/0

trunk-group dept-B

voice-port 1/0/1

trunk-group dept-B

dial-peer voice 100 pots

destination-pattern 0T

trunkgroup dept-A

dial-peer voice 200 pots

destination-pattern 9T

trunkgroup dept-B

voice translation-profile 9to0

translate called 20

voice translation-rule 20

rule 1 /^0/ /9/

ephone-dn 20 <--- This DN in dept B

number 201

translation-profile outgoing 0to9

Let us know if it works, please rate if useful post!

Hi, paolo,

Thanks for your reply. I haven't tested it, however, it should work as I analyze. Appreciate your help!