All the bots created after July 2022 operate on cloud. Refer to this article for the latest update.
PRI is the number used when user wants to call the bot. A SIP number has more functionality comes with noise cancellation and can be used when bot calls the user
- Navigate to old platform using link botplatform.io
- Use cookie chrome extensions like EditThisCookie or other to login
- Copy and paste ym_xid cookie value and refresh the bot it will login
- Go to IVR setup and add a phone number by prefixing +91 country code
The start point of IVR bot is the message “welcome“, which can be captured in the main function through main function :
It will be in app.data.message when the user calls the bot. The context of the IVR bot should be cleared since when the user again calls the bot, it should not continue from the last endpoint. Context can be cleared by using code in the main function. Context can be cleared by this using code in the main function
Bot voice options should be sent through the app. Start as follows:
Total Code in Main Function
Train 'welcome' for default/initial flow
Bot voice options and voice options are different. Voice options must be sent in app.data.message.
It can be initialised in the main or child function.
Usage in any function
For changing bot speech-language should be passed in both voice options and bot voice options.
Final Main Function:
Use this link to find supported languages and to test samples for code only use (en-code) en-US not en-US-Wavenet-D
NOTE : This segment in the link takes some time to load. Please wait until the full page is loaded.
It doesn’t work if you use other language.