From: Scott Morris (swm@emanon.com)
Date: Mon Oct 18 2004 - 03:07:35 GMT-3
That's because you GAVE the "-" characters to the call setup portion.
They'll pass it to a telephony switch someplace which may ignore them, but
for text processing (regexp) they WILL match the pattern in this case.
However, if you were to pick up a phone and dial, you'll notice that the "-"
doesn't appear on any key for your to dial and therefore your string won't
match!
HTH,
Scott
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Andy
Sent: Sunday, October 17, 2004 6:41 PM
To: 'Andy'; 'ccie2be'; 'Group Study'
Subject: RE: dial peer pots
Actually I just tried it on a different router and it works fine , here is
the config / results:
TEST:
r3#csim start 703-810-1001
csim: called number = 703-810-1001, loop count = 1 ping count = 0
csim: loop = 1, failed = 1
csim: call attempted = 1, setup failed = 1, tone failed = 0
r3#
R3 VOIP PEER POINTING TO R1:
dial-peer voice 1001 voip
destination-pattern 703-810-1001
session target ipv4:172.16.123.1
R1 POTS DIAL PEER:
dial-peer voice 1001 pots
destination-pattern 703-810-1001
port 1/0/0
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of Andy
Sent: Sunday, October 17, 2004 3:36 PM
To: 'ccie2be'; 'Group Study'
Subject: RE: dial peer pots
I just tried it here and it didnt work , so I would say know that the
destination-pattern needs to be a contiguous pattern of charachters that
form a reachable pattern not including the - as it doesnt seem to be a valid
charachter...
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
ccie2be
Sent: Sunday, October 17, 2004 3:29 PM
To: Group Study
Subject: dial peer pots
Hi guys,
In a pots dial peer, is it OK to have a dash in the destination pattern for
a number?
Like this:
dial-peer voice 1 pots
destination pattern 203-222-1234
port 1/0/0
Or, should the number be entered like this?
dial-peer voice 1 pots
destination pattern 2032221234
port 1/0/0
Thanks, Tim
This archive was generated by hypermail 2.1.4 : Sat Nov 06 2004 - 17:11:49 GMT-3