Allora ho aggiornato la IOS ora ho
Codice: Seleziona tutto
Cisco IOS Software, C1700 Software (C1700-SPSERVICESK9-M), Version 12.4(9)T1
con la seguente configurazione
Codice: Seleziona tutto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
no logging buffered
enable secret 5 XXXXXXXXXX
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
!
aaa session-id common
!
resource policy
!
voice-card 1
!
voice-card 2
!
ip cef
!
!
!
!
ip name-server 212.216.172.62
!
!
!
voice service voip
allow-connections sip to sip
sip
registrar server expires max 600 min 60
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
!
!
!
!
!
!
!
voice register global
mode cme
max-dn 144
max-pool 24
!
voice register dn 10
number 2000
!
voice register pool 1
id mac AAAA.BBBB.CCCC
number 1 dn 10
!
!
!
!
!
username XXXXXXXXXX privilege 15 secret 5 XXXXXXXXXX
!
!
!
!
!
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 $ETH-LAN$
ip address 192.168.0.1 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 XXXXXXXXXX password 7 XXXXXXXXXX
!
ip default-gateway 192.168.0.1
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.0.2 4949 interface Dialer0 4949
ip nat inside source static tcp 192.168.0.2 5060 interface Dialer0 5060
ip nat inside source static tcp 192.168.0.2 4711 interface Dialer0 99
ip nat inside source static tcp 192.168.0.2 8080 interface Dialer0 8080
ip nat inside source static tcp 192.168.0.2 80 interface Dialer0 80
ip nat inside source static tcp 192.168.0.2 4662 interface Dialer0 4662
ip nat inside source static tcp 192.168.0.2 22 interface Dialer0 10022
ip nat inside source static tcp 192.168.0.2 4242 interface Dialer0 4242
ip nat inside source static udp 192.168.0.2 4242 interface Dialer0 4242
ip nat inside source static udp 192.168.0.2 4662 interface Dialer0 4662
ip nat inside source static tcp 192.168.0.2 23 interface Dialer0 23
ip nat inside source static tcp 192.168.0.2 9090 interface Dialer0 9090
!
access-list 101 permit ip host 192.168.0.2 any
!
control-plane
!
!
!
voice-port 1/0
!
voice-port 1/1
!
!
!
!
!
!
dial-peer voice 1 voip
session target ipv4:192.168.1.8
incoming called-number 18
codec g711ulaw
!
sip-ua
authentication username XXXXXXXXXX password XXXXXXXXXX
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 XXXXXXXXXX
!
end
Ma devo aver fatto confusione,
perchè non si registra ovvero ho l'impressione che non ci provi proprio,
infatti se tento con
ottengo il seguente risultato
Codice: Seleziona tutto
Line peer expires(sec) registered
============ ============= ============ ===========
qualche dritta??
grazie in anticipo!!