<div dir="ltr"><div><div>Hi Dennis,<br><br></div>I would agree with you on this. If Premium is already in play, then DB integration is your best bet. However, moving to Premium just for this one task would be very expensive. So, it just depends on what's already in play.<br>
<br></div>Great recommendation.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 1, 2013 at 9:21 AM, Heim, Dennis <span dir="ltr"><<a href="mailto:Dennis.Heim@wwt.com" target="_blank">Dennis.Heim@wwt.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If you have a large amount of area code, and have premium, database lookup is probably more efficient.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.5pt;font-family:"Calibri","sans-serif"">Dennis Heim | Solution Architect (Collaboration)</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif"">World Wide Technology, Inc. | <a href="tel:314-212-1814" value="+13142121814" target="_blank">314-212-1814</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><b><i><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#00007f">PS Engineering: </span></i></b><i><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#00007f"> Innovate & Ignite.</span></i><span style="font-size:13.5pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></b></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> cisco-voip [mailto:<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>] <b>On Behalf Of </b>Anthony Holloway<br>
<b>Sent:</b> Monday, September 30, 2013 10:00 PM<br><b>To:</b> Chase Mergenthal<br><b>Cc:</b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br><b>Subject:</b> Re: [cisco-voip] Implement UCCX Geographic Inbound Call Routing using callers area code<u></u><u></u></span></p>
<div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Chase,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">That XPATH can be condense like so:<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">"//[@number='" + ani + "']/csq"</span><u></u><u></u></p>
</div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">You could also condense the XML to:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in">
<div><p class="MsoNormal"><span style="font-family:"Courier New""><?xml version="1.0" encoding="utf-8"?></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New""><triggers></span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Courier New""><trigger number="17631112222">CSQ</trigger></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New""></triggers></span><u></u><u></u></p>
</div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">And then your XPATH is simply:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in">
<div><p class="MsoNormal"><span style="font-family:"Courier New"">"//[@number='" + ani + "']"</span><u></u><u></u></p></div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div>
<div><p class="MsoNormal">However, Grace is looking for a solution based on caller's area code, which would involve at least one more step: pulling the area code out of the calling number. So Grace, this is how you pull an area code from the calling number.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">ani = Get Call Contact Info (Calling Number)</span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Set area_code = ani.substring(0, 3)</span><u></u><u></u></p></div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">
And now at this point, one could use the XML file approach as Chase has pointed out.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal">
<span style="font-family:"Courier New""><?xml version="1.0" encoding="utf-8"?></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New""><areas></span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Courier New""><area code="612">Midwest_CSQ</area></span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New""><area code="305">East_CSQ</area></span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Courier New""></areas></span><u></u><u></u></p></div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Of course that can be a large file considering there are almost 300 area codes in use today, and that number is growing towards its current maximum potential of 800 numbers. In an effort to shrink that document, you could compress the data yourself like this:<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New""><?xml version="1.0" encoding="utf-8"?></span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Courier New""><a><b c="612">0</b><b c="305">1</b></a></span><u></u><u></u></p></div></blockquote>
<div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">We're just using single characters to represent the tag names, and numeric values for the CSQ names. You will need a String Array to convert the digit value of the CSQ into the actual CSQ like this:<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Variable<u></u><u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">String[] csq_map = new String[] {"Midwest_CSQ", "East_CSQ"}</span><u></u><u></u></p>
</div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Script<u></u><u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">result = Get XML Document Data(xml_doc, "//[@c='" + ani + "']")</span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Set csq = csq_map[Integer.parseInt(result)]</span><u></u><u></u></p></div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div>
<p class="MsoNormal">If you haven't worked with String Arrays yet, just know that each element in the array has an associated value, or index, and it starts with 0 on the left, and goes up incrementally from there to the right. So in the above example, Midwest_CSQ is 0 and East_CSQ is 1.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">At this point, your csq variable holds the name of the CSQ, and you saved yourself some amount of JVM heap usage. The reason this saves space is because if you have 150 area codes for which CSQ NorthCentralSupport_CSQ (a 23 character name) serves, then without the trick you need at least 150 * length of CSQ Name, which is 3.4KB. With the trick I used, you get the text alone down to 150Bytes (the character "0" used 150 times). That's a 96% decrease. Now, the String Array doesn't come for free, and there is a formula to figure it out, but I'd wager you're fine doing without the compression at all, therefore compression is just icing on the cake. Just use RTMT perfmon counters to watch your JVM heap usage.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">You could alternatively use a java switch block and keep all dependencies right inside the script, but I don't know if the XML functionality is a requirement for you or not.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Example:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in">
<div><p class="MsoNormal"><span style="font-family:"Courier New"">Do {</span><u></u><u></u></p></div></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in">
<div><p class="MsoNormal"><span style="font-family:"Courier New"">switch (area_code) {</span><u></u><u></u></p></div></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in">
<blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">case "612": case "763": case "651":</span><u></u><u></u></p>
</div></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in">
<div><p class="MsoNormal"><span style="font-family:"Courier New"">csq = "Midwest_CSQ";</span><u></u><u></u></p></div></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in">
<blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">break;</span><u></u><u></u></p></div>
</blockquote></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div>
<p class="MsoNormal"><span style="font-family:"Courier New"">case "305": case "786":</span><u></u><u></u></p></div></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in">
<blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">csq = "East_CSQ";</span><u></u><u></u></p>
</div></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal">
<span style="font-family:"Courier New"">break;</span><u></u><u></u></p></div></blockquote></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in">
<blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">default:</span><u></u><u></u></p></div></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in">
<blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">csq = "Default_CSQ";</span><u></u><u></u></p>
</div></blockquote></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">}</span><u></u><u></u></p>
</div></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">}</span><u></u><u></u></p></div></blockquote><div><p class="MsoNormal">
<u></u> <u></u></p></div><div><p class="MsoNormal">This has the advantage of not having to assign the csq variable for each area code in the US, rather you do it for blocks of csq's rather easily, as I have demonstrated. If you needed this to be available to a few other scripts, consider making it a sub flow which takes 1 input mapping of the ani, and provides 1 output mapping of the mapped csq name like so:<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">area_code_lookup.aef<u></u><u></u></p></div><div><p class="MsoNormal">Variables<u></u><u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in">
<div><p class="MsoNormal"><span style="font-family:"Courier New"">String csq = ""</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">String ani = ""</span><u></u><u></u></p>
</div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Script<u></u><u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">Start</span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Courier New"">On Exception (WFExecutionException) Goto End of Script</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Do {</span><u></u><u></u></p>
</div></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">switch (ani.substring(0, 3)) {</span><u></u><u></u></p>
</div></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal">
<span style="font-family:"Courier New"">case "612": case "763": case "651":</span><u></u><u></u></p></div></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in">
<blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">csq = "Midwest_CSQ":</span><u></u><u></u></p>
</div></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal">
<span style="font-family:"Courier New"">break;</span><u></u><u></u></p></div></blockquote></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in">
<blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">case "305": case "786":</span><u></u><u></u></p></div></blockquote></blockquote>
</blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in">
<div><p class="MsoNormal"><span style="font-family:"Courier New"">csq = "East_CSQ";</span><u></u><u></u></p></div></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in">
<blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">break; </span><u></u><u></u></p></div>
</blockquote></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">}</span><u></u><u></u></p>
</div></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">}</span><u></u><u></u></p></div><div><p class="MsoNormal">
<span style="font-family:"Courier New"">End of Script:</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">End</span><u></u><u></u></p></div></blockquote><div>
<p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">main_aa.aef<u></u><u></u></p></div><div><p class="MsoNormal">Variables<u></u><u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in">
<div><p class="MsoNormal"><span style="font-family:"Courier New"">String csq = ""</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">String ani = ""</span><u></u><u></u></p>
</div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Script<u></u><u></u></p></div><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">Start</span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Accept(--Triggering Contact--)</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">ani = Get Call Contact Info (Calling Number)</span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Courier New"">csq = Call Subflow (SCRIPT[area_code_lookup.aef], Input: ani, Output: csq)</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Set csq (csq == null || csq.trim() == "") ? "Default_CSQ" : csq</span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Courier New"">Select Resource (--Triggering Contact-- from csq)</span><u></u><u></u></p></div></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in">
<blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">Connected</span><u></u><u></u></p></div></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in">
<blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">End</span><u></u><u></u></p></div>
</blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">Queued</span><u></u><u></u></p>
</div></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal">
<span style="font-family:"Courier New"">...queue logic...</span><u></u><u></u></p></div></blockquote></blockquote></blockquote><blockquote style="margin-left:30.0pt;margin-right:0in"><div><p class="MsoNormal"><span style="font-family:"Courier New"">End</span><u></u><u></u></p>
</div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">There's many different ways to solve for this requirement. Which one you pick should meet the objective first, and then be easy to troubleshoot and administer second. The rest is subjective. In my opinion...of course! Haha.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Good luck.<u></u><u></u></p></div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">
On Mon, Sep 30, 2013 at 3:29 PM, Chase Mergenthal <<a href="mailto:cmergenthal@digitalriver.com" target="_blank">cmergenthal@digitalriver.com</a>> wrote:<u></u><u></u></p><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Conceptually this is how you could do it:</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><img src="cid:image002.png@01CEBE90.0B169340" border="0" height="69" width="744"><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Xml doc:</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><triggers></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><trigger number="17631112222”></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><csq>CSQ</csq></span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></trigger></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></triggers></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><div><div style="border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p></div><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#4bacc6">Chase Mergenthal </span><b><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#92d050">|</span></b><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#92d050"> </span><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#404040">Digital River</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#4bacc6">p: </span><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#404040"><a href="tel:%2B1%20952%20225%203202" target="_blank">+1 952 225 3202</a> </span><b><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#92d050">|</span></b><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#92d050"> </span><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="mailto:cmergenthal@digitalriver.com" target="_blank">cmergenthal@digitalriver.com</a></span><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#404040"> </span><b><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#92d050">|</span></b><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#92d050"> </span><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://www.digitalriver.com/" target="_blank">digitalriver.com</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Calibri","sans-serif"">10380 Bren Road West, Minnetonka, MN 55343, United States</span><u></u><u></u></p></div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> cisco-voip [mailto:<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>] <b>On Behalf Of </b>Grace Maximuangu<br>
<b>Sent:</b> Monday, September 30, 2013 3:14 PM<br><b>To:</b> Anthony Holloway; Ryan LaFountain (rlafount); <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br><b>Subject:</b> [cisco-voip] Implement UCCX Geographic Inbound Call Routing using callers area code</span><u></u><u></u></p>
</div></div><div><div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi all,</span><u></u><u></u></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I have a customer requirement, when a call is placed into the call center, the script needs to query an xml file using Xpath (they do not want to do a database lookup at this time) to determine what CSQ to place the call in.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Has anyone done this before?</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Or does anyone have a sample code that can be modified to satisfy this requirement?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">:-:gm</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif""> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Grace Maximuangu</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Voice Solutions Engineer</span><u></u><u></u></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Black Box Network Services</span></b><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Cell: <a href="tel:213.268.6342" target="_blank">213.268.6342</a></span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif""><a href="mailto:grace.maximuangu@blackbox.com" target="_blank">grace.maximuangu@blackbox.com</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif""><a href="http://www.blackbox.com/" target="_blank">www.blackbox.com</a> </span><u></u><u></u></p><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#17365d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><img src="cid:image003.jpg@01CEBE90.0B169340" alt="bbox logo.JPG" border="0" height="57" width="284"></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><div class="MsoNormal" style="text-align:center" align="center">
<hr align="center" size="2" width="100%"></div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">This email and any files transmitted with it are confidential and are intended for the sole use of the individual to whom they are addressed. Black Box Corporation reserves the right to scan all e-mail traffic for restricted content and to monitor all e-mail in general. If you are not the intended recipient or you have received this email in error, any use, dissemination or forwarding of this email is strictly prohibited. If you have received this email in error, please notify the sender by replying to this email.</span><u></u><u></u></p>
</div></div></div></div></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></blockquote></div><br></div>