11-17-2005 11:52 AM - edited 03-17-2019 08:34 PM
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!
Solved! Go to Solution.
11-20-2005 03:33 PM
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
11-22-2005 07:21 PM
I think you should use "tranlate calling 11" instead of "translate called 11" for inbounding calling number.
11-18-2005 12:50 PM
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.
11-18-2005 11:16 PM
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.
11-20-2005 12:39 AM
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.
11-20-2005 03:33 PM
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
11-22-2005 11:26 AM
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
11-22-2005 07:21 PM
I think you should use "tranlate calling 11" instead of "translate called 11" for inbounding calling number.
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