callmanager exspress 4.1

Voice su IP

Moderatore: Federico.Lagni

Rispondi
puskas88
Cisco power user
Messaggi: 113
Iscritto il: mer 26 ago , 2009 12:59 pm

ciao ragazzi ho bisogno di un aiuto.
ho installato il cme 4.1 su un cisco 1751 v . le chiamate tra interni fungono.
ora il problema è che i telefoni non chiamano verso l'esterno. ho un contratto con eutelia e un numero telefonico eutelia. come posso fare???
ps: ho configurato 2 telefoni sip e 2 sccp che tra loro si chiamano internamente.

Building configuration...

Current configuration : 3100 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CME
!
boot-start-marker
boot-end-marker
!
logging buffered 4096 debugging
!
no aaa new-model
!
resource policy
!
memory-size iomem 25
clock timezone CST 1
clock summer-time CDT recurring
ip cef
!
!
!
!
ip name-server 193.70.152.15
ip name-server 193.70.152.25
!
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
sip
bind control source-interface FastEthernet0/0
bind media source-interface FastEthernet0/0
registrar server
!
!
!
voice class codec 1
codec preference 1 g711ulaw
!
!
!
!
!
!
!
voice register global
mode cme
max-dn 6
max-pool 4
timezone 26
file text
create profile sync 0003471915524571
!
voice register dn 1
number 6666
!
voice register dn 2
number 7777
!
voice register pool 1
id mac 0023.8B99.85AD
number 1 dn 1
number 2 dn 2
dtmf-relay rtp-nte
username 6666 password cisco
codec g711ulaw
!
!
!
!
!
username cisco privilege 15 secret 5 $1$IcHM$MhXxEeLsIIi56VAjmZbNk.
!
!
!
!
!
interface ATM0/0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface FastEthernet0/0
description CallManager Exspress
ip address 10.0.0.1 255.0.0.0
ip nat inside
speed auto
!
interface Ethernet1/0
description interface LAN
ip address 192.168.1.1 255.255.255.240
ip nat inside
half-duplex
!
interface Dialer0
description INTERNET
bandwidth 8192
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
load-interval 30
dialer pool 1
ppp chap hostname admin
ppp chap password 7 03055F060F01
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
ip http server
ip http authentication local
no ip http secure-server
ip http path flash:
ip nat inside source route-map Lan-NAT interface Dialer0 overload
!
ip access-list standard Lan-NAT
remark permette il traffico generato dalla LAN
permit 192.168.1.0 0.0.0.15
permit 10.0.0.0 0.255.255.255
!
route-map Lan-NAT permit 10
match ip address Lan-NAT
!
!
control-plane
!
!
!
!
!
!
!
!
!
telephony-service
max-ephones 4
max-dn 6
ip source-address 10.0.0.1 port 2000
system message SCCP IP Phone
cnf-file perphone
time-zone 26
time-format 24
date-format dd-mm-yy
max-conferences 4 gain -6
web admin system name xxxx secret 5 $1$8Ex9$2NWJdqVIdN21ayZZOy19N1
dn-webedit
time-webedit
transfer-system full-consult
!
!
ephone-dn 1
number 8888
!
!
ephone-dn 2
number 9999
!
!
ephone 1
username "admin" password cisco
mac-address 0023.8B99.85AD
button 1:1 2:2
!
!
banner motd ^CC
*****************************
* CISCO 1751-V
*
* CALLMANAGER EXSPRESS
*
* ROUTER MASTER
*
* ISP : INFOSTRADA
*
*****************************
* E' VIETATO L'ACCESSO ALLE
* PERSONE NON AUTORIZZATE
*****************************
^C
!
line con 0
line aux 0
line vty 0 4
login
!
end
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Devi far rcrare l'user agent verso il server SIP da quanto ne so.

Codice: Seleziona tutto

sip-ua 
 authentication username tua_user password tua_password
 retry invite 2
 retry response 2
 retry bye 2
 retry cancel 2
 registrar dns:server_eutelia:porta(5060?) expires 180
 sip-server dns:server_eutelia:porta(5060?)
Ciao
Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
puskas88
Cisco power user
Messaggi: 113
Iscritto il: mer 26 ago , 2009 12:59 pm

ciao , questo l'ho fatto.
ho anche configurato il dial peer voip per il trank sip. ora il numero geografico si registra. ma dal numero interno non riesco a chiamare fuori.

CME#sh
*Sep 17 01:45:42.067: %SYS-5-CONFIG_I: Configured from console by consolerun
Building configuration...

Current configuration : 4339 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CME
!
boot-start-marker
boot-end-marker
!
logging buffered 4096 debugging
!
no aaa new-model
!
resource policy
!
memory-size iomem 25
clock timezone CST 1
clock summer-time CDT recurring
ip cef
!
!
no ip dhcp use vrf connected
!
ip dhcp pool provvisorio
network 192.168.1.0 255.255.255.240
default-router 192.168.1.1
dns-server 193.70.152.15 193.70.152.25
!
!
ip name-server 193.70.152.15
ip name-server 193.70.152.25
!
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
sip
bind control source-interface FastEthernet0/0
bind media source-interface FastEthernet0/0
registrar server expires max 3600 min 3600
localhost dns:62.94.0.42
!
!
!
voice class codec 1
codec preference 1 g711ulaw
!
!
!
!
!
!
!
voice register global
mode cme
source-address 10.0.0.1 port 5060
max-dn 6
max-pool 4
authenticate all realm voip.eutelia.it
timezone 26
file text
create profile sync 0003471915524573
!
voice register dn 1
number 6666
label 6666
!
voice register dn 2
number 7777
!
voice register pool 1
id mac 0023.8B99.85AD
number 1 dn 1
number 2 dn 2
dtmf-relay sip-notify
username 6666 password cisco
codec g711ulaw
!
!
voice translation-rule 1
rule 1 /\(^9\)/ //
!
!
voice translation-profile DiscardDigit9
translate called 1
!
!
!
!
username cisco privilege 15 secret 5 $1$IcHM$MhXxEeLsIIi56VAjmZbNk.
!
!
!
!
!
interface ATM0/0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface FastEthernet0/0
description CallManager Exspress
ip address 10.0.0.1 255.0.0.0
ip nat inside
speed auto
!
interface Ethernet1/0
description interface LAN
ip address 192.168.1.1 255.255.255.240
ip nat inside
half-duplex
!
interface Dialer0
description INTERNET
bandwidth 8192
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
load-interval 30
dialer pool 1
ppp chap hostname admin
ppp chap password 7 03055F060F01
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
ip http server
ip http authentication local
no ip http secure-server
ip http path flash:
ip nat inside source static udp 10.0.0.2 8001 interface Dialer0 8001
ip nat inside source static udp 10.0.0.2 8000 interface Dialer0 8000
ip nat inside source static udp 10.0.0.2 5060 interface Dialer0 5060
ip nat inside source static udp 10.0.0.2 3478 interface Dialer0 3478
ip nat inside source route-map Lan-NAT interface Dialer0 overload
!
ip access-list standard Lan-NAT
remark permette il traffico generato dalla LAN
permit 192.168.1.0 0.0.0.15
permit 10.0.0.0 0.255.255.255
!
route-map Lan-NAT permit 10
match ip address Lan-NAT
!
!
control-plane
!
!
!
!
!
!
!
!
dial-peer voice 100 voip
description SIP trunk to voip.eutelia.it
translation-profile outgoing DiscardDigit9
destination-pattern 9.T
session protocol sipv2
session target dns:voip.eutelia.it
dtmf-relay rtp-nte sip-notify
codec g711ulaw
no vad
!
sip-ua
credentials username numero telefonico password 096D622C2A363E3D5354 realm voip.eutelia.it
authentication username numero telefonico password 14363E2E3F3703047C70 realm voip.eutelia.it
nat symmetric role passive
nat symmetric check-media-src
srv version 1
registrar dns:voip.eutelia.it:5060 expires 3600
sip-server dns:voip.eutelia.it:5060
!
!
telephony-service
max-ephones 4
max-dn 6
ip source-address 10.0.0.1 port 2000
system message SCCP IP Phone
cnf-file perphone
time-zone 26
time-format 24
date-format dd-mm-yy
max-conferences 4 gain -6
web admin system name xxxx secret 5 xxxxx
dn-webedit
time-webedit
transfer-system full-consult
!
!
ephone-dn 1
number 100
label Linea Principale
!
!
ephone 1
username "admin" password cisco
mac-address 0023.8B99.85AD
button 1:1
!
!
banner motd ^CC
*****************************
* CISCO 1751-V
*
* CALLMANAGER EXSPRESS
*
* ROUTER MASTER
*
* ISP : INFOSTRADA
*
*****************************
* E' VIETATO L'ACCESSO ALLE
* PERSONE NON AUTORIZZATE
*****************************
^C
!
line con 0
line aux 0
line vty 0 4
login
!
end


------------------------------------------------

CME#sh sip-ua reg status
Line peer expires(sec) registered
============ ============= ============ ===========
numero telefonico -1 1419 yes
100 20004 131 no
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Prova

Codice: Seleziona tutto

ephone-dn 1
number numero_telefono_eutelia
Non cade foglia che l'inconscio non voglia (S.B.)
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Funziona?
Non cade foglia che l'inconscio non voglia (S.B.)
Rispondi