Sie sind auf Seite 1von 5

Loop: 10.4.250.

102 BR4

#configure replace flash:BR4-Config.txt force


#copy running-config startup-config
#reload
no
(ENTER)
==================================================================================
Auto-registro de Telefonos IP Cisco y Softphones SCCP

Telefono IP
!
telephony-service
ip source-address 10.4.250.102 port 2000
max-dn 10
max-ephones 5
create cnf-files
exit
!
ephone-dn 1 dual-line
number 2000
label 2000
exit
!
ephone-dn 2 dual-line
number 2001
label 2001
exit
!
telephony-service
create cnf-files
exit
!
ephone 1
mac-address 1CE8.5DC8.A819
type 7975
button 1:1 2:2
exit
!
----------------------------------------------------------------------------------
SIP
!
voice service voip
allow-connections sip to sip
sip
bind all source-interface loopback0
registrar server
exit
!
voice register global
mode cme
source-address 10.4.250.102 port 5060
max-dn 10
max-pool 5
exit
!
voice register global
create profile
exit
!
voice register dn 1
number 2002
name 2002
label 2002
exit
!
voice register pool 1
id mac 5CA4.8AFF.2BDC
type 8941
number 1 dn 1
exit
!
voice register global
create profile
exit
!
-----------------------------------------------------------------------------------
Levantar PSTN
!
card type e1 0 0
isdn switch-type primary-net5
network-clock-participate wic 0
!
controller E1 0/0/0
pri-group timeslots 1-5,15-16
no shutdown
exit
!
interface serial 0/0/0:15
shutdown
isdn switch-type primary-net5
isdn incoming-voice voice
no shutdown
exit
!
dial-peer voice 1 pots
incoming called-number .
direct-inward-dial
port 0/0/0:15
exit
!
dial-peer voice 7 pots
destination-pattern 9[2-7]......
prefix 1
port 0/0/0:15
exit
!
dial-peer voice 9011 pots
destination-pattern 9011T
prefix 011
port 0/0/0:15
exit
!
dial-peer voice 911 pots
destination-pattern 911
no digit-strip
port 0/0/0:15
exit
!
dial-peer voice 9911 pots
destination-pattern 9911
port 0/0/0:15
forward-digits 3
exit
!
dial-peer voice 800 pots
destination-pattern 9800......
prefix 800
port 0/0/0:15
exit
!
dial-peer voice 99 pots
destination-pattern 909[4-9].......
prefix 09
port 0/0/0:15
exit
!
------------------------------------------------------------------------
Permitir llamadas entre HQ y BR con mismos anexos
!
voice translation-rule 1
rule 1 /^24/ //
exit
!
voice translation-rule 2
rule 1 /.*/ /34\0/
exit
!
voice translation-profile HACIA-HQ4
translate called 1
translate calling 2
exit
!
dial-peer voice 2000 voip
destination-patter 24....
session protocol sipv2
session target ipv4:10.4.250.101
translation-profile outgoing HACIA-HQ4
exit
!

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

Softphone
!
ephone-dn 3 dual-line
number 2005
label 2005
exit
!
ephone 2
mac-address AAAA.BBBB.DDDD
type cipc
button 1:3
exit
!
telephony-service
create cnf-files
exit
!
==================================================================================
Difinir tiempos de Timeout de Ring, Busy e Interdigit
!
telephony-service
timeouts ringing 15
timeouts busy 15
timeouts interdigit 5
create cnf-files
exit
!
voice register global
timeouts interdigit 5
create profile
exit
!
==================================================================================
Configurar X-Lite
!
dial-peer voice 2000 voip
codec g711ulaw
exit
!
voice register pool 1
codec g711ulaw
exit
!
voice register dn 2
number 2004
name 2004
label 2004
exit
!
voice register pool 2
id mac AAAA.1234.BBBB
username arlines password acad1234
number 1 dn 2
codec g711ulaw
exit
!
voice register global
create profile
exit
!
==================================================================================
Levantar Telefonos Analogos
!
voice-port 0/3/0
signal loopstart
cptone GB
ring cadence pattern01
no shutdown
exit
!
dial-peer voice 4103 pots
destination-pattern 2003
forward-digits all
port 0/3/0
exit
!
--------------------------------------------------------------------
QOS
!
interfaz serial 0/1/1
ip add x.x.x.x x.x.x.x (solo se hace si no tiene ip)
bandwith 160
exit

Step 3: Activar la funcion AutoQoS VoIP en interfaz serial 0/1/1


!
interfaz serial 0/1/1
auto qos voip trust
exitexit

!
(((show auto qos)))
----------------------------------------------------------------------
Numeracion DID

voice translation-rule 3
rule 1 /.*/ /334552\0/
exit
!
voice translation-profile PSTN-in
translate called 3
exit
!
dial-peer voice 334552 pots
incoming called-number .
direct-inward-dial
port 0/0/0:15
translation-profile incoming PSTN-in
exit
!
------------------------------------------------------------------------

Das könnte Ihnen auch gefallen