CME SIP Trunk Configuration Example.


version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CMERouter
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
ip cef
!
!
no ip dhcp use vrf connected
!
ip dhcp pool ITS
network 192.168.9.0 255.255.255.0
option 150 ip 192.168.9.254
default-router 192.168.9.254
!
!
ip ftp username cisco
ip ftp password cisco
ip name-server 192.168.2.1
!
!
!
!
!
!
voice service voip
allow-connections sip to sip
sip
registrar server expires max 3600 min 600
!
!
!
!
!
!
!
!
!

voice translation-rule 6
rule 1 /^9/ //
!
voice translation-rule 666
rule 1 /300/ /17772028487/
!
!
voice translation-profile OUT
translate calling 666
translate called 6

!
!
!
!
username cisco privilege 15 password 0 cisco
!
!
!
!
!
!
interface Loopback0
ip address 10.1.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0
ip address 192.168.9.254 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.2.102 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
ip route 0.0.0.0 0.0.0.0 192.168.2.1
!
!
ip http server
no ip http secure-server
ip http path flash:
ip nat inside source list 101 interface FastEthernet0/1 overload
!
access-list 101 deny   ip 10.0.0.0 0.255.255.255 192.168.2.0 0.0.0.255
access-list 101 deny   ip 10.0.0.0 0.255.255.255 192.168.9.0 0.0.0.255
access-list 101 permit ip any any
!
!
!
tftp-server flash:P00405000700.bin
tftp-server flash:P00405000700.sbn
tftp-server flash:P00308000500.bin
tftp-server flash:P00308000500.loads
tftp-server flash:P00308000500.sb2
tftp-server flash:P00308000500.sbn
!
control-plane
!
!
!
dial-peer voice 901 voip
translation-profile outgoing OUT
destination-pattern 9.T
session protocol sipv2
session target dns:callcentric.com
dtmf-relay sip-notify rtp-nte
codec g711ulaw
!
sip-ua
authentication username 17772028487 password 1313591A07 realm callcentric.com
no remote-party-id
retry invite 4
retry response 3
retry bye 2
retry cancel 2
retry register 5
timers register 250
registrar dns:callcentric.com expires 3600
sip-server dns:callcentric.com
!
!
telephony-service
max-ephones 10
max-dn 100
ip source-address 10.1.1.1 port 2000
calling-number local secondary
timeouts interdigit 2
create cnf-files version-stamp Jan 01 2002 00:00:00
max-conferences 4 gain -6
web admin system name cisco secret 5 $1$Z2bp$.Ty2WFXnYAi4j7SI5vBHG/
transfer-pattern .T
secondary-dialtone 9
!
!
ephone-dn  1  dual-line
number 300 secondary 17772028487
label CIPC
!
!
ephone  2
mac-address 0025.B370.971B
type CIPC
button  1:1
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
exec-timeout 0 0
privilege level 15
logging synchronous
no login
!
!
end

which results in:

A Networker Blog

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s