[cisco-voip] Wanted: Bandwidth.com SIP trunk configuration for CUBE
Robert Kulagowski
rkulagow at gmail.com
Wed Jul 18 17:13:24 EDT 2012
OK, it looks like part of my issue was some incorrect IP addressing
with the provider.
Next: I can place outbound calls. The other side _can_ hear me. I
can't hear them.
I also can't hear ringback.
CUCM 7.1, SIP trunk to CUBE has "MTP required". I have hardcoded codec
g711u on all the dial peers.
Hitting ?? on the phone shows g.711u, and the packet count is
increasing as expected on both Tx and Rx.
Building configuration...
Current configuration : 16205 bytes
!
! Last configuration change at 20:40:56 UTC Wed Jul 18 2012 by rkulagowskiadm
! NVRAM config last updated at 18:41:53 UTC Wed Jul 18 2012 by rkulagowskiadm
! NVRAM config last updated at 18:41:53 UTC Wed Jul 18 2012 by rkulagowskiadm
version 15.1
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime
service password-encryption
service sequence-numbers
!
hostname usilch-cognet-lab
!
boot-start-marker
boot-end-marker
!
!
voice-card 0
dspfarm
dsp services dspfarm
!
!
!
voice service voip
ip address trusted list
ipv4 216.82.224.202
ipv4 216.82.225.202
ipv4 10.255.23.7
ipv4 10.255.1.21
ipv4 10.255.29.20
address-hiding
mode border-element
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
bind control source-interface GigabitEthernet0/0
bind media source-interface GigabitEthernet0/0
header-passing
error-passthru
no update-callerid
early-offer forced
midcall-signaling passthru
privacy-policy passthru
g729 annexb-all
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8
codec preference 3 g711alaw
codec preference 4 g729br8
!
!
!
!
voice translation-rule 8
rule 1 /^8\(.*\)/ /+\1/
!
voice translation-rule 80
rule 1 /\+13122192011/ /223928/
!
!
voice translation-profile SIP-IN
translate called 80
!
voice translation-profile SIP-OUT
translate called 8
!
voice translation-profile digitstrip-8
translate called 8
!
!
license accept end user agreement
hw-module pvdm 0/0
!
hw-module pvdm 0/1
!
hw-module pvdm 0/2
!
!
!
archive
log config
hidekeys
path flash:/archive/Backup-
write-memory
object-group service SIP
udp eq 5060
udp eq 5061
udp gt 1024
!
object-group network bandwidth.com
description SIP signalling will come from one of these two hosts.
host 216.82.224.202
host 216.82.225.202
!
vtp mode transparent
!
redundancy
!
!
!
!
controller T1 0/1/0
cablelength long 0db
!
controller T1 0/1/1
cablelength long 0db
!
ip ssh time-out 60
ip ssh authentication-retries 2
ip ssh port 3002 rotary 2
ip ssh version 2
!
track 10 ip sla 10
delay down 60 up 60
!
!
!
!
!
!
!
!
interface Loopback20
description Cogent BGP Peer A Local Interface
ip address 38.101.160.61 255.255.255.255
!
interface Loopback99
description Temp Public LAN
ip address 38.98.131.241 255.255.255.255
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 10.213.1.2 255.255.0.0
no ip redirects
no ip proxy-arp
ip flow ingress
ip virtual-reassembly in
duplex full
speed 100
!
interface GigabitEthernet0/1
description To Internet Cogent - ID 1-94254344
bandwidth 100000
ip address 38.104.243.78 255.255.255.252
ip access-group FW_ACL_GigabitEthernet0/1 in
no ip redirects
no ip proxy-arp
ip flow ingress
ip virtual-reassembly in
load-interval 30
duplex full
speed 100
!
!
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
ip route 10.0.0.0 255.0.0.0 10.213.1.3
ip route 10.0.29.252 255.255.255.255 10.213.1.3
ip route 10.23.0.0 255.255.0.0 10.213.1.3
ip access-list extended FW_ACL_GigabitEthernet0/1
permit tcp host 38.104.243.77 host 38.104.243.78 eq bgp
permit tcp host 38.104.243.77 eq bgp host 38.104.243.78
permit icmp any host 38.104.243.78 log-input
permit icmp any host 38.98.131.241 log-input
permit tcp host 38.101.160.60 host 38.101.160.61 eq bgp
permit tcp host 38.101.160.60 eq bgp host 38.101.160.61
permit object-group SIP object-group bandwidth.com any log-input
deny ip any any
ip prefix-list DEFAULT-ROUTE seq 5 permit 0.0.0.0/0
!
ip prefix-list LOCAL-ROUTES description USED IN OSPF-INTO-EIGRP ROUTE-MAP
ip prefix-list LOCAL-ROUTES seq 10 permit 10.213.0.0/16
ip prefix-list LOCAL-ROUTES seq 20 permit 10.244.213.0/24
ip prefix-list LOCAL-ROUTES seq 30 permit 10.0.213.0/24 le 32
ip prefix-list LOCAL-ROUTES seq 100 deny 10.255.0.0/16 le 24
!
ip prefix-list PEER-A-LOCAL seq 5 permit 38.101.160.61/32
!
ip prefix-list PEER-A-REMOTE seq 5 permit 38.101.160.60/32
!
ip prefix-list PUBLIC-EXTERNAL-NETWORKS seq 5 permit 38.98.131.240/28
!
logging origin-id ip
logging source-interface Loopback10
logging host 10.29.10.198 discriminator NO_SEC
logging host 10.29.64.100 transport udp port 5142 discriminator SECMSG
!
!
!
!
control-plane
!
call treatment on
call threshold global cpu-avg low 68 high 75
call threshold global total-mem low 75 high 85
call threshold global total-calls low 230 high 250
call spike 10 steps 6 size 250
!
!
!
mgcp profile default
!
sccp local GigabitEthernet0/0
sccp ccm 10.213.1.2 identifier 1 version 7.0
sccp
!
sccp ccm group 1
associate ccm 1 priority 1
associate profile 1 register localtranscoder
!
dspfarm profile 1 transcode
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
codec g729r8
maximum sessions 100
associate application SCCP
!
dial-peer voice 1 voip
description Outbound SIP to Bandwidth.com
max-conn 4
destination-pattern +.T
session protocol sipv2
session target ipv4:216.82.224.202
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
codec g711ulaw
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 2 voip
description Outbound SIP to Bandwidth.com
max-conn 4
destination-pattern +.T
session protocol sipv2
session target ipv4:216.82.225.202
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
codec g711ulaw
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 1000 voip
preference 1
destination-pattern 22....
session protocol sipv2
session target ipv4:10.255.23.7
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
codec g711ulaw
fax-relay ecm disable
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 2000 voip
preference 2
destination-pattern 22....
session protocol sipv2
session target ipv4:10.255.1.21
dtmf-relay h245-alphanumeric
codec g711ulaw
fax-relay ecm disable
ip qos dscp cs3 signaling
no vad
!
dial-peer voice 3000 voip
preference 3
destination-pattern 22....
session protocol sipv2
session target ipv4:10.255.29.20
dtmf-relay h245-alphanumeric
codec g711ulaw
fax-relay ecm disable
ip qos dscp cs3 signaling
!
dial-peer voice 201 voip
description ** Incoming call from SIP Trunk ***
b2bua
session protocol sipv2
session target ipv4:216.82.224.202
incoming called-number .%
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
codec g711ulaw
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 202 voip
description ** Incoming call from SIP Trunk ***
b2bua
session protocol sipv2
session target ipv4:216.82.225.202
incoming called-number .%
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
codec g711ulaw
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
!
sip-ua
no remote-party-id
retry invite 2
retry bye 2
retry cancel 2
!
!
!
gatekeeper
shutdown
!
!
telephony-service
sdspfarm units 1
sdspfarm transcode sessions 8
sdspfarm tag 1 XCODER
max-dn 1
ip source-address 10.213.1.2 port 2000
max-conferences 8 gain -6
transfer-system full-consult
!
!
!
line con 0
logging synchronous
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 3
exec-timeout 60 0
logging synchronous
transport input ssh
line vty 4
access-class VTY-ROTARY-ACL in
exec-timeout 60 0
privilege level 15
authorization commands 15 VTY-ROTARY
authorization exec VTY-ROTARY
logging synchronous
login authentication VTY-ROTARY
rotary 2
transport input ssh
!
More information about the cisco-voip
mailing list