The following configuration can be used to register with a Skype Connect account.
#--------------------------------------------------------------- # # # # SN4634/5BIS/UI # # R6.x # # Autor: Thomas Tlapak # # Date: 03.07.2012 # # # # Contact: support@patton.com # #----------------------------------------------------------------#
cli version 3.20 clock local default-offset +00:00 dns-client server 172.16.20.10 dns-relay webserver port 80 language en sntp-client sntp-client server primary 129.132.2.21 port 123 version 4
system
ic voice 0 low-bitrate-codec g729
system clock-source 1 bri 0 0
profile napt NAPT_WAN
profile ppp default
profile tone-set default
profile voip default codec 1 g711alaw64k rx-length 20 tx-length 20 codec 2 g711ulaw64k rx-length 20 tx-length 20
profile pstn default
profile sip default no autonomous-transitioning
profile dhcp-server DHCPS_LAN network 192.168.1.0 255.255.255.0 include 1 192.168.1.10 192.168.1.99 lease 2 hours default-router 1 192.168.1.1 domain-name-server 1 192.168.1.1
profile aaa default method 1 local method 2 none
context ip router
interface WAN ipaddress <Fix IP> <Subnet> use profile napt NAPT_WAN tcp adjust-mss rx mtu tcp adjust-mss tx mtu
interface LAN ipaddress 192.168.1.1 255.255.255.0 tcp adjust-mss rx mtu tcp adjust-mss tx mtu
context ip router dhcp-server use profile DHCPS_LAN route 0.0.0.0 0.0.0.0 <default gateway> 0
context cs switch
routing-table called-e164 RT_DGIT route .T dest-interface IF_SIP
interface isdn IF_ISDN_00 route call dest-table RT_DGIT
interface sip IF_SIP bind context sip-gateway GW_SIP route call dest-interface IF_ISDN_00 remote sip.skype.com address-translation outgoing-call from-header user-part fix <username> host-part call
context cs switch no shutdown
authentication-service AUTH_SERV username <username> password <password>
location-service LOC_SERV domain 1 sip.skype.com
identity <username>
authentication outbound authenticate 1 authentication-service AUTH_SERV
registration outbound registrar sip.skype.com register auto
context sip-gateway GW_SIP
interface IF_GW_SIP bind interface WAN context router port 5060
context sip-gateway GW_SIP bind location-service LOC_SERV no shutdown
port ethernet 0 0 medium auto encapsulation ip bind interface WAN router no shutdown
port ethernet 0 1 medium auto encapsulation ip bind interface LAN router no shutdown
port bri 0 0 clock auto power-feed encapsulation q921
q921 uni-side auto encapsulation q931
q931 protocol dss1 uni-side net bchan-number-order ascending encapsulation cc-isdn bind interface IF_ISDN_00 switch
port bri 0 0 no shutdown
port bri 0 1 clock auto encapsulation q921
q921 uni-side auto encapsulation q931
q931 protocol dss1 uni-side net bchan-number-order ascending
port bri 0 1 shutdown
port bri 0 2 clock auto encapsulation q921
q921 uni-side auto encapsulation q931
q931 protocol dss1 uni-side net bchan-number-order ascending
|