SRST, alias

Answered Question
Nov 3rd, 2008
User Badges:

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

Correct Answer by Clifford McGlamry about 8 years 8 months ago

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.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
davidjani Tue, 11/04/2008 - 07:07
User Badges:

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.

Correct Answer
Clifford McGlamry Wed, 11/05/2008 - 05:34
User Badges:
  • Silver, 250 points or more
  • Community Spotlight Award,

    Best Publication, November 2015

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.


Actions

This Discussion