Cascading Phone Notification UCCX 8.5(1)

I was curious if anyone has an example of an escalating/cascading phone notification script?  I know this can be done in Unity Connection much easier, however, my version of UCX currently contains 2 bugs which dial directly with notifications.  Therefore, I’m trying to provide a temporary solution using UCX until I get my UCX cluster upgraded.  The scenario is:
1.       Caller leaves a message (record prompt)
2.       Call sent to on-call cell 1 and the message is played
3.       User can press a button to “acknowledge the call”
4.       If caller does not acknowledge the call within x number of minutes:
             a.       Call sent to on-call cell 2 and the message is played
             b.      User can press a button to “acknowledge the call”
             c.       If caller does not acknowledge the call within x number of minutes:
                                                               i.      Call sent to on-call cell 3 and the message is played
                                                             ii.      User can press a button to “acknowledge the call”
                                                            iii.      If caller does not acknowledge the call within x number of minutes:
Just looking for an example.  I can modify to me needs.  Thanks for the help!
Thanks!
William

When you say "in X number of minutes" do you mean that the active call will be up that whole time?  Or did you mean, that the script will keep calling them back for X number of minutes, until the oncall person acks the call?  I think it's obvious that the voicemail answering on the on call cell will prevent an arbitrary length of waiting, so perhaps you did mean: call them, wait 5 seconds for them to acknowledge, and if they don't, call them back immediately.  If X minutes have expired trying to get an acknowledgement, then move to the next on call cell.  With that said, it's my opinion that calling back a quantity of times, versus a duration of time, is the better approach.
Anyway, here's some psuedo code to get you started.  It's bare bones, so make sure you add in the customer warm fuzzies and sanity checks.
Variables
Contact oncall_contact = nullString[] oncall_numbers = new String[] {"916125551212", "916125551313", "916121414"}Iterator oncall_numbers_iter = com.cisco.util.EmptyIterator.iteratorString oncall_number = ""Document recording = DOC[]Prompt rec = P[rec.wav]Prompt ack = P[ack.wav]int oncall_retries = 0int oncall_retry_limit = 3
Script
Start/* Answer the call */Accept (--Triggering Contact--)/* To allow the caller to just hand up when finished recording, a la voicemail, catch hang up exception */On Exception (ContactInactiveException) Goto Begin Cascade/* Get a recording from the caller */recording = Recording (--Triggering Contact--, rec, 30)  Successful    /* Hang up on the caller */    Terminate (--Triggering Contact--)  Unsuccessful    /* Recording failed, play system problems */    End/* The caller has left a recording, time to start the cascade */Begin Cascade:/* Clear the hang up listener */Clear Exception (ContactInactiveException)/* If the call to the oncall number disconnects prematurely, see if we need to call it back */On Exception (ContactInactiveException) Goto Check for Call Back/* Setup the array iterator so we can go through the list of numbers */Set oncall_numbers_iter = oncall_numbers.iteratorGet Next Cell Number:/* Restart the retry counter for every oncall number */Set oncall_retries = 0/* If there is an oncall number to try, then try it, otherwise, we're done and no one answered */If (oncall_numbers_iter.hasNext())  True    /* Store a reference to the current oncall number */    Set oncall_number = oncall_number_iter.next()    Make a Call:    /* You'll need a valid CCG and CMG here in order to play media and capture DTMF */    oncall_contact = Place Call (to oncall_number)      Successful        /* We were able to successfully call the oncall number and get an answer, let's ask for an ack */        /* Set retires to 0, timeout to 5, and only enable option all keys for the ACK */        Menu (oncall_contact, ack)          Any Key - ACK            /* If the call disconnects end the script, we're all done */            On Exception (ContactInactiveException) Goto End of Script            /* We have an ACK, play the message to this person and loop it indefinitely */            Play Recording:            Play Prompt (oncall_contact, recording + DP[1000])            Goto Play Recording          Timeout            /* No ACK */          Unsuccessful            /* Wrong DTMF Key, how? */        NoAnswer          /* No answer in the timeout period, try again */        Busy          /* Cell was busy, try again */        Invalid          /* Oncall cell typed wrong, or no pattern in CUCM to match, no sense in trying again */          Goto Get Next Cell Number        NoResource          /* System is too busy to process this call, delay 10 seconds and try again */          Delay 10 sec        Unsuccessful          /* General UCCX failure, just give up */          Goto End of Script      Check for Call Back:      /* Do we still have a retry left for this number? */      If (++oncall_retries <= oncall_retry_limit)        True          /* Yes we do, retry the number */          Goto Make a Call        False          /* No we don't, go to the next number */          Goto Get Next Cell Number  False    Goto End of ScriptEnd of Script:End
Note that I use the cascading feature of the script to avoid some extra steps.  I.e., When the Menu times out on the ACK, it falls to the Cechk for Call Back label.
Again, this is puedo code to get you started.  It's not meant to be plug and play.  You'll need to test and tweak it.  I'll watch the thread if you have any questions or hang ups.  No pun intended.
EDIT: Code formatting because there was an issue with the rich text editor
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.

Similar Messages

  • Is there a way to receive phone notifications such...

    Hello Everyone,
    To Start
    I have a Lumia 800, Latest Updates all installed.
    I am running windows 8, completely up to date 64 bit.
    I am running the latest version of zune.
    My question to the community is:
    Is there a way to receive phone notifications such as texts, missed calls and so forth to my computer (like in pc suite with all other nokia phones that aren't windows) with the ability to reply to them on screen as well? I sit at a desk for the majority of my day and tend to start my day my charging my phone in my desktop, i then proceeded to play very loud music and zone into my work, often forgetting about my phone until lunch and when its the end of my day. this was a service i have lived without for around 8 months now thinking “i’ll just forget about it in a week or so and it will all be in the past” well i haven't forgotten and i still miss that functionality. If anyone knows of a way to achieve what i would like ( however complex, i am pretty tech savvy) to do it would be of great help!
    Thanks
    Solved!
    Go to Solution.

    There is no way to implement this under the Windows ecosystem unfortunately.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Why my phone notification is no working

    why my phone notification is no working!!!!!!!!!!!!!!!!!!!!!!!!!!!

    wow, with all the data that you provided for people to help you, I'm surprised you haven't received an answer to your problem.

  • Install-Package : Unable to find package 'Phone.Notifications.BasePage.'.

    Hi,
    I was trying to implement Push Notification.I was trying based on this Link (http://www.wadewegner.com/2011/11/adding-push-notification-support-to-your-windows-phone-application/)in VisualStudio Express 2012 for windows phone.
    When I was installing Package 'Phone.Notifications.BasePage'.
    Following error was raising.How can i overcome this.
    And also can anybody please tell me can I add Windows Azure Project.(ASP.Net MVC3 Webrole)to my exiting solution.Which Azure Package wil be supported in VS Express 2012 for windows phone.
    Based on this link(https://msdn.microsoft.com/en-us/library/azure/ff683673.aspx) I am thinking WindowsAzurePackage will not be supported in VS Express 2012 for windows phone.I dont have any idea on this(Windows Azure Packages)PUShNotifications.I am Seeking
    for some help.
    ManyThanks in Advance...

    Hii...
    I have downloaded that sample and tried to run in my VS Express 2012 for windows phone.Only sendToastNotificationCS is opening.And when I tried to open SendToast I was getting following(below image).
    Does my IDE(VS Express 2012 for windows phone)not supporting it.What I have to do  to implement PushNotification in my IDE.Please suggest me..
    Thanks....
    Why not use Visual Studio Community 2013? It's free to use! http://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx
    Best Regards,
    Please remember to mark the replies as answers if they help

  • Windows Phone Notification Banner display too short

    So, searched and searched and didn't find anything with the basic keywords directly from the phone.  Amazing that this is not being asked and it being such a basic NEED.
    I get a TXT message.. any message, pick up the phone to see what is going on and the notification is GONE.  What is the time out period on this joke?  I have NO clue what notification that was.  No settings to increase the timeout value for
    my banner notifications.
    Can we please have someone fix this.. or put that simple option in the SETTINGS of notifications?  Might be a good idea to actually have all developers use a Windows Phone.

    For help using Windows Phone please post in the Windows Phone forums on
    http://answers.microsoft.com .
    The Developing for Windows Phone forum is for developers to discuss writing their own Windows Phone apps.
    Check out the action centre in Windows Phone 8.1. Swipe down from the top to see missed notifications.

  • Phone notifications not showing up on iPhone 5S

    For the Phone app, my notification alerts are not showing up on my iPhone 5S. I double checked all the settings - the alerts are set in the notification center, but the phone app does not behave according to my settings.  I only see a badge when someone calls, no the alert in the Notification Center. Anyone have any ideas for a fix? Thanks!

    Hello Veronica
    Go through and Reset All Settings, by going to Settings > General > Reset > Settings > General > Reset. By doing this, it does not erase any personal data and will just put all of your settings back to its default. If it does that and still having issues, then let me know and I will provide another troubleshooting option. 
    Reset iPhone settings                                                                                      
    http://help.apple.com/iphone/7/#/iph7a2a9399b
    Regards,
    -Norm G.

  • Phone notifications in my email

    How do I turn off these notifications?

    Try to go into your email settings or options for an option to turn off the notificaitons

  • Phone notifications on iPad

    My iPad Air suddenly started giving me "Missed Call" messages, and making a noise that I never heard it make before. I recently got an iPhone 6, and the iPad is on IOS 8. The iPad is not a phone. It only has wi-fi. Why would it give me phone related messages?

    I may have solved it. Facetime settings had a switch for using a nearby iPhone as a way to use Facetime on the cellular network. I turned that off, and then all of Facetime. I've never used it and doubt I ever will.

  • Support Line - Call Forward All through Hunt Pilot to cell phone

    I know I may be beating a dead horse, but I've found so much help in these forums that I figured I'd give it a shot.
    We have a Cisco Unified Communications Manager Business Edition and we are running into a configuration issue. What we would like to do is to create an emergency support line for our IT staff. The way we would like this to function is that a caller dials a number, CM accepts the call and dials out to our IT staff's cell phone numbers in a round-robin fashion. To avoid the caller getting dumped into the IT staff's voice mail on their cells, we would like the staff member to have to dial a number to accept the call. If there is no answer, the call rolls to the next cell number. If no one is available, the caller should be directed to Unity Connection to leave a message. Unity then will send out text and email messages to the support staff.
    I know that we can use Unity to perform an assisted transfer, which will require the user to press "1" to accept the call, and we are able to get Unity to send out the notifications (text and email) when a voice message is left. The issue is with Call Manager making the outbound calls to the cell phones.
    What we have attempted is to setup DNs that call forward all to the users cell numbers. These DNs have been added to a Line Group, which has a Hunt Pilot attached to it. Any time this pilot is called, we get a reorder. Using the DNA, we see that "no device is associated with the DN", which is under the DN for the first users cell forward. If we add that DN as a second line to that users IP Phone (7940), then the call into the Hunt Pilot rings that line on the IP phone, not the CFA to the cell phone.
    After weeks of digging around, it seems as though CFA in a Hunt is just not possible. My boss wants official word from Cisco about this, but TAC doesn't seem to want to help due to service contract issues (which blows my mind, as we have opened several cases in the past two months for configuration related issues). Our Business Edition came with Contact Center Xpress, although we do not have the resources available to install it. If CCX will carry out this task, that might be enough to push management into getting another server to support this, but without being able to play around with it, I don't know.
    If anyone has any suggestions on how to make this work, I would GREATLY appreciate the help!
    Thanks in advance,
    -Geoff

    Hi Geoff,
    Always interesting isn't it :)
    Call Forward settings on individual Hunt member phones are ignored when presented a call via the Hunt feature. Here is a clip;
    The concept of hunting differs from that of call forwarding. Hunting allows Cisco CallManager to extend a call to one or more lists of numbers, where each such list can specify a hunting order that is chosen from a fixed set of algorithms. When a call extends to a hunt party from these lists and the party fails to answer or is busy, hunting resumes with the next hunt party. (The next hunt party varies depending on the current hunt algorithm.) Hunting thus ignores the Call Forward No Answer (CFNA) or Call Forward Busy (CFB) settings for the attempted party. This also applies to CFWD ALL settings.
    From this doc;
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_administration_guide_chapter09186a00803edabe.html#wp107892
    So, any Forwarding settings have to be done on the Hunt Pilot itself. These Destination settings (on the Hunt Pilot) need to be configured to go to the Unity Voicemail Pilot # or perhaps this is where you Forward out to the Cell #;
    Hunt Forward Settings
    Forward Hunt No Answer - When the call that is distributed through the hunt list is not answered in a specific time, this field specifies how to forward the call.
    Destination This setting indicates the directory number to which calls are forwarded. (This can be the Directory Number of the Unity VM Pilot)
    Forward Hunt Busy - When the call that is distributed through the hunt list is busy in a specific time, this field specifies how to forward the call.
    Destination This setting indicates the directory number to which calls are forwarded. (This can be the Directory Number of the Unity VM Pilot)
    Maximum Hunt Timer - Enter a value (in seconds) that specifies the maximum time for hunting.(Used in conjunction with Forward Hunt Busy)
    Maybe you could leverage these Unity Connection configs to achieve your desired results. These will ensure that the Message is not left unattended;
    Cascading Message Notification
    Cascading message notification allows you to send notifications to a widening circle of recipients. Cisco Unity Connection continues to send notifications according to the devices you selected until the message has been saved or deleted by a recipient.
    For example, to create a cascade of message notifications for your Technical Support department,
    Chaining Message Notification
    Message notification can be set to "chain" to a series of notification devices if an attempt to send notification to the first selected device fails. The definition of failure to a notification device is based on the options you select for retrying a device that is not answered or is busy.
    http://www.cisco.com/en/US/docs/voice_ip_comm/connection/2x/user_mac/guide/2xcucmac040.html#wp1132107
    http://www.cisco.com/en/US/docs/voice_ip_comm/connection/2x/user_mac_cmbe/guide/6xcucmbemac040.html#wp1132107
    Hope this helps!
    Rob

  • Message notification in unity 5.0

    Hi,
    This is vikram.I need some help for configuration of message notification in Cisco unity 5.0.
    My observation is if I leave VM for a user and the message notification is set to repeat or restart it delivers message immidiately.
    1-Notification is enabled
    2-it is set to restart notification 15 and initial notification 15-in this scenario IP phone immidiately got notofication
    3-same with repeat notification with setting 15 min
    4- What is initial notification means?
    5-delay settings are set to 3-4 .
    Please assist me in understanding the behavier of this.
    Regards,
    Vikram

    Hi Vikram,
    The settings (under Subscriber Template/subscriber) are described below;
    Notification Options:
    Send Initial Notification After How Many Minutes
    Specify the delay from the time a message is received until the message notification triggers (if the message matches the criteria selected in the Notify Subscriber Of section). You can space notifications on different devices at regular intervals, such as 15 minutes, to achieve a cascading message notification effect.
    If the delay time takes the notification out to a time when the device schedule is no longer active, the notification does not take place.
    The range for the delay field is 0 to 120 minutes. The default is 0 minutes.
    If Device Does Not Answer
    (not available for text pager or Cisco Unity Inbox notifications)
    Indicate settings for the following:
    •Wait for How Many Rings Before Hanging Up—Set to a minimum of 3 rings. Choose a higher number to give a subscriber more time to get to the phone.
    •Try Again How Many Times—Choose a higher number to reach a subscriber who steps away from the phone briefly. Choose a lower number to avoid disturbing others.
    •How Many Minutes to Wait Between Tries—Choose a higher number to reach a subscriber who is away from the phone for long periods of time.
    http://72.163.4.161/en/US/docs/voice_ip_comm/unity/401/administration/guide/ex/SAG_0140.html#wpxref64565
    Cheers!
    Rob
    Please support CSC Helps Haiti
    https://supportforums.cisco.com/docs/DOC-8895
    https://supportforums.cisco.com/docs/DOC-8727

  • Gmail and calendar..  sync vs on demand viewing..  calendar notification

    I just picked up an iPhone 3G. I never used one before, and I'm definitely impressed.
    One of the first things I tried, that was the new google mobile search app, and the sweet gmail and calendar access. http://www.google.com/mobile/apple/
    I'm trying to decide if I should also setup my gmail and calendar to sync to the iphone mail and calendar apps... if that really adds much value.
    The first issue that comes to mind is setting up calendar / appointment reminders. I chose the 200 text message 5 dollar SMS plan, so I'm thinking it would be a bad idea to have google's calendar texting my phone for each event reminder. Would be incredible if those notification found there way to the phone via the sweet 3G or edge or wifi data access... I remember apple saying they setup this incredible service to enable 3rd party apps to present that type of data without having background programs running, so I'm hoping google's calendar will be able to notify my iphone without the text messaging scheme soon.
    anybody know if my notification wish is something anticipated? on the way? or am I being a bonehead, and I should be setting up some sort of synchronization to the apple calendar app?
    the last bullet item here http://www.google.com/mobile/apple/calendar/
    suggests it's already doable, but I'm guessing it's really only the text message scheme right now, and has to be "controlled" when logged in looking at the "non-mobile" version of the page.
    http://www.google.com/mobile/apple/calendar/
    # Set up mobile phone notifications.
    As for gmail, I have the same curiosity...sure I could sync via IMAP to the local mail app, but again, google's web based gmail interface seems to have it beat right now.. landscape larger keyboard view and all sorts of other goodies I'm sure.
    and wouldn't all that IMAP syncing and pushing be more battery intensive than just using google's mobile interface through safari to view the my calendar and mail on demand?
    Definitely need those notifications delivered though (possible google? I hope I hope?)

    No, You can 'integrate' them with your phone if you want.
    Here's the choice, do you want to use iCloud for your Contacts and Calendars (on your phone as well as everything else) instead of Gmail, yes or no
    If yes then download a copy of SmoothSync for Contacts and Smooth Sync for Calendars from the 'Play' Store and setup your iCloud account on your Android phone.

  • How do I prevent calendar from sending email notifications for calendar events?

    Right now I have my google calendar synced with iCloud.  This is great for me to add things either on my Mac, through the web on iCloud or Google Calendar, or my iphone.  The problem is that I am getting notifications through email that I do not want.  These are not google notifcations but those sent out through my MacBook Pro calendar/mail applications.  How can I stop this from happening?  I want to keep the phone notifications because that's what I need.  The emails just take more of my time up since I need to delete them. 

    Figured it out - in System Prefernces, under "Users & Groups", you can remove individual "Login Items"

  • I can't get notifications.

    So there seems to be a problem with my phone, or with Skype. I can't get any notifications, or even calls when I'm not in Skype. Yes I have those settings turned on in the Skype options, but there are no options in my phones notification menu. Please help, I really love this app and I don't want to have to turn to a crappy app to do what I need.

    hi all,
    my notifications app crashed('not valid' as system say), the system will ask me if i want to delete it, if i click 'yes' , it is an 'action not authorised'(system app).
    And if i use Facebook app to install the push notification (maybe the crashed app will repaired) a error occurred like @sholarh ... after that, i can't find the notifications app .
    i think that the solution is to reinstall the notifications app. But where?
    is there any way to do that?
    i use Nokia asha 205 dual sim .

  • LED notification stops by screen lock time out

    I found some problem about LED notification. It stops by screen lock time out. My test procedure :- - Screen off by push the top button - Send test e-mail from laptop to my Q10, LED notification will flashing while now is black screen - Call in by another phone then screen will shown at the wall paper - Then after "screen lock time out", screen become dark and now LED flashing will stop So, I can not know the e-mail come in if I leave my phone for a while. Please help

    I don't have a PIN lock set up, but still LED notifications for missed calls don't work on my Pre (GSM, o2 Germany), not even after waking up the screen. At least if I only have one missed call. Strangely enough, as soon as I have a second missed call, the LED starts to blink.
    My guess is it has to do with the way the phone notifies about missed calls. With only one missed call I don't see a normal notification at the bottom of the screen, but a question dialog with two buttons "call back" and "close". Maybe the phone doesn't treat this as a real notification which would trigger the LED.
    As soon as a second call comes in and is not answered, the first missed call notification becomes a real one-line notification at the bottom and the second call gets this question dialog, so maybe this is what triggers the LED notification. But I'm just guessing.
    Anyway, this is really annoying. I can't understand why things like these are not found and fixed during testing of the update, this is pretty basic stuff, not any extraordinary user behavior.

  • Mail notification sticks at "loading" after 8.2

    When I get an incoming email the on screen notification sticks at loading..and stays there...I can access the message if I open it but very annoying..anyone else/fix?

    Not directly, unfortunately. Some posts on the Pebble reddit (where others are experiencing the same problems) suggest that it's an 8.2 bug since downgrading to 8.1.3 fixes the issue and the 8.3 beta is working fine as well. Since I'm receiving text and phone notifications, I solved my mail notification issue by switching to the Gmail app until either the bug (if that's what it is) is fixed or 8.3 comes out.

Maybe you are looking for