Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

IOS Gateway destination pattern

How can I(or how can the IOS Gateway) distinguish a destination-pattern (inside a dial-peer pots) for a local call (i.e. destination-pattern 0.......) from a celullar call (destination-pattern 0...........); I have both defined routing for different voice ports but when the client makes a cellular call, it gets blocked at 0....... ( I mean 7 digits, the 4 digits remaining don't even appear on 7960 IP phone display) please


Re: IOS Gateway destination pattern

You would need to use "T" in your dial-peers to force the router to wait for the entire dialed string before routing the call.

dial-peer voice 10 pots

destination-pattern 0.......T

dial-peer voice 20 pots

destination-pattern 0..........T




Re: IOS Gateway destination pattern

I might be wrong on this one but I thought the T indicates a variable length wildcard, so cell calls would also possibly match the dial-peer voice 10 pots. This would cause cell calls to go out the wrong port. I would avoid the T and use preference commands as in my additional post.


Re: IOS Gateway destination pattern

It sounds like you have two destination patterns that overlap. Ideally you should define the patterns to not overlap at all. If that is not possible then you will need to set the preference on the longer dial peer to be lower(matched first). If someone dials a number that should match the shorter dial peer then they will have to wait until the interdigit timer times out before the call goes through.


dial-peer voice 1 pots

description Match Cell Call

destination-pattern 0...........

perference 1

port x/x

dial-peer voice 2 pots

description Match local call

destination-pattern 0.......

preference 2

port x/x

right now both of your dial peers are probably set to the same default preference of 0 so it matches on the shorter length destination pattern instantly without ever giving a chance for a match on the longer.

I would also recommend setting your inter digit timeout to a shorter value than default if you use this method.

CreatePlease to create content