10-28-2015 03:26 AM - edited 03-17-2019 04:43 AM
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?
Solved! Go to Solution.
10-28-2015 05:53 AM
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
10-29-2015 03:52 AM
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
10-28-2015 04:10 AM
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
10-28-2015 04:21 AM
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.
10-28-2015 04:52 AM
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
10-28-2015 05:05 AM
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.
10-28-2015 05:15 AM
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
10-28-2015 05:20 AM
Also using this debug "debug voice translation" we can confirm whether the translation rule is actually hit when applied in incoming direction.
10-28-2015 07:18 AM
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.
10-28-2015 07:25 AM
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
10-29-2015 01:53 AM
Carlo,
not yet. Just let me know if with this modified rule you can dial as well 11XX# or 11XX only?
Regards,
Lukasz.
10-29-2015 01:59 AM
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
10-29-2015 02:03 AM
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.
10-29-2015 03:52 AM
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
10-28-2015 05:53 AM
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
10-28-2015 04:59 AM
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
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