cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
371
Views
0
Helpful
1
Replies

dial-peer voip can't use

nodh
Beginner
Beginner

I call number 12345, and use num-exp translate 12345 to 55599999,but the call not use the dial-peer 9, it use dial-peer 5.

config

dial-peer voice 1 pots

incoming called-number ...

direct-inward-dial

port 1/0:15

forward-digits 8

dial-peer voice 5 pots

destination-pattern 555...

port 1/0:15

forward-digits 8

dial-peer voice 9 voip

destination-pattern 55599999

session target ipv4:109.24.28.2

num-exp 12345 55599999

1 REPLY 1

thusain
Enthusiast
Enthusiast

This is behaviour as expected. Your called number of 55599999 matched both dial peers, but it matches dial peer 5 first because the number of digits to match are less on dial peer 5 so it matches immediate 555999 and processes the call.

You should be a little more specific in your dialplan, use differnt destinations.

Taimoor

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: