CCME+FXO configuration
Password:
Router>en
Password:
Router#show run
Building configuration…
Current configuration : 2371 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$IvaK$L4yxLR83TWewWWbI/1Bgj0
!
no aaa new-model
!
resource policy
!
memory-size iomem 10
clock timezone Beijing 8
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice translation-rule 10
rule 1 /^2793$/ /52589758/
!
voice translation-rule 20
rule 1 /^52589758$/ /2793/
!
voice translation-rule 88
!
!
voice translation-profile Outgoing_PSTN_Calling
translate calling 10
!
voice translation-profile Outgoing_VoIP_Called
translate called 20
!
!
!
!
translation-rule 88
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.19.201 255.255.255.0
duplex auto
speed auto
!
ip route 0.0.0.0 0.0.0.0 192.168.19.1
!
no ip http server
!
!
tftp-server flash:CP7905080001SCCP051117A.sbin
tftp-server flash:CP7905080001SCCP051117A.zup
!
control-plane
!
!
!
voice-port 1/0/0
supervisory disconnect dualtone mid-call
no battery-reversal
cptone CN
timeouts call-disconnect 3
timeouts ringing 30
timeouts wait-release 3
connection plar 2793
description This is a FXO for number 52589758
!
voice-port 1/0/1
!
!
!
!
dial-peer cor custom
!
!
!
dial-peer voice 1000 voip
!
dial-peer voice 2 pots
description This is PSTN inbound DID number pattern
incoming called-number 52589758
port 1/0/0
forward-digits 0
!
dial-peer voice 11 voip
destination-pattern 279.
session protocol sipv2
session target ipv4:192.168.19.200:5061
codec g711ulaw
no vad
!
dial-peer voice 8 pots
translation-profile outgoing Outgoing_PSTN_Calling
preference 5
destination-pattern 000
port 1/0/0
forward-digits extra
!
dial-peer voice 13 voip
translation-profile outgoing Outgoing_VoIP_Called
huntstop
destination-pattern 52589758
session protocol sipv2
session target ipv4:192.168.19.200:5061
codec g711ulaw
no vad
!
!
!
telephony-service
load 7905 CP7905080001SCCP051117A
max-ephones 50
max-dn 50
ip source-address 192.168.19.201 port 2000
max-conferences 4 gain -6
transfer-system full-consult
login timeout 60
!
!
ephone-dn 1 dual-line
number 2791
name CP7905
!
!
ephone 1
mac-address 000D.29CE.CA0D
type 7905
button 1:1
!
!
!
line con 0
line aux 0
line vty 0 4
password admin123
login
!
!
end
Please note the configuration for the VOICE-PORT.
Tags: Cisco, CME, FXO