SFB 项目经验-29-批量-启用用户-启用企业语音-设置分机号(项目中)
admin
2023-03-13 17:41:01
0


1.启用用户

#测试用户

Enable-CsUser -Identity SFBDemo01 -RegistrarPool SFBFEPool01.i-x-Cloud.com -SipAddress "sip:SFBDemo01@i-x-Cloud.com"

Enable-CsUser -Identity SFBDemo02 -RegistrarPool SFBFEPool01.i-x-Cloud.com -SipAddress "sip:SFBDemo01@i-x-Cloud.com"

Enable-CsUser -Identity SFBDemo03 -RegistrarPool SFBFEPool01.i-x-Cloud.com -SipAddress "sip:SFBDemo01@i-x-Cloud.com"

Enable-CsUser -Identity SFBDemo04 -RegistrarPool SFBFEPool01.i-x-Cloud.com -SipAddress "sip:SFBDemo01@i-x-Cloud.com"

Enable-CsUser -Identity SFBDemo05 -RegistrarPool SFBFEPool01.i-x-Cloud.com -SipAddress "sip:SFBDemo01@i-x-Cloud.com"

#实际用户

Enable-CsUser -Identity I-X-CLOUD\10810058 -RegistrarPool SFBFEPool01.i-x-Cloud.com -SipAddress "sip:sophia.feng@i-x-Cloud.com"

2.启用企业语音

#按用户

Set-CsUser -Identity SFBDemo01 -EnterpriseVoiceEnabled $True

#按OU

Get-CsUser -OU "ou=I-x-Cloud,dc=i-x-Cloud,dc=com" | Set-CsUser -EnterpriseVoiceEnabled $True

3.设置分机号

Set-CsUser -Identity SFBDemo01 -LineURI tel:+28001

Set-CsUser -Identity SFBDemo02 -LineURI tel:+28002

Set-CsUser -Identity SFBDemo03 -LineURI tel:+28003

Set-CsUser -Identity SFBDemo04 -LineURI tel:+28004

Set-CsUser -Identity SFBDemo05 -LineURI tel:+28005

Set-CsUser -Identity SFBDemo01 -LineURI 'TEL:+862032511771;ext=28001'

Set-CsUser -Identity SFBDemo03 -LineURI 'TEL:+862032511773;ext=28003'

Set-CsUser -Identity SFBDemo05 -LineURI 'TEL:+862032511775;ext=28005'

Set-CsUser -Identity 'CN= A 10111731,OU=Users,OU=NingXi,OU=I-x-Cloud,DC=i-x-Cloud,DC=com' -LineURI 'TEL:+862082962898;ext=20197'

PS C:\> Get-CsUser -Identity 'SFBDemo*' | Select DisplayName,LineURI

DisplayName LineURI

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

SFBDemo01 TEL:+862032511771;ext=28001

SFBDemo02 tel:+28002

SFBDemo03 TEL:+862032511773;ext=28003

SFBDemo04 tel:+28004

SFBDemo05 TEL:+862032511775;ext=28005

4.设置拨号计划

Grant-CsDialPlan -Identity SFBDemo01 -PolicyName 'DialPlan01_GZ.i-x-Cloud.com'

Grant-CsDialPlan -Identity SFBDemo02 -PolicyName 'DialPlan01_GZ.i-x-Cloud.com'

Grant-CsDialPlan -Identity SFBDemo03 -PolicyName 'DialPlan01_GZ.i-x-Cloud.com'

Grant-CsDialPlan -Identity SFBDemo04 -PolicyName 'DialPlan01_GZ.i-x-Cloud.com'

Grant-CsDialPlan -Identity SFBDemo05 -PolicyName 'DialPlan01_GZ.i-x-Cloud.com'

Get-CsUser -OU "ou=I-x-Cloud,dc=i-x-Cloud,dc=com" | Grant-CsDialPlan -PolicyName 'DialPlan01_GZ.i-x-Cloud.com'

相关内容

热门资讯

【今日要闻】“宝马娱乐.怎么装... 【今日要闻】“宝马娱乐.怎么装挂?”必胜开挂神器您好,宝马娱乐这个游戏其实有挂的,确实是有挂的,需要...
江西一轿车坠入池塘致8死,载有... 12月24日,江西省彭泽县公安局发布警情通报:2025年12月23日16时许,彭泽县定山镇响水村乡村...
【今日要闻】“欢乐斗地主掼蛋.... 您好:欢乐斗地主掼蛋这款游戏可以开挂,确实是有挂的,需要了解加客服微信【9784099】很多玩家在这...
16岁“烤鸡少年”喜提迈巴赫?... 近日,一位博主的探店视频,让深圳16岁的“烤鸡少年”小陈,意外走红网络。小陈儿时立志要创业当老板,后...
最新引进“新卡农炸金花.到底有... 您好:新卡农炸金花这款游戏可以开挂,确实是有挂的,需要了解加客服微信【9752949】很多玩家在这款...
【第一资讯】“云梦天穹.到底有... 您好:云梦天穹这款游戏可以开挂,确实是有挂的,需要了解加客服微信【4282891】很多玩家在这款游戏...
今日重大发现“传送屋.怎么开挂... 网上科普关于“传送屋有没有挂”话题很是火热,小编也是针对传送屋作*弊开挂的方法以及开挂对应的知识点,...
今日重磅消息“传送屋.有没有挂... 家人们!今天小编来为大家解答传送屋透视挂怎么安装这个问题咨询软件客服徽9784099的挂在哪里买很多...
终于了解“大金牙麻将.到底有挂... 您好:大金牙麻将这款游戏可以开挂,确实是有挂的,需要了解加客服微信【9752949】很多玩家在这款游...
2026河南经济咋发展?这些提... 【大河财立方 记者 段伟朵 朱娟 张克瑶 闫文瑞】 12月22日,河南省委经济工作会议在郑州召开,总...