08-28-2015 06:35 AM - edited 03-14-2019 03:10 PM
Hi Guys,
I tried to make a script by uccx script editor and I made if press 1 will redirect to special extension, but I need if I dialed any extension included in CUCM will redirect it automatically, how can I do that,
I attached my script as picture
thanks for all
Mohammad Saeed
Solved! Go to Solution.
08-29-2015 07:03 AM
Why is your script checking if the DialExtension is "" under success step? The only time call will go to success step is when you callect defined number of digits defined under the get digit step. So, there i no need for any if statement there and simply have call redirect to using the DialExtension collected variable.
08-28-2015 06:44 AM
What a exactly are you trying to achieve?
08-28-2015 06:49 AM
In my CUCM there are many extensions ( 8201 to 8710) and i want if dial any extension will redirect to it or press zero to operator.
thanks
08-28-2015 06:56 AM
Really don't understand to who you will redirect the call if a user dial any extension.
You don't want any extension to be called?
Could you explain in more details please?
08-28-2015 07:01 AM
for example, if i dial 8201 want to redirect to 8201, and if i dial 8302 want to redirect to 8302 and so on...clear now!
08-28-2015 08:54 AM
If the caller call the main number and start with welcome message then the welcome message asked him " if you know the extension dial or press Zero for help", So if the caller dial any extension related to the CUCM will redirect to it.
Thats what I mean.
08-28-2015 12:53 PM
Hi Leo,
Any Idea please?
Thanks
Saeed
08-29-2015 07:03 AM
Why is your script checking if the DialExtension is "" under success step? The only time call will go to success step is when you callect defined number of digits defined under the get digit step. So, there i no need for any if statement there and simply have call redirect to using the DialExtension collected variable.
08-29-2015 08:48 AM
Hi Chris,
Yes you are right I noticed that and I fixed it, this is the first attempt to me with CCX script and i solved it. Just I need to add redirect call under success and it works fine!
Thanks,
Saeed
08-29-2015 08:54 AM
Great, good job. Please remember to mark answered threads as answered.
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