Jump to content
  • 2600Hz-logo-RGB copy.png

    Welcome to our Monster UI Apps Resource Pages!
    Below is a list of the applications developed by 2600Hz for KAZOO using the Monster UI Interface and documentation related to it. 
    If you have a question that is not covered here, check out our community forums.  

          Featured Apps

      NEW !  

    RELEASED !

    Check it Out! NEW !

               SmartPBX_x512.png          

              CallCenter-PRO_x512.png          

              PortingManager_x512.png          

             commio_AppIcon-round_x512.png          

              CSVJobsManager_x512.png        

             CallThruUs_x512.png          

    Smart PBX

    Call Center Pro

    Porting Manager   comm.io     CSV Onboarding   CallThru.us


    >>  2600Hzroundorangelogo.png   Return to Monster Apps Home Page DynamicCallerID.pngcommio_AppIcon_x512.png

  • Move an account within KAZOO


    Moving an account within KAZOO

    User Stories

    • I mistakenly added and configured a sub account under the wrong parent account; my “North Carolina” office should be under “East” and not “West.”
       
    • I want to move a sub account from one home account to another parent account – for example, move my XXX East account from US to Canada?

    Overview

    There are two ways to achieve this:

    1. Use the Cluster Manager app. In the KAZOO environment.
    2. Execute an SSH command at the server level. This is an option available to Global Infrastructure clients who are experienced system administrators.

    NOTE:
    This process can be unsafe;  it should only be used if an account was created under the wrong account in error, and needs to be moved.

    ClusterManager_x512.png   USING CLUSTER MANAGER (OPTION 1)

    1. Obtain the account ID of the account you want to move from. 
      This ID will referenced as MOVE_ACCOUNT from now on. This can be obtained from the UI via the Accounts Manager app.

       
    • Open your Accounts app  AccountsManager_x512.png
    • Navigate to the account you want to move to 
    • Select the account, and select Overview
    • Copy the account ID String and save it on a notepad

      From Account:


      MoveAccount FindAccountID.png

     

    2.  Obtain the account ID of the account you want to move the MOVE_ACCOUNT TO
    This ID will be referenced as DESTINATION_ACCOUNT from now on. 

    • Repeat the steps above and copy to a place that clearly labels this Account ID is the TO: Account ID number.

    3.  Browse to https://ui.zswitch.net and login using your credentials and the name of your account on our hosted platform (XYZ Parent Account)

    • Open the Apps menu, and select the Cluster Manager app   ClusterManager_x512.png
    • Click the Scripts tab from within the Cluster Manager app
       

    MoveAccount Open ClusterRunCommand.png

    • Click the Red Button labeled Run Command

    4.  Type the command below into the command dialog box

    sup crossbar_maintenance move_account MOVE_ACCOUNT DESTINATION_ACCOUNT
     


    MoveAccount add script commandpng.png
     

    NOTE:  While this process should take less than 5 seconds, you may want to  increase the “Abort After” value to about 5 minutes.  This should give ample time for the process to resolve before timing out and requiring a restart.
     

    6.  Click the Select Servers button

    MoveAccount Select Servers 2.png
     

    7.  From the Cluster drop down, select the name of the cluster where the accounts live that you would like to move (pre, or prod). You do not need to select anything for Zone, or Services

    8. Uncheck servers in the Filter Results section, so that you ONLY HAVE ONE server checked

    MoveAccounts select only 1 server.png
     

    NOTE: You MUST select the server that contains your KAZOO applications; a Freeswitch or Database only server will cause this process to fail.   To ensure this, you can follow these steps:

    • Filter your server list using kazoo_applications type of servers first.
    • "Select All" to unselect everything.
    • Reselect the first server on the. list.

      9.   Click NEXT

    10.  Click Run Tasks Now!   to execute the command you typed into the dialog box, on the server that remained checked on the previous page.

    11. Watch the "Running/Queued" section of the tasks tab to ensure the task completes.

    You may need to refresh the list periodically, but clicking the refresh button (2 spinning arrows) at the top of the list. You can also go to the "Completed Logs" section to see that your "Run Command" task completed successfully. 

    MoveAccouts Completed logs.png

     

    12.  Once the task is complete, confirm the account is now moved by re-opening the Accounts Manager app in the UI of your cluster.

     

    ADVANCED USERS (OPTION 2)
    This is an option available to Global Infrastructure clients who are experienced system administrators.

    Via SSH: 

    1. Obtain the account ID of the account you want to move, I'll reference this ID as MOVE_ACCOUNT from now on. This can be obtained from the UI via the Accounts Manager app.
       
    2. Obtain the account ID of the account you want to move the MOVE_ACCOUNT under, I will reference this ID as DESTINATION_ACCOUNT from now on. This can also be obtained from the UI via the Accounts Manager app.
       
    3. SSH to one of the servers in your cluster where the account you want to move is assigned, and where kazoo_apps is running.
       
    4. Run the command below:

      sup crossbar_maintenance move_account MOVE_ACCOUNT DESTINATION_ACCOUNT

     

    API Reference Doc:

    docs.2600hz.com  docs.2600hz.com 
    https://docs.2600hz.com/dev/applications/crossbar/doc/accounts/#move-an-account

    Edited by Emily R (show revisions)



    User Feedback

    Recommended Comments

    There are no comments to display.



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    Loading...

×
×
  • Create New...