08-27-2012 12:50 AM - edited 03-16-2019 12:53 PM
Hi
We have implemented DID in our network. We are having 3845 gateway router and using H.323 as gateway protocol. Now the problem is when someone is calling from outside to a DID number the call is coming and caller id is visible but when a call is made from a DID number to outside (Mobile number) the call is going but the particular DID number is not showing in the cell phone instead the pilot number is showing and the problem is same for all the DID numbers configured in the network. So is there any configuration related issue??? Please suggest... The configuration that we made in the GW router for DID is follows -
controller E1 0/1/1
framing NO-CRC4
pri-group timeslots 1-31
description *** DID PRI ***
interface Serial0/1/1:15
description *** DID PRI ***
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
voice-port 0/1/1:15
cptone IN
dial-peer voice 5 pots
description *** Outgoing calls to PSTN ***
preference 3
destination-pattern .T
no digit-strip
direct-inward-dial
port 0/1/1:15
forward-digits all
dial-peer voice 6 voip
destination-pattern 2213....
session target ipv4:XXX.XXX.XX.X
dtmf-relay h245-alphanumeric
codec g711ulaw
ip qos dscp cs5 media
no vad
08-27-2012 04:55 AM
Ok...
3000355 is my internal number -
Now let me describe you my GW scenario -
There are three PRI in my GW, out of which 2 are used for for Contact center and one for DID.
The port Se0/0/0:15 (Contact Center 1) - 22540470
The port Se0/0/1:15 (Contact Center 2) - 22540471
The port Se0/1/1:15 (Contact Center 2) - 22139500
Now see the config -
interface Serial0/0/0:15
description *** PRI- 22540470 ****
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
isdn bchan-number-order ascending
no cdp enable
!
interface Serial0/0/1:15
description *** PRI- 22540471 ****
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
!
interface Serial0/1/1:15
description *** DID PRI 22139500 ***
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
dial-peer voice 1 pots
preference 1
destination-pattern .T
no digit-strip
direct-inward-dial
port 0/0/0:15
forward-digits all
!
dial-peer voice 2 pots
preference 2
destination-pattern .T
no digit-strip
direct-inward-dial
port 0/0/1:15
forward-digits all
!
dial-peer voice 3 voip
destination-pattern 0...
voice-class codec 1
session target ipv4:192.168.150.1
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
!
dial-peer voice 4 voip
preference 1
destination-pattern 0...
voice-class codec 1
session target ipv4:192.168.150.2
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
!
dial-peer voice 6 voip
destination-pattern 2213....
session target ipv4:192.168.150.2
dtmf-relay h245-alphanumeric
codec g711ulaw
ip qos dscp cs5 media
no vad
!
dial-peer voice 5 pots
description *** Outgoing calls to PSTN ***
preference 3
destination-pattern .T
no digit-strip
direct-inward-dial
port 0/1/1:15
forward-digits all
I have changed the preference and checked but result is the same......
08-27-2012 05:03 AM
3000355 is your internal number? 2213... is your DDI. So for inbound calls do you have translation pattern on cucm to change 2213XXXX to 3000XXXX?
If you do then you will need to configure voice xlation rules to change 3000XXXX to 2213XXXX for outbound calls
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
08-27-2012 05:22 AM
CUCM Config
Route Group
Route List
Route Pattern
Gateway Config
There is no translation pattern....
08-27-2012 05:26 AM
But my problem is not for incoming calls.. Incoming calls are doing fine with actual caller ID to a particular DID number.. but when we are making a call from DID number to a cell number , the particular DID number is not showing in the cell phone, instead it is showing the pilot PRI number with preference 1.
08-27-2012 05:35 AM
As i wrote to the first post here you have to send the correct digits to the ISP
At that case propably the correct did range is 2213XXXX
So if your extension range is 3000XXXX then the translation rule will be done in Voice Gateway to translate the
3000XXXX to 2213XXXX
Example:
Put the below translation profile into outgoing pots dial peer
voice translation-profile OUTGOING
translate calling 15
voice translation-rule 15
rule 1 /^3000$/ /2213$/
Put the** voice translation-profile outgoing OUTGOING *** (to the pots dial peer for the PSTN network)
Another one issue
you are using 9.! in your route pattern BUT your pots have .T ..You have to strip the 9 if you want to match your destination pattern in the pots dial peer..
You can strip the 9 by going to route pattern( 9.!) and then at the Called Party Transformations choose PREDOT..
Regards
cc
08-27-2012 05:51 AM
We are using 9.! in route pattern and pots have .T and have choosed PREDOT in called party transformation.
08-27-2012 06:09 AM
While configuring translation pattern in GW router I am getting an error -
VOICE-GATEWAY(config)#voice translation-profile OUTGOING
VOICE-GATEWAY(cfg-translation-profile)#translate calling 15
VOICE-GATEWAY(cfg-translation-profile)#
VOICE-GATEWAY(cfg-translation-profile)#
VOICE-GATEWAY(cfg-translation-profile)#exit
VOICE-GATEWAY(config)#voice translation-rule 15
VOICE-GATEWAY(cfg-translation-rule)#rule 1 /^3000$/ /2213$/
^
% Invalid input detected at '^' marker.
08-27-2012 06:19 AM
I just discovered that thay may not work...
Please let us know how the internal numbers map to the DDI numbers
eg 3000140 ................2213?
300055...............2213?
This is important so we know how to configure the xlation rules
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
08-27-2012 06:34 AM
3000002 -----> 22139523
3000004 ------>22139502
3000191 ------>22139503
3000136 ------->22139506
....................................
....................................
....................................
And many more....
08-27-2012 06:50 AM
I have some bad news for you, this is going to be very difficult to achieve. The reason is that your internal numbers do not match your DDI in any similar pattern. Hence you will need to to create multiple translation rules for each number. The problem with this is that the cisco IOS can only do a maximum of 15 voice xlation rules.
Your other option will be to use external phone number mask. You will configure the DDI for each phone on the external number mask field. This also you will have to do one by one..If you have 500 Phones..you have to do it one one for each of them..
To do it one by one configure the foollowing
voice translation-rule 15
rule 1 /^3000136/ /22139506/
rule 2/^3000004/ /22139502/
rule 3 /^3000191/ /22139503/
and so on.....
then configure your voice translation profile
voice translation-profile OUTGOINGCLI
translate calling 15
dial-peer voice 5 pots
translation-profile outgoing OUTGOINGCLI
Then apply it to your outbound dial-peer
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
08-27-2012 09:06 AM
Thanx guys for all the advises....
Can you just tell me one thing... like if I have a phone with 2 lines one for my internal calls (VOIP) and other for DID (PSTN). For DID line I am using 9.! , do I need a translation pattern?? If yes why??
Line 1 (VOIP) - 3000002
Line 2 (DID) - 22139512
08-27-2012 05:29 AM
I cant see the images. This is getting too complicated than it needs to be. So lets start from scratch
1. What are your internal extensions? are they 3000XXXX
2. What are your DDIs? 2213XXXX ?
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
08-27-2012 05:39 AM
My internal extensions are 3000XXX
DID - 2213XXXX
08-27-2012 05:53 AM
Then configure translation rules as Chrys suggested or use external number mask like this on your phones 2213XXXX assuming that the last 4 digit of your extensions match the last 4 digit of the DDI
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
08-27-2012 06:33 AM
Hi
My Bad
Try this
But Before to apply it test the translation if its working correct
voice translation-rule 15
rule 1 /^3000/ /22139/
Also for test the translation rule how it will be the number after the translation Before to put it in your pots dial peer , issue this command
test voice translation-rule 15 3000456
VG# test voice translation-rule 15 3000456
Matched with rule 1
Original number: 3000456 Translated number: 22139456
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
Regards
cc
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide