Skype connect with Cisco Cube

This setup was only used for outbound international calls only. All other calls used a diffrent SIP provider not shown here
Was tested with CUCM 9.1 and IOS ver 15.2(4)M3

Create a Skype account and setup a SIP trunk at https://manager.skype.com

Below are the only bits of information we are intrested in:
Skype

Skype Config

On the router
ip domain name corp.XXXX.org
ip name-server 8.8.8.8 !routers needs access to DNS
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
redirect ip2ip
fax protocol none
no fax-relay sg3-to-g3
h323
sip
bind control source-interface Loopback0
bind media source-interface Loopback0
registrar server
redirect contact order best-match
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8
!
sip-ua
credentials username 9905XXXXXXXX password XXXXXXXX realm sip.skype.com !ID and password provided by Skype
authentication username 9905XXXXXXXX password XXXXXXXX
registrar dns:sip.skype.com expires 60
sip-server dns:sip.skype.com

!
!At this point at https://manager.skype.com your registration (username/password) should turn green
!Note that after it turns green it can take 24 hours to start working
!
Some “show” cmd
Router1#sh sip-ua service
SIP Service is up
!
Router1#show sip-ua register status
Line peer expires(sec) registered P-Associ-URI
================================ ========== ============ ========== ============
.* 10 64 no
XXXXXXXXXXXXXX -1 19 yes
!
Router1#
Router1#
Router1#show sip-ua register status
Line peer expires(sec) registered P-Associ-URI
================================ ========== ============ ========== ============
.* 10 64 no
XXXXXXXXXXXXXX -1 19 yes
Router1#
Router1#
Router1#show sip-ua registration status
SIP User Agent Status
SIP User Agent for UDP : ENABLED
SIP User Agent for TCP : ENABLED
SIP User Agent for TLS over TCP : ENABLED
SIP User Agent bind status(signaling): ENABLED 10.x.x.x
SIP User Agent bind status(media): ENABLED 10.x.x.x
SIP early-media for 180 responses with SDP: ENABLED
SIP max-forwards : 70
SIP DNS SRV version: 2 (rfc 2782)
NAT Settings for the SIP-UA
Role in SDP: NONE
Check media source packets: DISABLED
Maximum duration for a telephone-event in NOTIFYs: 2000 ms
SIP support for ISDN SUSPEND/RESUME: ENABLED
Redirection (3xx) message handling: ENABLED
Reason Header will override Response/Request Codes: DISABLED
Out-of-dialog Refer: DISABLED
Presence support is DISABLED
protocol mode is ipv4
SDP application configuration:
Version line (v=) required
Owner line (o=) required
Timespec line (t=) required
Media supported: audio video image
Network types supported: IN
Address types supported: IP4 IP6
Transport types supported: RTP/AVP udptl
!
Router1#show sip-ua registration connections tcp brief
Total active connections : 1
No. of send failures : 0
No. of remote closures : 2
No. of conn. failures : 0
No. of inactive conn. ageouts : 301
Max. tcp send msg queue size of 1, recorded for 10.x.x.x:55020
-------------- SIP Transport Layer Listen Sockets ---------------
Conn-Id Local-Address
=========== =============================
2 [10.x.x.x]:5060
Router1#
Router1#
Router1#show sip-ua registration connections udp brief
Total active connections : 2
No. of send failures : 0
No. of remote closures : 0
No. of conn. failures : 0
No. of inactive conn. ageouts : 277
-------------- SIP Transport Layer Listen Sockets ---------------
Conn-Id Local-Address
=========== =============================
2 [10.x.x.x]:5060

On CUCM you create the normal PT, CSS,RP, RG, RL etc to route the types of calls to skype.
Create a standard SIP trunk with the following 2 settings

CUCM Trunk to skype

CUCM Trunk to skype

Tags: ,

About Alexis Katsavras

Working as Freelance Cisco Unified Communications Consultant in the UK. www.NetPacket.co.uk