05-21-2019 05:49 AM
Hello,
I'm applying the following translation pattern in my voice gateway, but can't make it work
voice translation-rule 1
rule 1 /0944994433/ /5000/
rule 2 / 5000/ /1000/
the first rule goes to CUCM and phone rings, but if CUCM is not reacheable, I want the second rule to work so the first translation will be translated again and make the 1000 extension ring instead, is that possible ? trying this in SRST router)
thanks
05-21-2019 06:29 AM
It does not work like that. What you need to do is to configure two translation rules and then apply one for normal call routing and apply the second one during SRST. For SRST configure and apply the translation profile as follows:
voice translation-rule 10
rule 1 /^0944994433$/ /5000/
voice translation-profile abbr-dial
translate called 10
++ SCCP phones +++
call-manager-fallback
translation-profile incoming abbr-dial
!
++ SIP Phones +++
voice register pool 2
translation-profile incoming abbr-dial
05-21-2019 07:52 AM - edited 05-21-2019 08:42 AM
Thank you Ayodeji,
Just want to make sure i'm doing things right, because i'm facing some bugs
should I create a similar dial-peer for SRST too ?
Here's the dial-peer towards CUCM
dial-peer voice 2 voip
destination-pattern 5000
session target ipv4:192.168.1.100
dtmf-relay h245-alphanumeric
codec g711ulaw
should I create another one pointing to VG ip, or create a dial-peer "pots", I tried the last one (pots) but once applied it never go back to the CUCM dial-peer, even when I create 2 traslation patterns
05-22-2019 02:06 AM
Since this is a h323 dial-peer, you will need to configure the following, so that when CUCM is down, calls will route to SRST gateway and when CUCM is up, calls will always go to CUCM first.
voice class h323 1
h225 timeout tcp establish 2
h225 timeout setup 2
++ dial-peer to CUCM ++
dial-peer voice 2 voip
preference 1
voice-class h323 1
destination-pattern 5000
session target ipv4:192.168.1.100
dtmf-relay h245-alphanumeric
codec g711ulaw
++ dial-peer to SRST gateway IP ++
dial-peer voice 2 voip
preference 2
voice-class h323 1
destination-pattern 5000
session target ipv4:X.X.X.X ( where X.X.X.X is your SRST gateway ip ( you can use loopback address if you have one on the gateway)
dtmf-relay h245-alphanumeric
codec g711ulaw
05-22-2019 03:13 AM
05-22-2019 04:18 AM
Is the hunt pilot number registered in SRST? I doubt it, hence why you will need the dial-peer. In SRST the gateway will automatically create dial-peers for your phones with extension on them but for any other number like a hunt pilot you have to tell the gateway where to send the calls to.
05-23-2019 07:04 AM
05-23-2019 02:03 PM
In your configuration, I don't see the second dial peer to be used during SRST..
05-23-2019 05:20 PM
05-24-2019 03:17 AM
Hi Apologies if I was not clear earlier.
You dont need to create dial-peers for phones with extensions because there dial-peers will be automatically created. But you need dial-peers for any other number that is not registered automatically. Your hunt pilot number will not be registered automatically in SRST. You will need to define it for it to be available in SRST and hence you need to create dial-peers to route to it.
05-24-2019 04:07 AM
05-21-2019 07:54 AM - edited 05-21-2019 11:41 AM
Tried the first dial peer mentioned in the following ciscopress article.. and it still doesn't
work http://www.ciscopress.com/articles/article.asp?p=2492950&seqNum=5
It makes the srst translation work always first.. even when phones are registred wit CUCM and translation rules applied... Im confused
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: