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
Scusate ma nessuno di voi ha EUTELIA??? Di funzionare proprio niente
