0% found this document useful (0 votes)
130 views5 pages

Cisco Cube 2

This document configures a Cisco voice gateway with NTP, SIP trunks, dial peers, and redundancy settings. It sets the NTP server and timezone, configures SIP trunks to two locations, defines translation rules and profiles, and enables redundancy on two interfaces using BFD tracking. Dial peers are configured for inbound and outbound calls using different codecs and SIP parameters.

Uploaded by

Mahmoud Ramadan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
130 views5 pages

Cisco Cube 2

This document configures a Cisco voice gateway with NTP, SIP trunks, dial peers, and redundancy settings. It sets the NTP server and timezone, configures SIP trunks to two locations, defines translation rules and profiles, and enables redundancy on two interfaces using BFD tracking. Dial peers are configured for inbound and outbound calls using different codecs and SIP parameters.

Uploaded by

Mahmoud Ramadan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 5

!

ntp server 157.26.1.250


ntp timezone PST -8
nap summertime PST recurring
!
!
!
voice service voip
no ip address trusted authenticate
mode border-element license capacity 10
allow-connections sip to sip
redundancy-group 1
sip
header-passing
midcall-signaling passthru
error-code-override total-calls failure 486
!
!
voice class uri fromSME sip
host ipv4:142.100.64.14
!
voice class uri fromBB sip
host ipv4:157.26.1.100
!
!
!
voice class dpg 5
dial-peer 5
!
!
!
!
voice translation-rule 1
rule 1 /\+1/ /1/
!
voice translation-rule 2
rule 1 /\+1/ //
!
voice translation-rule 3
rule 1 /\+/ /011/
!
voice translation-rule 4
rule 1 /^\([2-9].........\)$/ /+1\1/
!
voice translation-rule 5
rule 1 /^4085151111/ /+14085151111/
rule 2 /^9725252222/ /+19725252222/
rule 3 /^44/ /+44/
rule 4 /^852/ /+852/
!
!
voice translation-profile INT
translate called 3
!
voice translation-profile NANP
translate calling 2
translate called 1
!
voice translation-profile fromBB
translate calling 5
translate called 4
!
!
!
redundancy
application redundancy
group 1
priority 100
timers delay 30 reload 60
control GigabitEthernet3 protocol 1
data GigabitEthernet3
track 1 shutdown
track 2 shutdown
!
!
!
!
!
!
track 1 interface GigabitEthernet1 line-protocol
!
track 2 interface GigabitEthernet2 line-protocol
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet1
ip address 142.102.64.152 255.255.255.0
negotiation auto
cdp enable
no mop enabled
no mop sysid
bfd interval 50 min_rx 150 multiplier 3
redundancy rii 1
redundancy group 1 ip 142.102.64.150 exclusive
!
interface GigabitEthernet2
ip address 157.26.1.152 255.255.255.0
negotiation auto
cdp enable
no mop enabled
no mop sysid
bfd interval 50 min_rx 150 multiplier 3
redundancy rii 2
redundancy group 1 ip 157.26.1.150 exclusive
!
interface GigabitEthernet3
ip address 10.1.1.2 255.255.255.0
negotiation auto
cdp enable
no mop enabled
no mop sysid
bfd interval 50 min_rx 50 multiplier 3
!
!

!
!
!
!
!
call treatment cause-code busy
call treatment on
call threshold global total-calls low 2 high 2
!
!
!
!
!
!
!
dial-peer voice 5 voip
description toSME
destination-pattern 5
session protocol sipv2
session target ipv4:142.100.64.14
voice-class sip bind control source-interface GigabitEthernet1
voice-class sip bind media source-interface GigabitEthernet1
voice-class sip audio forced
dtmf-relay rtp-nte
codec g711u
no vad
!
dial-peer voice 1 voip
description fromSME
session protocol sipv2
incoming uri via fromSME
dtmf-relay rtp-nte
codec g711
no vad
!
dial-peer voice 2 voip
description NANP
translation-profile outgoing NANP
destination-pattern +1T
session protocol sipv2
session target ipv4:157.26.1.100
codec g711u
voice-class sip early-offer forced
voice-class sip bind control source-interface GigabitEthernet2
voice-class sip bind media source-interface GigabitEthernet2
voice-class sip audio forced
dtmf-relay rtp-nte
no vad
!
dial-peer voice 3 voip
description INT
translation-profile outgoing INT
destination-pattern +T
session protocol sipv2
session target ipv4:157.26.1.100
codec g711u
voice-class sip early-offer forced
voice-class sip bind control source-interface GigabitEthernet2
voice-class sip bind media source-interface GigabitEthernet2
voice-class sip audio forced
dtmf-relay rtp-nte
no vad
!
dial-peer voice 4 voip
description fromBB
translation-profile incoming fromBB
session protocol sipv2
destination dpg 5
incoming uri via fromBB
dtmf-relay rtp-nte
codec g711u
no vad
!
!
gateway
media-inactivity-criteria all
timer receive-rtcp 5
timer receive-rtp 1200

You might also like