您好,欢迎来到华佗小知识。
搜索
您的当前位置:首页voip配置

voip配置

来源:华佗小知识
Installing Software

copy tftp: flash:

archive tar /xtrat soure-url flash:/file-url

Router#copy tftp://x.x.x.x/P0030702300.sbn flash:

Router#archive tar /xtract tftp://192.168.1.1/cme-basic-123_11Tar flash:

Basic Network Configuration

========================================== Router config

==========================================

hostname CME2821 clock timezone CCT 8 ntp server 172.20.1.254

interface GigabitEthernet0/0

ip address 172.20.1.1 255.255.255.0

ip route 0.0.0.0 0.0.0.0 172.20.1.254 ip http server

ip http path flash:

============================================ Switch config

============================================

ip routing

ip dhcp excluded-address 172.20.1.1 172.20.1.9 ip dhcp excluded-address 172.21.1.1 172.21.1.9

ip dhcp excluded-address 172.20.1.250 172.20.1.254 ip dhcp excluded-address 172.21.1.250 172.21.1.254

!

ip dhcp pool voice

network 172.20.1.0 255.255.255.0 default-router 172.20.1.254 option 150 ip 172.20.1.1 !

ip dhcp pool data

network 172.21.1.0 255.255.255.0 default-router 172.21.1.254 !

interface FastEthernet0/33 switchport access vlan 11 switchport voice vlan 10 spanning-tree portfast !

interface FastEthernet0/35 switchport access vlan 11 switchport voice vlan 10 spanning-tree portfast !

interface Vlan10

description voice vlan

ip address 172.20.1.254 255.255.255.0 !

interface Vlan11

description data vlan

ip address 172.21.1.254 255.255.255.0

Phone Firmware

============================================ TFTP Server statements needed for 7906 7911 phones ============================================

archive tar /xtract tftp://x.x.x.x/cmterm-7911_7906-s.8-2-2SR1.tar flash:

tftp-server flash:apps11.8-2-2ES1.sbn tftp-server flash:cnu11.8-2-2ES1.sbn

tftp-server flash:cvm11s.8-2-2ES1.sbn tftp-server flash:dsp11.8-2-2ES1.sbn

tftp-server flash:jar11s.8-2-2ES1.sbn tftp-server flash:SCCP11.8-2-2SR1S.loads tftp-server flash:term06.default.loads tftp-server flash:term11.default.loads

telephony-service

load 7906 SCCP11.8-2-2SR1S load 7911 SCCP11.8-2-2SR1S

============================================ TFTP Server statements needed for 7941 7961 phones ============================================

archive tar /xtract tftp://x.x.x.x/cmterm-7941_7961-s.8-2-2SR1.tar flash:

tftp-server flash:apps41.8-2-2ES1.sbn tftp-server flash:cnu41.8-2-2ES1.sbn

tftp-server flash:cvm41s.8-2-2ES1.sbn tftp-server flash:dsp41.8-2-2ES1.sbn tftp-server flash:jar41s.8-2-2ES1.sbn tftp-server flash:SCCP41.8-2-2SR1S.loads tftp-server flash:term41.default.loads tftp-server flash:term61.default.loads

telephony-service

load 7941 SCCP41.8-2-2SR1S load 7961 SCCP41.8-2-2SR1S

============================================ TFTP Server statements for 7970 7971 phones ============================================

archive tar /xtract tftp://x.x.x.x/cmterm-7970_7971-s.8-2-2SR1.tar flash:

tftp-server flash:apps70.8-2-2ES1.sbn

tftp-server flash:cnu70.8-2-2ES1.sbn

tftp-server flash:cvm70s.8-2-2ES1.sbn tftp-server flash:dsp70.8-2-2ES1.sbn tftp-server flash:jar70s.8-2-2ES1.sbn tftp-server flash:SCCP70.8-2-2SR1S.loads tftp-server flash:term70.default.loads tftp-server flash:term71.default.loads

telephony-service

load 7970 SCCP70.8-2-2SR1S load 7971 SCCP70.8-2-2SR1S

Basic CME Parameters

============================================ Cisco Callmanager Express Parameters

============================================

telephony-service no auto-reg-ephone

load 7941 SCCP41.8-2-2SR1S load 7961 SCCP41.8-2-2SR1S load 7971 SCCP70.8-2-2SR1S load 7906 SCCP11.8-2-2SR1S load 7911 SCCP11.8-2-2SR1S max-ephones 52 max-dn 192

ip source-address 172.20.1.1 port 2000 system message One World One Dream cnf-file perphone time-zone 42 time-format 24

max-conferences 16 gain -6

web admin system name cisco password cisco dn-webedit time-webedit

============================================

CME2821#show telephony-service all

CME2821#show ephone attempted-registrations

CME2821#clear telephony-service ephone-attempted-registrations CME2821#debug ephone register

Configuring IP Phone

ephone-dn 10 dual-line description 22019100 number 100 label N100 name CID100 !

ephone-dn 11 dual-line description 22019101 number 101 label N101 name CID101 !

ephone-dn 12 dual-line description 22019102 number 102 label N102 name CID102 !

ephone-dn 13 dual-line description 22019103 number 103 label N103 name CID103 !

ephone-dn 20 number 200 label N200 name CID200

ephone-hunt login !

ephone-dn 21 number 201 label N201 name CID201 !

ephone-dn 22 number 202

label N202 name CID202

ephone-hunt login !

ephone-dn 23 number 203 label N203 name CID203 !

ephone 1

device-security-mode none mac-address 001E.4A5F.EA96 username \"UID100\" password 100 type 7911 button 1:10 !

ephone 2

device-security-mode none mac-address 001B.0C96.A57F username \"UID101\" password 101 type 7906 button 1:11 !

ephone 3

device-security-mode none mac-address 001A.E22A.B0A6 username \"UID102\" password 102 type 7971

button 1:12 2:22 !

ephone 4

device-security-mode none mac-address 0050.6003.2DBE

username \"UID103\" password 103 type 7985

button 1:13 2:23

============================================ Restart after changing configuration,Reset after updating firmware

============================================

CME2821(config-telephony)#reset all CME2821(config-telephony)#restart all

CME2821(config)#ephone 1

CME2821(config-ephone)#reset CME2821(config-ephone)#restart

CME2821#show ephone CME2821#show ephone-dn

Dial Plan

============================================ H323 Session

============================================

dial-peer voice 1 voip destination-pattern 8..

session target ipv4:192.168.100.3 dtmf-relay h245-alphanumeric codec g711ulaw

============================================ Sip Session

============================================

dial-peer voice 1 voip destination-pattern 8.. session protocol sipv2

session target ipv4:192.168.100.3 incoming called-number 800 dtmf-relay sip-notify codec g711ulaw

Transfer and Forwarding

telephony-service

transfer-system full-consult call-forward pattern .T call-forward pattern 8.. transfer-pattern .T transfer-pattern 8..

ephone-dn 25 number 2555

no forward local-calls call-forward busy 2244

call-forward noan 2244 timeout 45 call-forward night-service 2879

Feature Access Codes

===================================================== Standard FAC

============================================

telephony-service fac standard

============================================

CME2821#show telephony-service fac telephony-service fac standard callfwd all **1

callfwd cancel **2 pickup local **3 pickup group **4 pickup direct **5 park **6 dnd **7 redial **8 voicemail **9

ephone-hunt join *3 ephone-hunt cancel #3 ephone-hunt hlog *4

ephone-hunt hlog-phone *5

============================================ Custom FAC

============================================

telephony-service

fac custom callfwd all #45

fac custom alias 0 #1 to #45800

============================================

CME2821#show telephony-service fac telephony-service fac custom callfwd all #45

alias 0 #1 to #45800

Soft-Key Display

ephone-template 1

softkeys hold Newcall Resume Join Select softkeys idle Redial Newcall HLog Gpickup Dnd Cfwdall Pickup softkeys seized Redial Endcall Meetme Gpickup Cfwdall Pickup softkeys alerting Endcall Callback softkeys connected Endcall Hold Trnsfer Confrn Park ConfList RmLstC Select Join HLog

softkeys ringing Answer Dnd HLog

ephone 3

ephone-template 1

Music on Hold

telephony-service

moh music-on-hold.au

multicast moh 239.10.10.10 port 2000 !

ephone 1

multicast-moh

============================================

debug ephone moh

 IP phones do not support multicast at 224.x.x.x addresses.

Cisco Unified CME 4.0 and later versions support MOH for internal calls only if the multicast moh command is used to enable the flow of packets to the subnet on which the phones are located.

Paging and Pickup

============================================ Paging

============================================

ephone-dn 20 number 2000

paging ip 239.0.1.20 port 2000 !

ephone-dn 21 number 2001

paging ip 239.0.1.21 port 2000 !

ephone-dn 22 number 2002

paging ip 239.0.1.22 port 2000 paging group 20,21 !

ephone 1 paging-dn 20 !

ephone 2 paging-dn 20 !

ephone 3

paging-dn 21 !

ephone 4 paging-dn 21 !

ephone 5 paging-dn 22 !

============================================ Pickup

============================================

ephone-dn 55 number 2555

pickup-group 2345

============================================  directed call pickup

Press the PickUp soft key and then dial the ephone-dn of the ringing telephone

 group pickup

Press the GPickUP soft key and then dialthe pickup group number of the ringing telephone.

 local group pickup

press the GpickUP soft key and the asterisk(*) key to pick up a call on a ringing telephone

Configuring a Redundant Router

============================================ Primary Cisco Unified CME router

============================================

telephony-service

ip source-address 10.0.0.1 port 2000 secondary 10.0.0.2

!

voice-port 3/0/0

signal ground-start

incoming alerting ring-only

============================================ Secondary Cisco Unified CME router

============================================

telephony-service

ip source-address 10.0.0.1 port 2000 secondary 10.0.0.2 !

voice-port 3/0/0

signal ground-start

incoming alerting ring-only ring number 3

Timeouts and Tones

telephony-service timeouts busy 20 timeouts interdigit 30 timeouts ringing 30 secondary-dialtone 9

Ephone Hunt Group

============================================ Sequential (Peer,Longest-Idle) Hunt Groups

============================================

ephone-hunt 1 sequential pilot 600

list 200, 201, 202 final 800

timeout 10, 10, 10

============================================ Dynamic Membership

============================================

telephony-service fac standard !

ephone-dn 11 dual-line ephone-hunt login !

ephone-dn 12 dual-line ephone-hunt login !

ephone-hunt 2 sequential pilot 601 list 100,*, *, * final 800

timeout 10, 10, 10

============================================ Agent Status Control

============================================

telephony-service

hunt-group logout HLog fac standard !

ephone-hunt 3 sequential pilot 603

list 100,101,102 final 800

timeout 10, 10, 10

============================================

Automatic Agent Not-Ready

============================================

telephony-service

hunt-group logout HLog !

ephone-hunt 3 sequential pilot 603

list 100,101,102 final 800

auto logout 2

timeout 10, 10, 10 !

============================================ Show ephone-hunt

Conferencing

============================================ Restrictions

============================================

•The maximum number of meet-me conference parties is 32 for one DSP using the G.711 codec and 16 for the G.729 codec.

•A participant cannot join more than one conference at the same time.

•Ad hoc conferencing for more than three parties (hardware-based) is not supported on the Cisco Unified IP Phone 7906 and 7910 and Cisco Unified IP Phone 7914 Expansion Module.

•Ad hoc conferencing for more than three parties is not supported on Cisco Unified IP phones running SIP. •Hardware-based ad hoc conferencing does not support the local-consult transfer method (transfer-system local-consult command).

============================================ Configuration

============================================

voice-card 0

no dspfarm

dsp services dspfarm !

voice class custom-cptone In dualtone conference frequency 600 900

cadence 300 150 300 100 300 50 ! !

voice class custom-cptone Out dualtone conference frequency 500 800

cadence 500 200 500 150 500 50 !

s local GigabitEthernet0/0

s ccm 172.20.1.1 identifier 10 priority 1 version 4.1 s !

s ccm group 100

bind interface GigabitEthernet0/0 associate ccm 10 priority 1

associate profile 1 register CMECONF !

dspfarm profile 1 conference codec g711ulaw codec g711alaw codec g729ar8 codec g729abr8 codec g729r8 codec g729br8

maximum sessions 8

conference-join custom-cptone In conference-leave custom-cptone Out associate application SCCP !

telephony-service

sdspfarm conference mute-on ** mute-off ** sdspfarm units 3

sdspfarm tag 1 CMECONF conference hardware !

ephone-dn 30 dual-line number 610

conference meetme

preference 1 no huntstop !

ephone-dn 31 dual-line number 610

conference meetme preference 2 no huntstop !

ephone-dn 32 dual-line number 610

conference meetme preference 3 no huntstop !

ephone-dn 40 dual-line number 700

conference ad-hoc preference 1 no huntstop !

ephone-dn 41 dual-line number 700

conference ad-hoc preference 2 no huntstop !

ephone-dn 42 dual-line number 700

conference ad-hoc preference 3 no huntstop

Class of Restriction

dial-peer cor custom name local

name longdistance !

dial-peer cor list call-local member local

!

dial-peer cor list call-longdistance member longdistance !

dial-peer cor list user1 member local !

dial-peer cor list user2 member local

member longdistance !

dial-peer voice 1 pots

corlist outgoing call-local destination-pattern 9[^01]T port 2/0/0 !

dial-peer voice 2 pots

corlist outgoing call-longdistance destination-pattern 90[^0]T port 2/0/0 prefix 0 !

ephone-dn 1

corlist incoming user1 !

ephone-dn 2

corlist incoming user2

Voice mail

interface Service-Engine1/0 ip unnumbered FastEthernet0/0

service-module ip address 10.10.100.101 255.255.255.0 service-module ip default-gateway 10.10.100.1 !

dial-peer voice 1 voip description ** to CUE ** destination-pattern 1019. session protocol sipv2

session target ipv4:10.10.100.101 dtmf-relay sip-notify codec g711ulaw

no vad !

telephony-service voicemail 10199 !

ephone-dn 1 dual-line call-forward busy 10199

call-forward noan 10199 timeout 8 !

ephone-dn 40 number 8000..... mwi on !

ephone-dn 41 number 8001..... mwi off

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- huatuo0.cn 版权所有 湘ICP备2023017654号-2

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务