Un piccolo aiuto per CME 4.1

Voice su IP

Moderatore: Federico.Lagni

lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Premetto che mi sono avventurato con il Cisco non sapendo assolutamente niente e forse era meglio se lasciavo perdere :oops: Ma ormai visto che ho anche acquistato dei telefoni (un 7941G ed un 7960) vorrei crearmi un piccolo centralino per casa. Primo quesito come si crea un gruppo suonerie? Dunque il router è un 1751 V con WIC ADSL1 una WIC catalist a 4 uscite ed una VIC FXS. Il provider SIP è Eutelia (aimè). Secondo quesito come posso "legare" la linea SIP ai telefoni? Mi spiego meglio, vorrei personalizzare i tasti in modo che ogni tasto corrisponda ad una linea Eutelia (ben quattro)!!! Voi cosa dite? Grazie sin da adesso a chi vorrà darmi una mano :lol:
Avatar utente
perteghella
Cisco enlightened user
Messaggi: 135
Iscritto il: mar 20 mar , 2007 10:54 am
Località: Reggio Emilia
Contatta:

lucaspag ha scritto:mi sono avventurato con il Cisco non sapendo assolutamente niente...
Prova a postare la configurazione e cosa funziona ( registrazione telefoni, chiamate interne, verso l'esterno, ...)
Giovanni Perteghella
CCAI e CCSI#32156 Trainer (R&S, DataCenter, Collaboration, Wireless) - VCI VMware Trainer
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Ti ringrazio molto, dunque per prima cosa ti devo dire che pur facendo mille prove non sono mai riuscito a far funzionare Eutelia in entrata (a tal proposito uso un telefono Voip Siemens) mentre posso tranquillamente uscire dalle porte FXS usando un comune telefono Sirio Telecom. Poi come dicevo nel post precedente vorrei utilizzare i telefoni Cisco però non riesco a far agganciare le linee per uscire e vorrei capire come si fa per farli squillare (appena riuscirò a far funzionare questa benedetta Eutelia)!!! Come vedrai nella configurazione magari ci sono delle linee di comando forse inutili, ma sono le varie prove che ho fatto a dimenticavo la FXS installata è a due porte ma mi deve arrivare una a quattro. Ti ringrazio ancora per la tua disponibilità , a presto.

Ecco la configurazione:

version 12.4
service timestamps debug datetime msec
service timestamps log uptime
service password-encryption
!
hostname Super4Mega-EuteliaVoip
!
boot-start-marker
boot-end-marker
!
enable password 7 030D5F0A
!
no aaa new-model
memory-size iomem 15
clock timezone CET 1
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
voice-card 2
!
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 172.16.43.250 172.16.43.254
!
ip dhcp pool WIRELESS
network 172.31.43.0 255.255.255.0
default-router 172.31.43.254
dns-server 151.99.125.1 151.99.0.100
!
ip dhcp pool phone
network 172.16.43.0 255.255.255.0
default-router 172.16.43.254
option 150 ip 172.16.43.254
dns-server 62.94.0.41 62.94.0.42
domain-name voip.eutelia.it
!
!
multilink bundle-name authenticated
!
!
!
voice service voip
allow-connections h323 to sip
allow-connections sip to h323
sip
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
!
!
!
!
!
!
!
voice register global
mode cme
source-address 172.16.43.254 port 5060
max-dn 10
max-pool 20
!
voice register dn 1
number 201
!
voice register dn 2
number 202
!
voice register pool 1
id mac 001E.136C.4F53
number 1 dn 1
codec g711ulaw
!
voice register pool 2
id mac 0016.C76B.2F8E
number 2 dn 2
codec g711ulaw
!
voice hunt-group 1 parallel
list 201,202
timeout 15
pilot 201
!
!
!
!
!
!
!
!
username lucaspag password 7 08245E400C0A1118
archive
log config
hidekeys
!
!
!
!
!
!
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
ip virtual-reassembly
no ip mroute-cache
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface FastEthernet1/1
description Siemens C450IP
bandwidth 100
!
interface FastEthernet1/2
description Cisco IP Phone 7941G
!
interface FastEthernet1/3
description Cisco IP Phone 7960G
!
interface FastEthernet1/4
!
interface Vlan1
ip address 172.16.43.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Dialer0
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
ppp pap sent-username XXXXXXXXXX@XXXXXXXXXX password 7 120B0A0F080D0E
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
!
no ip http server
no ip http secure-server
ip nat pool EUTELIA_Voce 172.16.43.254 172.16.43.254 netmask 255.255.255.0 type rotary
ip nat inside source list 101 interface Dialer0 overload
ip nat inside source list 102 interface Dialer0 overload
ip nat inside source static udp 172.16.43.254 5060 interface Dialer0 5060
ip nat inside source static tcp 172.31.43.13 8080 XX.XX.XX.XXX 8080 extendable
ip nat inside destination list 102 pool EUTELIA_Voce
!
access-list 101 permit ip 172.31.43.0 0.0.0.255 any
access-list 102 permit ip 172.16.43.0 0.0.0.255 any
access-list 102 permit tcp any any range 8000 8020
access-list 102 permit udp any any range 8000 8020
dialer-list 1 protocol ip permit
tftp-server flash:term41.default.loads
tftp-server flash:term61.default.loads
tftp-server flash:P00308000400.loads
tftp-server flash:P00308000400.sb2
tftp-server flash:P00308000400.sbn
tftp-server flash:P00308000400.bin
tftp-server flash:apps41.8-2-2ES1.sbn
tftp-server flash:cnu41.8-2-2ES1.sbn
tftp-server flash:SCCP41.8-2-2SR1S.loads
tftp-server flash:cvm41sccp.8-2-2ES1.sbn
tftp-server flash:jar41sccp.8-2-2ES1.sbn
tftp-server flash:dsp41.8-2-2ES1.sbn
tftp-server flash:it-mk-sccp.jar
control-plane host
!
!
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
connection plar 201,202
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
connection plar 201
bearer-cap Speech
caller-id enable
!
!
!
!
!
!
dial-peer voice 1 pots
destination-pattern XXXXXXXX288
port 2/0
authentication username XXXXXXXX288 password 7 01050F055C05090124181D realm voip.eutelia.it
supported-language it
!
dial-peer voice 2 pots
destination-pattern XXXXXXXX289
port 2/1
authentication username XXXXXXXX289 password 7 130902110A1F142B2C727C realm voip.eutelia.it
supported-language 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
!
dial-peer voice 4 pots
destination-pattern XXXXXXXX260
port 2/1
authentication username XXXXXXXX260 password 7 082D594D080A1516155A55527E realm voip.eutelia.it
supported-language IT
!
dial-peer voice 5 pots
destination-pattern XXXXXXXX261
port 2/0
authentication username XXXXXXXX261 password 7 1300051C0E1F10252220296766 realm voip.eutelia.it
supported-language IT
!
dial-peer voice 200 voip
destination-pattern 20[1-2]
!
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
!
!
telephony-service
load 7960-7940 P00308000400
load 7941GE SCCP41.8-2-2SR1S.loads
max-ephones 5
max-dn 10
ip source-address 172.16.43.254 port 2000
auto assign 1 to 5
user-locale IT
network-locale IT
time-zone 23
time-format 24
date-format dd-mm-yy
max-conferences 2 gain -6
moh ciao
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern .T
create cnf-files version-stamp 7960 Dec 27 2009 08:59:13
!
!
ephone-template 3
!
!
ephone-dn 1
number XXXXXXXX260 no-reg primary
!
!
ephone-dn 2
number XXXXXXXX261 no-reg primary
!
!
ephone-dn 3
number XXXXXXXX288 no-reg primary
!
!
ephone-dn 4
number XXXXXXXX289 no-reg primary
!
!
ephone-dn 5
number 201
name Studio
allow watch
!
!
ephone-dn 6
number 202
name Salotto
allow watch
!
!
ephone-dn 7
night-service bell
!
!
ephone-dn 8
number XXXXXXXX288
label ASSENTE
!
!
ephone-dn 9
ring external primary
number 201 secondary XXXXXXXX288 no-reg
!
!
ephone-dn 10
number 288
!
!
ephone 1
description Cisco IP Phone 7941G Studio
mac-address 001E.136C.4F53
ephone-template 3
type 7941
button 1:3 2:6
!
!
!
ephone 2
description Cisco IP Phone 7960G Salotto
mac-address 0016.C76B.2F8E
type 7960
no auto-line
button 1:1 2:2 3:3 4:4
button 5:5 6:9
!
!
!
ephone 3
!
!
!
line con 0
line aux 0
line vty 0 4
login local
!
sntp server 193.204.114.232
end


Ecco anche i due telefoni:

ephone-1 Mac:001E.136C.4F53 TCP socket:[3] activeLine:0 REGISTERED in SCCP ver 9 and Server in ver 8
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:9
IP:172.16.43.5 50531 7941 keepalive 2760 max_line 2
button 1: dn 3 number XXXXXXXX288 CH1 IDLE shared
button 2: dn 6 number 202 CH1 IDLE


ephone-2 Mac:0016.C76B.2F8E TCP socket:[1] activeLine:0 REGISTERED in SCCP ver 9 and Server in ver 8
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:8
IP:172.16.43.2 50819 Telecaster 7960 keepalive 3521 max_line 6
button 1: dn 1 number XXXXXXXX260 CH1 IDLE
button 2: dn 2 number XXXXXXXX261 CH1 IDLE
button 3: dn 3 number XXXXXXXX288 CH1 IDLE shared
button 4: dn 4 number XXXXXXXX289 CH1 IDLE
button 5: dn 5 number 201 CH1 IDLE
button 6: dn 9 number 201 CH1 IDLE

E lo IOS: c1700-ipvoicek9-mz.124-15.T9.bin
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Qualche suggerimento?
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

No non ho fatto nessun debug, qual'è quello che dovrei fare? Debug ephone ?
E se metto tutti i telefoni in SIP cosa succede?
Mi spiego, ho sostituito un telefono in SCCP e sono passato al SIP....
però... il telefono in SIP può fare telefonate ma non riceverle il telefono in SCCP le riceve ma non può farle !!!!!! Che confusione :(
Da notare che il telefono in SIP non si registra sul 1751V :oops:
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Intanto ho tolto il telefono in SIP e sono tutti in SCCP, ho tolto il 7960G ed ho preso un 7970G (molto bello) poi ho configurato la FXS a 4 linee e tolti dei comandi che credevo fossero di troppo:

version 12.4
service timestamps debug datetime msec
service timestamps log uptime
service password-encryption
!
hostname Super4Mega-EuteliaVoip
!
boot-start-marker
boot-end-marker
!
enable password 7 030D5F0A
!
no aaa new-model
memory-size iomem 15
clock timezone CET 1
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 172.16.43.250 172.16.43.254
!
ip dhcp pool WIRELESS
network 172.31.43.0 255.255.255.0
default-router 172.31.43.254
dns-server 151.99.125.1 151.99.0.100
!
ip dhcp pool phone
network 172.16.43.0 255.255.255.0
default-router 172.16.43.254
option 150 ip 172.16.43.254
dns-server 62.94.0.41 62.94.0.42
domain-name voip.eutelia.it
!
!
multilink bundle-name authenticated
!
!
!
voice service voip
allow-connections sip to sip
sip
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
!
!
!
!
!
!
!
voice register global
mode cme
source-address 172.16.43.254 port 5060
max-dn 10
max-pool 20
!
voice register dn 1
number 204
allow watch
name Studio
label Studio
!
voice register dn 2
number 205
allow watch
name Salotto
label Salotto
!
voice register pool 1
id mac 001B.D45F.E2A0
number 1 dn 1
codec g711ulaw
!
voice register pool 2
id mac 001E.136C.4F53
number 2 dn 2
codec g711ulaw
!
!
!
!
!
!
!
username lucaspag password 7 08245E400C0A1118
archive
log config
hidekeys
!
!
!
class-map match-any voice-signaling
!
!
!
!
!
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
ip virtual-reassembly
no ip mroute-cache
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface FastEthernet1/1
description Siemens C450IP
!
interface FastEthernet1/2
description Cisco IP Phone 7970G Studio
!
interface FastEthernet1/3
description Cisco IP Phone 7941G Salotto
!
interface FastEthernet1/4
!
interface Vlan1
ip address 172.16.43.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Dialer0
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
ppp pap sent-username XXXXXXXXXX@XXXXXXXXXXXX password 7 120B0A0F080D0E
!
ip forward-protocol nd
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 101 interface Dialer0 overload
ip nat inside source list 102 interface Dialer0 overload
ip nat inside source static tcp 172.31.43.13 8080 XX.XX.XX.XXX 8080 extendable
!
access-list 101 permit ip 172.31.43.0 0.0.0.255 any
access-list 102 permit ip 172.16.43.0 0.0.0.255 any
dialer-list 1 protocol ip permit
tftp-server flash:term41.default.loads
tftp-server flash:term61.default.loads
tftp-server flash:apps41.8-2-2ES1.sbn
tftp-server flash:cnu41.8-2-2ES1.sbn
tftp-server flash:SCCP41.8-2-2SR1S.loads
tftp-server flash:cvm41sccp.8-2-2ES1.sbn
tftp-server flash:jar41sccp.8-2-2ES1.sbn
tftp-server flash:dsp41.8-2-2ES1.sbn
tftp-server flash:/it-mk-sccp.jar alias Italian_Italy/mk-sccp.jar
tftp-server flash:/g3-tones.xml alias Italy/g3-tones.xml
tftp-server flash:apps70.8-2-2ES1.sbn
tftp-server flash:cnu70.8-2-2ES1.sbn
tftp-server flash:cvm70sccp.8-2-2ES1.sbn
tftp-server flash:dsp70.8-2-2ES1.sbn
tftp-server flash:jar70sccp.8-2-2ES1.sbn
tftp-server flash:SCCP70.8-2-2SR1S.loads
tftp-server flash:term70.default.loads
tftp-server flash:term71.default.loads
tftp-server flash:it-td-sccp.jar alias Italian_Italy/td-sccp.jar
control-plane host
!
!
control-plane
!
!
!
ccm-manager download-tones
!
!
!
!
!
dial-peer voice 1 pots
destination-pattern XXXXXXXX260
authentication username XXXXXXXX260 password 7 0507130C205F5E081E544E445F realm voip.eutelia.it
supported-language IT
!
dial-peer voice 2 pots
destination-pattern XXXXXXXX261
authentication username XXXXXXXX261 password 7 050E1401245F5A061001164658 realm voip.eutelia.it
supported-language it
!
dial-peer voice 3 pots
destination-pattern XXXXXXXX288
authentication username 0XXXXXXXX288 password 7 14011B0A0B0A2525217C60 realm voip.eutelia.it
supported-language it
!
dial-peer voice 4 pots
destination-pattern XXXXXXXX289
authentication username XXXXXXXX289 password 7 130902110A1F142B2C727C realm voip.eutelia.it
supported-language it
!
dial-peer voice 5 voip
destination-pattern .T
voice-class codec 1
session protocol sipv2
session target sip-server
session transport udp
dtmf-relay sip-notify
!
dial-peer voice 6 pots
description Linea Eutelia Voip
destination-pattern 200
no sip-register
!
dial-peer voice 7 pots
description Linea Eutelia Voip
destination-pattern 201
no sip-register
!
dial-peer voice 8 pots
description Cordless Siemens C450IP XXXXXXXXXX
destination-pattern 202
no sip-register
!
dial-peer voice 9 pots
description Linea Eutelia Voip
destination-pattern 203
no sip-register
!
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
!
!
telephony-service
load 7941GE SCCP41.8-2-2SR1S.loads
load 7970 SCCP70.8-2-2SR1S.loads
max-ephones 5
max-dn 10
ip source-address 172.16.43.254 port 2000
auto assign 1 to 5
user-locale IT
network-locale IT
time-zone 23
time-format 24
date-format dd-mm-yy
max-conferences 2 gain -6
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern .T
create cnf-files version-stamp 7960 Jan 17 2010 08:59:23
!
!
ephone-template 3
!
!
ephone-dn 1
number XXXXXXXX260 no-reg primary
!
!
ephone-dn 2
numbeXXXXXXXX261 no-reg primary
!
!
ephone-dn 3
number XXXXXXXX288 no-reg primary
!
!
ephone-dn 4
number XXXXXXXX289 no-reg primary
!
!
ephone-dn 5
number 204 no-reg primary
label Salotto
name Studio
intercom 205 no-auto-answer
allow watch
!
!
ephone-dn 6
number 205 no-reg primary
label Studio
name Salotto
intercom 204 no-auto-answer
allow watch
!
!
ephone-dn 7
night-service bell
!
!
ephone-dn 8
number 204 no-reg primary
label Cordless
name Studio
intercom 202 no-auto-answer
allow watch
!
!
ephone-dn 9
number 201 no-reg primary
label Camera
name Studio
intercom 203 no-auto-answer
allow watch
!
!
ephone-dn 10
number 203 no-reg primary
label Prova
name Studio
!
!
ephone 1
description Cisco IP Phone 7970G Studio
mac-address 001B.D45F.E2A0
type 7970
button 1:1 2:2 3:3 4:4
button 5:5 6:8 8:10
!
!
!
ephone 2
description Cisco IP Phone 7941G Salotto
mac-address 001E.136C.4F53
type 7941GE
button 1:3 2:6
!
!
!
line con 0
line aux 0
line vty 0 4
login local
!
sntp server 193.204.114.232
end

Ed ecco i due telefoni:

ephone-1 Mac:001B.D45F.E2A0 TCP socket:[2] activeLine:5 REGISTERED in SCCP ver 9 and Server in ver 8
mediaActive:1 offhook:1 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:9
IP:172.16.43.3 50024 7970 keepalive 751 max_line 8
button 1: dn 1 number XXXXXXXX260 CH1 IDLE
button 2: dn 2 number XXXXXXXX261 CH1 IDLE
button 3: dn 3 number XXXXXXXX288 CH1 IDLE shared
button 4: dn 4 number XXXXXXXX289 CH1 IDLE
button 5: dn 5 number 204 auto dial 205 CH1 CONNECTED
button 6: dn 8 number 204 auto dial 202 CH1 IDLE
button 8: dn 10 number 203 CH1 IDLE
Active Call on DN 5 chan 1 :204 172.16.43.3 32476 to 172.16.43.2 29488 via 172.16.43.3
G711Ulaw64k 160 bytes no vad
Tx Pkts 50202 bytes 8634744 Rx Pkts 50201 bytes 8634572 Lost 0
Jitter 0 Latency 0 callingDn -1 calledDn 6


ephone-2 Mac:001E.136C.4F53 TCP socket:[1] activeLine:2 REGISTERED in SCCP ver 9 and Server in ver 8
mediaActive:1 offhook:1 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:9
IP:172.16.43.2 52319 7941 keepalive 36 max_line 2
button 1: dn 3 number XXXXXXXX288 CH1 IDLE shared
button 2: dn 6 number 205 auto dial 204 CH1 CONNECTED
Active Call on DN 6 chan 1 :205 172.16.43.2 29488 to 172.16.43.3 32476 via 172.16.43.2
G711Ulaw64k 160 bytes no vad
Tx Pkts 50452 bytes 8677744 Rx Pkts 50451 bytes 8677572 Lost 0
Jitter 1 Latency 0 callingDn 5 calledDn -1


Se avete suggerimenti sono ben accetti :D

Scusate ma nessuno di voi ha EUTELIA??? Di funzionare proprio niente :(
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Grazie mille, a domani. Questa Eutelia mi ha proprio sfiancato :lol:
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Piano piano forse riesco a far funzionare tutto!!! Speriamo :shock:
Dunque aggiungendo il comando answer-address riesco almeno a chiamare, però non capisco bene come funziona, potete darmi qualche delucidazione? :oops:
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Su via un piccolo aiuto per questa benedetta (mica tanto) Eutelia :lol:
ndiego75
Cisco pathologically enlightened user
Messaggi: 202
Iscritto il: lun 07 nov , 2005 1:57 pm
Località: Genova

Ciao, innanzitutto secondo me la configurazione che avevi in data 29 dic è più corretta quindi ti consiglierei di tornare su quella. Una volta fatto verifica che i tuoi numeri siano correttamente registrati presso il provider:
"show sip-ua registrar status" e posta il risultato.
Se le linee risulteranno registrate e vedrai una lista con il numero ed un registered yes o no, se yes abilita il debug "debug ccsip messages" prova a chiamarti e posta poi il risultato e da li cerchiamo di capire dove sta il problema.
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Grazie ndiego75 per il tuo interessamento, dunque ricapitolo. Cosa va: posso chiamare con tutti e quattro i numeri, funziona la chiamata interno interno, funzionano i toni dtmf (con la configurazione del 29 Dicembre non funzionavano). Cosa non va (purtroppo) non ricevo, i toni italiani sui telefoni SCCP non si sentono, se impegno la linea dal telefono cordless (interno 202) non mi segnala sui telefoni 7900 che è impegnata e piccolo sfizio!!!! (non visualizzo i numeri digitati con il dtmf)

Ed ecco la mia ultima configurazione:

version 12.4
service timestamps debug datetime msec
service timestamps log uptime
service password-encryption
!
hostname Super4Mega-EuteliaVoip
!
boot-start-marker
boot-end-marker
!
enable password 7 030D5F0A
!
no aaa new-model
memory-size iomem 15
clock timezone CET 1
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
voice-card 2
!
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 172.16.43.250 172.16.43.254
!
ip dhcp pool WIRELESS
network 172.31.43.0 255.255.255.0
default-router 172.31.43.254
dns-server 151.99.125.1 151.99.0.100
!
ip dhcp pool phone
network 172.16.43.0 255.255.255.0
default-router 172.16.43.254
option 150 ip 172.16.43.254
dns-server 151.99.125.1 151.99.0.100
!
!
multilink bundle-name authenticated
!
!
!
voice service voip
allow-connections sip to sip
sip
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
!
!
!
!
!
!
!
voice register global
mode cme
source-address 172.16.43.254 port 5060
max-dn 10
max-pool 20
!
voice register dn 1
number 204
allow watch
name Studio
label Studio
!
voice register dn 2
number 205
allow watch
name Salotto
label Salotto
!
voice register pool 1
id mac 001B.D45F.E2A0
number 1 dn 1
codec g711ulaw
!
voice register pool 2
id mac 001E.136C.4F53
number 2 dn 2
codec g711ulaw
!
!
!
!
!
!
!
username lucaspag password 7 08245E400C0A1118
archive
log config
hidekeys
!
!
!
class-map match-any voice-signaling
!
!
!
!
!
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
ip virtual-reassembly
no ip mroute-cache
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface FastEthernet1/1
description Siemens C450IP
!
interface FastEthernet1/2
description Cisco IP Phone 7970G Studio
!
interface FastEthernet1/3
description Cisco IP Phone 7941G Salotto
!
interface FastEthernet1/4
!
interface Vlan1
ip address 172.16.43.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Dialer0
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
ppp pap sent-username XXXXXXXXXX@XXXXXXXXXX password 7 120B0A0F080D0E
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
!
no ip http server
no ip http secure-server
ip nat pool EUTELIA_Voce 172.16.43.254 172.16.43.254 netmask 255.255.255.0 type rotary
ip nat inside source list 101 interface Dialer0 overload
ip nat inside source list 102 interface Dialer0 overload
ip nat inside source static udp 172.16.43.254 5060 interface Dialer0 5060
ip nat inside source static tcp 172.31.43.13 8080 XX.XX.XX.XXX 8080 extendable
ip nat inside destination list 102 pool EUTELIA_Voce
!
access-list 101 permit ip 172.31.43.0 0.0.0.255 any
access-list 102 permit ip 172.16.43.0 0.0.0.255 any
access-list 102 permit tcp any any range 8000 8020
access-list 102 permit udp any any range 8000 8020
dialer-list 1 protocol ip permit
tftp-server flash:term41.default.loads
tftp-server flash:term61.default.loads
tftp-server flash:apps41.8-2-2ES1.sbn
tftp-server flash:cnu41.8-2-2ES1.sbn
tftp-server flash:SCCP41.8-2-2SR1S.loads
tftp-server flash:cvm41sccp.8-2-2ES1.sbn
tftp-server flash:jar41sccp.8-2-2ES1.sbn
tftp-server flash:dsp41.8-2-2ES1.sbn
tftp-server flash:/it-mk-sccp.jar alias Italian_Italy/mk-sccp.jar
tftp-server flash:/g3-tones.xml alias Italy/g3-tones.xml
tftp-server flash:apps70.8-2-2ES1.sbn
tftp-server flash:cnu70.8-2-2ES1.sbn
tftp-server flash:cvm70sccp.8-2-2ES1.sbn
tftp-server flash:dsp70.8-2-2ES1.sbn
tftp-server flash:jar70sccp.8-2-2ES1.sbn
tftp-server flash:SCCP70.8-2-2SR1S.loads
tftp-server flash:term70.default.loads
tftp-server flash:term71.default.loads
tftp-server flash:it-td-sccp.jar alias Italian_Italy/td-sccp.jar
control-plane host
!
!
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
!
voice-port 2/2
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/3
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
answer-address XXXXXXXX260
destination-pattern XXXXXXXX260
port 2/0
authentication username XXXXXXXX260 password 7 020A11580A151F204B1F504F51 realm voip.eutelia.it
!
dial-peer voice 2 pots
answer-address XXXXXXXX261
destination-pattern XXXXXXXX261
port 2/1
authentication username XXXXXXXX261 password 7 070A33424B1A0D0A1E160A5857 realm voip.eutelia.it
!
dial-peer voice 3 pots
answer-address XXXXXXXX288
destination-pattern XXXXXXXX288
port 2/2
authentication username XXXXXXXX288 password 7 095A47081E0B181C0E5857 realm voip.eutelia.it
!
dial-peer voice 4 pots
answer-address XXXXXXXX289
destination-pattern XXXXXXXX289
port 2/3
authentication username XXXXXXXX289 password 7 03084E08071C314D495F4D realm voip.eutelia.it
!
dial-peer voice 5 voip
destination-pattern .T
voice-class codec 1
session protocol sipv2
session target sip-server
session transport udp
dtmf-relay rtp-nte
!
dial-peer voice 6 pots
description Linea Eutelia Voip
destination-pattern 200
port 2/0
no sip-register
!
dial-peer voice 7 pots
description Linea Eutelia Voip
destination-pattern 201
port 2/1
no sip-register
!
dial-peer voice 8 pots
description Cordless Siemens C450IP XXXXXXXXXX
destination-pattern 202
port 2/2
no sip-register
!
dial-peer voice 9 pots
description Linea Eutelia Voip
destination-pattern 203
port 2/3
no sip-register
!
dial-peer voice 2001 pots
!
sip-ua
retry invite 4
retry response 3
retry bye 2
retry cancel 2
registrar ipv4:83.211.227.21:5060expires 3600
sip-server ipv4:83.211.227.21:5060
!
!
telephony-service
video
maximum bit-rate 256
load 7941GE SCCP41.8-2-2SR1S.loads
load 7970 SCCP70.8-2-2SR1S.loads
max-ephones 5
max-dn 10
ip source-address 172.16.43.254 port 2000
auto assign 1 to 5
user-locale IT
network-locale IT
time-zone 23
time-format 24
date-format dd-mm-yy
max-conferences 2 gain -6
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern .T
create cnf-files version-stamp 7960 Feb 21 2010 09:12:11
!
!
ephone-template 3
!
!
ephone-dn 1
call-waiting ring
number XXXXXXXX260 no-reg primary
allow watch
!
!
ephone-dn 2
number XXXXXXXX261 no-reg primary
!
!
ephone-dn 3
call-waiting ring
number XXXXXXXX288 no-reg primary
label Via Agnone 43
allow watch
!
!
ephone-dn 4
number XXXXXXXX289 no-reg primary
!
!
ephone-dn 5
number 204 no-reg primary
label Salotto
name Studio
intercom 205 no-auto-answer
allow watch
!
!
ephone-dn 6
number 205 no-reg primary
label Studio
name Salotto
intercom 204 no-auto-answer
allow watch
!
!
ephone-dn 7
night-service bell
!
!
ephone-dn 8
number 204 no-reg primary
label Cordless
name Studio
intercom 202 no-auto-answer
allow watch
!
!
ephone-dn 9
number 204 no-reg primary
label Prova
name Studio
loopback-dn 1
intercom 200 no-auto-answer
allow watch
!
!
ephone-dn 10 dual-line
!
!
ephone 1
description Cisco IP Phone 7970G Studio
video
mac-address 001B.D45F.E2A0
type 7970
auto-line 3
button 1:1 2:2 3:3 4:4
button 5:5 6:8 8:10
!
!
!
ephone 2
description Cisco IP Phone 7941G Salotto
mac-address 001E.136C.4F53
type 7941GE
button 1:3 2:6
!
!
!
line con 0
line aux 0
line vty 0 4
login local
!
sntp server 193.204.114.232
end


Super4Mega-EuteliaVoip#show sip-ua register status
Line peer expires(sec) registered
================================ ========== ============ ==========
XXXXXXXX260 1 473 yes
XXXXXXXX261 2 472 yes
XXXXXXXX288 3 473 yes
XXXXXXXX289 4 473 yes



Come vedi i numeri si registrano ma facendo il debug che mi hai suggerito non succede assolutamente niente!!!!! E questo credo sia dovuto al fatto che quando chiamo la vocina Eutelia dice "Informazione gratuita il numero selezionato è temporaneamente non disponibile" :oops:
Quindi questa la mia conclusione: io arrivo regolarmente verso Eutelia ma Eutelia non sa dove indirizzare la chiamata quando mi chiamano (scusate il giro di parole) e dunque o il nat non è corretto oppure non lo so proprio...... effettivamente la cosa mi sta venendo a noia!!!!! Dimenticavo quando avevo anche il 7960 in SIP in quel caso le telefonate arrivavano ma anche se attivo uno di questi programmini voip (si ma non posso certo lasciare un computer acceso per essere rintracciato) grazie mille per l'aiuto e la sopportazione :D
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

...restando tutto invariato oggi ho voluto personalizzare due tasti del 7970 per attivare i servizi Eutelia ed è venuto fuori questo:

ephone-dn 9
number XXXXXXXX288 no-reg primary
label Trasferimento di Chiamata
name Studio
intercom 0242101200#
allow watch
!
!
ephone-dn 10
number XXXXXXXX288 no-reg primary
label Credito Eutelia Voip
name XXXXXXXXXX
intercom 4050#
allow watch
!
!
ephone 1
description Cisco IP Phone 7970G Studio
video
mac-address 001B.D45F.E2A0
type 7970
auto-line 3
button 1:1 2:2 3:3 4:4
button 5:5 6:8 7:9 8:10


E' corretto fare in questa maniera? Come intercom non mi sembra (anche se ho raggiunto il mio scopo) :D
Dimenticavo, Buona Domenica
ndiego75
Cisco pathologically enlightened user
Messaggi: 202
Iscritto il: lun 07 nov , 2005 1:57 pm
Località: Genova

Prova a fare una chiamata in uscita abilitando il debug ccsip messages e posta il risultato.
Non ho ben capito cosa intendi fare con l'intercom.
Rispondi