cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2371
Views
40
Helpful
13
Replies

How to configure DID to an extension

MambaRod16
Level 1
Level 1

Hello experts,

Could you please tell me step by step how to configure a DID number to point to an extension.

What configuration should I make in the Call Manager and in the Voice Router?

A bit of context:

Our service provider already placed the DID number ex. 123-987-6543 on an existing trunk ex. 123-555-4444. The objective is that from abroad when they dial the number 123-987-6543 the call points to extension 5432.

I don't have much experience with configuring CUCM and Voice Router.

13 Replies 13

Either create a translation pattern in CM in a partition that the gateway/trunk inbound CSS (Calling Search Space) sees that translate 1239876543 to 5432 or create a translation rule/profile in your voice gateway to do the translation either on the ingress from your service provider or egress before the call is sent to CM. If you do a search for this in the community you'll find dozens of post related to this.

Or you could simply use the DID number, preferably in +E.164 format as your extension. I’ve never understood the concept of having to alter the called or for that sake the calling number for outbound calls instead of actually using the number as assigned by the service provider.



Response Signature


MambaRod16
Level 1
Level 1

Hi Roger, thanks for the explanation. I have read several posts in the community but I have not seen one that explicitly explains how the configuration is in the voice gateway.

Could you tell me what are the commands to execute in the voice gateway or tell me the source where I could see this configuration?

voice translation-rule 10
 rule 1 /^1239876543$/ /5432/
!
voice translation-profile PSTN-IN
 translate called 10
!
dial-peer voice 1 pots
 description Inbound dial peer from PSTN
 translation-profile incoming PSTN-IN

For more details please look at this document Determine Voice Translation Rules 

Worth knowing is that this only works on SIP or H.323 gateways. If you have a MGCP gateway you’ll need to use the translation options in CM. Also please note that this is a suggestion that you’d need to adopt to fit into your specific configuration.



Response Signature


Make use of the translation example which @Roger Kallberg provided. Make sure to add rules to cover your all DID.



Response Signature


MambaRod16
Level 1
Level 1

Hello team, I am not sure if with this configuration the incoming calls to the number 123-987-6543 will be sent to the extension 5432. Since I do not see that the extension is mentioned in the configuration.

My other question is if the configuration of the example has an impact on the other rules already configured. Keep in mind that the gateway is in production and the only change I want to add is that calls to the new DID number are sent to extension 5432.

You confused me with what numbers to use in your original post as you mentioned something that was unrelated to what you want to translate. I’ve updated both of my responses to translate to the number you wanted.

On your other part off the question, how do you think that anyone that does not have access to your configuration would be able to give you an answer on if it would have any affect on your current configuration? If you want help with that you’d need to share the details that pertains to this. As a start your gateway running configuration would be helpful.



Response Signature


MambaRod16
Level 1
Level 1

Thanks for the correction, now the indicated commands make much more sense.

I have one last question, why do you use the dialer-peer voice command with the keyword pots instead of voip?

 

Because I’ve tied the translation profile to an inbound dial peer that is used for calls coming from a traditional PSTN connection, such as a ISDN circuit. If you have a SIP trunk for your PSTN connection you’d use a voip dial peer for the same. As you did not give away any specifics on this I assumed that you’d be using a traditional PSTN circuit, aka pots.



Response Signature


Understood. I made the configuration that you indicated, when I call the number 123-987-6543 it still does not work.

I have a SIP trunk for my PSTN connection, could you please tell me how the voip dial peer configuration would be?

With that type of connection my suggestion would not work straight off, you’ll have to adopt it to fit your specific configuration. Please share your configuration so that we don’t need to continue this guess work. Without the appropriate information it is virtually impossible to give you any quality assistance with this.

It would also be helpful if you where to share the output from these debugs, debug ccsip message and debug voip ccapi inout. Have them running at the same time and do a terminal monitor to get the output, to turn it off do a terminal no monitor.



Response Signature


Another option would be to configure the E164 Alternate Number on the DN with the 10-digit DID, and configure the E164AN with a partition accessible by the gateway's Inbound CSS. (The E164 Alternate Number does not have to be in E164 format.)

Maren

TechLvr
Spotlight
Spotlight

@MambaRod16 It would be much easier for everyone to help you with this simple request if you share the output of “show run” from your CUBE router. 

MambaRod16
Level 1
Level 1

Thank you everyone for the support!!!

As you indicated, I used the DEBUG CCSIP MESSAGE command on the Gateway Router and validated that the calls were redirected to the Call Manager. It was only necessary to create a Translation Pattern that points the DID number to the desired extension.