Configurazione Cisco 1760 Vic 2FXS (eutelia)

Voice su IP

Moderatore: Federico.Lagni

Rispondi
TeCer
Cisco fan
Messaggi: 67
Iscritto il: sab 16 mag , 2009 5:28 pm

Ciao,
ho bisogno di un aiuto per capire come mai non riesco a fare ne ricevere telefonate su entrambi i numeri che ho configurato sulle fxs.
Guardando varie conf in giro per il forum a me sembra tutto corretto.

IOS e memoria sono ok.
posto lo sh run

Codice: Seleziona tutto

!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
no service password-recovery
!
hostname ***
!
boot-start-marker
boot system flash:c1700-spservicesk9-mz.124-9.T7.bin
boot-end-marker
!
enable secret ***
!
no aaa new-model
!
resource policy
!
voice-card 2
!
ip cef
!
!
!
!
no ip domain lookup
ip name-server 208.67.222.222
ip name-server 208.67.220.220
!
!
!
!
!
!
!
!
!
!
!
!
!
!
username *** password ***
!
!
!
!
!
interface ATM0/0
 no ip address
 no atm ilmi-keepalive
 dsl operating-mode auto
!
interface ATM0/0.1 point-to-point
 description Aruba ADSL 7MB
 no snmp trap link-status
 pvc 8/35
  encapsulation aal5mux ppp dialer
  dialer pool-member 1
 !
!
interface FastEthernet0/0
 ip address 192.168.5.254 255.255.255.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip nat inside
 ip tcp adjust-mss 1360
 speed auto
!
interface Dialer0
 description Interfaccia Dialer0/0 - Aruba ADSL 7MB
 ip address negotiated
 ip access-group 111 in
 ip mtu 1492
 ip nat outside
 encapsulation ppp
 dialer pool 1
 ppp authentication chap pap callin
 ppp pap sent-username *** password ***
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
!
no ip http server
no ip http secure-server
ip nat translation timeout 420
ip nat translation tcp-timeout 120
ip nat translation pptp-timeout 420
ip nat translation icmp-timeout 1
ip nat translation max-entries 1000
ip nat inside source list 1 interface Dialer0 overload
ip nat inside source static 192.168.5.2 interface Dialer0
!
access-list 1 permit 192.168.5.0 0.0.0.255
!
control-plane
!
!
!
voice-port 2/0
 echo-cancel coverage 32
 playout-delay nominal 100
 playout-delay mode fixed
 cptone IT
 timeouts initial 120
 timeouts interdigit 3
 timeouts call-disconnect 0
 caller-id enable
!
voice-port 2/1
 echo-cancel coverage 32
 playout-delay nominal 100
 playout-delay mode fixed
 cptone IT
 timeouts initial 120
 timeouts interdigit 3
 timeouts call-disconnect 0
 caller-id enable
!
!
!
!
!
!
dial-peer voice 1 voip
 destination-pattern .T
 session protocol sipv2
 session target sip-server
 session transport udp
 dtmf-relay sip-notify
 codec g711alaw
 no vad
!
dial-peer voice 2 pots
 description LINEA VOCE EUTELIA
 destination-pattern ***
 port 2/0
 authentication username *** password ***
!
dial-peer voice 3 pots
 description LINEA VOCE2 EUTELIA
 destination-pattern ***
 port 2/1
 authentication username *** password ***
!
sip-ua
 authentication username *** password ***
 retry invite 4
 retry response 3
 retry bye 2
 retry cancel 2
 registrar dns:voip.eutelia.it:5060 expires 3600
 sip-server dns:voip.eutelia.it:5060
!
!
line con 0
line aux 0
 access-class 23 in
 exec-timeout 5 0
 modem DTR-active
 transport input telnet
line vty 0 4
 access-class 23 in
 exec-timeout 5 0
 password ***
 login
 transport preferred none
 transport input telnet
!
scheduler max-task-time 5000
p.s. qual'è il comando per verificare se i numeri sono registrati?

grazie in anticipo,
Matteo
TeCer
Cisco fan
Messaggi: 67
Iscritto il: sab 16 mag , 2009 5:28 pm

nel frattempo ho trovato il comando per vedere la registrazione, e ovviamente, non sono registrati i numeri.

Codice: Seleziona tutto

show sip-ua register status
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Intanto ti posso inviare la mia configurazione, non è del tutto funzionante (cavolo) posso solo chiamare ma ci stiamo lavorando!!!

version 12.4
service timestamps debug datetime msec
service timestamps log uptime
service password-encryption
!
hostname SUPERADSL.IT-EUTELIAVOIP
!
boot-start-marker
boot-end-marker
!
enable password 7 XXXXXXXXX
!
no aaa new-model
!
resource policy
!
memory-size iomem 15
clock timezone CET 1
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
voice-card 2
!
ip subnet-zero
ip cef
!
!
!
!
!
!
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
!
!
!
!
!
!
!
!
!
username lucaspag password 7 XXXXXXXXXX
!
!
!
!
interface ATM0/0
no ip address
no ip mroute-cache
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
pvc 8/35
encapsulation aal5snap
protocol ppp dialer
dialer pool-member 1
!
!
interface FastEthernet0/0
ip address 172.31.43.254 255.255.255.0
ip nat inside
no ip mroute-cache
speed auto
!
interface Dialer0
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp pap sent-username [email protected] password 7 120B0A0F080D0E
!
interface Dialer1
no ip address
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
!
no ip http server
ip nat pool EUTELIA_Voce 172.31.43.254 172.31.43.254 netmask 255.255.255.0 type rotary
ip nat source static udp 172.31.43.254 5060 interface Dialer1 5060
ip nat inside source list 101 interface Dialer0 overload
ip nat inside source static tcp 172.31.43.13 8080 XX.XX.XX.XXX 8080 extendable
ip nat inside destination list 101 pool EUTELIA_Voce
!
access-list 101 permit ip 172.31.43.0 0.0.0.255 any
access-list 101 permit tcp any any range 8000 8020
access-list 101 permit udp any any range 8000 8020
dialer-list 1 protocol ip permit
!
control-plane
!
!
!
voice-port 2/0
echo-cancel coverage 32
no vad
playout-delay mode fixed
cptone IT
timeouts initial 120
timeouts interdigit 3
timeouts call-disconnect 0
bearer-cap Speech
caller-id enable
!
voice-port 2/1
echo-cancel coverage 32
no vad
playout-delay mode fixed
cptone IT
timeouts initial 120
timeouts interdigit 3
timeouts call-disconnect 0
bearer-cap Speech
caller-id enable
!
!
!
!
!
!
dial-peer voice 1 pots
destination-pattern XXXXXXXXXXXX
port 2/0
authentication username XXXXXXXXXXX password 130902110A1F142B2C75716561 realm voip.eutelia.it
!
dial-peer voice 2 pots
destination-pattern XXXXXXXXXXX
port 2/1
authentication username XXXXXXXXXXX password 04571E050E325C4F0E4F51 realm voip.eutelia.it
!
dial-peer voice 3 voip
destination-pattern .T
voice-class codec 1
session protocol sipv2
session target sip-server
session transport udp
dtmf-relay sip-notify
!
sip-ua
retry invite 4
retry response 3
retry bye 2
retry cancel 2
registrar ipv4:83.211.227.21:5060 expires 3600
sip-server ipv4:83.211.227.21:5060
!
!
line con 0
line aux 0
line vty 0 4
login local
!
sntp server 193.204.114.232
end
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Non Dialer1 nel mio caso ma Dialer0


ip nat source static udp 172.31.43.254 5060 interface Dialer0 5060
TeCer
Cisco fan
Messaggi: 67
Iscritto il: sab 16 mag , 2009 5:28 pm

niente, non riesco ancora a far registrare i numeri anche mettendo quel comando.
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Senti ho uno ios diverso ma non credo sia quello il problema, prova a cambiare

registrar dns:voip.eutelia.it:5060 expires 3600
sip-server dns:voip.eutelia.it:5060

con quelli suggeriti nella mia configurazione ed aggiungi

real voip.eutelia.it alla fine della riga

authentication username *** password ***

nell'interfaccia dial-peer
TeCer
Cisco fan
Messaggi: 67
Iscritto il: sab 16 mag , 2009 5:28 pm

provato anche quei comandi, ho cambiato anche ios mettendo la c1700-advipservicesk9-mz.124-23.bin

proverò a cambiare la fxs anche se mi sembra impossibile possa essere quello il problema.
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Io di ios ne ho provati anche altri e in questo momento ho la versione c1700-spservicesk9-mz.124-9.T1.bin, appena posso mi metterò a fare altre prove comunque ti garantisco che attualmente mi registro e posso telefonare, ancora non riesco a ricevere :?
TeCer
Cisco fan
Messaggi: 67
Iscritto il: sab 16 mag , 2009 5:28 pm

Aggiornamento

Ora la numerazione si registra e funziona sia in ingresso che in ricezione, però chi effettua la chiamata verso il mio numero non sente il tono di libero nonostante il telefono squilli e se rispondo possiamo parlare senza problemi.

p.s. nel frattempo ho abbandonato eutelia con il quale avevo problemi anche con l'ata della linksys. al momento uso cheapnet.

Codice: Seleziona tutto

service timestamps debug datetime msec 
service timestamps log datetime msec 
no service password-encryption  
! 
hostname tcr1760
! 
boot-start-marker 
boot system flash:c1700-advipservicesk9-mz.124-15.T9.bin
boot-end-marker 
! 
enable secret ***
! 
!
username *** password ***
!
!
clock timezone CET 1
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
! 
! 
! 
! 
! 
no ip domain lookup 
ip name-server 208.67.222.222 
ip name-server 208.67.220.220 
! 
! 
! 
! 
! 
! 
! 
! 
! 
voice class codec 1
 codec preference 1 g711alaw
! 
! 
! 
! 
! 
! 
! 
! 
interface ATM0/0 
 no ip address 
 no atm ilmi-keepalive 
 dsl operating-mode auto 
! 
interface ATM0/0.1 point-to-point 
 description Aruba ADSL 7/384
 no snmp trap link-status 
 pvc 8/35 
 encapsulation aal5mux ppp dialer 
 dialer pool-member 1 
 ! 
! 
interface FastEthernet0/0 
 ip address 192.168.5.254 255.255.255.0 
 no ip redirects 
 no ip unreachables 
 no ip proxy-arp 
 ip nat inside 
 ip tcp adjust-mss 1360 
 speed auto 
! 
interface Dialer0
 ip address negotiated 
 ip mtu 1492 
 ip nat outside 
 encapsulation ppp
 dialer pool 1
 ppp authentication chap pap callin 
 ppp pap sent-username *** password ***
! 
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0 
! 
! 
no ip http server 
no ip http secure-server 
ip nat inside source list 1 interface Dialer0 overload 
! 
access-list 1 permit 192.168.5.0 0.0.0.255
dialer-list 1 protocol ip permit
! 
control-plane 
! 
! 
! 
voice-port 3/0 
 echo-cancel coverage 32 
 playout-delay nominal 100 
 playout-delay mode fixed 
 cptone IT  
 timeouts interdigit 3 
 timeouts call-disconnect 0
 bearer-capability 3100hz
 signal loopStart 
 caller-id enable 
! 
voice-port 3/1 
 busyout forced 
! 
! 
! 
! 
! 
! 
dial-peer voice 65 voip
 destination-pattern .T
 voice-class codec 1
 session protocol sipv2
 session target sip-server
 session transport udp
 dtmf-relay sip-notify
 no vad
!
dial-peer voice 1 pots
 description LINEA VOCE CHEAPNET
 destination-pattern ***
 port 3/0
 authentication username *** password ***
!
sip-ua
 retry invite 4
 retry response 3
 retry bye 2
 retry cancel 2
 no remote-party-id
 registrar ipv4:87.238.30.10:5060 expires 3600
 sip-server ipv4:87.238.30.10:5060
!
!
line con 0
line aux 0
 exec-timeout 5 0
 modem DTR-active
 transport input telnet
line vty 0 4
 exec-timeout 5 0
 login local
 transport preferred none
 transport input telnet
!
smallhungryrat
n00b
Messaggi: 8
Iscritto il: mar 13 ott , 2009 4:15 am

player 09sc10zmc13sa report wow gold: World Of Warcraft Restarts Commercial Operation In China wow power leveling After over two months' downtime and a long closed beta,wow gold World of Warcraft has finally resumed full operations in China over the weekend, opening the doors of Azeroth once again to millions of users who've been waiting since the beginning of Summer. wow gold Blizzard Entertainment switched Chinese operators on June 7th from The9 to rival NetEase, hoping to earn a higher royalty rate on the game. But the change-over has meant a lasting round of scrutiny from government regulators -- and mandated content edits, due primarily to sensitivity about depicting the undead before younger audiences. wow power leveling A translated version of the official announcement said users will still be able to use any game time they purchased prior to the downtime,wow gold and veteran players meeting certain criteria will get a special pet. wow power leveling As it welcomes back returning users, the game's official Chinese website is also now officially open for the creation of new World of Warcraft and Battle.net service accounts. wow power leveling The transition and the downtime have been costly to both Blizzard and NetEase. According to media claims, NetEase has spent an estimated 1 million yuan ($146,455.77) per day maintaining game servers for the closed beta it's been running since July 30 as a test period. wow gold Harder to quantify is potential player loss as a result of the downtime. Close to half of World of Warcraft's 11.5 million users are Chinese -- but analysts such as Lazard's Colin Sebastian have estimated that, due to the Chinese business model and licensing structure, the region accounts for just 6 percent of WoW revenues. aion gold Interestingly, Netease and Blizzard's relaunching of the service appears to be tied to a change in Chinese government responsibilities announced late last week, with the Ministry Of Culture taking over some game-related approval processes. However, post-launch reports claim that not all Government departments are aware of the game's relaunch -- though it is unclear whether jurisdictional issues make this necessary. wow gold news wow
Rispondi