Call Manager Express initial configuration with FXO interfaces

by Ras 28. February 2012 22:21

Here is a sample of configuration of Call manager express with fxo interfaces and dial-peers for Australia (prefix is 0, for US use 9 for prefix!) :


### Specify a trunk group for all 4 FXO ports

trunk group ALL_FXO
max-retry 5
voice-class cause-code 1
hunt-scheme longest-idle
!

### Translation profiles for outgoing and incoming calls


voice translation-rule 1
rule 1 /^0/ //
!
voice translation-rule 2
rule 1 /.*/ /1300783899/
!
voice translation-rule 3
rule 1 /.*/ /290/
!
voice translation-profile INCOMING_TRANSLATION_PROFILE
translate called 3
!
voice translation-profile OUTGOING_TRANSLATION_PROFILE
translate calling 2
translate called 1
!

### Physical ports configurations


voice-port 0/1/0
trunk-group ALL_FXO 64
supervisory disconnect dualtone mid-call
cptone AU
timeouts call-disconnect 0
timeouts wait-release 1
connection plar opx 290
impedance complex1
caller-id enable
!
voice-port 0/1/1
trunk-group ALL_FXO 64
supervisory disconnect dualtone mid-call
cptone AU
timeouts call-disconnect 0
timeouts wait-release 1
connection plar opx 290
impedance complex1
caller-id enable
!
voice-port 0/1/2
trunk-group ALL_FXO 64
supervisory disconnect dualtone mid-call
cptone AU
timeouts call-disconnect 0
timeouts wait-release 1
connection plar opx 290
shutdown
impedance complex1
caller-id enable
!
voice-port 0/1/3
trunk-group ALL_FXO 64
supervisory disconnect dualtone mid-call
cptone AU
timeouts call-disconnect 0
timeouts wait-release 1
connection plar opx 290
shutdown
impedance complex1
caller-id enable
!

### outgoing dial plans


dial-peer voice 50 pots
destination-pattern 9T
port 0/1/0
no sip-register
!
dial-peer voice 51 pots
destination-pattern 9T
port 0/1/1
no sip-register
!
dial-peer voice 52 pots
destination-pattern 9T
port 0/1/2
no sip-register
!
dial-peer voice 53 pots
destination-pattern 9T
port 0/1/3
no sip-register
!
dial-peer voice 54 pots
incoming called-number .%
port 0/1/0
!

### Incoming dial plans


dial-peer voice 55 pots
incoming called-number .%
port 0/1/1
!
dial-peer voice 56 pots
incoming called-number .%
port 0/1/2
!
dial-peer voice 57 pots
incoming called-number .%
port 0/1/2
!

 

### Main outgoing dial plan rules

dial-peer voice 200 pots
trunkgroup ALL_FXO
description **All*Numbers**
translation-profile outgoing OUTGOING_TRANSLATION_PROFILE
preference 5
destination-pattern 0T
forward-digits all
no sip-register
!

Tags:

Cisco | Voice/Video

About the author

Ras is a network/Security professional working on multiple areas with multiple certificates like CCNP, CCIP, CCSP, CCSA, CCSE, LPI, PM, IPv6, ..

Month List