Script Help to determine calling region for CSQ routing

Contact Center Express 7.01 - Premium
US client who has separated the states into three regions and wants to deliver calls to each of the three regions based on calling number.
I have a database of 255 area codes across US that is separated into 3 xml files.  I have the script parse through the xml files one at a time, one line at a time to look for the calling area code.  Once a match is determined it sets the CSQ and routes, if it never matches it takes a default route.  (The script is similar to the Holiday.xml checking sample most people are familar with)
Based on this long looping script the steps exceed the normal 1000 and this had to be bumped for it to work.  But when I test the script it works as designed.  I get some trouble calls, however, that claim that some calls are mis-routed.  For example calls that should be for the west region are ending up in the east region.  I have double checked my xml files for the area codes, but find no problems.  And each time I debug it works as expected.
I am wondering if this long script is causing the problem and creating these issues.  Anyone have a shorter way to do this?
I will rate helpful replies.

Yes, it helps you save steps.
The XML parser supports xpath dom node selections.  It's pretty powerful too.
You would use this xpath syntax in your get xml document data step.  it will output the numeric value of the region for which the NPA is a descendent of.
Here's a break down:
"//region[npa='" + npa + "']/@id"
The two slashes are like a search
"//region[npa='" + npa + "']/@id"
This is a node selection
"//region[npa='" + npa + "']/@id"
This is a predicate match.  Kind of like filtering.  I am using a string concatenation to use the calling party's NPA here.
"//region[npa='612']/@id"
This is what the resulting string would look like with the variable replaced with a static value
"//region[npa='" + npa + "']/@id"
This is an attribute selector.  It returns the value of id for the matched region node
I used this as an example to get you thinking in the right direction.  The way you actually implement this is up to you.  That's the fun part.

Similar Messages

  • HELP! Need a copy/pic of the regional calling map for FL

    I signed up for the Regional Essentials Package so i can take advantage of Fios internet. I cannot find anywhere on line that shows the regional calling map for Florida (or any other area for that matter). Does the regional calling coverage cover the entire state, a portion of the state or what?
    I keep ebing directed to the consumer guide in my phone book, that issue is two fold-who has a phone book any more?! And...we have one at work and there isn't a map to be found.
    Thank you!

    Your talking to peers.  Note I can't even locate your plan.  The essential plans i do find are apparently not your as they include unlimited nationwide phone service.
    Try looking under your "my verizon" to see if you can give you details.

  • Script help - caller's ANI and workflow call control actions

    Greetings!
    Apologies in advance for the wall of text.
    What does work: We have a main script where we do a database lookup on the caller's ANI - specifically, their area code. If there is a match in the DB we queue the call to a regional queue. If there is no match (some block their caller ID, or the ANI is less than 10 digits) we queue the call to a general queue. This works. Every time.
    Except ..
    So the call comes in, we do a successful lookup and route to the regional queue. The agent handles the call and transfers the caller to another queue. The agent in the second queue discovers the caller needs to go back to the regional queue and we have a call control action configured to handle this. And this is where I'm looking for some help.
    And so, the call control action setup does a blind conference back to the main script which does the lookup again based on the original caller's ANI and routes the call to the regional queue. However, everyone can hear everyone and the business unit would prefer the customer not be aware of the agents talking until the agents want to bring the customer into the conversation.
    So, if I change the call control action to another option (supervised conference) I lose the ability to route the call based on the original callers ANI. The main script queues the call to the general queue. I've done the reactive debugs and the caller ANI does not populate, the extension of the agent initiating the call control action populates the ANI field. What's more confusing is the caller ANI does populate in the enterprise data on the agent desktop. So the data must be "there" somewhere, I'm not sure how to get it so I can do the DB lookup.
    What am I missing?
    Thanks in advance for your time and attention!
    Keith

    Hello again.
    That's an nice way to do this. But I found another way around simple enough for the end customer too. It gives the ability to change things themselves.
    a) Under System Parameters > Media Parameters enable the 'User Prompts override System Prompts' parameter
    b) Create a subfolder (named el_GR in my case) under Applications > Prompts .../gen/phone
    c) Upload your number prompts recorded in the language you want
    d) Modify the 'Create Generated Prompt' as shown to the screenshot
    e) Now you can hear the string numbers in your language
    Took the info from the following posts:
    https://supportforums.cisco.com/thread/2080962
    https://supportforums.cisco.com/docs/DOC-13933

  • I am writing to this forum to ask for help in determining whether Aperture will satisfy my needs when I switch from Windows to MAC in the near future.

     I am writing to this forum to ask for help in determining whether Aperture will satisfy my needs when I switch from Windows to MAC in the near future.  
    I am currently using Photoshop Elements 8 on Windows 7.  After several years of use, I am self taught and adequately proficient for an amateur.  What I didn't realize (until I started researching my upcoming migration on the Internet) is that I actually use PE8 for two functions: digital asset management and digital editing. 
    Regarding Digital Asset Management: My research leads me to understand that PE on MAC does not provide the same level of organizational capability that I am used to having on Windows, instead providing Adobe's Bridge which does not look very robust.  Furthermore, iPhoto, which come on MAC will not support the hierarchical keyword tagging that I require to organize my library of photos. The two SW applications which I am thinking of switching to are either Aperture or Adobe's Lightroom.  Frankly, I'm thinking that it would be smoother to stay within the Apple product line. 
    So the remaining question is whether Aperture will support my digital editing needs. The tweaks that I do to my photos are not very complex (no, I do not want to put people's heads on other animal bodies).  But could someone who uses Aperture tell me whether It will allow me to do the following kinds of edits?:
    - If I have a photo where someone's face is too shadowed, can I lighten just that person's face, and leave the rest of the photo as-is?  
    - if I have a photo where the background is cluttered (eg, 2 people in front of the Parthenon which is undergoing renovation), can I remove just the construction cranes?  
    - Can it splice together several separate photos to give a panoramic?  
    If, once I get Aperture, I find that it cannot enable the kinds of editing that I do, I would probably get PE11 in the future. However, if people in this forum tell me that Aperture will definitely not  support the kinds of editing which I've described in the previous paragraph, I would prefer to get PE11 with my initial configuration (since someone will be helping me with my migration).  
    Thanks in advance for your consideration and help! 

    I am concerned, however,  about using a non-Apple Digital Asset Manager in OSX. I would really like to avoid integration problems. Is using PE11 to import and catalog my digital photos likely to cause conflicts?
    Thanks for any insight on this
    Amy,
    Not so much conflicts as maybe a little less seamless integration with Apple software and perhaps some third-party software providers in the Mac App Store where some programs build in direct access to iPhoto and Aperture libraries for getting images into those programs easily. Typically, there is a manual command to go to Finder (think Windows Explorer) to browse folders.
    One caution to mention however, is that the organization you set-up in PE Organizer is unlikely to transfer over to either iPhoto or Aperture if you decide to change at some point.
    The only real stumbling block that I see in your opening comment is that you want hierarchical keywording (Kirby or Léonie can go into the details on keywording limitations as I stay at one level). If you can work with the keywording schemes of either iPhoto or Aperture, then using PE for your external editor (either program supports setting an external editor) would probably be ideal since you know PE well. This is the idea with the Mac App Store version of PE (editor with no organizer).
    Note - I use Photoshop CS6 (full version) with Aperture and it works really well. The only downside is that Aperture has to make either a TIFF or PSD file to send to an external editor so that the original file is protected by not sending it to the pixel editor. While TIFF or PSD files protect the integrity of the image information without degrading it, they are typically much larger file sizes on disk than either RAW or JPEG files. Therefore, your library size (iPhoto or Aperture) will balloon quite a bit if you send a lot of files to external editors.
    One other possibility for an external editor would be a program called Pixelmator. It is pretty similar to early versions of Photoshop, but built for Mac. Other than the panoramics you want, it will do most pixel editing that PE can do. It is not an organizer, so it is built to go with either iPhoto or Aperture. It does have differences in how you complete certain procedures, so there is bit of a learning curve when you are used to doing it the Adobe way.

  • Powershell script to Scan Active Directory Attributes for Country and Department ,Then add to Sales Group then add to Distribution list based on Region

    Hey Scripting Guys,
    I have been in and out of Powershell last few years, not that great at it tbh !!! I'm looking for advice on how I can as in Title, Create a Powershell script to Scan Active Directory Attributes for Country and Department ,Then add to Group then add to Distribution
    list based on Region/Country
    I was thinking along the lines of get-aduser -LDAPFilter "(department=SALES France) and adding a where clause for country.
    Any help would be great.
    Dec

    So I have tried a few variations but get errors on both 
    get-aduser -LDAPFilter "(&(department=SALES)(c=us))" | Add-ADPrincipalGroupMembership -MemberOf "testgroup"
    get-aduser -LDAPFilter "(&(department=SALES)(c=fr))" | Add-ADGroupMember -identity "testgroup"
    Add-ADPrincipalGroupMembership : Object reference not set to an instance of an
    object.
    At line:1 char:86
    + get-aduser -LDAPFilter "(&(department=SALES)(c=fr))" | Add-ADPrincipalGroupMe
    mbership <<<< -MemberOf "testgroup"
    + CategoryInfo : NotSpecified: (:) [Add-ADPrincipalGroupMembershi
    p], NullReferenceException
    + FullyQualifiedErrorId : Object reference not set to an instance of an ob
    ject.,Microsoft.ActiveDirectory.Management.Commands.AddADPrincipalGroupMem
    bership

  • HT1660 I called in for help last week to move my Itunes files to my new laptop.  I am about 71 songs short of what is in my library on my old computer.  I keep trying to download the Purchased music that is "not in my library" and i recieve an error messa

    I called in for help last week. I am trying to move my library from my old compurter (PC)to my new laptop.  I am 71 songs short.  I go to itunes, they to purchased, then click on "not in my library" then hit download.  I keep getting an error message that says "this is not available try again later".  Any suggestions?

    Hello 8175405345,
    We've an article which provides tips that can help get your content downloading from the iTunes Store.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Cheers,
    Allen

  • Is it possible to call a CMD or VBS within MAXL? Need script help

    Hello,
    I have a CMD script that uses MAXL to execute Essbase backups, the details of which are located in a txt file. That works fine, and I have the logs being sent to a folder.
    What I am trying to accomplish is AFTER it is finished running the backup, it calls a CMD script to parse the log file for errors, then either send a successful or failure notification through SMTP.
    I have all the scripts to perform the operations and they all function properly, but when I run it, the email is sent before the Essbase backup has completed.
    Is there a better way to do this like possibly calling the other CMD/VBS directly from within the MAXL shell? This is my current CMD file:
    Echo Calls Maxl shell with reference to EssbaseBackup.txt for variables
    call \\<server>\HyperionPlanning\App\Backups\MaxlBackup.cmd
    Echo Search Essbase Backup Logs for Errors
    findstr /c:"ERROR" \\<server>\HyperionPlanning\App\Backups\Logs\HyperionSetEssbaseForBackuplog.txt
    if %ERRORLEVEL% NEQ 0 goto NO_ERROR
    goto ERROR
    Echo Sends backup success mail
    :NO_ERROR
    \\<server>\HyperionPlanning\App\Backups\mail_send_success.vbs
    EXIT 0
    Echo Sends backup failure notification
    :ERROR
    \\<server>\HyperionPlanning\App\Backups\backup_failed.vbs
    EXIT 1MaxlBackup.cmd
    "C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseClient-32\bin\startmaxl.cmd" "\\<server>\HyperionPlanning\App\Backups\EssbaseBackup.txt"EssbaseBackup.txt
    spool on to '\\<server>\HyperionPlanning\App\Backups\logs\HyperionSetEssbaseForBackuplog.txt';
    set timestamp on;set timestamp off;
    login admin identified by <password> on <server>;
    alter system logout session on application App force;
    alter application App disable connects;
    alter database App.main force archive to file 'F:\Backups\App\Appmain.arc';
    alter database App.cap force archive to file 'F:\Backups\App\Appcap.arc';
    alter application App enable connects;
    set timestamp on;set timestamp off;
    logout;
    spool off;Edited by: Metatron on Mar 30, 2012 8:10 AM

    Try taking the code that is in the MaxLBackup.cmd and stick it into the root script just to remove that area of complexity. If that works, you might also try removing CALL from the line. Although I thought the point of CALL was to run another script and then return control to originating script.
    Here's some old (System 9.3.1) code that does what you're doing -- the pathing is wrong for 11x:
    REM Write filters to disc
    %hyperion_home%\products\Essbase\EssbaseClient\bin\essmsh.exe -D write_filters_to_disc.mshs %7,%8
    REM If error, go to end, else write
    IF ERRORLEVEL == 1 (SET errormsg=Error! - Read of filters from Essbase failed &     GOTO ERROR)The -D and .mshs are to handle an encrypted MaxL script.
    Regards,
    Cameron Lackpour

  • *** Service Level for CSQ for Dialer Calls - UCCX ***

    Hi - Service Level and percentage is applicable for CSQ which is assigned for Campaign in Agent Preview, Does it reflect in CSQ based reports.

    Hi,
    yes, that's correct. Even if you change the Service Level interval from 20 to 30 on your CallTypes, it won't change too much in the data that has already been aggregated (grouped), ie you can't alter history.
    What I would do is just export all rows from the Termination_Call_Detail table (if available at all for that period), filter CallTypes I want to check and then split the result into two tables: one table will hold the calls abandoned within the IVR , and the second table will contain the calls answered by agents (you can filter them by PeripheralID and CallDisposition).
    And then just take a look at the Duration and the NetQTime values.
    I know it's sort of a poor man's way of doing things but this is the only thing I could think of in this situation.
    G.

  • I really need help to change region for app store

    I have browsed through this forum followed everything instructed, i still cant change the region for my apple ID. I have tried below for several times.
    - I have tried going to settings / itunes &amp; appstore.
    - I clicked on apple ID account.
    - I clicked on view apple ID
    - entered my password
    - clicked on country/region
    - selected my country
    - entered the payment details (card detail used same as country selected)
    - entered the the address (card billing address)
    - put in phone number
    - clicked 'next'
    - it goes to the "itunes &amp; app store" page on settings
    - tried downloading an app it says "Your account is mot valid for use in Malaysian store. You must switch to the U.S store before purchasing"
    Did the above steps seeral times. It goes back to the US region. Please help!
    Thanks in advance

    It makes no sense to me that her ID works in the iTunes Store but it will not work on the App Store. The same ID should work on both stores - as long as she bought the apps with the ID that she uses in iTunes.
    See what account is showing on the iPad in Settings>Store>Apple ID. If it is the wrong ID in there, tap - sign out and then sign in with the correct account.

  • I have set reminders of birthdays for 2013 opting for yeARly reminders however only three of them are showing for 2014 and rest are missing can someone help, while i called up customer support they asked me to reset the phone which as well didn't help

    I have set reminders of birthdays for 2013 opting for yeARly reminders however only three of them are showing for 2014 and rest are missing can someone help, while i called up customer support they asked me to reset the phone which as well didn't help

    Tina,
    I would go crazy if this was me.  You may find this interesting from the customer agreement (to see full agreement go here:Customer Agreement | Verizon Wireless):
    "HOW AND WHEN CAN I DISPUTE CHARGES?
    If you're a Postpay customer, you can dispute your bill within 180 days of receiving it, but unless otherwise provided by law or unless you're disputing charges because your wireless device was lost or stolen, you still have to pay all charges until the dispute is resolved. If you're a Prepaid customer, you can dispute a charge within 180 days of the date the disputed charge was incurred. YOU MAY CALL US TO DISPUTE CHARGES ON YOUR BILL OR ANY SERVICE(S) FOR WHICH YOU WERE BILLED, BUT IF YOU WISH TO PRESERVE YOUR RIGHT TO BRING AN ARBITRATION OR SMALL CLAIMS CASE REGARDING SUCH DISPUTE, YOU MUST WRITE TO US AT THE CUSTOMER SERVICE ADDRESS ON YOUR BILL, OR SEND US A COMPLETED NOTICE OF DISPUTE FORM (AVAILABLE AT VERIZONWIRELESS.COM), WITHIN THE 180–DAY PERIOD MENTIONED ABOVE. IF YOU DO NOT NOTIFY US IN WRITING OF SUCH DISPUTE WITHIN THE 180-DAY PERIOD, YOU WILL HAVE WAIVED YOUR RIGHT TO DISPUTE THE BILL OR SUCH SERVICE(S) AND TO BRING AN ARBITRATION OR SMALL CLAIMS CASE REGARDING ANY SUCH DISPUTE."
    This may help you also: Arbitration and Mediation FAQs | Verizon Wireless
    You can dispute any charges by doing an Arbitration or Mediation.  I have never done it, so I can not help much there but this all may get you started.
    Let me know if any of this works! Good Luck! Please keep me updated. I really hope they help you.

  • No signal need call EE for help!

    URGENT no signal so can't even call EE for help. This is poor service and I hope we aren't expected to pay for it in full. EE I would appreciate some contact!!!

    Hi ,
    I'm sorry to hear you are having signal issues.
    Have you tried restarting your phone?
    What area are you having problems in?
    Thanks
    James

  • Can I call someone for help?

    Can I call someone for help with Bootcamp?

    i dont know what exactly u mean with CALL for help, but if u like u can call me via ichat and we can talk, maybe i can help u this way

  • Need help activating Advanced Calling 1.0 on Verizon for iphone 6 business account

    I need help activating Advanced Calling 1.0 on Verizon for iphone 6 business account. I was on the phone with Verizon for over an hour and they can't figure out why it's not working. I'm trying to activate the Voice & Data and all I get is a spinning circle but it never actually works. Anyone have any ideas?

    I just pulled this from the Verizon page. Not sure if it applies to you or not, but it could explain part of your problem since you identify this as a business account.
    Q: Who is eligible for Advanced Calling 1.0?
    A: Any Verizon customer with a compatible phone and a postpaid calling plan is eligible. Please note that the following features are currently incompatible with Advanced Calling 1.0: Ringback Tones and Caller Name ID.  Additional incompatible features apply for Business and Government customers.

  • Help on determining version for existing forms & porting to Forms 9i

    I'm new to Oracle and Oracle Forms.
    I have a large number of *.fmb, *.fmx, *.pll, *.sql files (all developed in the early 1990's).
    I am trying to convert them to 9i. Are there any "How-To's" on the subject?
    Is there a tool to help me determine what the original Forms version is?
    Also . . .
    When opening a *.fmb in Forms 9i, I get the error "FRM-10102: Cannot attach PL/SQL library &lt;filename&gt;.pll. This library attachment will be lost if the module is saved.
    I opened the specified *.pll file and then another form and received the same error.
    Any help or direction will be greatly appreciated.
    Thanks in advance.
    Brian Atkinson

    Generally speaking you can just open up a form in 9i and that will upgrade it. There are specific issue on moving from client/server to the web and you can go to otn.oracle.com/products/forms and click to view the Forms Upgrade Centre.
    The error you are getting probably means that the form has a library attached but when you open that form it cannot find it.
    What I would do is make sure the location of the pll files is on the FORMS90_PATH environment variable (in the registry on Windows).
    Another note - you can go to otn.oracle.com/products/forms and click to download other versions of the software - including 6i. However while it may only be certified to go to 61 and then 9i, in many cases you can go directly from 4.5. to 9i.
    Hope this helps.
    Regards
    Grant Ronald
    Forms Product Management

  • UCCX 7.0 - Agents in reserved state and calls stuck in CSQ

    Hello all,
    I have got a following issue with our UCCX 7.0 installation - there is a team of agents and some of them intermittently stuck in reserved state for no reason.
    I went to real-time reporting and found lot of calls stuck in CSQ, which I believe is related.
    Other teams (which uses different IVR scripts) are not having these kind of problem - that led me to conclusion that something may actually be wrong with the scirpt itself. I am going to add "dequeue" step before "Goto VOICEMAIL" under transfer menu for all three options, but not quite sure if that is cause and solution for the problem. Could you guys take a quick look on attached script, I might be missing some part of picture here.
    Thank you in advance,
    Peter

    Hi
    Some things to check first:
    1) Agents are not members of pickup groups - this is a common cause of such problems
    2) Do the agents all receive calls sometimes? Are they all in the same partition? Verify that the UCCX CTI ports can call all of the agents...
    3) Check the release notes : http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_7_0/release/notes/uccx701rn.pdf
    There is an 'unsupported actions' section that lists things agents should not do on Page 15 onwards. Pickup is the most problematic of these, but others are very common causes of stuck-in-reserved and stuck calls.... far more common than scripting errors. If in doubt, disable the options (by removing pickup groups from their lines, and assigning a softkey set that doesn't include the listed keys) and see how it goes...
    I've had a quick look over your script and see no major cause for concern.
    Regards
    Aaron
    Please rate helpful posts...

Maybe you are looking for

  • Checkered background in Acrobat 9

    Novice question here I'm sure but I need help. A couple days ago all of my documents started opening with a checkered background. Small blue and white boxes. I'm sure it is a setting somewhere but I've failed to find it. It doesn't matter if they're

  • A report which displaies orders discerning SETTLED/NOT SETTLED

    Hi All, Could anyone show me a report which displaies the orders (and type orders) discerning between the orders settled and the ones not settled? Thanks Gandalf

  • Time dimension hierarchy

    Hi, Im creating time dimensional hirearchy in BMM Layer in 10g and getting the below error [nQSError:15001]Could not load navigation space for subject area Test. [nQSError:15019]Table period is functionally dependent upon level Month,but a more detai

  • Canonicalizing mapping in a WeakHashMap

    What a canonicalizing container is? Maybe one that stores unique objects. Unique objects in the sense that their equivalence is only established via ==, not based on the state? In the API for WeakHashMap : " This class is intended primarily for use w

  • I forgot my security question answers!! How to change answers??

    HHow can I change my answers I tried going to manage account but no luck???