11-03-2008 07:30 AM - edited 03-13-2019 05:47 PM
HI,
In SRST mode i would like to create an alias that redirect a call to a number in PSTN and not to a number on a registered ephone.
I tried to do that with an alias but that dosen`t works.
Is that possible ?
Thanks Martin
Solved! Go to Solution.
11-05-2008 05:34 AM
Yes, it can be done.
One way is to set up two dial peers and a translation rule as shown below:
voice translation-rule 13
rule 1 /3015551211/ /14045553334/ plan any unknown
rule 2 /3015551212/ /14045553336/ plan any unknown
!
!
voice translation-profile 800_U
translate called 13
dial-peer voice 11 pots
description 800 hairpin
incoming called-number 301555121[12]
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 12 pots
description 800 hairpin
translation-profile outgoing 800_U
destination-pattern 301555121[12]
port 0/0/0:23
A second way to do this (this works under CME/H.323 mode....haven't tried it in SRST, but would think it should) is to simply create an ephone-dn that looks like this:
ephone-dn 38
number 350
call-forward all 914045551212
Once you set up your desired solution, use an ISDN Q.931 debug trace to verify what is coming in and going out (log it as it will run on the screen really fast). You should note that some telcos block this behavior by default to protect customers from toll fraud. If you find this is a problem you may need to work with them.
We also saw Telco issues with this in the past because of the call classification sent over the D channel for a call done this way on the outbound leg. That's why the "plan any unknown" was added on the end of the translation rule.
11-04-2008 07:07 AM
I am sure I have done this before.
Please make sure you are matching an outgoing dial-peer i.e. are you entering the '9' or any other required digit/prefix for an outside line?
Maybe try debugging the dial-peers and/or q931
In the meantime, can you confirm that you can make ANY external call in SRST as opposed to a forward?
Regards,
Jani.
11-05-2008 05:34 AM
Yes, it can be done.
One way is to set up two dial peers and a translation rule as shown below:
voice translation-rule 13
rule 1 /3015551211/ /14045553334/ plan any unknown
rule 2 /3015551212/ /14045553336/ plan any unknown
!
!
voice translation-profile 800_U
translate called 13
dial-peer voice 11 pots
description 800 hairpin
incoming called-number 301555121[12]
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 12 pots
description 800 hairpin
translation-profile outgoing 800_U
destination-pattern 301555121[12]
port 0/0/0:23
A second way to do this (this works under CME/H.323 mode....haven't tried it in SRST, but would think it should) is to simply create an ephone-dn that looks like this:
ephone-dn 38
number 350
call-forward all 914045551212
Once you set up your desired solution, use an ISDN Q.931 debug trace to verify what is coming in and going out (log it as it will run on the screen really fast). You should note that some telcos block this behavior by default to protect customers from toll fraud. If you find this is a problem you may need to work with them.
We also saw Telco issues with this in the past because of the call classification sent over the D channel for a call done this way on the outbound leg. That's why the "plan any unknown" was added on the end of the translation rule.
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