cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2059
Views
0
Helpful
15
Replies

Translation profile in SRST does not work

lukasz.banka
Level 1
Level 1

Hello,

I have following setup for internal short-dialing in SRST mode:

voice translation-rule 11

rule 1 /^11\(..\)#$/ /2222211\1/

 

voice translation-profile inbound_from_SRST

translate called 11

call-manager-fallback

translation-profile incoming inbound_from_SRST

Phones have DNs in the following format 2222211XX

This TP is supposed to translate called number 11XX# to 2222211XX when in SRST mode, to allow shortdial. I've checked forums and docs and it seems this config is good. Still it does not work. 

IOS is 151-4.M9

Do you have any ideas why?

2 Accepted Solutions

Accepted Solutions

Hi.

Modifiy your rule from rule 1 /^11\(..\)#$/ /2222211\1/ to 

rule 1 /^11\(..\)$/ /2222211\1/ 

call-manager-fallback

translation-profile incoming inbound_from_SRST

Let me know

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

View solution in original post

Hi Lukasz,

Yes. # is used for interdigit timeout so that the user need not wait for the interdigit timer to expire and the call goes immediately. hence it will not be available in teh dialed number for TP match as suggested by Carlo ,removing this would help to match the TP. Please change and let us know the outcome.

HTH,

Rajan

View solution in original post

15 Replies 15

Hi.

Just to better understand your query,

2222211XX is a number called from outside and have to be translated to 11XX internally?

Please let me know and , if possible, specify the call flow.

Thanks

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

Hello,

Phones register in CCM with DNs in following format: 2222211XX

After WAN outage, they register to VGW.

In CCM there is translation pattern to allow short dial to change callled number from 11XX# to 2222211XX (intra-office shortdial)

I would like to retaint the same functionality in SRST.

So, this translation is supposed to expand the called number for phones calling in SRST mode to reach other phones in SRST mode.

Phone SRST  dial 11XX# --> Translation (incoming call manager fallback) translates called number to 2222211XX --> Call is directed to Phone in SRST mode.

Regards,

Lukasz.

Hi Lukasz,

There is a small catch here with regards to the direction in which the translation is applied under call-manager-fallback.

"The incoming and outgoing commands are related to the IP phone. The incoming command changes the parameters of calls that come from the IP phone. The outgoing command changes the values of calls that go out of the router to the IP phone."

http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/64020-number-voice-translation-profiles.html#con10b

So as this call you are talking about is not originated from phone, can you try to apply it in outbound direction:

call-manager-fallback

translation-profile outgoing inbound_from_SRST

Another option is to use dial-plan pattern command in call-manager-fallback.

dialplan-pattern 1 2222211XX extension-length 4

HTH,

Rajan

Please rate useful posts

Rajan,

this is call originated from phone in SRST mode. It's should allow for shortdial (expand called number) for calls between phones in SRST mode on the same router.

Regards,

Lukasz.

Hi Lukasz,

But still the call destination is another SRST phone and not an external number. I guess thats what that statement specifies.

Have you tried the dial-plan pattern command ?

Thanks,

Rajan

Also using this debug "debug voice translation" we can confirm whether the translation rule is actually hit when applied in incoming direction.

Rajan,

the problem is I do not have access to debugs, also I cannot change "on the fly". 

I can use dial-plan pattern as well. Now trying to confirm where the issue is, since it should be working.

Do you think # in the translation is an issue?

I need it to be 11XX# to be consistent with CCM config.

Regards,

Lukasz.

Hi Lukasz.

Did you try what I suggested.

I tried in my Lab and works as per your requirement.

Please Let me know

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

Carlo, 

not yet. Just let me know if with this modified rule you can dial as well 11XX# or 11XX only?

Regards,

Lukasz.

Hi Lukasz.

Yes it allows phones to dial with or without hash.

I tried it in my lab and it works good 

Please post the actual running config 

Thanks 

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

Carlo,

thank you. I'll chage the conf and let you know if it works in my case as well.

So it looks like the router have issues with # sign in TP?

Regards,

Lukasz.

Hi Lukasz,

Yes. # is used for interdigit timeout so that the user need not wait for the interdigit timer to expire and the call goes immediately. hence it will not be available in teh dialed number for TP match as suggested by Carlo ,removing this would help to match the TP. Please change and let us know the outcome.

HTH,

Rajan

Hi.

Modifiy your rule from rule 1 /^11\(..\)#$/ /2222211\1/ to 

rule 1 /^11\(..\)$/ /2222211\1/ 

call-manager-fallback

translation-profile incoming inbound_from_SRST

Let me know

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

devils_advocate
Level 7
Level 7

Try the below:

interface Loopback0
ip address 172.20.1.1 255.255.255.255

dial-peer voice 1001 voip
translation-profile outgoing inbound_from_SRST
destination-pattern 11..
session target ipv4:172.20.1.1
codec g711alaw

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: