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

IOS dial-peer question

fredj1234
Level 1
Level 1

Hi,

I'm trying to create a voice dial-peer where I can dial 7 digits but only have 4 of the digits forwarded to the appropriate GK.

example:

dial-peer voice 1234 voip

session target ipv4:myGKipAddress

codec g711ulaw

destination-pattern:555....

In destination-pattern I want to discard 555 before send it to GK and send rest of the digits.

Thanks,

-Fred

1 Accepted Solution

Accepted Solutions

Brandon Buffin
VIP Alumni
VIP Alumni

Fred,

You could use a voice translation rule to accomplish this such as:

voice translation-rule 1

rule 1 /555(....\)/ /\1/

voice translation-profile 1

translate called 1

dial-peer voice 1234 voip

session target ipv4:myGKipAddress

codec g711ulaw

destination-pattern:555....

translation-profile outgoing 1

Hope this helps.

Brandon

View solution in original post

2 Replies 2

Brandon Buffin
VIP Alumni
VIP Alumni

Fred,

You could use a voice translation rule to accomplish this such as:

voice translation-rule 1

rule 1 /555(....\)/ /\1/

voice translation-profile 1

translate called 1

dial-peer voice 1234 voip

session target ipv4:myGKipAddress

codec g711ulaw

destination-pattern:555....

translation-profile outgoing 1

Hope this helps.

Brandon

MARTIN STREULE
Spotlight
Spotlight

... and you should replace

session target ipv4:myGKipAddress

by

session target ras

...

Cheers,

Martin

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: