Manny

Regel im Call Routing Manager per PS-Script verteilen

Recommended Posts

Hallo zusammen,

besteht die Möglichkeit eine händisch erstellte Regel per PS-Script auf alle User zu verteilen?

 

Gruß

Manny

Share this post


Link to post
Share on other sites

Hallo Manny,

 

du kannst das Call Routing von einem Benutzer auf andere kopieren, allerdings musst du oder der Benutzer diese Regeln manuell aktivieren.

Connect-IpPbx
$sourceUser = Get-IpPbxUser -UserName "Sebastian" -ReadOnly
$targetUser = Get-IpPbxUser -UserName "Inneke" -ReadOnly
Copy-IpPbxUserCallRouting -SourceUserEntry $sourceUser -TargetUserEntry $targetUser -Overwrite
Disconnect-IpPbx

 

Kind regards

 

Sebastian Dreier

Share this post


Link to post
Share on other sites

Just an additional note on this: it copies the entire call routing of the user. It is not possible to distribute just a single rule.

 

The only way to distribute a single rule is, if it is a rule made by the GSE and not the Rule Wizard. And it can only be distributed through the Call Routing Manager and the GSE. It is not possible to distribute it via simple file copy or a PowerShell script.

 

To get a GSE rule from user A to user B do the following:

  • open the call routing manager of user A and and from there the GSE rule
  • export it as .rse file via the "file | export" menu
  • open the call routing manager of user B and and from there the GSE rule
  • create a new GSE rule
  • import the previously exported .rse file via the "file | import" menu
  • save the rule and exit the GSE
  • hit Close or Apply in the call routing manager

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now