Send to VRU and Run Ext Script

Hi All;
I am adding a new vxml browsers and I need to send some calls (based on If statement) to those vxml browsers, so I added a Network VRU (with a new labels) and I added Network VRU script and at the ICM script, I placed if statement and based on it I am using Run Ext script which use the required Network VRU Script. But the problem I am facing it, that still the returned label for the CVP is the same label that is used with the original VXML browsers ! How I can resolve it.
I tried to set the default network vru (at the PG configuration) to be this new Network VRU, but still it is returning the original label that is used to send to the original VXML browsers.
How I can resolve this label issue and let the returned label to be 8333333333 instead of 8111111111 (ofcourse this in case the Run Ext Script was calling the new Network VRU Script, but if the Run Ext Script was the current Network VRU, then to return the label 8111111111)? How to do this
Kindly give a look for the pictures of the configuration and some logs that help.
Regards
Bilal

Hey Bilal,
Ok, it's actually quite difficult to single out a gateway or a couple of gateways on a per-call basis 'the right way'. Once you add a gateway to your Gatekeeper, SIP Proxy or Static Routes setup, you'll have a round robin mechanism that's pretty much not changeable on a per-call basis.
If it's just to test these gateways for a limited period of time, try this :
Open Configuration Manager - ICM Instance Explorer;
For your Instance you should have one Customer Definition with the same name, add a second Customer Definition, i.e. 'Test';
Now go to the Next VRU Explorer, add a new Type 10 VRU, and give it a (slightly) different label from the normal one, define the Customer as 'Test';
Go back to the Customer Definition and assign your new VRU to that Customer Definition;
Create a new test Dialed Number for your existing Routing Client and be sure to pick your 'Test' customer, continue to create a Call Type, Script and Network VRU Scripts as you always would;
Route the new Label only to your new gateways.
You would remove all of this configuration and make the new gateways use the same labels as the others once you are ready to put this in production, But it will at least allow you to route some calls through them.
Note: you may be able to do all the same things but using your existing Network VRU, just adding a new label to it for your newly defined Customer Definition. I'm not sure if ICM will pay attention to the Customer when picking a label for a Network VRU.
Cheers,
Kris

Similar Messages

  • UCCE Record Agent Greeting Exaple Script Fails at first Run Ext Script Node

    I am deploying Agent Greeting and trying to get the recording piece completed. When the example script gets to the run ext script node it fails.

    I am running 9.0 for UCCE, CUCM, and CVP.....When I press the record button on CTIOS agent I get a 101707 error with somthing about the route. Then I do a script monitor I notice the flow stops at the first run ext script node
    I have attached the PG Logs
           Sorry about the vagueness in the first post just seeing if any knew of this issue with the example scripts.

  • OBIEE 11g write back to Essbase and run calc script feature

    Hi,
    I have a requirement to write back into Essbase Cube and run calc script from OBIEE dashboard.
    From what i have search on google, we must deploy additional Java Script into weblogic, but that is before OBIEE 11.1.1.6.
    I have 2 question:
    - Does OBIEE 11.1.1.6 already supported native write-back to Essbase and running calcscript?
    - Anyone has example of the custom java-script for write back and running calcscript?
    And another, if there are requirement like this, is it better to install Essbase Add-in on Microsoft Excel and do the what-if analysis there, then just display the report on OBIEE dashboard? (based on user-friendliness and the complexity on maintenance)
    Thanks in advance.

    Hi,
    Even I am trying to achieve the same thing as you have mentioned but think that it is not possible to achieve easily in obiee 11.1.1.6, though we do have a work around to perform a writeback in Essbase cube using JAPI as mentioned below.
    Also we can call Hyperion reports from OBIEE using Action Links and also pass parameters to the same but dont know if it runs calculation script.
    Below link could be useful for you for write back workaround.
    http://oraclebizint.wordpress.com/2009/05/25/oracle-bi-ee-10-1-3-4-1-writebacks-to-essbase-using-japi-and-custom-html-part-1/
    Let me know in case you have found out anything else related to same.
    Thanks,

  • Preload and run js script

    Hi
    Hope someone have A clue how to get there: We work on Edge and sometimes deals with Arabic and Hebrew projects. What we want is to run A script (javascript?) with the RTL direction tag. We thought to load the script thru the "script panel". Thanks for help

    Well could you add this to your composition?
    add a class to all your text fields and it should work.
    sym.$('textname').addClass('newDirection');
    sym.$('.newdirection').css({'direction':'rtl'});
    note that the class name has a dot before it.
    You can also add the class in the UI to your text fields.

  • Automator and "Run Shell Script" error

    First, if I'm in the wrong place with this- sorry. Figured this was an OS kind-of thing.
    I recently migrated to a new iMac ... I brought along an Automator script; I've been using it for years to perform a little rsync backup to an USB HDD. It's 'never' given me any problems ... until now!
    "*Run Shell Script*" encountered an error .. but alas, the system log is devoid of messages ... and the verbose log I have running indicates that all the files are copied/backed-up ... I would love any input on this that might help me get back on the feet. .....
    *Here's what my Shell Script Looks like:*
    Shell Option: /bin/bash
    Pass Input: to stdin
    rm -dfr '/Volumes/Backup HD/*********'
    rm -dfr '/Users/***********/Library/Logs/Profile_Backup.log'
    rsync -rltv /Users/******** '/Volumes/Backup HD/' > /Users/*******/Library/Logs/Profile_Backup.log
    (I'm sure there's way to only sync the changed stuff between backups ... but I've simply preferred the fresh copy approach).
    *I do however note this in my logs when I open Automator:*
    12/14/10 3:15:46 PM [0x0-0x42042].com.apple.automator.Backup[464] Application Stub: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.

    @Tony T1
    Thanks, I'll certainly adjust the log file as suggested
    In troubleshooting the problem I went the terminal route - and issued each command ... during the rsync process I was getting an error ... turns out when it was syncing the SyncServices folder it was encountering a copy of the keychain ... which had root permissions - naturally rsync was not able to copy the file (personally I have no idea why the keychain would be being sync'd with anything)!
    I removed the file from the sync ... I'm still doing some "debugging" to correct the problem-
    Again, thanks for the assist!

  • Loading and running consecutive scripts in LabVIEW

    Hello, 
    I'd like to start this by saying that I'm very new to LabVIEW so I apologize for any questions that should seem obvious. Also, when replying please remember I'm not as familiar as I would like to be with LabVIEW in general. I have recently had a problem put on my desk to add some functionality to a preexiting, fairly complex VI. The solution seems to be in scripting. However, loading a script longer than 55 lines gives an error (Is this normal? Is there a way around it?). The problem is pretty easy to break up into small parts, so the script has been broken up into multiple smaller parts that provide the same function when ran consecutively. After executing each script, the system will take some time to process (up to 300ms, IIRC) and will assert a ready bit when complete. Using that ready signal as a trigger, I would like to execute the next script.
    The scripts are being read correctly into the program using "niHSDIO Write Script.vi", and can be selected by hard-coding the 'script name' into "niHSDIO Configure Script To Generate.vi". It will successfully execute any of the scripts when hard-coded, but when trying to call the next script (script names stored in an array, and incremented with a while loop) an error is given:
    Error - 1074118651 occurred at niHSDIO Write
    Script.vi
    Possible reason(s):
    Driver Status: (Hex 0xBFFA4005) You cannot perform this
    action while the session is in the running state.
    At this point, I've read quite a bit online and in the documentation about trying to find a way to suspend, pause, etc. the state to allow another script to load, but I haven't been able to figure it out. 
    On the other hand, if there is a way to load a script of arbitary length, I believe that will resolve my problem as well. Please let me know what additional information may be needed to help solve this, as I'm sure I've left out all the good bits. 
    Thank you in advance, 
    Landon
    Edited for clarity. 

    Good morning Jonathan, 
    Thank you for your reply. I apologize for the delay in my response. Allow me to back up a little and give you some more information on the script. 
    The error is as follows: 
    Error - 1074116601 occurred at niHSDIO Write
    Script.vi
    Possible reason(s):
    Driver Status: (Hex 0xBFFA4807) Too many compiled
    instructions in loop. "Generate" and "Wait"
    instructions each result in at least one compiled
    instruction. Each marker adds an additional compiled
    instruction. Clear instruction does not result in a
    compiled instruction.
    If possible, reduce the number of generate instructions
    by concatenating the waveforms on two or more
    consecutive generate instructions.
    Line Number: 2
    Position in Line: 1
    Number of Instructions: 2048
    Maximum Number of Instructions: 55
    Status Code: -201016
    I have a waveform that is 524292 cycles long and I want to run 384 cycles, wait for an external trigger, run another 384 cycles beginning at a new position, wait for the same external trigger, and loop that 1024 times.  I thought scripting would work, but if there’s a better way please suggest it! I’m using a PXI-6551 with  64Mb/chan RAM in a PXIe 1062Q chassis with a PXIe-8370 controller cabled to a desktop Windows 7 box.
    As previously mentioned, the smaller scripts function correctly when split into sections of less than 55 lines. See below for an example functioning script. 
    Clear scriptTrigger0
    Generate mywfm subset(0,384)
    Wait until scriptTrigger0
    Clear scriptTrigger0
    Generate mywfm subset(512,384)
    Wait until scriptTrigger0
    Clear scriptTrigger0
    Generate mywfm subset(1024,384)
    Wait until scriptTrigger0
    Clear scriptTrigger0
    Generate mywfm subset(1536,384)
    Wait until scriptTrigger0
    Clear scriptTrigger0
    Generate mywfm subset(2048,384)
    Wait until scriptTrigger0
    Clear scriptTrigger0
    Generate mywfm subset(519168,384)
    Wait until scriptTrigger0
    Clear scriptTrigger0
    Generate mywfm subset(519680,384)
    However, when the full script (attached in text file) is entered, the error is generated. 
    Thank you again for your time. Please let me know any additional information you may need. 
    Landon 

  • Download shockwave and run as script

    i work in an organization where users have low privliges and
    they can't install shokwave, i can't install it manually because
    there is more than 100 users.
    the best solution is to run the installation as script.
    where can i download the newest version of shockwave?

    Can you tell me how I "run the installation as script?"
    You can download Shockwave 11 at:
    http://www.adobe.com/downloads/?ogn=EN_US-gntray_dl_downloads
    You'll see it in the upper right corner of the page.
    Good luck,
    Larry

  • Get input from user and create a file and run a script in command line.

    Hi all,
    i'm trying to get a input from user and write it into a file named alpe.jacl
    To get multiple userinputs like address and jobtitle etc etc in the same single window.
    and the code will save the inputs in alpe.jacl one by one in a new line like
    nameis name
    address russia
    jobtitle dev
    So i coded like below.
    Though GUI for user input looks dull Its working fine.
    Now I want this code to perform one more task which is the GUI will contain one more button INSTALL with OK and CALCEL .
    and when after putting all inputs and creating the alpe.jacl file if someone clicks INSTALL it should start ./install.sh script present at the same folder which contains some unix shell commands.
    Here am not able to figure out how to go further...
    One more thing after all the inputs given when I am clicking on the OK button its closing the window instantly which i dont want. I want it like it should wait till someone press CANCEL to exit.
    Please some one help me.
    import javax.swing.*;
    import java.io.*;
    public class file
    public static void main(String []args)throws IOException
    FileWriter ryt=new FileWriter("alpe.jacl");
    BufferedWriter out=new BufferedWriter(ryt);
    JTextField wsName = new JTextField();
    JTextField sName = new JTextField();
    JTextField cName = new JTextField();
    Object[] message = {    "Web Server Name:", wsName,"Server Name:", sName,"Cluster Name:", cName};
    int answer = JOptionPane.showConfirmDialog(    null, message, "Enter values", JOptionPane.OK_CANCEL_OPTION);
    if (answer == JOptionPane.OK_OPTION){    String webserver = wsName.getText();
    String server = sName.getText();
    String cluster = cName.getText();
    out.write("set webservername " +wsName.getText()+"\n");
    out.write("set ClusterName " +cName.getText()+"\n");
    out.write("set ServerName " +sName.getText()+"\n");
    out.close();
    }}Thanks,
    Ricky

    Thanks a lot.
    Is there any way through which i can assign a scroll bar to my panel.
    As when the number of user inputs grows the GUI becomes more bulky and some of the fields are not showing up.
    Cheers
    _Ricky                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to run a script A from a button "Button 1" ?

    Hi all, I've got this problem for having a window with several buttons named "Button 1" "Button 2"... and run the script "Script A" if we click on the button 1, the script "Script B" if we click on the button 2 etc...
    Here is my short script :
    #target indesign
    //make a table of contents which send directly to the right script
    var w=new Window("dialog");
    var buttongroup=w.add("group");
    var panel=buttongroup.add("panel");
    var button1=panel.add("button",undefined,"Script A");
    var button2=panel.add("button",undefined,"Script B");
    var button3=panel.add("button",undefined,"Script C");
    var cancel=buttongroup.add("button",undefined,"Cancel",{name:'cancel'});
    buttongroup.addEventListener('click',press)
    w.show();
    function press(e){
        if(e.target.type=="button"){
            if(e.target.text=="Script A"){
                //w.close();
                app.doScript(new File("c/scriptA.jsx"),ScriptLanguage.javascript);
            else if(e.target.text=="Script B"){
                app.doScript(new File("c/scriptB.jsx"),ScriptLanguage.javascript);
            else if(e.target.text=="Script C"){
                app.doScript(new File("c/scriptC.jsx"),ScriptLanguage.javascript);
    Each script A, B and C begins with an app.dialogs.add()
    And here is the problem, it tells me that an alert or a modal dialog is already active
    I tried the w.close() but it doesn't work...
    I don't think addEventListener is what I need, maybe I'm wrong for using a window but it's the only way to give names to the buttons, isn't it ?

    Now I get it... I work both on Mac and Windows but when I tried the 'palette' I forgot that I had only the version CS4 on Windows
    (and I launched the script from the ESTK instead of the script panel..mistake !!)
    Now it works great on the Mac, thank you Peter for the help and for the pdf scriptui

  • Can you open a file in PS & run a script from LR?

    So one of my commercial clients wants their product files in a variety of formats, including PNG with transparency. I'd love to be able to provide them with this from LR, but you can't export as a PNG. So I've written a script which takes the active document in PS, turns off the relevant layers, converts to sRGB, and saves as a PNG. Is there any way for me to invoke this script from LR, as I am opening the document? Ideally, I'd like to include it in the "Edit in" menu, as a menu item which would invoke PS and run the script. That way I could simply select the images, and get them processing while I do something else. Or do I have to open all the files and then run the script on all the open files?

    99jon (à Johannes de Vilder) il y a 2 mois
    Images are automatically saved back to the LR library but you need to follow a logical sequence for LR to render the export copy. You need to start the round trip from LR as follows and use the save command (Ctrl+S) not save as:
    1) Ctrl+E in the Library to export selected image with develop settings (I choose PSD but tiff is also available in the prefs)
    2) Edit in Photoshop; then Ctrl+S to replace (overwrite) Lightroom export copy
    3) Ctrl+W to close in Photoshop and update Lightroom thumbnail. The saved copy is usually stacked next to the original so don't worry about XMP.
    On Mac OSX Cmd+E; Cmd+S; Cmd+W

  • Running Shell scripts from the desktop

    Hi,
    I'm from the UNIX world rather than the mac one so have written a number of shell scripts. Lets call them foo.sh and bar.bash for the sake of argument.
    These are sitting in a folder on my desktop
    I can happily open a terminal session and run the scripts - and they work as I expect them to.
    If I open a Finder window and double click on the icons for the scripts what happens is that it opens TextEdit.
    Theres two things I'd like to change
    A. I'd like to change the behaviour so that the scripts run when I double clike them rather than opening an editor (possibly in a terminal window )
    B. I'd like to be able to change the editor from TextEdit to one I'm more used to...(I've installed Vim/Gvim which I quite like).
    A. - Haven't managed to get anywhere trying to solve this....
    B. - So far my attempts have got as far as...
    1...
    right-click -> open with -> Other -> select vim.app
    tick Always open as
    click open
    The file then opens in a vim window.
    however if I now close the vim application and double clike the file icon then the file opens in TextEdit again
    2...
    Right Click -> Get Info -> Open with VIM -> add -> Change all
    message appears
    'Are you sure you want to change all your Vimm.app documents to open with the application "vim.app"
    This change will apply to all Vim.app documents with extension ".sh" '
    click continue
    In the Info pane the 'Open with' selection widget immediately changes to say 'Open with: TextEdit.app'
    So I'm a bit stumped, can you help!
    Regards
    Mark
    Mac Mini   Mac OS X (10.4.3)  

    Thanks to both people who answered.
    You both gave me useful workarounds to my problem.
    Renaming the scripts to be 'foo.command' was very hepful and useful to know. I tried this and it does indeed work. I may use this in the future.
    I also had a play around with applescript and the automator to achieve similar results.
    I agree that double clicking to run the file and also edit it is mutually exlcusive - I'm sort of trying to work out how I could make it do 'either/or' as I choose. In the Windows world i'd have the option of setting 'open' to run the script (assuming I'd got cygwin installed and had assiciated it) OR 'Edit with vim' if I wanted to edit the file (assuming vim was installed!).
    Unresolved issue is that I'm still unable to get VIM to be associated with a .sh file.
    The way I would envisage it working in Mac world would be to be able to right click on foo.sh -> Open with... and have a list to select from immediately there like..
    Text Edit
    Vim
    Terminal (default)
    and be able to somehow add and remove apps from the list and change which is the default.
    My issue is that I don't seem to know how to get other apps than TextEdit to appear in the list - I suspect I need a better understanding of how these file/application associations work and are configured.
    Regards
    Mark

  • Run several scripts with one master script or an automator workflow?

    I have several scripts that I need to run all at once...
    Could I make a script that would run all the other scripts, then bundle everything into an application( or something similar) so all my scripts would run with just a double click...
    Any ideas?

    Yes, this is possible. Save your master script as either an application or a script bundle (whichever is most convenient). Then, save all of your subscripts inside the bundle.
    You can then load and run the scripts from your master script. The following code does that:
    set aScriptFile to load script file (path to me as string) & "Any additional subfolders" & "Script File Name.scpt"
    run aScriptFile
    Note that "path to me" will not work properly when the script is run from within script editor. It will, however, work when run from the script menu. See the following for a discussion of that:
    http://discussions.apple.com/message.jspa?messageID=2789538

  • Launchd - can it run a script when users log in OR switch?

    I'm hoping to find someone who knows all the gory details of launchd. Here's the why and what: I'm trying to coerce Aperture into letting two users on the same computer share the same Aperture Library, both able to import photos and see and use what the other has done. Initially it is no problem, change the permissions so everyone has read/write/execute, put the Library in a common area, and point both person's Aperture at it. The problem is that Aperture changes permissions of things inside the Library as you use it, and especially when one person imports, the other person can't see that stuff.
    So I want to run a script whenever someone logs in or becomes the active user by fast user switching; the script will simply change ownership and permissions of the library and everything in it to restore full access.
    After days of research and testing, I made a test launchd plist file (this is the configuration file or agent that launchd looks at and runs your script when criteria are met). It sits in /Library/LaunchAgents/, here it is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>org.jim.test</string>
    <key>LimitLoadToSessionType</key>
    <string>LoginWindow</string>
    <key>ProgramArguments</key>
    <array>
    <string>/Library/Scripts/testscript.sh</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>StandardErrorPath</key>
    <string>/Users/jim/Desktop/test.err</string>
    <key>StandardOutPath</key>
    <string>/Users/jim/Desktop/test.out</string>
    </dict>
    </plist>
    The actual test script is sitting in /Library/Scripts/:
    #!/bin/bash
    echo "org.jim.test.plist was run at `date`"
    So if the plist is loaded and the script run, the date and time are written in the test.out file on my desktop. This thing runs great when a user logs in. The problem is, it doesn't run when users switch by fast user switching. In reading the documentation, it was vague about this, whether that could be done; I thought it could.
    Can anyone help with a way to get the script to run when any user takes control by any means? As an added complication, which I'll worry about later, the script has to run as root because it's the only way to get the ownership and permissions changed.
    Thanks,
    Jim

    BobHarris is the MAN. ACLs seem to have worked. I put the Aperture Library in /Users/Shared/ApertureLibrary, restored the regular permissions as best I could (me as owner, staff as group, 755), pointed each person's Aperture to the library, then proceeded with the ACL magic. First I created a group for my wife and I, called 'aperture', in the Accounts preference pane. That was to simplify the ACLs (one entry instead of 2) and so that other users (son) aren't able to muck it up.
    It took one stinking Terminal command (note that 'aperture' at the beginning of the quote is the group, not the program, folder or library):
    chmod -R +a "aperture allow list,addfile,search,delete,add_subdirectory,delete_child,file_inherit,directoryinherit" ApertureLibrary.aplibrary
    I was unsure whether this list of permissions was necessary or sufficient, but it seems to have worked so far. Both users can access the library. I imported a different picture by each user, and the other user could then see and delete the picture imported by the other. This was not possible before.
    Bob, thanks for the great idea. After a little more testing I'll post a complete how-to in the latest "how do we share Aperture" thread, and give you due credit. The bad news is all the launchd fun is over
    Jim

  • Running Calc Scripts via Workspace

    Currently users are given 'admin' access to Essbase. That way when they are in Workspace they can see and run calc scripts on their apps. Is there a more proper way to give users the ability to run a calc on their apps without giving them 'admin' access?

    We have the calc scripts that run for data loads and other automated processes. Some of these calc's which are just AGG's and Calc Dim's I guess could be BR's too, but then we would have duplicates......
    Thats the sorry reason :)

  • Run a script after a package is updated?

    Is it possible to run a script after a package is updated? I have Anki use a custom config folder (~/.anki instead of the default ~/Anki) and every time Anki updates it reverts back to the default folder. It's not such a burden to make a script that fixes this and run it manually after every update, but it would be nice if it worked automatically. So is there any way to monitor what pacman updates and run a script after it updates a certain package?

    If you're modifying a config file to change this, and pacman is overwriting it, consider adding the config file to pacman's NoUpgrade array in pacman.conf (man pacman.conf for details). If you feel that lots of people would benefit from this file being exempt from the upgrade process, file a bug report/feature request, and the maintainer may make the change in the package itself.

Maybe you are looking for

  • Acrobat tab in Word 2013

    Where is the Acrobat tab in Word 2013?  I checked the Add-in category and it's not disabled.  How do I get it back?  I am using Acrobat XI Pro. 

  • I want to know who's using my Apple ID other then my device

    PPlease

  • Use of post quey

    what is the use of post query in oracle forms 6i. and what is the usen of record group except create lov . thanks

  • Document Clearing Rule

    Hi, All Experts. I want to what is clearing rule in FI ( OBIA & OBIB )? In mysystem OBIA is blank but in OBIB it is showing in Account Type K and clearing Rule is CH where it is not define in OBIA. So from where it come exactly ? I am facing one prob

  • Business Graphics, GeoMap and BIApplicationFrame in ABAP WD

    Hello everyone,   I just started working with ABAP WD and saw in the documentation that it was possible to integrate BI reports and graphics in a Web Dynpro application.  I would like to know if there are any concrete examples available of ABAP WD ap