Problema ricezione chiamate pstn

Voice su IP

Moderatore: Federico.Lagni

Rispondi
ottovalvole
Cisco fan
Messaggi: 51
Iscritto il: mar 09 dic , 2008 2:42 pm
Località: La Spezia

:( :( :( Salve a tutti. Ho un 1760 con installata una scheda Wic adsl e una scheda Vic 2Fxo con collegata una linea analogica Tele2 + 3 telefoni 7960/7940. Succede questo: in uscita non ho problemi ad effettuare telefonate. In ingresso, la scheda Fxo aggancia subito la linea (quindi su un cellulare compare connesso anche se continuo a sentire il tono di libero e magari nessuno può rispondere)mentre i telefoni squillano. Se poi il chiamante riaggancia, i telefoni continuano a squillare e sulla scheda Fxo il led è acceso e devo alzare e abbassare la cornetta di un telefono per liberare la linea. Posto di seguito la configurazione: vorrei capire dove sta l'inghippo!!!!
-------------------------------------------------------------------
......
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Router
!
logging queue-limit 100
enable password 7 xxxxxxx
!
username xxxx privilege 15 password 7 xxxxx
memory-size iomem 15
clock timezone berlin 1
clock summer-time europe1 recurring last Sun May 3:00 last Sun Oct 3:00
ip subnet-zero
!
!
ip name-server 193.12.150.2
ip name-server 212.247.152.2
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.2
ip dhcp excluded-address 192.168.1.3
ip dhcp excluded-address 192.168.1.4
!
ip dhcp pool xxxxx
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
option 150 ip 192.168.1.1
!
voice service pots

!
voice class dualtone-detect-params 1
freq-max-power 0
freq-min-power 35
freq-power-twist 15
freq-max-delay 40
cadence-variation 20
!
!
voice class custom-cptone 1
dualtone busy
dualtone ringback
dualtone reorder
dualtone out-of-service
dualtone number-unobtainable
dualtone disconnect
frequency 425 425
cadence 200 200 200 200
!
no voice hpi capture buffer
no voice hpi capture destination

!
mta receive maximum-recipients 0
!

interface ATM0/0
no ip address
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
speed auto
!
interface Dialer1
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
ppp authentication chap callin
ppp chap hostname xxxxxxx
ppp chap password 7 xxxxxxxx
ppp pap sent-username xxxxxx.it password 7 xxxxxxx
!
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static udp 192.168.1.3 4672 interface Dialer1 4672
ip nat inside source static tcp 192.168.1.3 4662 interface Dialer1 4662
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
ip http path flash
!
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 101 permit tcp any any eq 4662
access-list 101 permit udp any any eq 4672
!
tftp-server flash:SEPDEFAULT.cnf
tftp-server flash:P0030702T023.sbn
tftp-server flash:P0030702T023.sb2
tftp-server flash:P0030702T023.loads
tftp-server flash:P0030702T023.bin
call rsvp-sync
!
voice-port 2/0
cptone IT
timeouts interdigit 3
timeouts call-disconnect 1
connection plar 81
!
voice-port 2/1
!
!
mgcp profile default
!
dial-peer cor custom
!

dial-peer voice 81 pots
destination-pattern 0T
port 2/0
!

telephony-service
load 7960-7940 P0030702T023
max-ephones 6
max-dn 10
ip source-address 192.168.1.1 port 2000
user-locale IT
network-locale IT
create cnf-files version-stamp Jan 01 2002 00:00:00
voicemail 2999
time-format 24
date-format dd-mm-yy
web admin system name xxx password xxx
dn-webedit
time-webedit
!
!
ephone-dn 1
number 201
description Ufficio1
name 201
!
!
ephone-dn 2
number 202
description Ufficio2
!
!
ephone-dn 3
number 203
description Reception
!
!
ephone-dn 10
number 81
!
!
ephone 1
username "xxx" password xxx
mac-address xxxxxxxxx
type 7960
button 1:1 2:10
!
!
!
!
ephone 2
mac-address xxxxxxxx
type 7940
button 1:2 2:10
!
!
!
!
ephone 3
username "xxx" password xxxx
mac-address xxxxxxx
type 7940
button 1:3 2:10
!

line con 0
password 7 xxxxxxx
login
speed 115200
line aux 0
line vty 0 4
password 7 xxxxxxxx
login local
!
ntp clock-period 17208122
ntp server 193.204.114.232
end

---------------------------------------------------
Ringrazio per le eventuali risposte!!!!!!! :oops: :oops: :oops:
ndiego75
Cisco pathologically enlightened user
Messaggi: 202
Iscritto il: lun 07 nov , 2005 1:57 pm
Località: Genova

Ciao, questo articolo dovrebbe aiutarti a risolvere il tuo problema:
http://www.cisco.com/en/US/tech/tk652/t ... e2d1.shtml
ottovalvole
Cisco fan
Messaggi: 51
Iscritto il: mar 09 dic , 2008 2:42 pm
Località: La Spezia

Grazie del link. Provvederò ad eseguire la modifica suggerita e poi faccio sapere il risultato. Per il momento ancora grazie della risposta!!!!!!
ottovalvole
Cisco fan
Messaggi: 51
Iscritto il: mar 09 dic , 2008 2:42 pm
Località: La Spezia

Aggiornamento della situazione. Ho modificato la programmazione come di seguito riportato:

---------------------------------------------------------------
Current configuration : 3519 bytes
!
! Last configuration change at 18:02:04 berlin Mon Mar 1 2010 by xxxx
! NVRAM config last updated at 18:02:05 berlin Mon Mar 1 2010 by xxxxx
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Router
!
logging queue-limit 100
enable password 7 xxxxxx
!
username xxxxxx privilege 15 password 7 xxxxxx
memory-size iomem 15
clock timezone berlin 1
clock summer-time europe1 recurring last Sun May 3:00 last Sun Oct 3:00
ip subnet-zero
!
ip name-server 193.12.150.2
ip name-server 212.247.152.2
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.2
ip dhcp excluded-address 192.168.1.3
ip dhcp excluded-address 192.168.1.4
!
ip dhcp pool sited-pool
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
option 150 ip 192.168.1.1
!
voice service pots
!

no voice hpi capture buffer
no voice hpi capture destination
!
mta receive maximum-recipients 0
!
interface ATM0/0
no ip address
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
speed auto
!
interface Dialer1
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
ppp authentication chap callin
ppp chap hostname xxxxxx
ppp chap password 7 xxxxxxx
ppp pap sent-username xxxxxx password 7 xxxxxxx
!
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static tcp 192.168.1.3 4662 interface Dialer1 4662
ip nat inside source static udp 192.168.1.3 4672 interface Dialer1 4672
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
ip http path flash
!
!
!
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 101 permit tcp any any eq 4662
access-list 101 permit udp any any eq 4672
!
tftp-server flash:SEPDEFAULT.cnf
tftp-server flash:P0030702T023.sbn
tftp-server flash:P0030702T023.sb2
tftp-server flash:P0030702T023.loads
tftp-server flash:P0030702T023.bin
call rsvp-sync
!
voice-port 2/0
cptone IT
timeouts interdigit 3
timeouts call-disconnect 5
timeouts wait-release 5
connection plar 81
supervisory disconnect dualtone mid-call

!
voice-port 2/1
!
!
mgcp profile default
!
dial-peer cor custom
!
!
!
dial-peer voice 81 pots
destination-pattern 0T
port 2/0
!
!
telephony-service
load 7960-7940 P0030702T023
max-ephones 6
max-dn 10
ip source-address 192.168.1.1 port 2000
user-locale IT
network-locale IT
create cnf-files version-stamp Jan 01 2002 00:00:00
voicemail 2999
time-format 24
date-format dd-mm-yy
web admin system name xxx password xxx
dn-webedit
time-webedit
!
!
ephone-dn 1
number 201
description Ufficio1
name 201
!
!
ephone-dn 2
number 202
description Ufficio2
!
!
ephone-dn 3
number 203
description Reception
!
!
ephone-dn 10
number 81
!
!
ephone 1
username xxxx password xxxx
mac-address xxxxxxxx
type 7960
button 1:1 2:10
!
!
!
!
ephone 2
mac-address xxxxxxxx
type 7940
button 1:2 2:10
!
!
!
!
ephone 3
username xxxxx password xxxx
mac-address xxxxxx
type 7940
button 1:3 2:10
!
!
!
!
line con 0
password 7 xxxxxxx
login
speed 115200
line aux 0
line vty 0 4
password 7 xxxxxxx
login local
!
no scheduler allocate
ntp clock-period 17208120
ntp server 193.204.114.232
end
--------------------------------------------------------------------

Ora, se provo a chiamarmi da un cellulare per esempio, i telefoni squillano e se butto giù la chiamata, il sistema dopo 5 secondi scarsi libera la linea. Giocando coi timeout potrei anche essere soddisfatto. L'unico problema che continuo ad avere, è che chi mi chiama, dopo uno squillo si vede la chiamata connessa anche se ai miei telefoni non risponde nessuno (tradotto paga lo scatto): cioè, indipendentemente se si risponde o meno, la Fxo aggancia la linea (e chi chiama sente squillare libero ma di fatto sta pagando). Vorrei gentilmente sapere se è proprio il comportamento della Fxo o c'è qualche stupidaggine nella programmazione. Grazie infinite delle eventuali risposte e scusate la lungaggine........
lorbellu
Network Emperor
Messaggi: 313
Iscritto il: gio 25 ott , 2007 6:14 pm

Ciao,

Secondo me, più semplicemente potresti riportare la tua vecchia configurazione del voice port:
voice-port 2/0
cptone IT
timeouts interdigit 3
timeouts call-disconnect 1
connection plar 81
E modificarla così

Codice: Seleziona tutto

supervisory disconnect anytone
impedance complex2
connection plar 81 opx
Prova e fammi sapere, a me ha risolto il tuo stesso problema, tempo 0 dal riaggancio del chiamate, la voice-port va in down, tempo una frazione di secondo ed i telefoni smettono di squillare.

Saluti
Lorbellu
leogood
Network Emperor
Messaggi: 238
Iscritto il: dom 11 feb , 2007 3:15 pm

lorbellu ha scritto:Ciao,

Secondo me, più semplicemente potresti riportare la tua vecchia configurazione del voice port:
voice-port 2/0
cptone IT
timeouts interdigit 3
timeouts call-disconnect 1
connection plar 81
E modificarla così

Codice: Seleziona tutto

supervisory disconnect anytone
impedance complex2
connection plar 81 opx
Prova e fammi sapere, a me ha risolto il tuo stesso problema, tempo 0 dal riaggancio del chiamate, la voice-port va in down, tempo una frazione di secondo ed i telefoni smettono di squillare.

Saluti
Modificala cosi che va bene almeno per telecom
voice-port 1/0
input gain 14
echo-cancel coverage 32
cptone IT
connection plar opx tuonumero
description PSTN
music-threshold -70
Rispondi