cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5278
Views
5
Helpful
27
Replies

Routing inbound DID's on ISDN/PRI using CME v8.6

kyle_mars
Level 1
Level 1

I have CME v8.6 and have configured it for a PSTN ISDN/PRI. Outbound  call are routing fine. The problem I am having is routing inbound DID's.  On my test PRI the DNIS digits are 7. For example : 5551234  is what I  am receiving. If I build an extension with extension number 5551234 the  call routes in fine, I can answer and have 2-way audio. But I can't seem to route that 7 digit DNIS to an  extension with a different number. So, what I want to do is this:

When  someone dials 5551234 I want to route that call to ext. 1001, or some  virtual extension that I build on all phones, etc. I guess I'm not  building my translations correctly or have no idea what I am doing.

Any help?

Thanks.

1 Accepted Solution

Accepted Solutions

Nick Richards
Level 1
Level 1

You can accomplish this in many different ways.

The easiest is to create a voice translation-rule that is referenced by a voice translation-profile applied to all inbound calls.

In your example where calls to 5551234 ring 1001, you would perform the following:

1) Create an ephone-dn with the number 1001

2) Assign the ephone-dn to an ephone with the command "button 1:101"

3) Create a voice translation-rule:

voice translation-rule 1

rule 1 /5551234/ /1001/   <--- This modifies an inbound call to 5551234 to be 1001 within your system

4) Create the profile to translate the inbound called number with the rule above

voice translation-profile inbound 1001   <--- arbitrary name

translated called 1

5) Apply that rule to the inbound voice port

voice-port 0/0/0:23

translation-profile incoming 1001   <--- Name of profile above

Links:

Understanding DID:

http://www.cisco.com/en/US/tech/tk652/tk653/technologies_tech_note09186a00801142f8.shtml

Voice translation rules:

  Voice Translation Rules in Cisco IOS Gateways

Voice command reference:

http://www.cisco.com/en/US/docs/ios/12_3t/voice/command/reference/123tvr.html

View solution in original post

27 Replies 27

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Kyle,

What problems are you having. Do you need help building the tranlsation rules? What xlation do you have presently..Can you send your config...

Please rate all useful posts

I just don't know HOW to build the translations. I want a 7 digit DNIS 5551234 to go to extension 1001. I can't make that happen. Frankly I am not sure I even know how. I've essentially been guessing. Like I said, I can build that extension as 5551234 so I have confirmed that It will route just that translations are wrong.

Nick Richards
Level 1
Level 1

You can accomplish this in many different ways.

The easiest is to create a voice translation-rule that is referenced by a voice translation-profile applied to all inbound calls.

In your example where calls to 5551234 ring 1001, you would perform the following:

1) Create an ephone-dn with the number 1001

2) Assign the ephone-dn to an ephone with the command "button 1:101"

3) Create a voice translation-rule:

voice translation-rule 1

rule 1 /5551234/ /1001/   <--- This modifies an inbound call to 5551234 to be 1001 within your system

4) Create the profile to translate the inbound called number with the rule above

voice translation-profile inbound 1001   <--- arbitrary name

translated called 1

5) Apply that rule to the inbound voice port

voice-port 0/0/0:23

translation-profile incoming 1001   <--- Name of profile above

Links:

Understanding DID:

http://www.cisco.com/en/US/tech/tk652/tk653/technologies_tech_note09186a00801142f8.shtml

Voice translation rules:

  Voice Translation Rules in Cisco IOS Gateways

Voice command reference:

http://www.cisco.com/en/US/docs/ios/12_3t/voice/command/reference/123tvr.html

Or if you want to change a range, like 5551000 to 5559999 to be an equal 4-digit extension based on the DID:

rule 1 /555\(....\)$/ /\1/

That rule will pull the last 4 digits off your 7-digit DID and use that as the 4-digit ext.

I hope I'm not just convoluting things....

Nick

Excellent. You beat me to it.Kyle this is what you need to do

Please rate all useful posts

Your first answer was perfect. I had part of that correct. I built the translation rule correctly but didn't have a profile. Thats what I was missing.. Thank you! Its working perfectly.

Hi all the real problem of my configuration was the VWIC-1MFT-E1 card by VWIC-1MFT-E1, and the interface up and call reach IP phone. But I made some update into my configuration.
Now all configuration work very fine. Take you all for our input in this subject.

joearmstg
Level 1
Level 1

Hi all,

why to use

voice-port 0/0/0:23

Instead of

voice-port 0/0/0:15

This is because for T1 ISDN your signalling channel is on channel 24 (23 when you count from zero) while on E1 ISDN your signalling channel is on channel 16. So for E1 you will use x/y/z:15 or x/y:15 while for T1 you will use x/y/z:23 or x/y:23

Please rate all useful posts

It depends which digital channel you are using.

If T1 then it would be "voice-port 0/0/0:23" and if E1 then "voice-port 0/0/0:15".

joearmstg
Level 1
Level 1

I have done similar configuration but I have some trouble

This is my configuration:

network-clock-participate wic 0

voice-card 0
 no dspfarm
 dsp services dspfarm

controller E1 0/0/0
framing no-crc4
linecode ami
pri-group timeslots 1-16

voice translation-rule 110
rule 1 /22238408/ /2000/

voice translation-profile sda-in
 translate called 110
exit

interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 no logging event link-status
 isdn switch-type primary-net5
 isdn overlap-receiving
 isdn point-to-point-setup
 isdn incoming-voice voice
 isdn static-tei 0
 isdn negotiate-bchan
 no fair-queue
 isdn send-alerting
 isdn bchan-number-order ascending
 isdn sending-complete
 no cdp enable
exit

voice-port 0/0/0:15
translation-profile incoming sda-in
 compand-type a-law
 cptone FR
 bearer-cap Speech
exit

dial-peer voice 9 pots
 translation-profile incoming sda-in
 destination-pattern 9T
 incoming called-number 222384..
 direct-inward-dial
 port 0/0/0:15
 forward-digits all

 

Every interface is up, but when I make a call on 22238408 the IP phone number 2000 are not ringing.

make "debug isdn q921" call not coming.

I you have a quick look at my configuration to see if have make a mistake !!

 

You didnt mention what problems you have but what I see from your config is this..

 

dial-peer voice 9 pots
 translation-profile incoming sda-in
 destination-pattern 9T
 incoming called-number 222384..
 direct-inward-dial
 port 0/0/0:15
 forward-digits all ( you cant use forward digits all, as this will send 9 to the PSTN)

Please do this..

conf t

no dial-peer voice 9 pots

dial-peer voice 9 pots
 translation-profile incoming sda-in
 destination-pattern 9T
 incoming called-number 222384..
 direct-inward-dial
 port 0/0/0:15
 

NB: I have removed the forward digits all in the new config..

Please rate all useful posts

I have made the update of the configuration us you recommend but can call my IP (2000) phone from External Number 22238408

You can or cant call? The config changes you made is for outbound call. What you have mentioned now is for an inbound call...

can you send the output of the ff: for the failed call

debug isdn q931

Please rate all useful posts