Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

SFB project experience-29-batch-enable user-enable enterprise voice-set extension (in project)

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Enable user

# Test users

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"

# actual users

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

two。 Enable Enterprise Voice

# by user

Set-CsUser-Identity SFBDemo01-EnterpriseVoiceEnabled $True

# Press OU

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

3. Set the extension number

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 TEL:+862082962898;ext=20197' DCentrcom'-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. Set up a dial plan

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'

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report