07-04-2016 08:23 AM - edited 03-14-2019 04:18 PM
hi,
i have hundred ICM scripts and whenever there is a call in any of these scripts i want to execute a function/subroutine (check balance) from a different script and come back to the original script after completion.
gotoscript and requalify cannot do this..is there any other option? going back to the master script from the child script..
07-04-2016 08:58 AM
There is no in built subroutine type of functionality in ICM scripting as i am aware of.
You got to build your own logic, to achieve that by setting some variable in source ICM script, anc checking it in destination routing and then do go to script.
07-04-2016 12:43 PM
I hope these hundreds of subroutines go to an IVR for all the real heavy lifting. If not, this is a good time to start moving your business logic to your peripherals where you'll have a lot more control and power.
david
07-04-2016 06:29 PM
we do have an IVR which actually does the check balance operation. From ICM we want to invoke check balance from a separate script. for eg., from any of the hundred scripts if there is a req for check balance the call will hit this new script which has the send2vru,runextscript to invoke the IVR app..once the IVR is done the control should come back to the child script then to the particular master script which invoked the child and continue with the next flow...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide