Script hangs on menu step

I've got a rather large script, but having trouble with one new section.  We calculate the expected wait time, create a variable for a prompt to play a specific announcement, and offer voicemail (press 1).  If they don't press 1, back on hold, wait X seconds, repeat, etc.
It loops through just fine about 30 times, but then it hangs on the Menu step.  No prompts, no hold music.  Doing a debug, you see it just stop on the Menu object.  No errors show up in the debug output.
We shouldn't be hitting the global max steps (it would terminate in that case right?).  Is there some other counter that could be hanging?
UCCX 8.0(2) SU2.
Thanks for looking...
Tom

We found the problem.  We tried changing the max steps to 2000, and it exhibited the same behavior at the same point.  It would loop through a few times, but always stop at this Menu step (even through it had previously looped through fine).
So in testing I re-created another UCCX Application, same script.  I couldn't reproduce the problem on this application, but I could on my original.  So I started to focus on the trigger.  Turns out my production trigger had
Override Media Termination = YES.  That worked fine for all our other applications.  But for this particular one it was causing a problem.  Setting Override Media Termination = NO fixes the problem. 
I opened a TAC case and they confirmed the expected behavior should be the same either way.  So this may be a defect.  But because we're running an old version they didn't want to investigate a defect without upgrading first -- which is on our radar but not right now.  So the workaround is fine. 

Similar Messages

  • Startsap script hangs

    Hi,
    We have deployed EP6.0 (NW04) SP12 on AIX running on oracle database.
    The Portal server is in implementation phase and is running fine without any issues from past 2 months.
    Now when we try stoping the portals or starting the portals with stopsap or startsap scripts.
    It hangs on the step "Checking <dbsid> database" and doesnt do anything.
    we tried debugging the startsap and stopsap script to find out where actually it is hanging.
    There is a function in the scripts called "set_jdb_running" it hanging there. If i am commenting the function in the script its starting SCS and J2EE instance.
    Please clues on this.
    Thanks
    Junaid.

    Just to check - are you logged on as sidadm, as all the relevant variables such as where the database is are set up for this user.
    Paul

  • Using Menu step in place call step - UCCX

    Hi,
    I have a script that is checking the agent state, if the agent state is ready the script will parse an XML document and it will take the phone number of a contact, after that I use a place call step to call that phone number, I play a prompt for the called contact and after that I send that contact to a select resource step, so he can talk to the UCCX agent.
    Now I want in the place call step to add a Menu step to give the called contact the oportunity to press 1 if he want to speak to the agent or if he wants just to end the call after listening to the prompt that I'm already playing for them. Is that possible? does the DTMF should be detected in such situation?...I tried to enable the media termination support, but with no luck.
    Thank you,
    Gabriel S.

    Hi Aaron/Jonathan,
    Thank you so much for the reply, yes I check all the parameters in the Place Call step and the call is place with no problem. Also I use the created contact instead of the triggering contact in the menu step, actually I do hear the prompt of the menu option. I was making some troubleshooting and I grab the select resource into the timeout branch of the menu step, so I though.. if the DTMF wasn't being detected, maybe in the timeout branch the select resource could work, but it didn't. Also I delete the menu option and put the select resource step in the succesful branch of the Place call and there works fine. So I am wondering if all this steps working together will work, Check my screenshot so you can see how my script looks like.
    I will continue making some tests.

  • IPad 2 to iMac sync hanging up on step 3, corrupted app

    I have tried several times to sync my iPad 2 to my iMac OS X, 10.7.5, but in all instances, it hangs up at step 3.  I have totally shut down and restarted both devices. 
    Based upon similar questions in the community, I suspect (but obviously am not certain) the issue is related to an app I attempted to download last night.  The app, Chimani Yosemite, I believe is quite large, and it did not function once installed on my iPad.  Troubleshooting on the Chimani website revealed the following remedy:  "On poor/weak WiFi or Internet connections, the database for the app can get corrupted during download. To resolve the problem, delete the app from your device and from iTunes on your computer. Then go to the App Store and re-install it."  I deleted the icon for the corrupted app from my iPad and then attempted to delete the app from iTunes on my iMac as instructed.  However, the app is not on my iMac because I have not synced the devices.  (I do not sync automatically.)  Therefore, I attempted to sync to get the app on my iMac so I could delete it, but the sync would not complete.  When I go to the App Store, it shows I already own the app in the cloud, but when I reinstall on my iPad, I am only reinstalling the corrupted app that does not work.
    Assuming the corrupted app is the reason my devices won't sync, how can I remove the app so that I can sync?  If the app is not the issue, then what do I need to do to resolve this issue?
    I appreciate any help you can provide!

    You would need to backup your data to iTunes or iCloud and then restore from backup on the iPad 3. Content should reside on your computer or you can reload apps from the cloud. I don't believe you can just restore one app
    http://support.apple.com/kb/HT1766?viewlocale=en_US&locale=en_US

  • I was recently prompted to update iPhoto and make changes to the library.  I did it but it keeps hanging up in step 5 or 6 and won't complete the cycle.  I have used force quit, rebooted and started again several times.  How do i get this to work?

    I was recently prompted to update iPhoto and make changes to the library.  I did it but it keeps hanging up in step 5 or 6 and won't complete the cycle.  I have used force quit, rebooted and started again several times.  How do i get this to work?

    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    If that fails:
    Restore from your back up, repair the Library and try again.

  • How to add a keyboard shortcut to the Scripts... menu in Photoshop CC 2014? [was: Mune Bar Shortcut]

    Is it possible to add a shortcut to the Scripts... menu item in Photoshop CC 2014
    OSX10.9

    Do you mean add a keyboard shortcut to one of the scripts listed under File>Scripts?
    Look at Edit>Keyboard Shortcuts in photoshop.
    http://helpx.adobe.com/photoshop/using/customizing-keyboard-shortcuts.html

  • When trying to update my reader, it hangs up during step 2 & I get a message that a virus was detect

    when I try to update my reader it hangs up during step 2 & says a virus was detected & download aborted

    1st time was when a news letter suggested my PDF Downloads of there letter probably were not working because of outdated programs & they linked Adobe for an update download. WHen the problem I 1st described happen, I then went to Adobe Site & tried it and it happened again.

  • Menu Step - "ABCD" ?

    So how exactly does "ABCD" get to be an acceptable input for a Menu step (Filter tab)?  I've been all over Cisco's site trying to find out more details on this step that might explain what they mean, but no luck.
    Secondly, i'm looking for ways to have more than 10 menu items (without using * and #), how would i set options 11, 12?
    ...these are the kinds of things i think of before i've had my coffee in the morning....

    Well for starters, i completely agree with you, the menu should not contain more than a few options...but the 8th layer of the 7 layer OSI model does not allow me to choose something else.  : /  Bascially this menu is a listing of departments for the organization.
    I know it's possible to have more than 10 options in IVR menus, just not sure how to do it in UCCX.  Listened to a menu once that was 27 options, hah!  I think i fell asleep around 18 or so...
    I'm stuck on how to differentiate option 1 from option 10 -19.
    Oh, and what the heck is "ABCD" for?  my phone doesn't have separate buttons for ABCD, maybe i need that hexidecimal phone

  • Powershell WUA script hangs on calling Update() and Install()

    I am trying to write a script that will use the WUA API to install certain updates. I have written many Powershell scripts, but this is my first time using COM objects, or interacting with the WUA API. I have used the code from this article:
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa387102(v=vs.85).aspx I added in my own code to filter the available updates to a list of updates that I want to install. Everything is working fine, except the script hangs after the calls to both
    Download() and Install().
    When I call Download(), the updates are successfully downloaded, but the script will not continue on. The cursor just sits there blinking. If I monitor WindowsUpdate.log, waiting until the updates are finished downloading, return to the Powershell window,
    and press the <Enter> key, the script continues on. The same happens with my call to Install().
    Here are the sections of code at issue:
    'Downloading updates...'
    $downloader = $UpdateSession.CreateUpdateDownloader()
    $downloader.Updates = $updatesToDownload
    $downloader.Download()
    "Done"
    ----------snip------------
    "Installing Updates..."
    $Installer = $UpdateSession.CreateUpdateInstaller()
    $Installer.Updates = $updatesToInstall
    $results = $Installer.Install()
    "Done"
    In neither case is the word "Done" displayed until after I hit <Enter>. The rest of the code is just as it is on the MSDN page linked above (the Powershell version). Why is this happening?

    I think I have found the solution to my problem.
    I changed this line:
    $downloader.Download()
    to this:
    $dresult = $downloader.Download()
    Now the script runs. Apparently, if I try to ignore the return value of that function it clobbers something. I am used to just ignoring return values when I don't want them. (I know that ignoring return values is not a good practice, but this script is not
    intended to be robust. It will only be used occasionally, and only by me.)
    Thank you for the link, jrv. It got me going in the right direction.

  • Script hangs when reading output of command inside vbscript

    Following code hangs  after the line "4 Go" but only on windows 2003.
    Set objShell = CreateObject("WScript.Shell")
    wscript.echo "2 Go"
    backupstate = "wmic PATH WIN32_SERVICE where (name='vss') GET state"
    wscript.echo "3 Go"
    Set objExecObject = objShell.Exec(backupstate)
    wscript.echo "4 Go"
    With objExecObject
    Do While .Status=0
    Wscript.Sleep 10
    Do While Not .StdOut.AtEndOfStream
    strText = .StdOut.ReadLine()
    If Not .StdErr.AtEndOfStream Then
    .StdErr.ReadLine
    End If
    Loop
    Loop
    End With
    Same code works perfectly fine on Windows 2008 and above.
    Any suggestion?
    -KAKA-

    Your script hangs (or more precisely: it keeps looping) because the Exec method of of the Shell object is notoriously unreliable when it comes to detecting the status of the executable it invokes. You can easily find out by placing the line
    wscript.echo "Status=" & objExecObject.status
    inside your loop. This only works properly if you run the script with cscript.exe.
    As Frederik says. :)
    To explicitly answer why that MSKB article suggests continually emptying the error buffer, it's because doing so is better than
    not doing so.
    Another workaround I use in preference to embedding the console tool within a WSH script is to factor out the tool so I don't have to manipulate it internally; instead I pipe the output in to the script.
    For example, suppose your script is named ProcessWmicOutput.vbs. within the script you would do something like this:
    data = WScript.Stdin.ReadAll
    to get all the data from wmic into a variable named data . Alternatively, you would do something like this, line by line (I'm making the script just relay StdOut from wmic):
    Do While Not WScript.StdIn.AtEndOfStream
    WScript.StdOut.WriteLine WScript.StdIn.ReadLine()
    Loop
    To run the script, getting wmic data, you would do this at a command prompt:
    wmic PATH WIN32_SERVICE where (name='vss') GET state | cscript ProcessWmicOutput.vbs

  • Report script hanging

    Hi Gurus,
    The issue is I created two report scripts one using Query designer and the other manually.
    I'm creating a report script to export current period data against ASO.
    I know the optimization basics against BSO.
    Placing last dim fisrt and all!!
    coming to the ASO......
    my Report script is hanging at the time of validation itself!!!
    it is showing when there are some errors in the report script.
    I don't see any thing but EAS hanging when i thought that they were no errors.
    the idea is to export the level0 data and relaod with #mi values to load new set of data for the current period.
    What are the steps to follow to optimize it in ASO.
    I know we need to increase agg chache, retrieval buffer, sort retrieval..!!
    what next!!
    I know we can also use slices to get rid of previous data (deleting old slice) and creating new one.
    but currently we are implementing this way!!
    suggestions please....
    Thanks,
    Jeeth
    Edited by: Jithendra on Mar 15, 2011 10:59 AM

    Hi Robb,
    I'm in ASO!! so calculations are not possible.
    here is one more question!!! may be I need to post it seperately. (but I don't want my questions unanswered :) )!!
    I tried to do level 0 export from ASO and it failed telling that the member combinations exceeded 2^64 (this is part of our cube!! want it in column format).
    As per my knowledge, the option I have are.
    1. chop the report script in to smaller report scripts and run it (may be I need to chop like 100 to 1000 times not sure!!)
    2. will MDX query effectively handles the situation (worth trying it)??
    3. is the CDF export meant for ASO?
    4. StarAnalytics (is this the better option) ??
    Pls suggest!!
    I will now start writing MDX!!....will all let you know!!
    BTW the hanging is because ...I forgot to use logical operator after LINK function... after fixing that the report got validated.
    Thanks,
    Jeeth
    Edited by: Jithendra on Mar 17, 2011 11:20 PM
    Edited by: Jithendra on Mar 18, 2011 11:16 AM

  • Apple script hang up

    When i run an applescript it does it's job (runs a shell script) but then hangs up and i have to force quit it. Is there a shell script or apple script i could run to tell it to force quit without knowing the number of the running process? This is as i would like to not have to find out the process id number each time i run the script as it changes each time...
    thanks - 7;^')

    There are two elements here.
    First, AppleScript is, indeed, waiting for the process to finish before ending itself, so the first step would be to have AppleScript not wait for the process to end and return control immediately.
    In order to do that you need to add some addition elements to the shell command, specifically " > /dev/null 2>&1' before the trailing &, like:
    <pre class=command>do shell script "/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.a pp/Contents/MacOS/ScreenSaverEngine -background >/dev/null 2>&1 &"</pre>
    These additional elements suppress the output of the command (which you don't care about anyway) and allows AppleScript to continue while the shell command continues to execute in the background.
    For the kill element there is an additional part, echo $!, you can use that returns the PID of the command just executed. You can store this and use it later to kill the process.
    This example launches the screensaver for one minute, then kills it.
    set myPID to do shell script "/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.a pp/Contents/MacOS/ScreenSaverEngine -background &> /dev/null & echo $!"
    delay 60
    do shell script "kill " & myPID
    You could also use killall, but since this kills processes by name, not PID, you run the risk of killing other processes at the same time.

  • Script hangs in rlogin session but works works find from console

    Hi Every one,
    I got a strange situation here. I got a script which disable, enable some database activities and lot more in Solaris 7. Every step it done on this script has some out put such as "enabled successfully" or disable succussfull and etc.
    recently i tried to run this script from rlogin and it hanged. Once I logged in via console then it finished successfully with out any issues. I never had a chance to check this again.
    Any idea for this behaviour?

    I just had a thought about this. I tried replicating data from my Test 5.2 server that is failing, to my sandbox 11g server that is successfully receiving replication from my sandbox 5.2 server.
    This fails with the same error message, so I believe my config error is on 5.2, but I still have no idea where.

  • Call Redirect within Menu Step

    I've got a Call Redirect step under option 1 of a Menu.  When placed outside of the menu, it works fine.  When I move it under keypress 1 of the Menu, the 1 is sent along with the redirect.  This results in CXN getting extra dtmf.  I've worked around this by ignoring that keypress in that specific mailbox's caller input, but it'd be nice to understand this going forward.  I thought this is what the flush input buffer setting would do, but it doesn't seem to have any effect and CXN is getting the additional 1 either way.
    thanks,
    will

    I moved the redirect outside of the menu which is fine since it's referenced from other points in the script.  7000 is a vm pilot.  5855 is a mailbox.  The CXN vm port status shows the 1 DTMF being passed.  I just changed the menu prompt to 2 just to confirm that I was seeing 2 getting passed to CXN to validate my assumption that it was the menu keypress digit being passed, but not seeing anything strange on the vm port status.  Then I changed the menu to use 1 again, saved, updated, and made another test call and the vm port status didn't show anything strange any longer.
    I'm coming out of a hazy late night/early morning troubleshooting experience, and I'll just consider it resolved.  I'm confident that what I saw is what I saw but with the issue cleared up I can't provide a screenshot or copy/paste from the port status monitor output or any logs.

  • Root.sh script hangs while starting ohasd on OEL

    Hi
    I have installed 11g Oracle grid infrastructure on OEL R5 U6
    I am having an issue when it comes to running the root.sh script
    The script runs fine until it gets to the part where it tries to start ohasd
    Adding daemon to inittab
    CRS-4123: Oracle High Availability Services has been started
    ohasd is startingOnce it reaches this point it hangs. It's been at this part of the root.sh script now for over an hour. I cannot move the mouse or create new ssh sessions. It has completely hung the machine.
    I have ensured that that hosts file has no entries for the host name
    And there does not seem to be any errors in the logs
    Any Ideas on where I can start looking to fix this issue?
    Thanks
    G.
    Edited by: Grahambo on Aug 18, 2011 9:35 AM
    Edited by: Grahambo on Aug 18, 2011 9:35 AM

    Here is the last entries in the Log:
    /oracle/app/11.2.0/grid/log/server004n0/ohasd/ohasd.log
    2011-08-18 17:02:28.116: [  CRSOCR][1916807488] Multi Write Batch processing...
    2011-08-18 17:02:28.404: [UiServer][1929414976] Container [ Name: ORDER
            MESSAGE:
            TextMessage[CRS-2676: Start of 'ora.diskmon' on 'server004n0' succeeded]
            MSGTYPE:
            TextMessage[3]
            OBJID:
            TextMessage[ora.cssd]
            WAIT:
            TextMessage[0]
    2011-08-18 17:02:35.986: [  CRSOCR][1916807488] Multi Write Batch done.
    2011-08-18 17:02:44.397: [  CRSCCL][1870641472]Obtained GPnP Profile.
    2011-08-18 17:02:44.699: [  CRSCCL][1870641472]USING CLSC ============
    2011-08-18 17:02:52.779: [ default][1870641472]clsu_get_private_ip_addr: Calling clsu_get_private_ip_addresses to get first private ip
    2011-08-18 17:02:52.779: [ default][1870641472]Check namebufs
    2011-08-18 17:02:52.780: [ default][1870641472]Finished checking namebufs
    2011-08-18 17:02:52.782: [    GPnP][1870641472]clsgpnp_Init: [at clsgpnp0.c:404] gpnp tracelevel 3, component tracelevel 0
    2011-08-18 17:02:52.782: [    GPnP][1870641472]clsgpnp_Init: [at clsgpnp0.c:534] '/oracle/app/11.2.0/grid' in effect as GPnP home base.
    2011-08-18 17:02:54.744: [    GPnP][1870641472]clsgpnp_InitCKProviders: [at clsgpnp0.c:3866] Init gpnp local security key providers (2) fatal if both fail
    2011-08-18 17:02:54.744: [    GPnP][1870641472]clsgpnp_InitCKProviders: [at clsgpnp0.c:3869] Init gpnp local security key proveders 1 of 2: file wallet (LSKP-FSW)
    2011-08-18 17:02:54.744: [    GPnP][1870641472]clsgpnpkwf_initwfloc: [at clsgpnpkwf.c:398] Using FS Wallet Location : /oracle/app/11.2.0/grid/gpnp/server004n0/wallets/peer/
    2011-08-18 17:02:54.744: [    GPnP][1870641472]clsgpnp_InitCKProviders: [at clsgpnp0.c:3891] Init gpnp local security key provider 1 of 2: file wallet (LSKP-FSW) OK
    2011-08-18 17:02:54.744: [    GPnP][1870641472]clsgpnp_InitCKProviders: [at clsgpnp0.c:3897] Init gpnp local security key proveders 2 of 2: OLR wallet (LSKP-CLSW-OLR)
    [   CLWAL][1870641472]clsw_Initialize: OLR initlevel [70000]
    2011-08-18 17:02:54.745: [    GPnP][1870641472]clsgpnp_InitCKProviders: [at clsgpnp0.c:3919] Init gpnp local security key provider 2 of 2: OLR wallet (LSKP-CLSW-OLR) OK
    2011-08-18 17:02:54.745: [    GPnP][1870641472]clsgpnp_getCK: [at clsgpnp0.c:1950] <Get gpnp security keys (wallet) for id:1,typ;7. (2 providers - fatal if all fail)
    2011-08-18 17:02:54.745: [    GPnP][1870641472]clsgpnpkwf_getWalletPath: [at clsgpnpkwf.c:498] req_id=1 ck_prov_id=1 wallet path: /oracle/app/11.2.0/grid/gpnp/server004n0/wallets/peer/
    2011-08-18 17:02:54.758: [    GPnP][1870641472]clsgpnpwu_walletfopen: [at clsgpnpwu.c:494] Opened SSO wallet: '/oracle/app/11.2.0/grid/gpnp/server004n0/wallets/peer/cwallet.sso'
    2011-08-18 17:02:54.758: [    GPnP][1870641472]clsgpnp_getCK: [at clsgpnp0.c:1965] Result: (0) CLSGPNP_OK. Get gpnp wallet - provider 1 of 2 (LSKP-FSW(1))
    2011-08-18 17:02:54.758: [    GPnP][1870641472]clsgpnp_getCK: [at clsgpnp0.c:1982] Got gpnp security keys (wallet).>
    2011-08-18 17:02:54.763: [    GPnP][1870641472]clsgpnp_getCK: [at clsgpnp0.c:1950] <Get gpnp security keys (wallet) for id:1,typ;4. (2 providers - fatal if all fail)
    2011-08-18 17:02:54.763: [    GPnP][1870641472]clsgpnpkwf_getWalletPath: [at clsgpnpkwf.c:498] req_id=1 ck_prov_id=1 wallet path: /oracle/app/11.2.0/grid/gpnp/server004n0/wallets/peer/
    2011-08-18 17:02:54.771: [    GPnP][1870641472]clsgpnpwu_walletfopen: [at clsgpnpwu.c:494] Opened SSO wallet: '/oracle/app/11.2.0/grid/gpnp/server004n0/wallets/peer/cwallet.sso'
    2011-08-18 17:02:54.771: [    GPnP][1870641472]clsgpnp_getCK: [at clsgpnp0.c:1965] Result: (0) CLSGPNP_OK. Get gpnp wallet - provider 1 of 2 (LSKP-FSW(1))
    2011-08-18 17:02:54.771: [    GPnP][1870641472]clsgpnp_getCK: [at clsgpnp0.c:1982] Got gpnp security keys (wallet).>
    2011-08-18 17:02:54.771: [    GPnP][1870641472]clsgpnp_Init: [at clsgpnp0.c:837] GPnP client pid=18394, tl=3, f=3Edited by: Grahambo on 18-Aug-2011 12:08

Maybe you are looking for