06-27-2017 05:22 PM - edited 03-14-2019 05:24 PM
Hello Everyone,
I am working on a script, but I have got one requirement from my customer to enable BCP/DR plan, that is if for some reason there is an emergency, I need to create XML file that will have around 10 different mobile numbers where I can redirect the call to, but it needs to be done in the round robin way.
Anyone has any idea, how I can achieve this bit using the XML? How I can create a counters which increases by 1 until all the 10 and then read the XML documents and update it or something to do with the Java scripting.
Unfortunately not a very scripting design expert, but if some one can just guide what would be the best approach to do this would be appreciated.
I can provide the existing script and the required call flow.
TIA.
Solved! Go to Solution.
06-28-2017 07:38 AM
I would be interested in seeing a better answer than mine, as I also have a similar requirement coming up..
I was thinking a blind transfer to a cucm hunt group with dn's that have single number reach set up
06-29-2017 06:49 AM
Doesn't matter how good you are at scripting. It would be really messy and not at all best practice.
Easiest solution is to rely on cucm in this case.
06-28-2017 07:38 AM
I would be interested in seeing a better answer than mine, as I also have a similar requirement coming up..
I was thinking a blind transfer to a cucm hunt group with dn's that have single number reach set up
06-28-2017 08:26 AM
Sean,
I think this is the easiest and most foolproof solution, if I wanted it done quickly I would go down this path. If I had more time, I would forget the voice and send an SMS/Email to all parties.
david
06-28-2017 06:26 PM
That's what struck to my mind after posting this.
I guess I have to go that route as I am not expert in the scripting. I wish I was. I know the logic, but I cant implement it as I am not sure of the XML syntax
Thanks for the response.
06-29-2017 06:49 AM
Doesn't matter how good you are at scripting. It would be really messy and not at all best practice.
Easiest solution is to rely on cucm in this case.
07-02-2017 04:06 PM
I agree, CUCM is something that I know and confident about. Since I don't have much time left, so I will do that.
07-05-2017 10:49 PM
Hi Sean...
I was able to design the script if you are still interested. I couldn't go the single number reach path as my customer wanted to add 50 mobile numbers in the list and as configuring the SNR for every 50 users was not feasible and also changing the numbers after the agent leaves was problem for the support staff as well.
This example is configured for 4 mobile numbers only, but the logic will remain same for 50 mobile numbers.
The script and XML file are attached, let me know if you have any issues in understanding.
07-06-2017 06:52 AM
Nice, thanks. I'll be referencing it in the near future.
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