Migration Process of workspace from AudioCodes to SAVG

Migrating the workspace from AudioCodes to SAVG means changing the communication channel in the instance bot from AudioCodes to Kore VG (SAVG).

There are two phases which required to successful migration of the account:

  1. Update the Automation Bots compatible for SAVG channel using Migration Tool.

  2. Raise and Execute KE ticket to migrate the account.

1. Update the Automation Bots compatible for SAVG channel using Migration Tool.

Before migration please make sure the changes are made in the bot which will be compatible for the SAVG channel.

Please follow the steps on how to implement the SAVG compatible changes in the bot:

Make sure you utilise the below migration tool which gives the updated bot export copy (botName-savg.zip) and few necessary changes you need to make after importing the updated bot export (new one).

Download the SAVG Migration Tool : SAVG Migration Tool

Prerequisite:

  • Install Node.js on your local device
  • Install Visual Studio Code or any other IDE to execute the script

Steps:

  • Create One Folder named (Ex -Migration) In the Local machine and Inside that folder Create A file with.js extension.
  • Open the above code with VS Code. Make sure the file name should be.js extension.
  • In the same folder, Copy your Bot export Copy.
  • Open the terminal from the top nav bar.
  • In the Code Around line Number 399 Change the Path with your new relative path of Bot Export JSON
    Example - var path = "./Bankassist Bot/";
  • In Terminal Run the Command - node {MigrationFileName.js}
    Example - node korevgMigrationGuide.js

Note:
If you face any issue related to Node while running the Command Do Install the dependency packet
npm install
npm install lodash archiver

Output of the Migration Tool:

----------------------------------------------------------------------------Connections----------------------------------------------------------------------------


Format: Dialog Name => Node Type - Node Name


Total number of dialogs updated:  0


---------------------------------------------------------------------------Channel Override--------------------------------------------------------------------------


Total number of nodes in which there are message/user/error prompts in Advanced mode:  3

Note: If Advanced mode contains just javascript message kindly ignore the node

      If the node contains the AudioCodes channel override message, change it to SAVG compatible channel override

NodeType -  Message Node , Total nodes -  3


WelcomeMsg
PlayAudio
Message0022


-------------------------------------------------------------------------------Grammar-------------------------------------------------------------------------------


Total number of nodes in which the grammar is updated:  0


------------------------------------------------------------------------Call Control Parameters----------------------------------------------------------------------


Entity0003 => removed unsupported parameters: [ 'continuousASR' ]
Entity0014 => removed unsupported parameters: [ 'continuousASR' ]

Number of call control parameters removed/updated 2

File has been saved as botDefinition.json at naruto/savg/botDefinition.json

Zip file naruto-savg.zip has been created. Total bytes: 104860
  1. The tool will give the updated bot export copy (in the format botname-savg.zip file) in the directory path.

  2. Extract the zip file and import it into the test account (SAVG account) as a new bot.

  3. Checkout the Channel Override section, which contains the list of the nodes (Message / Entity) which you need to review for any audiocodes specific channel override template.

Here are the steps to update the channel override template:

  • In case of Advance Mode, change the channel to SmartAssist Gateway. If the Javascript code is AudioCodes channel specific template then change it to SAVG channel specific template which is provided below.
NodeType -  Message Node , Total nodes -  3
WelcomeMsg
PlayAudio
Message0022
NodeType -  Message Node , Total nodes -  3
nameEntity
phoneNumberEntity
pinEntity

While updating the entity node, please make sure both User Prompts and Error Prompts are updated if there were any.

If you are using the generic JavaScript code in the AudioCodes-specific channel prompt in Advanced Mode, we can directly update it for the SAVG channel.

However, if you are using the channel override template for AudioCodes, the template must be modified to make it compatible with SAVG, as the templates differ between the two channels.

Please refer to the attached Excel sheet, which contains both AudioCodes and SAVG channel override templates, to guide the users with the correct template.

SAVG Migration Tracker.xlsx

SAVG Migration Tracker.xlsx

After the doing the above changes the bot is ready and compatible for the SAVG channel.

SAVG migration is account level. So whatever the process you have followed above is for one bot.

Please ensure all the necessary bots in the account are updated using the above process so that after migration the bots will work as expected.