Ho un router con 2801 + ADVIPSERVICES.
Ho due telefoni SIP.
Qualcuno potrebbe indicarmi come far eseguire a questi due telefoni la registrazione sul CCME?
Sono nuovo in materia e non so da dove partire.
Configurazione VOIP
Moderatore: Federico.Lagni
-
- Cisco fan
- Messaggi: 26
- Iscritto il: mar 09 gen , 2007 9:26 pm
- Contatta:
Antonio Gabriele
-
- Cisco pathologically enlightened user
- Messaggi: 202
- Iscritto il: lun 07 nov , 2005 1:57 pm
- Località: Genova
Ti consiglio di dare una letta alla administrator guide del CME
http://www.cisco.com/en/US/partner/prod ... #wp1025405
dove ti riporta step by step come fare, se poi hai qualche altro dubbio...
Ciao
http://www.cisco.com/en/US/partner/prod ... #wp1025405
dove ti riporta step by step come fare, se poi hai qualche altro dubbio...
Ciao
-
- Cisco fan
- Messaggi: 26
- Iscritto il: mar 09 gen , 2007 9:26 pm
- Contatta:
Uhm,
un tutorial in italiano?
un tutorial in italiano?
Antonio Gabriele
-
- Cisco fan
- Messaggi: 26
- Iscritto il: mar 09 gen , 2007 9:26 pm
- Contatta:
Ok
chi fa da se fa per 33.
Questa configurazione è funzionante.
C'è qualcosa che forse va tolto.
Vorrei solo sapere come collegare più di un provider VOIP.
--------------------------------
Building configuration...
Current configuration : 6661 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname wan
!
boot-start-marker
boot system flash c2801-advipservicesk9-mz.124-11.T.bin
boot-end-marker
!
logging buffered 51200 warnings
!
aaa new-model
!
!
aaa authentication login default group radius
aaa authorization auth-proxy default group radius
!
!
aaa session-id common
ip cef
!
!
no ip dhcp use vrf connected
!
ip dhcp pool VOIP-POOL
network 192.168.25.0 255.255.255.0
option 150 ip 192.168.25.1 <-- Secondo me va tolto
default-router 192.168.25.1
!
ip dhcp pool XXX-POOL
network 192.168.40.0 255.255.255.0
default-router 192.168.40.1
!
!
ip domain name xxxxxx.it
ip auth-proxy name AUTH_PROXY http inactivity-time 10 list 130
!
multilink bundle-name authenticated
!
!
!
voice-card 0
!
!
!
voice service voip
allow-connections sip to sip
sip
registrar server expires max 600 min 60
!
!
!
!
!
!
!
!
!
!
!
voice register global
mode cme
source-address 192.168.25.1 port 5060 <-- Secondo me va tolto
max-dn 144
max-pool 24
dialplan-pattern 1 8882000 extension-length 4 <-- Secondo me va tolto
file text
!
voice register dn 10
number 2000
name 2000
label 2000
!
voice register dn 30
number 3000
name 3000
label 3000
!
voice register dn 40
number 4000
name 4000
label 4000
!
voice register pool 1
id mac 0014.2260.87DF
number 1 dn 10
max registrations 36
username 2000 password 2000
codec g711ulaw
!
voice register pool 3
id mac 0013.E00B.214E
number 3 dn 30
max registrations 36
username 3000 password 3000
codec g711ulaw
!
voice register pool 4
id mac 0013.7287.AE89
number 4 dn 40
username 4000 password 4000
codec g711ulaw
!
!
!
!
!
!
username admin privilege 15 secret 5 XXXXXXXXXXXXXXXXXXXXXXXX
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.15.1 255.255.255.252
ip nbar protocol-discovery
ip nat inside
ip auth-proxy AUTH_PROXY
ip virtual-reassembly
ip route-cache flow
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation dot1Q 40
ip address 192.168.40.1 255.255.255.0
ip nbar protocol-discovery
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.2
encapsulation dot1Q 25
ip address 192.168.25.1 255.255.255.0
!
interface FastEthernet0/1
ip address XXX.XXX.XXX.XXX 255.255.255.240
ip nbar protocol-discovery
ip route-cache flow
duplex auto
speed auto
!
interface Serial0/3/0
no ip address
encapsulation frame-relay IETF
!
interface Serial0/3/0.1 point-to-point
ip address XXX.XXX.XXX.XXX 255.255.255.252
ip nbar protocol-discovery
ip flow ingress
ip nat outside
ip virtual-reassembly
frame-relay interface-dlci 183
!
ip route 0.0.0.0 0.0.0.0 Serial0/3/0.1
ip route 192.168.20.0 255.255.255.0 192.168.15.2
ip route 192.168.30.0 255.255.254.0 192.168.15.2
ip route 192.168.35.0 255.255.255.0 192.168.15.2
ip route 192.168.45.0 255.255.255.0 192.168.15.2
ip route 192.168.254.0 255.255.255.0 192.168.40.2
!
ip flow-cache timeout active 5
ip flow-export source FastEthernet0/0
ip flow-export version 5
ip flow-export destination XXX.XXX.XXX.XXX 9996
!
ip http server
ip http authentication aaa
no ip http secure-server
ip nat inside source list 1 interface Serial0/3/0.1 overload
!
access-list 1 permit 192.168.20.0 0.0.0.255
access-list 1 permit 192.168.30.0 0.0.1.255
access-list 1 permit 192.168.40.0 0.0.0.255
access-list 1 permit 192.168.35.0 0.0.0.255
access-list 1 permit 192.168.45.0 0.0.0.255
access-list 130 permit ip 192.168.20.0 0.0.0.255 any
access-list 130 deny ip any any
access-list compiled
snmp-server community xxxx RO
snmp-server community xxxx RW <-- Secondo me va tolto
snmp-server ifindex persist
!
!
!
!
!
radius-server host 192.168.31.31 auth-port 1812 acct-port 1813 key 7 060506324F41080C111F
!
control-plane
!
!
!
!
!
!
!
dial-peer voice 1 voip
destination-pattern 0.T
session protocol sipv2
session target ipv4:194.221.62.198:5060
session transport udp
dtmf-relay sip-notify
codec g711ulaw
no vad
!
!
sip-ua
authentication username XXXXX password XXXXXXXXXX
calling-info pstn-to-sip from name set XXXXX
retry invite 4
retry response 3
retry bye 2
retry cancel 2
retry options 0
registrar ipv4:194.221.62.198:5060 expires 3600
sip-server ipv4:194.221.62.198:5060
!
!
!
telephony-service
max-conferences 4 gain -6
call-forward pattern 0.T <-- Secondo me va tolto
transfer-system full-consult
!
!
line con 0
line aux 0
line vty 0 4
access-class 23 in
exec-timeout 40 0
privilege level 15
transport input telnet ssh
line vty 5 15
access-class 23 in
exec-timeout 40 0
privilege level 15
transport input telnet ssh
!
scheduler allocate 20000 1000
end
chi fa da se fa per 33.
Questa configurazione è funzionante.
C'è qualcosa che forse va tolto.
Vorrei solo sapere come collegare più di un provider VOIP.
--------------------------------
Building configuration...
Current configuration : 6661 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname wan
!
boot-start-marker
boot system flash c2801-advipservicesk9-mz.124-11.T.bin
boot-end-marker
!
logging buffered 51200 warnings
!
aaa new-model
!
!
aaa authentication login default group radius
aaa authorization auth-proxy default group radius
!
!
aaa session-id common
ip cef
!
!
no ip dhcp use vrf connected
!
ip dhcp pool VOIP-POOL
network 192.168.25.0 255.255.255.0
option 150 ip 192.168.25.1 <-- Secondo me va tolto
default-router 192.168.25.1
!
ip dhcp pool XXX-POOL
network 192.168.40.0 255.255.255.0
default-router 192.168.40.1
!
!
ip domain name xxxxxx.it
ip auth-proxy name AUTH_PROXY http inactivity-time 10 list 130
!
multilink bundle-name authenticated
!
!
!
voice-card 0
!
!
!
voice service voip
allow-connections sip to sip
sip
registrar server expires max 600 min 60
!
!
!
!
!
!
!
!
!
!
!
voice register global
mode cme
source-address 192.168.25.1 port 5060 <-- Secondo me va tolto
max-dn 144
max-pool 24
dialplan-pattern 1 8882000 extension-length 4 <-- Secondo me va tolto
file text
!
voice register dn 10
number 2000
name 2000
label 2000
!
voice register dn 30
number 3000
name 3000
label 3000
!
voice register dn 40
number 4000
name 4000
label 4000
!
voice register pool 1
id mac 0014.2260.87DF
number 1 dn 10
max registrations 36
username 2000 password 2000
codec g711ulaw
!
voice register pool 3
id mac 0013.E00B.214E
number 3 dn 30
max registrations 36
username 3000 password 3000
codec g711ulaw
!
voice register pool 4
id mac 0013.7287.AE89
number 4 dn 40
username 4000 password 4000
codec g711ulaw
!
!
!
!
!
!
username admin privilege 15 secret 5 XXXXXXXXXXXXXXXXXXXXXXXX
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.15.1 255.255.255.252
ip nbar protocol-discovery
ip nat inside
ip auth-proxy AUTH_PROXY
ip virtual-reassembly
ip route-cache flow
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation dot1Q 40
ip address 192.168.40.1 255.255.255.0
ip nbar protocol-discovery
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.2
encapsulation dot1Q 25
ip address 192.168.25.1 255.255.255.0
!
interface FastEthernet0/1
ip address XXX.XXX.XXX.XXX 255.255.255.240
ip nbar protocol-discovery
ip route-cache flow
duplex auto
speed auto
!
interface Serial0/3/0
no ip address
encapsulation frame-relay IETF
!
interface Serial0/3/0.1 point-to-point
ip address XXX.XXX.XXX.XXX 255.255.255.252
ip nbar protocol-discovery
ip flow ingress
ip nat outside
ip virtual-reassembly
frame-relay interface-dlci 183
!
ip route 0.0.0.0 0.0.0.0 Serial0/3/0.1
ip route 192.168.20.0 255.255.255.0 192.168.15.2
ip route 192.168.30.0 255.255.254.0 192.168.15.2
ip route 192.168.35.0 255.255.255.0 192.168.15.2
ip route 192.168.45.0 255.255.255.0 192.168.15.2
ip route 192.168.254.0 255.255.255.0 192.168.40.2
!
ip flow-cache timeout active 5
ip flow-export source FastEthernet0/0
ip flow-export version 5
ip flow-export destination XXX.XXX.XXX.XXX 9996
!
ip http server
ip http authentication aaa
no ip http secure-server
ip nat inside source list 1 interface Serial0/3/0.1 overload
!
access-list 1 permit 192.168.20.0 0.0.0.255
access-list 1 permit 192.168.30.0 0.0.1.255
access-list 1 permit 192.168.40.0 0.0.0.255
access-list 1 permit 192.168.35.0 0.0.0.255
access-list 1 permit 192.168.45.0 0.0.0.255
access-list 130 permit ip 192.168.20.0 0.0.0.255 any
access-list 130 deny ip any any
access-list compiled
snmp-server community xxxx RO
snmp-server community xxxx RW <-- Secondo me va tolto
snmp-server ifindex persist
!
!
!
!
!
radius-server host 192.168.31.31 auth-port 1812 acct-port 1813 key 7 060506324F41080C111F
!
control-plane
!
!
!
!
!
!
!
dial-peer voice 1 voip
destination-pattern 0.T
session protocol sipv2
session target ipv4:194.221.62.198:5060
session transport udp
dtmf-relay sip-notify
codec g711ulaw
no vad
!
!
sip-ua
authentication username XXXXX password XXXXXXXXXX
calling-info pstn-to-sip from name set XXXXX
retry invite 4
retry response 3
retry bye 2
retry cancel 2
retry options 0
registrar ipv4:194.221.62.198:5060 expires 3600
sip-server ipv4:194.221.62.198:5060
!
!
!
telephony-service
max-conferences 4 gain -6
call-forward pattern 0.T <-- Secondo me va tolto
transfer-system full-consult
!
!
line con 0
line aux 0
line vty 0 4
access-class 23 in
exec-timeout 40 0
privilege level 15
transport input telnet ssh
line vty 5 15
access-class 23 in
exec-timeout 40 0
privilege level 15
transport input telnet ssh
!
scheduler allocate 20000 1000
end
Antonio Gabriele