ho configurato il router di cui all'oggetto per l'utilizzo del voip via provider sip e la ricezione da due numeri telecom differenti sui vari dispositivi voip e analogici su FXS.
In pratica il router, oltre ad amministrare la connessione ADSL, funge da centralino, in esso confluiscono due linee telefoniche tradizionali (telecom) e per uscire utilizzo il provider sip voipbuster.
Ho notato però che quando il cordless wifi perde la connessione (es. l'access point viene spento), al ripristino della stessa il router si riavvia.
Il cordless wifi è l'aladino wi-fi (Samsung).
Vi posto la config che per il resto funziona bene.
grazie in anticipo
Codice: Seleziona tutto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname minosse
!
boot-start-marker
boot-end-marker
!
no logging buffered
enable secret 5 XXXXXXXXXXXXX
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
!
aaa session-id common
!
resource policy
!
clock timezone GTM1 1
voice-card 1
!
voice-card 2
!
ip cef
!
!
!
!
ip domain name mshome.net
ip name-server 212.216.172.62
ip ssh authentication-retries 2
ip ssh version 2
!
password encryption aes
!
voice call send-alert
voice call disc-pi-off
voice call debug short-header
voice rtp send-recv
voice dsp release early
!
voice service voip
clid network-provided
allow-connections sip to sip
sip
registrar server expires max 600 min 60
!
!
!
!
!
!
!
!
voice register global
mode cme
max-dn 144
max-pool 24
!
voice register dn 10
number 10
name 10
label 10
!
voice register dn 12
number 12
name 12
label 12
!
voice register dn 14
number 14
name 14
label 14
!
voice register dn 16
number 16
name 16
label 16
!
voice register pool 1
id mac DDDD.DDDD.DDDD
number 1 dn 14
username 14 password 14
codec g711alaw
!
voice register pool 2
id mac CCCC.CCCC.CCCC
number 2 dn 12
username 12 password 12
codec g711alaw
!
voice register pool 3
id mac BBBB.BBBB.BBBB
number 1 dn 16
username 16 password 16
description ALADINO
codec g711alaw
!
voice register pool 4
id mac AAAA.AAAA.AAAA
number 1 dn 10
codec g711alaw
!
voice hunt-group 1 parallel
final 14
pilot 16
!
!
!
!
!
!
username XXXXXXXX privilege 15 secret 5 XXXXXXXX
!
!
class-map match-all VOICE
description RTP per VOIP
match ip rtp 5060 5061
!
!
policy-map VOICE
class VOICE
bandwidth 80
!
!
!
!
!
interface ATM0/0
description INTERFACCIA ATM/ADSL
bandwidth 4382
no ip address
no ip route-cache cef
no ip route-cache
no ip mroute-cache
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface FastEthernet0/0
description LAN LOCALE
ip address 192.168.1.254 255.255.255.0
ip nat inside
speed auto
!
interface Dialer0
description DIALER ALICE-ADSL
bandwidth 4382
ip address negotiated
ip nat outside
encapsulation ppp
ip tcp header-compression
dialer pool 1
dialer-group 1
ppp pap sent-username XXXXXXXXXXXXX password 7 XXXXXXXXXXXXX
service-policy output VOICE
!
ip default-gateway 192.168.1.254
ip route 0.0.0.0 0.0.0.0 Dialer0
!
!
ip http server
no ip http secure-server
ip nat inside source list 101 interface Dialer0 overload
ip nat inside source static tcp 192.168.1.2 5060 interface Dialer0 5060
ip nat inside source static tcp 192.168.1.200 80 interface Dialer0 9090
ip nat inside source static tcp 192.168.1.252 23 interface Dialer0 23
ip nat inside source static udp 192.168.1.252 4662 interface Dialer0 4662
ip nat inside source static udp 192.168.1.2 4242 interface Dialer0 4242
ip nat inside source static tcp 192.168.1.2 4242 interface Dialer0 4242
ip nat inside source static tcp 192.168.1.252 22 interface Dialer0 10022
ip nat inside source static tcp 192.168.1.252 4662 interface Dialer0 4662
ip nat inside source static tcp 192.168.1.252 80 interface Dialer0 80
ip nat inside source static tcp 192.168.1.252 4711 interface Dialer0 99
!
access-list 101 permit ip 192.168.1.0 0.0.0.255 any
!
control-plane
!
!
!
voice-port 1/0
caller-id enable
!
voice-port 1/1
caller-id enable
!
voice-port 2/0
cptone IT
connection plar opx 16
description CASA
!
voice-port 2/1
cptone IT
connection plar 13
description UFFICIO
!
!
!
!
!
!
dial-peer voice 1 voip
preference 1
destination-pattern 3T
session protocol sipv2
session target ipv4:194.221.62.198
dtmf-relay rtp-nte
codec g711alaw
no vad
!
dial-peer voice 2 voip
preference 1
destination-pattern 0T
session protocol sipv2
session target ipv4:194.221.62.198
dtmf-relay rtp-nte
codec g711alaw
no vad
!
dial-peer voice 11 pots
destination-pattern 11
port 1/0
!
dial-peer voice 13 pots
destination-pattern 13
port 1/1
!
sip-ua
authentication username XXXXXXXXXXXXX password XXXXXXXXXXXXX
retry invite 4
retry response 3
retry bye 2
retry cancel 2
registrar ipv4:194.221.62.198:5060 expires 3600
sip-server ipv4:194.221.62.198:5060
!
!
telephony-service
max-conferences 4 gain -6
transfer-system full-consult
!
!
line con 0
line aux 0
line vty 0 4
password 7 XXXXXXXXXXXXX
transport input ssh
!
ntp clock-period 17208475
ntp source Dialer0
ntp server 193.204.114.232
end