cflcrosland
IS-IT--Management
- Apr 3, 2012
- 35
Hi,
I have been trying to figure out how to get skype connect working on a UC540 and there is very little info out there for how to set this up. I have managed to get this working now after a few days of head scratching and thought I would share the relevant parts of the config. I have it setup so that users dial 8 then then number to make calls through Skype Connect...
I have changed the username and password to something random.
voice service voip
allow-connections sip to sip
sip
no update-callerid
!
voice class sip-profiles 1000
request ANY sdp-header Connection-Info remove
response ANY sdp-header Connection-Info remove
!
voice translation-rule 1111 replaces the 3 digit ext# of the calling phone with the Skype username
rule 15 /^...$/ /99051000000000/
!
voice translation-rule 2222
rule 2 /^800/ // keeps international number format
rule 3 /^80/ /0044/ adds +44 onto local numbers
!
voice translation-profile Skype
translate calling 1111
translate called 2222
!
dial-peer voice 101 voip
description Skype Outgoing
translation-profile outgoing Skype
destination-pattern 8.T Matches calls that begin with 8
session protocol sipv2
session target dns:sip.skype.com
voice-class sip profiles 1000
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
sip-ua
credentials username 99051000000000 password 10642AB22132D292567 realm sip.skype.com
authentication username 99051000000000 password 10642AB22132D292567
no remote-party-id
retry invite 2
retry register 10
timers connect 100
registrar dns:sip.skype.com expires 3600
sip-server dns:sip.skype.com
connection-reuse
host-registrar
g729-annexb override
I have been trying to figure out how to get skype connect working on a UC540 and there is very little info out there for how to set this up. I have managed to get this working now after a few days of head scratching and thought I would share the relevant parts of the config. I have it setup so that users dial 8 then then number to make calls through Skype Connect...
I have changed the username and password to something random.
voice service voip
allow-connections sip to sip
sip
no update-callerid
!
voice class sip-profiles 1000
request ANY sdp-header Connection-Info remove
response ANY sdp-header Connection-Info remove
!
voice translation-rule 1111 replaces the 3 digit ext# of the calling phone with the Skype username
rule 15 /^...$/ /99051000000000/
!
voice translation-rule 2222
rule 2 /^800/ // keeps international number format
rule 3 /^80/ /0044/ adds +44 onto local numbers
!
voice translation-profile Skype
translate calling 1111
translate called 2222
!
dial-peer voice 101 voip
description Skype Outgoing
translation-profile outgoing Skype
destination-pattern 8.T Matches calls that begin with 8
session protocol sipv2
session target dns:sip.skype.com
voice-class sip profiles 1000
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
sip-ua
credentials username 99051000000000 password 10642AB22132D292567 realm sip.skype.com
authentication username 99051000000000 password 10642AB22132D292567
no remote-party-id
retry invite 2
retry register 10
timers connect 100
registrar dns:sip.skype.com expires 3600
sip-server dns:sip.skype.com
connection-reuse
host-registrar
g729-annexb override