Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Allocating DID's in CME

Dear All,

I have both Cisco & Non-Cisco IP Phones which are reigistered in my voice gateway. Now i have got ISDN with DID's. How can i allocate some DN with DID number in order to call in both ways ( each extension 5000 calls outside, its DID should go outside like 8995000, and calling on same DID 8995000 should come to 5000).

Rest extension should call using main number. How is it possible in CME environment? Thanks

  • IP Telephony
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Allocating DID's in CME

For you clarification do this:

!

voice translation-rule 101

   rule 1 /5010/ /8994750/

   rule 2 /5012/ 8994751/

   rule 3 /5013/ 8994752/

!

voice translation-rule 102

   rule 1 /8994750/ 5010/

   rule 2 /8994751/ 5012/

   rule 3 /8994752/ 5013/

!

voice translation-profile ISDN-Out

   translate calling 101

!

voice translation-profile ISDN-IN

   translate called 102

!

Dial-peer voice xyz pots

   translation-profile outgoing ISDN-Out

   translation-profile incoming ISND-IN

!

or

!

voice-port 0/0/0:D

   translation-profile outgoing ISDN-Out

    translation-profile incoming ISND-IN

Explanation:

When call comes from outside to gateway, suppose called number or dialed number is 8994750, the translation-profile ISDN-IN will matched and the callled number i.e. 8994750 is replaced with 5010 and call will be routed to phone extension 5010.

When extension 5010 make an outgoing calls for a PSTN destination number (ex xxxxxxxxx), the translation-profile ISDN-Out will be matched and extension 5010 is replace with 8994750 and it is displayed in the PSTN destination phone.

to verfiy:

#test voice translation-rule 101 5010

#test voice translation-rule 102 8994750

you will get the output of orginal number and translated number.

Regards

Selvarathnam

10 REPLIES
Hall of Fame Super Gold

Allocating DID's in CME

Using voice translation profile and rules.

New Member

Re: Allocating DID's in CME

Where can we use these translation profiles. In my case, I have fxs port which is registered on another gateway which is connected to this gateway which has isdn line and did.

Sent from Cisco Technical Support iPad App

Hall of Fame Super Gold

Allocating DID's in CME

On voice-port.

Allocating DID's in CME

Hi Omerpal,

The FXS port is connected to another gateway say gateway "A" and the gateway "A" is connected to this gateway say gateway "B" am I right?

If so, than you need to apply the rules in Gateway "B" where the ISDN is terminated, on the VoIP dial-peer which pointing the Gateway "A".

New Member

Re: Allocating DID's in CME

Dear Selva,

How can we define translation rules & profile in this typical scanerio? Thanks

Re: Allocating DID's in CME

Omer, can you share your configuration along with rough topology description.

New Member

Re: Allocating DID's in CME

8994999.....DID starting from 700 to 999

Extensions starting from 5000 to 5020

Matrix Gateway is connected with Cisco 2951 via SIP trunk. I didnt configure router too much for voice but only configured some dial-peer as below:

Matrix Gateway (192.168.99.11) has 4 port FXS and 4 port GSM. First FXS port has 5010 extension

Cisco Gateway has one IP Phone and CIPC. IP Phone has 5012 and CIPC has 5013 (CME)

5012 & 5013 can call 5010 via SIP Trunk using below dial-peer

dial-peer voice 600 voip

destination-pattern 5010

session protocol sipv2

session target ipv4:192.168.99.11

dtmf-relay sip-notify

codec g711alaw

no vad

And 5010 (FXS port) is also configured to reach 5012 & 5013.

Now I have some outbound dialpeers to call on mobile, landline and international. Right now when 5010 (on Matrix Gateway) and 5012 & 5013 DN call outside then receiver get main number which is 8994999 (mentioned above). Bit i want 5010 (on Matrix Gateway) and 5012 & 5013 DN when call outside they should get different number like 8994750, 8994751 and 8994752.

I didnt configure translation rule and profile but ISDN is configured.

Re: Allocating DID's in CME

Create, translation rule, assign it with translation profile and than apply the profile under outgoing dial-peer or ISDN voice-port.

For outgoing/incoming calls replace calling/called numbers

Global configuration mode.

!

voice translation-rule 101

   rule 1 /5010/ /8994750/

   rule 2 /5012/ 8994751/

   rule 3 /5013/ 8994752/

!

voice translation-rule 102

   rule 1 /8994750/ 5010/

   rule 2 /8994751/ 5012/

   rule 3 /8994752/ 5013/

!

voice translation-profile ISDN-Calls

   translate calling 101

   translate called 102

!

Dial-peer voice xyz pots

   translation-profile outgoing ISDN-Calls

!

or

!

voice-port 0/0/0:D

   translation-profile outgoing ISDN-Calls

!

Explanation:

Rule 101 replace the 5010 with 8994750 when making any outgoing calls, and displayed as 8994750 in remote phones and so on.

Rule 102 replace the 8994750 with 5010, when any caller from outside call 8994750 it will reach to 5010 extension and so on.

It is just a simple digit manipulation configuration. The other extensions calls will display as your main number i.e. 8994999.

if you want to land all main number incoming calls to 5000 extension, add one rule in 102 as rule 4 /8994999/ /5000/

Thanks

New Member

Re: Allocating DID's in CME

Thanks Selva, i didnt put the command so far. Anyways, i just need some explanation about the following. Thanks

What will below profile do ? (especially when call comes to gateway from outside)

voice translation-profile ISDN-Calls

   translate calling 101

   translate called 102

Why have you used outgoing ? You didnt you use incoming in followng (what will happen if you se incoming)

Dial-peer voice xyz pots

   translation-profile outgoing ISDN-Calls

1238
Views
15
Helpful
10
Replies
This widget could not be displayed.