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

Translation Rule Voice VOIP to add "+" on the left (e.g. "+4930....")

Hello!

I want to make calls to a SIP Server. Actually i need the Number in the full E.164 Format:

"+4930123456"

How can i add via translation rule a "+" on the left side (if this is possible?)

thanks!

C2821 12.4.24

Everyone's tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Gold

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

There is no way to do that using translation rules. You will have to put 00 and that's it.

16 REPLIES
Hall of Fame Super Gold

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

There is no way to do that using translation rules. You will have to put 00 and that's it.

Community Member

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

Thanks again

So no way i can add this?

Hall of Fame Super Gold

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

It could be done with a custom-made TLC/IVR. If you are interested in acquiring one, contact me at the address present in my profile.

VIP Super Bronze

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4


I can't guarantee this will work but feel free to give it a try:

voice translation-rule 1
rule 1 /^4930....$/ /+\0/

voice translation-profile e164_4940_Outgoing
translate called 1

dial-peer voice 1 voip
translation-profile outgoing e164_4940_Outgoing
numbering-type national
destination-pattern 4930....
session target ipv4:

session protocol sipv2

session transport tcp
forward-digits all

Hall of Fame Super Gold

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

That appears to work fine now, I think it did not in previous versions.

Community Member

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

Hello All,

I'm trying to do this, to add a + in front of the calling number, just applied the configurations but the + signal is not being show on IP Phone connected to a CUCM 7

The configuration is:

voice translation-rule 100
rule 1 /^[2-9]........./ /+55\0/
rule 2 /^00\(.*\)/ /+\1/

dial-peer voice 1 pots
description ## INBOUND CALLS ##
translation-profile incoming Inbound-Calls
incoming called-number .
direct-inward-dial
port 2/0/0:0

RIO1RT009448#test voice translation-rule 100 2124727777  
Matched with rule 1
Original number: 2124727777     Translated number: +552124727777
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none

The test on the gateway is working but on the call gets to the phone it shows without the + signal....

Phone being used is 7941GE

CUCM 7.1.3

Gateway: Cisco IOS Software, 3800 Software (C3825-SPSERVICESK9-M), Version 12.4(23), RELEASE SOFTWARE (fc1)

H323

Hall of Fame Super Gold

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

I think it's normal, phone only support digits and not +.

Unless I'm wrong as I was wrong before.

VIP Super Bronze

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

First, the 7941 is a Type B phone and does support E.164 display.

There are several important pieces missing from your reply:

  • You have tested the translation pattern; however, you do not show proof that the dial-peer shown is being matched for the incoming call leg. If another dial-peer is chosen the translation profile will not apply. You can use the debug dialpeer command to confirm this.
  • How is the router communicating with CUCM: MGCP, H.323, or SIP? The outgoing dial-peer configuration also matters here. For example, are you stripping digits?
  • What is the gateway or trunk configuration in CUCM? Are you limiting the significant digits or applying an CgPI Transformation CSS?
  • Does the phone or phone's device pool have a CgPI Transformation CSS applied? The CgPI Transformation Patterns may be reformatting the pattern on you.

CgPI = Calling Party Information

CdPI = Called Party Information

Community Member

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

  • You have tested the translation pattern; however, you do  not show proof that the dial-peer shown is being matched for the  incoming call leg. If another dial-peer is chosen the translation  profile will not apply. You can use the debug dialpeer command to confirm this.

The dial-peer is being matched as the call without translation comes without the country code and now inbound calls are showing with the country code just the + is missing, so the translation is being applied

  • How  is the router communicating with CUCM: MGCP, H.323, or SIP? The  outgoing dial-peer configuration also matters here. For example, are you  stripping digits?

H.323, no stripping digits

  • What is the gateway or trunk configuration in  CUCM? Are you limiting the significant digits or applying an CgPI  Transformation CSS?
H.323 Gateway
H.225

No limiting or transformation

  • Does the phone or phone's device pool have a  CgPI Transformation CSS applied? The CgPI Transformation Patterns may  be reformatting the pattern on you.

No

Any idea?

Hall of Fame Super Gold

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

j.schulenberg wrote:

First, the 7941 is a Type B phone and does support E.164 display.

That 's not what you linked doc says ?

Community Member

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

There is no way to add + using voice translation rules on a H323 Gateway, per TAC, the H225 stack will remove it.

So I was trying to add this using

Incoming Calling Party Settings, on the device pool, but did not work as I'm using E1 R2 and there is no configuration such as Type of Number....am I right about E1 R2 and TON?

There is another way of doing it?

VIP Super Bronze

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

The way I would solve this is to use SIP between the router and CUCM instead of H.323.

  • Convert the outgoing VoIP dial-peer to SIP:
    session protocol sipv2
    dtmf-relay rtp-nte
  • Use the appropriate DTMF relay on both sides:
    • Router:  dtmf-relay rtp-nte (outgoing VoIP dial-peer)
    • CUCM: DTMF Signaling Method RFC2833
  • Use PRACK on CUCM by copying the default SIP Profile, changing SIP Rel1XX Options to Send PRACK if 1xx Contains SDP, and assigning the new profile to the trunk.
Community Member

Re: Translation Rule Voice VOIP to add "+" on the left

There is no impact using SIP and E1 R2?

VIP Super Bronze

Re: Translation Rule Voice VOIP to add "+" on the left

Generally speaking IOS translates between ISDN and SIP quite well. We do not have E1 R2 in the US for me to test this variant however. Give it a try and see.

Don't forget to update your route group to contain the trunk vs. the gateway.

VIP Super Bronze

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

Yes, the 7941 does support displaying the + character:

User Interface on IP Phones

Different types of IP telephones accept keypad input and present visual information in different ways. For purposes of this chapter only, we define the following phone types:

•Type-A phones — Include the Cisco Unified IP Phone 7905, 7912, 7940, and 7960.

Type-B phones — Include the Cisco Unified IP Phone 7911, 7941, 7942, 7945, 7961, 7962, 7965, 7970, 7971, and 7975.

Support for + Dialing on the Phones

On Type-A and Type-B phones, it is not possible to dial a + sign using the keypad; however, on Cisco Unified Personal Communicator endpoints, the + sign may be typed in by the user using the computer's keyboard or entered as part of the input string when using a click-to-dial function of the endpoint.

On Type-A phones, there is no support to display the + sign.

On Type-B phones and on Cisco Unified Personal Communicator, incoming calls can present a calling party number including + as part of the number. When a call is offered to a phone, the number shown on the ringing phone is processed by any configured calling party number transformation patterns; however, the number stored in the missed and received calls directories is the original pre-transformation number, allowing the one-touch dialing of previously received calls featuring the + sign as part of the calling number.

Hall of Fame Super Gold

Re: Translation Rule Voice VOIP to add "+" on the left (e.g. "+4

Sorry Jonathan, I was reading a "not" where there it wasn't.

7068
Views
6
Helpful
16
Replies
CreatePlease to create content