1.啟用用戶
專業(yè)成都網(wǎng)站建設(shè)公司,做排名好的好網(wǎng)站,排在同行前面,為您帶來(lái)客戶和效益!創(chuàng)新互聯(lián)為您提供成都網(wǎng)站建設(shè),五站合一網(wǎng)站設(shè)計(jì)制作,服務(wù)好的網(wǎng)站設(shè)計(jì)公司,網(wǎng)站建設(shè)、網(wǎng)站制作負(fù)責(zé)任的成都網(wǎng)站制作公司!
#測(cè)試用戶
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"
#實(shí)際用戶
Enable-CsUser -Identity I-X-CLOUD\10810058 -RegistrarPool SFBFEPool01.i-x-Cloud.com -SipAddress "sip:sophia.feng@i-x-Cloud.com"
2.啟用企業(yè)語(yǔ)音
#按用戶
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.設(shè)置分機(jī)號(hào)
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.設(shè)置撥號(hào)計(jì)劃
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'