1751v non funziona voip posto la conf

Voice su IP

Moderatore: Federico.Lagni

Rispondi
cristys
Cisco fan
Messaggi: 37
Iscritto il: sab 05 mar , 2005 2:19 pm

io avevo un 827 v4 tutto ok con questo 1751 non funziona niente
aiuto grazie
hostname *********+


!
enable password ********
!
username ******** password *******



ip dhcp excluded-address 192.168.1.2
ip dhcp excluded-address 192.168.1.100
!
ip dhcp pool 1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 212.216.112.112
domain-name interbusiness.it

!
!
ip domain name tin.it
!

!
interface fastEthernet0/0

ip address 192.168.1.1 255.255.255.0
ip nat inside
no sh

!
interface ATM0/0
no ip address
no sh

!
interface ATM0/0.1 point-to-point

pvc 8/35
encapsulation aal5snap
pppoe-client dial-pool-number 1
no sh
!
!
interface Dialer1
mtu 1492
ip address negotiated
ip access-group 111 in
ip nat outside

encapsulation ppp
dialer pool 1
ppp authentication pap callin
ppp chap hostname aliceadsl
ppp chap password aliceadsl
ppp pap sent-username aliceadsl password aliceadsl
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
!
ip nat service sip udp port 5061
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source list 102 interface Dialer1 overload
ip nat inside source static udp 192.168.1.2 4472 interface Dialer1 4472
ip nat inside source static udp 192.168.1.100 5061 interface Dialer1 5061
ip nat inside source static tcp 192.168.1.2 4462 interface Dialer1 4462
!
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 23 permit 192.168.1.0 0.0.0.255
dialer-list 1 protocol ip permit
!
!
control-plane
!
!
voice-port 1
!
voice-port 2
!
voice-port 3
!
voice-port 4
!
dial-peer voice 1 voip
destination-pattern .T
session protocol sipv2
session target sip-server
session transport udp
dtmf-relay sip-notify
!
dial-peer voice 2 pots
destination-pattern ********
port 1/0
!
sip-ua
authentication username ******* password *******
calling-info pstn-to-sip from name set Nome!*********
retry invite 4
retry response 3
retry bye 2
retry cancel 2
registrar ipv4:212.97.59.76:5061 expires 3600
sip-server ipv4:212.97.59.76:5061
!
banner motd ^CCCCCCC
******************

***********************************************

************************************************
^C
!
line con 0
transport preferred all
transport output all
line vty 0 4
login local
transport preferred all
transport input all
transport output all
!
scheduler max-task-time 5000
end
Avatar utente
tonycimo
Cisco pathologically enlightened user
Messaggi: 185
Iscritto il: mer 26 gen , 2005 9:26 am
Località: Roma

ciao,
allora sotto la dialer togli:
ip access-group 111 in
e poi completa la configurazione
sempre nella dialer devi legarla al gruppo 1
*************************************
Non rendere mai difficile il facile per mezzo dell'inutile....
cristys
Cisco fan
Messaggi: 37
Iscritto il: sab 05 mar , 2005 2:19 pm

non funziona quando chiamo mi da occupato ?????
che sto sbagliando ?
ciao grazie




version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
no service password-recovery
!
hostname cristys
!
boot-start-marker
boot-end-marker
!
enable password *******
!
username ******* password ********
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
voice-card 1
!
no aaa new-model
ip subnet-zero
ip cef
!
!
ip dhcp excluded-address 192.168.1.2
ip dhcp excluded-address 192.168.1.100
!
ip dhcp pool 1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 212.216.112.112
domain-name interbusiness.it
!
!
ip domain name tin.it
no ftp-server write-enable
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface ATM0/0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0/0.1 point-to-point
pvc 8/35
encapsulation aal5snap
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
speed auto
!
interface Dialer1
mtu 1492
bandwidth 10000000
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
ppp authentication pap callin
ppp chap hostname aliceadsl
ppp chap password 0 aliceadsl
ppp pap sent-username aliceadsl password 0 aliceadsl
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
ip nat service sip udp port 5061
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source list 102 interface Dialer1 overload
ip nat inside source static udp 192.168.1.2 4472 interface Dialer1 4472
ip nat inside source static tcp 192.168.1.2 4462 interface Dialer1 4462
ip nat inside source static udp 192.168.1.2 4672 interface Dialer1 4672
ip nat inside source static tcp 192.168.1.2 4662 interface Dialer1 4662
ip nat inside source static tcp 192.168.1.2 4711 interface Dialer1 4711
!
!
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 23 permit 192.168.1.0 0.0.0.255
dialer-list 1 protocol ip permit
!
control-plane
!
!
!
voice-port 1/0
!
voice-port 1/1
!
!
!
!
dial-peer cor custom
!
!
!
dial-peer voice 1 voip
destination-pattern .T
session protocol sipv2
session target sip-server
session transport udp
dtmf-relay sip-notify
!
dial-peer voice 2 pots
destination-pattern ******
port 1/1
!
sip-ua
authentication username ****** password ***********
calling-info pstn-to-sip from name set Nome!cristys
retry invite 4
retry response 3
retry bye 2
retry cancel 2
registrar ipv4:212.97.59.76:5061 expires 3600
sip-server ipv4:212.97.59.76:5061
!
banner motd ^CCCCCCCC
*

***

*******

***********



******************

***********************************************


************************************************
^C
!
line con 0
line aux 0
line vty 0 4
login local
!
Avatar utente
tonycimo
Cisco pathologically enlightened user
Messaggi: 185
Iscritto il: mer 26 gen , 2005 9:26 am
Località: Roma

Due cose:
la prima configura una
voce class codec
con i codec che vuoi utilizzare e poi legala nel
dial peer voice xx voip
...
e la seconda e forse più importante:

Hai caricato il conto del server sip per fare telefonate ??

Verifica lo stato della tua registrazione con

Codice: Seleziona tutto

sh sip-ua register status
ciao
*************************************
Non rendere mai difficile il facile per mezzo dell'inutile....
cristys
Cisco fan
Messaggi: 37
Iscritto il: sab 05 mar , 2005 2:19 pm

sul conto ho 22€
Line peer expires(sec) registered
============ ============= ======================
********* 2 223 no

codec inserito
ma...ha chiamarlo con il cell da sermpre occupato ,la stessa conf con827 4v funziona xche?
sto impazzendo non so che dire e che fare
Avatar utente
tonycimo
Cisco pathologically enlightened user
Messaggi: 185
Iscritto il: mer 26 gen , 2005 9:26 am
Località: Roma

ehm... allora
io farei una prima prova... raggiungi il server sip ? (risponde ai ping)
versione IOS ??
*************************************
Non rendere mai difficile il facile per mezzo dell'inutile....
cristys
Cisco fan
Messaggi: 37
Iscritto il: sab 05 mar , 2005 2:19 pm

ping ok
ios
Cisco IOS Software, C1700 Software (C1700-IPVOICE-M), Version 12.3(7)XR3, RELEA
E SOFTWARE (fc2)
Synched to technology version 12.3(7.11)T1
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2004 by Cisco Systems, Inc.
Compiled Sat 25-Sep-04 15:29 by ealyon

ROM: System Bootstrap, Version 12.2(1r)XE1, RELEASE SOFTWARE (fc1)
ROM: Cisco IOS Software, C1700 Software (C1700-IPVOICE-M), Version 12.3(7)XR3,
ELEASE SOFTWARE (fc2)

cristyscom uptime is 25 minutes
System returned to ROM by reload
System image file is "flash:192.168.1.5"

Cisco 1751-V (MPC860P) processor (revision 0x200) with 114688K/16384K bytes of
emory.
Processor board ID JAD06220FRB (4255168676), with hardware revision 0000
MPC860P processor: part number 5, mask 2
1 FastEthernet interface
1 ATM interface
2 Voice FXS interfaces
32K bytes of NVRAM.
32768K bytes of processor board System flash (Read/Write)

...................senza parole..................
Avatar utente
tonycimo
Cisco pathologically enlightened user
Messaggi: 185
Iscritto il: mer 26 gen , 2005 9:26 am
Località: Roma

guarda, mi viene solo una coa in mente: prova a fare un poco di debug e cerca di capire perchè non si registra, se non vedi nulla di strano (?!) allora prova con un'altra versione IOS....
*************************************
Non rendere mai difficile il facile per mezzo dell'inutile....
cristys
Cisco fan
Messaggi: 37
Iscritto il: sab 05 mar , 2005 2:19 pm

ok funziona .......ma se spengo il router non si registra nel server sip



!
hostname ******
!

!
enable password **********
!
username ******** password ********
voice-card 1
!

!
!
ip dhcp excluded-address 192.168.1.2
ip dhcp excluded-address 192.168.1.100
!
ip dhcp pool 1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 212.216.112.112
domain-name interbusiness.it
!
!
ip domain name tin.it
!
!
!
!
!
!
!
interface ATM0/0
no ip address
no sh
!
interface ATM0/0.1 point-to-point
pvc 8/35
encapsulation aal5snap
pppoe-client dial-pool-number 1
no sh
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
speed auto
no sh
!
interface Dialer1
mtu 1492
bandwidth 10000000
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
ppp authentication pap callin
ppp chap hostname aliceadsl
ppp chap password aliceadsl
ppp pap sent-username aliceadsl password aliceadsl
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
ip nat service sip udp port 5061
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source list 102 interface Dialer1 overload
ip nat inside source static udp 192.168.1.2 4472 interface Dialer1 4472
ip nat inside source static tcp 192.168.1.2 4462 interface Dialer1 4462
ip nat inside source static udp 192.168.1.2 4672 interface Dialer1 4672
ip nat inside source static tcp 192.168.1.2 4662 interface Dialer1 4662
ip nat inside source static tcp 192.168.1.2 4711 interface Dialer1 4711
!
!
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 23 permit 192.168.1.0 0.0.0.255
dialer-list 1 protocol ip permit
!
control-plane
!
!
!
voice-port 1/0
!
voice-port 1/1
!
!
!
!
dial-peer cor custom
!
!
!
dial-peer voice 1 voip
destination-pattern .T
session protocol sipv2
session target sip-server
session transport udp
dtmf-relay sip-notify
!
dial-peer voice 2 pots
destination-pattern ********
port 1/1
!
sip-ua
authentication username ******* password ******
calling-info pstn-to-sip from name set Nome!cristys

registrar ipv4:212.97.59.76:5061 expires 3600
sip-server ipv4:212.97.59.76:5061
!



line con 0
line aux 0
line vty 0 4
login local
Avatar utente
tonycimo
Cisco pathologically enlightened user
Messaggi: 185
Iscritto il: mer 26 gen , 2005 9:26 am
Località: Roma

sotto sip-ua inserisci il parametro:

Codice: Seleziona tutto

retry invite 4 
e quando viene su il router aspetta qualche minutino
ciao
*************************************
Non rendere mai difficile il facile per mezzo dell'inutile....
cristys
Cisco fan
Messaggi: 37
Iscritto il: sab 05 mar , 2005 2:19 pm

.......senza parole grazie funziona benissimo
ciao
Avatar utente
TheIrish
Site Admin
Messaggi: 1840
Iscritto il: dom 14 mar , 2004 11:26 pm
Località: Udine
Contatta:

tonycimo rocks
Avatar utente
tonycimo
Cisco pathologically enlightened user
Messaggi: 185
Iscritto il: mer 26 gen , 2005 9:26 am
Località: Roma

:oops:
*************************************
Non rendere mai difficile il facile per mezzo dell'inutile....
Rispondi