cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
318
Views
0
Helpful
1
Replies

Looking to present City and State caller ID to agents via CAD

d.kettler
Level 1
Level 1

The end user running UCCX wants to present the City and State Caller ID to their agents similar to what cell phones will show with City ID from Cequint Incorporated.  We can build a database with Area Codes and Exchanges to reference  and pass this along to CAD but   the database will be quite large and will need to be maintained so I am looking for another solution.  We will be contacting the telco to see if they offer this service but I wanted to see if anyone has set this up and how they went about doing it

1 Reply 1

djlundberg
Level 5
Level 5

Hi-

Breaking the calling number down by state is not too big of a deal, but needing each city will get pretty large.  Maintaining it may be less cumbersome than you think as NPA / NXXs don't change that often. 

If you don't receive calls from all over the country or world you may be able to reduce the amount of data you need by leaving out regions you don't typically service.  Is the customer servicing all of the US?

I wrote a script that is running as a subflow that breaks down a +E.164 number and determine its country of origin as well as the State / Province if it's in North America.  If the zone of the calling number is one then I evaluate the NPA and look it up in the xml document.  If the zone is 2-9 I have logic to determine the country code and go from there.

North America example:

<zone zone="1">
     <countrycode code="1">
          <areacode NPA="218">
          <state>MN</state>
          <country>USA</country> 
          </areacode>
     </countrycode>
</zone>
 
 
The entire xml document is about 5000 lines in my implementation. I really should spend some time to optimize it.
 
DJ