10-12-2012 09:42 AM - edited 03-16-2019 01:40 PM
Hello,
i´m currently setting up Cisco Unity Express 8.6.4 in conjunction with CCME and would
like to deploy an AA script.
The customer wants to have time of day routing applied, but also would like to have an
option to disable this feature in an easy way when they have special situations in which
they need to take calls even on Sundays/public holidays or after business hours, when
under normal circumstances the ToD-Routing would play a "buisness closed" greeting
and disconnect the call.
Any ideas how to accomplish this?
Many thanks!
Solved! Go to Solution.
10-13-2012 01:18 AM
There is no waste of a phone, becase the DN used for control is usually placed on a free button of any suitable phone.
Unfortunatly CUE AA script do no have the concept of global variables, and do not have a method of communication between scripts (beside sub-flow, that doesn't apply to this case).
There could be other methods, but none is as simple as the CFA one.
10-14-2012 07:55 AM
First setup two different AA scripts, one with time of day check and one without. Configure dial peers for these with two different extensions, these can very well be non DIDs, for example if your DID range translate to internal DNs 1000-1999 use 2000 and 2010 for the AA scripts.
Then setup the DID AA number, for example 1000, as an ephone DN and attach that to a non used button on the phone that you want to use for the management of the CFA to the two internal AA DNs. Set CFA to the AA script that you want to use for the moment, the one with time of day check (2000) or the one without (2010).
Please rate all useful posts.
Sent from Cisco Technical Support iPhone App
10-14-2012 09:21 AM
Yes that looks correct. Look at this post for CFA part, https://supportforums.cisco.com/thread/2167360
Please rate all useful posts.
Sent from Cisco Technical Support iPhone App
10-12-2012 09:45 AM
You can configure multiple AA and then use CFA from a phone to send calls to the desired one.
10-12-2012 10:03 AM
Are you referring to the "Application Parameter Settings Script" in the "Administration via Telephone Settings" page of CUE or what do you mean exactly by that?
10-12-2012 10:47 AM
I mean that on a phone, usually on a 2nd button, you use call-forward all to send calls to the desired AA script.
10-12-2012 12:06 PM
The incoming calls from the PSTN are terminating directly on the pilot number of the AA on the CUE, and not on a specific phone.
The AA then checks the ToD and if the business is closed according to the regular schedule, it will give an announcement and disconnects the call.
What i need is an easy way to disable the ToD checking temporary, i.e. in using a boolean variable in the script which can be set *easily* by the end-user (not via the CUE admin interface).
If this variable is set to false, the script shouldn´t check the ToD and forward the calls directly to the receiption.
Any ideas?
10-12-2012 01:23 PM
To set a variable in a CUE AA script, you need to give web access with admin credentials to user, and even from the GUI, is not a particularly fast or intuitive operation.
For this reason, it is simpler to send incoming calls to an ephone-dn, on which CFA is set to go to different scripts, for example one that checks time, or another that doesn't.
This approach lets user control their phone system using a phones, as opposed to a computer.
10-13-2012 12:53 AM
> For this reason, it is simpler to send incoming calls to an ephone-dn, on which CFA is set to go to different scripts, for example one that checks time, or another that doesn't.
But doesn´t this mean that you would waste one physical phone just for controlling this feature, because it´s either forwarding all the calls to Script A or to Script B?
I thought of an option to call an IVR script on the CUE, which allows you to set a global variable, which could be checked in the general AA script (comparable to the "alternate greeting" feature).
10-13-2012 01:18 AM
There is no waste of a phone, becase the DN used for control is usually placed on a free button of any suitable phone.
Unfortunatly CUE AA script do no have the concept of global variables, and do not have a method of communication between scripts (beside sub-flow, that doesn't apply to this case).
There could be other methods, but none is as simple as the CFA one.
10-14-2012 06:50 AM
Ok, understood.
Could you please paste a sample config (just ephone and ephone-dn) of how this could look like?
Thanks!
10-14-2012 07:55 AM
First setup two different AA scripts, one with time of day check and one without. Configure dial peers for these with two different extensions, these can very well be non DIDs, for example if your DID range translate to internal DNs 1000-1999 use 2000 and 2010 for the AA scripts.
Then setup the DID AA number, for example 1000, as an ephone DN and attach that to a non used button on the phone that you want to use for the management of the CFA to the two internal AA DNs. Set CFA to the AA script that you want to use for the moment, the one with time of day check (2000) or the one without (2010).
Please rate all useful posts.
Sent from Cisco Technical Support iPhone App
10-14-2012 08:40 AM
Do you think of something like this configuration:
!
dial-peer voice 9501 voip
description CUE Auto-Attendant ToD check
destination-pattern 2000
session protocol sipv2
session target ipv4:10.10.10.1
dtmf-relay sip-notify
codec g711ulaw
no vad
!
dial-peer voice 9502 voip
description CUE Auto-Attendant No ToD check
destination-pattern 2010
session protocol sipv2
session target ipv4:10.10.10.1
dtmf-relay sip-notify
codec g711ulaw
no vad
!
!
ephone-dn 11 dual-line
number 1101
label Frank
name Frank
!
ephone-dn 12
number 1000
!
ephone 11
mac-address xxxx.yyyy.zzzz
button 1:11 2:12
!
The DID AA number (1000) would be on the second button of ephone 11. The only thing which is not clear to me how you can then set the CFA for that specific number (1000) on the phone. There is just one CFwdAll Button; if i use it, it will do the CFA just for the main number of the ephone (1101).
10-14-2012 09:44 AM
Make sure ephone-template has CfwdAll in off-hook state.
Press line button, then CfwdAll.
Please remember to rate useful posts clicking on the stars below.
10-14-2012 09:21 AM
Yes that looks correct. Look at this post for CFA part, https://supportforums.cisco.com/thread/2167360
Please rate all useful posts.
Sent from Cisco Technical Support iPhone App
10-15-2012 07:06 AM
Roger, Paolo: Perfect, this is what i was looking for.
Thanks a lot for your answers, much appreciated!
Frank
10-15-2012 07:12 AM
Your most welcome Frank. Thank you for the nice rating.
Please remember to rate helpful responses and identify helpful or correct answers.
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