cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
698
Views
0
Helpful
2
Replies

SRST, alias

gariusmar
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Clifford McGlamry
Spotlight
Spotlight

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.

View solution in original post

2 Replies 2

davidjani
Level 1
Level 1

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.

Clifford McGlamry
Spotlight
Spotlight

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.