Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  WebRTC phone housekeeping - Any tips?

    Posted 01-14-2026 09:45

    Hi. We have a significant churn over the many entities that form our business. A large amount of time is taken up each week with the creation and deletion of WebRTC phones for starters/movers/leavers.

    Does anyone use a scheduled job to identify and delete unused phones? Has anyone automated WebRTC phone creation?

    All tips gratefully received.


    #Uncategorized

    ------------------------------
    Sam Hutchinson
    Senior Developer
    ------------------------------


  • 2.  RE: WebRTC phone housekeeping - Any tips?

    Posted 01-15-2026 01:26

    I suggest a workflow triggered when users are created to create phones and do other activities.  You could also have workflow called "offboarding" that can look for WebRTC phones that have no active users and delete the phone.  That can be run on a schedule or manually using a CLI and a timed batch file until Genesys released the time-based trigger.  



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 3.  RE: WebRTC phone housekeeping - Any tips?

    Posted 01-15-2026 02:37

    Hey Robert,

    I thought about using Triggers and Workflow, but the only trigger i see is:

    v2.users.{id}.activity

    And I think I can't capture User Creation using this trigger, I might or even probably wrong (I have limited DEV knowledge).

    Can you clarify that to me?

    Many thanks in advance and best regards,



    ------------------------------
    Shahar Leonard
    Genesys Cloud Professional Certified
    ------------------------------



  • 4.  RE: WebRTC phone housekeeping - Any tips?

    Posted 01-15-2026 07:51

    Hi Sam,

    I've developed a .Net based tool for

    STARTER:
    - set the devision (e.g. based on the e-mail domain name)
    - add a free Genesys internal extension (with number ranges for each department)
    - create a WebRTC phone

    CHANGER:
    - <<nothing right now>>

    LEAVER:
    - delete the WebRTC phones that have no user relation anymore

    This tool is running 2 times a day as a docker image with a scheduled start.
    This is saving me a lot of time for SCL-Management within Genesys each day :-D

    Do you want to know more? Contact me directly ;-)

    BR, Robert



    ------------------------------
    Robert Herms
    IT Engineer / Architect
    ------------------------------



  • 5.  RE: WebRTC phone housekeeping - Any tips?

    Posted 01-16-2026 04:39

    Not quite as elaborate as that but I also created a helper application, it takes a custom CSV (like the bulk user upload) but as well as creating the user it does the phone, manager assignment, assigns queues, assigns skills etc. I have a few different templates pre-populated with skills so when different groups get new users I just copy and paste the names & emails into the CSV and set it running.

    I have toyed with automating deletion of users but I'm worried - we occasionally get false positives where people move from temp to permanent hires and their profile is "deactivated"; I don't want to accidentally delete a user's profile while they're using it. So I just have another part of the app to delete the user & their phone etc all in one swoop when initiated.



    ------------------------------
    James Dunn
    Telecoms Specialist
    ------------------------------