[cisco-voip] Dial-Peer Catch All question
voipermike at gmail.com
voipermike at gmail.com
Wed May 23 23:05:05 EDT 2012
Sure, if all the 7 digit numbers coming in start with 652.
Best Regards,
Mike
Sent from my iPhone
On May 23, 2012, at 9:40 PM, Nick Matthews <matthnick at gmail.com> wrote:
> Preference will take effect when two equal dial peers are matched. In
> this case it will always be second choice since it's not as specific
> of a match as dial-peer 34.
>
> -nick
>
> On Wed, May 23, 2012 at 3:42 PM, <voipermike at gmail.com> wrote:
>> Actually, if you want DP 555 to be hit as a last resort, it shouldn't be preference 1.
>>
>> Best Regards,
>> Mike
>>
>> Sent from my iPhone
>>
>>
>>
>> On May 23, 2012, at 2:38 PM, Nick Matthews <matthnick at gmail.com> wrote:
>>
>>> That should work - your problem doesn't appear to be directly related
>>> to this configuration.
>>>
>>> -nick
>>>
>>> On Wed, May 23, 2012 at 3:05 PM, cisco.voip <cisco.voip at verizon.net> wrote:
>>>> All, I am using 7 digit dialing within the network, I was looking at a way
>>>> to do a catch all,
>>>> so if a 7 digit number doesn't match an existing dial peer, it would hit
>>>> dial peer 555 (see Below)
>>>> and be routed to our default voip gateway - doesn't seem to work with this
>>>> config and is affecting other
>>>> 7 digit calls, what is the best way to do this?
>>>>
>>>>
>>>> dial-peer voice 34 voip
>>>> preference 10
>>>> destination-pattern 652....
>>>> session protocol sipv2
>>>> session target ipv4:10.1.1.1
>>>> voice-class codec 1
>>>> no vad
>>>>
>>>>
>>>> dial-peer voice 555 voip
>>>> desc catch-all
>>>> preference 1
>>>> destination-pattern .......
>>>> session protocol sipv2
>>>> session target ipv4:10.2.2.1
>>>> voice-class codec 1
>>>> no vad
>>>>
>>>>
>>>> _______________________________________________
>>>> cisco-voip mailing list
>>>> cisco-voip at puck.nether.net
>>>> https://puck.nether.net/mailman/listinfo/cisco-voip
>>>
>>> _______________________________________________
>>> cisco-voip mailing list
>>> cisco-voip at puck.nether.net
>>> https://puck.nether.net/mailman/listinfo/cisco-voip
More information about the cisco-voip
mailing list