Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webex builder #110

Closed
Jordan-Prescott opened this issue Sep 4, 2024 · 0 comments · Fixed by #115
Closed

Webex builder #110

Jordan-Prescott opened this issue Sep 4, 2024 · 0 comments · Fixed by #115
Assignees
Labels
enhancement New feature or request

Comments

@Jordan-Prescott
Copy link
Owner

Webex Builder - Group Task

Functions Needed to be Implemented:

These functions need to be implemented as Webex Requires a service called Integrated IMP.

Webex General Setup:

1. Add WBX-B to User

We need to apply the Webex license before any other changes are made, we already have a function for this put.user_services

magic.put.user_services(
    user_id,
    service_packs=["WBX-B"],
    assigned=True
)

2. Set User Email & Alternate ID to the UserID without "ev"

This will most likely be used with functions such as get.user_by_id for User Information which can be parsed.

email = str(user_id).replace('.ev', "")

We can then use email to set the values of emailAddress and alternateUserId

3. Build the Webex Device

There will be a few parameters we can pass through, because there are options:

  • Is it for Desktop?
  • Is it for Mobile?
  • Is there an existing device assigned to the user?
  • Is it going to be setup as a Shared Call Appearance?

Functions like post.group_devices() will need to be used, alongside get.password_generate() as Webex devices will need custom credentials, it has specific password requirements so anything with PASSWORD and E! appended on the end will work e.g Gp.*9E!

"accessDeviceCredentials": {
        "userName": "{{DEVICENAME}}",
        "password": "{{PASWORD}} + E!"
    },

Once this is done, the LinePort will also be the Device Name, which is usually GroupID + Extension + 'WBX-PC' or 'WBX-Mobile'.

4. Enable Integrated IMP

Once we have the Device Built and the Email setup, all we need to do is setup Integrated IMP which is a service that is automatically assigned when WBX-B is applied to the user.

We will use put.user_service_settings() to apply the change:

services = "Integrated IMP": {"isActive": true}

magic.put.user_service_settings(
    user_id,
    services
)

Done??????

@Jordan-Prescott Jordan-Prescott converted this from a draft issue Sep 4, 2024
@Jordan-Prescott Jordan-Prescott self-assigned this Sep 4, 2024
@Jordan-Prescott Jordan-Prescott added the enhancement New feature or request label Sep 4, 2024
@LivCurtis LivCurtis linked a pull request Sep 18, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from 🔖 Ready to ✅ Done in Odin's Spear - Use Your Best Weapon. Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

4 participants