cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1415
Views
0
Helpful
6
Replies

CME number stripping for outgoing calls

Hello all, I hafe a problem with CME for outgoing calls to the PSTN. Internalnumbers are 3 digits long. Numbers from PSTN are 7 digits long. Incvommin calls working fine. Outgoing calls are working also, but the first 4 digist from the nummer are twice in the calling number on the reciver side. Is there any workaround to fix this? Any suggestion are wellcom.

PS. Sitting in germany!

2 Accepted Solutions

Accepted Solutions

hi,

number expansion is the oldest method to translate numbers:)

why you arent using translation profiles to translate outgoing numbers?

i would use the following:

voice translation-rule 1

rule 1 /^8587/ //

!

voice translation-profile OUTGOING-CME

translate calling 1

!

dial-peer 1 pots

translation-profile outgoing OUTGOING-CME

greetings

Mehmet

View solution in original post

I think you should use "tranlate calling 11" instead of "translate called 11" for inbounding calling number.

View solution in original post

6 Replies 6

k.mcgrew
Level 1
Level 1

Do you have direct-inward-dial on the inbound dial-peer? Do you have a translation rule (ala translate-outgoing calling 1) on the same dial-peer? We found those needed in a previous installation in order to deliver the proper ANI digits to the PSTN.

Yes there is direct-inward-dial. I use this dialplan-pattern "dialplan-pattern 1 8587... extension-length 3". If I use this pattern the four digits 8587 are twice on the called side. If I use the pattern 8587000 extension-length 3, the nummer are correct shown, but no dialin working any more.

I do not use translation-rules.

I have fixed this issue. I removed the whole dialplan-pattern. Now I use the "num-exp 8587... ..." command. The number screening on the called phone shows correct.

hi,

number expansion is the oldest method to translate numbers:)

why you arent using translation profiles to translate outgoing numbers?

i would use the following:

voice translation-rule 1

rule 1 /^8587/ //

!

voice translation-profile OUTGOING-CME

translate calling 1

!

dial-peer 1 pots

translation-profile outgoing OUTGOING-CME

greetings

Mehmet

Hi Mehmet,

I know there are better ways to do this. Thank you for your suggestion. I will change to translation rules.

I have other problems probably you can help me. I have a translation-rule for incoming calls to show the leading 0's.

!

voice translation-rule 11

rule 1 /\(^.*\)/ /0\1/ type national national

rule 2 /\(^.*\)/ /00\1/ type international international

!

!

voice translation-profile 0prefix

translate called 11

!

!

dial-peer voice 3 pots

translation-profile incoming 0prefix

!

If I test the rule all working fine, but in real the rule dos not work.

test voice translation-rule 11 1243 type international

Matched with rule 2

Original number: 1243 Translated number: 001243

Original number type: international Translated number type: international

Original number plan: none Translated number plan: none

!

test voice translation-rule 11 1243 type nat

Matched with rule 1

Original number: 1243 Translated number: 01243

Original number type: national Translated number type: national

Original number plan: none Translated number plan: none

I am not sure I have a problem with the IOS.

Greetings

Rene

I think you should use "tranlate calling 11" instead of "translate called 11" for inbounding calling number.