Voice Lab6- CUCM2

简介:

Voice Lab CUCM2

1-路由类型总结

clip_image002

分布式管理的缺陷是要FULL-MESH

2-CUCM部署模型

拓扑图

clip_image004

2-1多站点分布式模型-用H323 Trunk建立站点间IP中继

R2的配置如下

clip_image006

R2(config)#int f0/1

R2(config-if)#h323-gateway voip bind srcaddr 192.168.200.254

//不敲这命令,CUCM会拒绝R2发起的call leg

clip_image008

clip_image010

clip_image012

clip_image014

2-2多站点分布式模型-用GK 控制的 H323 Trunk

clip_image016

R1(config)#int lo 0

R1(config-if)#ip add 1.1.1.1 255.255.255.0

R1(config-if)#no shut

R1(config-if)#exit

R1(config)#gatekeep

R1(config)#gatekeeper

R1(config-gk)#no shutdown

R1(config-gk)#zone local a cisco.com 1.1.1.1

R1(config-gk)#exit

Show gatekeep status /show gatekeep zone status

CUCM添加 Gatekeeper/创建CM到GK的trunk

clip_image018

clip_image020

clip_image022

R1#show gatekeeper end

GATEKEEPER ENDPOINT REGISTRATION

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

CallSignalAddr Port RASSignalAddr Port Zone Name Type Flags

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

192.168.100.186 48724 192.168.100.186 39883 a VOIP-GW

H323-ID: CM-GK-Trunk_1

Voice Capacity Max.= Avail.= Current.= 0

Total number of active registrations = 1

R2注册到GK:

R2(config)#int f0/1

R2(config-if)#h323-gateway voip interface

R2(config-if)#h323-gateway voip id a ipadd 1.1.1.1

R2(config-if)#h323-gateway voip h323-id cme

R2(config-if)#h323-gateway voip bind srcadd 192.168.200.254

R2(config-if)#h323-gateway voip tech-prefix 2#

R2(config-ephone-dn)#number 2001 no-re

R2(config-ephone-dn)#number 2002 no-re

R2(config)#int f0/1

R2(config-if)#gateway //敲这条命令,注册到GK

R1#show gatekeeper end

GATEKEEPER ENDPOINT REGISTRATION

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

CallSignalAddr Port RASSignalAddr Port Zone Name Type Flags

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

192.168.100.186 41472 192.168.100.186 39883 a VOIP-GW

H323-ID: CM-GK-Trunk_1

Voice Capacity Max.= Avail.= Current.= 0

192.168.200.254 1720 192.168.200.254 50418 a VOIP-GW

H323-ID: cme

Voice Capacity Max.= Avail.= Current.= 0

Total number of active registrations = 2

R1#show gatekeeper gw-type-prefix

GATEWAY TYPE PREFIX TABLE

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

Prefix: 1#*

Zone a master gateway list:

192.168.100.186:41472 CM-GK-Trunk_1

Prefix: 2#*

Zone a master gateway list:

192.168.200.254:1720 cme

修改RoutePattern配置

clip_image024

clip_image026

R2(config)#voice translation-rule 1

R2(cfg-translation-rule)#rule 1 /2#/ //

R2(cfg-translation-rule)#exit

R2(config)#voice translation-profile GK

R2(cfg-translation-profile)#translate called 1

R2(cfg-translation-profile)#exit

R2(config)#voip-incoming translation-profile GK

R2#sh run | se dial-peer

dial-peer voice 1000 voip

destination-pattern 1...

session target ras

tech-prefix 1#

测试结果双方都通的

2-3多站点集中式模型   
clip_image028

R2上的配置如下:<模板配置>

clip_image030

Show dhcp bind

R2(config)#no telephony-service

Skinny Deleted entries for 1 phones

CUCM上手工配置

在同一站点内3001<--->1001通信使用的是G.722编码

clip_image032

System-region information-Region

clip_image034

再创建device pool name = remote pool 在device pool中调用region

再到phone configure 3001中调用 remote pool

1001<--->3001通话codec G.729

clip_image036

clip_image038

clip_image040

3-用户管理

1-先开启服务 cisco dirsync

clip_image042

2-在DC上准备一些用户:

clip_image044

在本地准备一个用户fuyi (first name 和 department都为空)

clip_image046

3-system-ldap-ldap system

clip_image048

4-system-ldap-ldap directory-add new

clip_image050

Click-Perform full sync now

User management-end user 可以发现跟以前的end user不同了,且覆盖了相同名字的用户

clip_image052

Inactive状态的用户24小时后会自动删除,且只同步了用户名和一些属性,但并没有同步密码,一般来说没有配置ldap Authentication,从AD过来的话都需要重置密码<密码是本地管理>

5-system-ldap-ldap authentication

clip_image054

生效结果:

clip_image056

<一定要等一段时间!不知道为什么>

5-编辑部分权限

https://192.168.100.186/ucmuser/

clip_image058

用fu1yi1登入,提示权限不够

先用帐户fu1yi1关联一台电话

clip_image060

clip_image062

并关联组

clip_image064

再次登入

http://192.168.100.186/ccmuser

用fu1yi1 和域密码登入,成功如图.

clip_image066

4-Mobility

分为三类:

4-1 Extension Mobility

1-开启服务

clip_image068

2-修改企业参数,改完后记得reset服务

clip_image070

3-创建EM服务,需要的话机订阅此服务

Device-Device Setting-Phong Services

URL : http://192.168.100.186:8080/emapp/EMAppServlet?device=#DEVICENAME#

创建时,下面这个不可以选,因为这个选项是所有话机开启这个服务

clip_image072

clip_image074

4-针对个别话机订阅CM服务

Device-Phone

clip_image076

clip_image078

clip_image080

可以到System-service parameter修改EM参数

clip_image082

5-创建device profile

将用户信息跟DN相关联起来

Device-device settings-device profile <profile必须跟特定的电话来绑定>- Add new

Device profile的配置界面非常类似一个电话配置界面

一样需要分配DN

新建的device profile最好也订阅EM服务

如果不订阅的话则话机登入成功后,无法退出登入

clip_image084

clip_image086

6-创建用户关联device profile

User management ---end user

Cmuser--à user id

Cisco-àpassword

12345-àpin

clip_image088

clip_image090

7-打开话机的EM功能

clip_image092

8-测试

clip_image094

用cmuser帐户登入进去后,用1009可以拨通1111

clip_image096

再按下服务键就可以退出来

clip_image098

4-2 Unified Mobility

clip_image100

clip_image102



本文转自 bilinyee博客,原文链接:  http://blog.51cto.com/ericfu/1767696      如需转载请自行联系原作者

相关文章
|
安全 关系型数据库 大数据
ONE-SONIC | 首次分享SONiC在SRv6和DCI光网络中的应用
ONE-SONIC | 首次分享SONiC在SRv6和DCI光网络中的应用
ONE-SONIC | 首次分享SONiC在SRv6和DCI光网络中的应用
|
编解码 Linux
基于Asterisk的VoIP开发指南——(1)实现基本呼叫功能
原文: 基于Asterisk的VoIP开发指南——(1)实现基本呼叫功能 说明:        1.本文档探讨基于Asterisk如何实现VoIP的一些基本功能,包括基本呼叫功能的方案选取、主叫号码透传、如何编写Asterisk AGI程序、Radius认证计费模块等。
3606 0
|
JavaScript 数据库 Windows
|
前端开发 测试技术
|
安全 网络架构 iOS开发