cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
865
Views
5
Helpful
5
Replies

Removing DID digits in SRST Mode

spatrick73
Level 1
Level 1

I'm getting 8 digits from the Telco and we use 7, I'm having a hard time finding out how to remove the first digit.

Example - incoming DID number 47111309 extension number 7111309

Thanks for the help

5 Replies 5

asandborgh
Level 4
Level 4

Hi,

Use a voice translation-rule/profile and applyy it to an inbound dial-peer that is catching the DID or directly to the port (although this will trim it to 7 digits even when you are not in SRST).

Something like this:

voice translation-rule 1

rule 1 /4711..../ /711..../

voice translation-profile indid

translate called 1

dial-peer voice 1000 pots

incoming called .

direct-inward-dialing

translation-profile in indid

HTH

Art

I have tried that but I'm getting an error

(cfg-translation-rule)#rule 1 /4711..../ /711..../
                                                       ^
% Invalid input detected at '^' marker.

Duh!

Sorry I'm rusty..

Try

rule 1 /4711\(....\)/  /711\1/

Art

Worked perfect, thanks

np - glad to hear it helped

Cheers!

Art

Getting Started

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: