cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
751
Views
10
Helpful
6
Replies

Redirecting calls due to relocation

m.isargar
Level 1
Level 1

Hello everyone,

Consider the following setup:

  1. Our current numbering format: 12345XYZ
  2. An E1 link connected to a Cisco 2921 router which acts as the VoIP gateway.
  3. Our numbering in the new location: 67890XYZ

We want to redirect all inbound calls from outside to our new number. For example, a call arriving at the router via E1 link destined to 12345111 should be redirected back to 67890111 again via E1 link. 

Any guide or clue on how to do that? 

Thank you very much. 

1 Accepted Solution

Accepted Solutions

Based on the debug you are getting 3 digits from telco

 

Called Party Number i = 0x81, '168'

 

So, to prefix the 67890 in front of XYZ you can do the following:

 

voice translation-rule 1
rule 1 // /67890/

 

voice translation-profile Prefix-67890
translate called 1

 

voice-port 0/0/0:23
translation-profile incoming Prefix-67890

 

This will prefix 67890 to any calls arriving on PRI port 0/0/0

View solution in original post

6 Replies 6

Chris Deren
Hall of Fame
Hall of Fame

Do you have CUCM?  If so you can either do this via Translation Pattern on CUCM or via Translation rule/profile on the GW.  For both cases we need to know what is the full digit string that telco is sending you over the E1, so proper translation can be derived. Is this E1 a PRI or E1-CAS?

Dear Chris,
Thanks for the answer.
We have CUCM, but for some reasons, we have to implement this on the GW. Also, It's PRI.
I did some debug commands to figure out the full incoming digit string which show only the 3-digit directory number (I mean XYZ). But, I'm not quite sure. What command should I run to find this out?

Use "debug isdn q931" and post the output here along with what number you dialed.

Hi,

Called number: 64063168

debug isdn q931
Nov 27 04:42:42.311: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8 callref = 0x215A
Sending Complete
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA9839F
Exclusive, Channel 31
Calling Party Number i = 0x0083, '00912*******'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x81, '168'
Plan:ISDN, Type:Unknown
Nov 27 04:42:42.311: ISDN Se0/0/0:15 Q931: Received SETUP callref = 0xA15A callID = 0x103A switch = primary-net5 interface = User
Nov 27 04:42:42.319: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0xA15A
Channel ID i = 0xA9839F
Exclusive, Channel 31
Nov 27 04:42:42.483: ISDN Se0/0/0:15 Q931: TX -> ALERTING pd = 8 callref = 0xA15A
Progress Ind i = 0x8188 - In-band info or appropriate now available
Nov 27 04:42:45.427: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x215A
Cause i = 0x8290 - Normal call clearing
Nov 27 04:42:45.427: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8 callref = 0xA15A
Nov 27 04:42:45.443: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x215A

Based on the debug you are getting 3 digits from telco

 

Called Party Number i = 0x81, '168'

 

So, to prefix the 67890 in front of XYZ you can do the following:

 

voice translation-rule 1
rule 1 // /67890/

 

voice translation-profile Prefix-67890
translate called 1

 

voice-port 0/0/0:23
translation-profile incoming Prefix-67890

 

This will prefix 67890 to any calls arriving on PRI port 0/0/0

Hi Chris,
I'll check that and let you know the result.
Thank you.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: