cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
228
Views
0
Helpful
2
Replies
Highlighted
Beginner

Convert Area Code and NPA of called number to two digit site code to create DN?

I've looked all over the net, and can't seem to find a similar solution.

I'm currently receiving 10 digits from ITSP and would like to convert the Area Code and NPA of called number to two digit site code of say "10" + four digit extension, since my DN is 108039

Right now I have Significant Digits on the incoming SIP trunk to 4 and append "10" for a site code to create the DN of the called number. I will soon be receiving Area Codes and NPA's from different states.

I'm trying to figure out how to perhaps receive "all" for significant digits to modify and send to my DN.

 

Thanks in advance for any direction!

2 REPLIES 2
Highlighted
VIP Advisor

I cant lab this atm,

 

but you would need to slice the incoming called number up:

 

 

NPA-NXX-xxxx

Specific Example
This example provides further detail:

voice translation-rule 1
rule 1 /^\(NPA\)NXX\(....\)$/ /\1\3/    essentially add the NPA and last 4 digits.

 

this might not be exactly correct, but look into this.

Please remember to rate useful posts, by clicking on the stars below.

Highlighted
VIP Collaborator

  1. Create translation patterns that capture the NPANXX combinations and prefix the appropriate site codes. (Pattern: 408555.XXXX, Discard Pre-Dot, Prefix 10)
  2. Give the translation patterns a CSS that can reach your internal extensions.
  3. Put these translation patterns in a partition something like PSTN_Inbound_PT
  4. ...and put that partition in a CSS something like PSTN_Inbound_CSS.
  5. Give your gateway this CSS for inbound call routing
  6. (and remove the significant digits on the gateway)

As Dennis pointed out, you can also make this change using Voice Translation Profiles in the router.

 

Maren