From: Carlos G Mendioroz (tron@huapi.ba.ar)
Date: Sun Jul 11 2004 - 14:24:42 GMT-3
Beware,
if I understand this correctly (which of course could not be the case)
this pattern matches 12345[01]
so anything starting with that will be sent to the voip session target.
Mike Calhoon wrote:
> Tom was right,
>
> I went ahead and configured it on my machines at home.
>
>
> Here is the router with the pots config:
>
> interface Ethernet0
> ip address 192.168.0.3 255.255.255.0
> !
> dial-peer voice 1 pots
> destination-pattern 123450011
> port 0
> !
> dial-peer voice 2 pots
> destination-pattern 123451111
> port 1
> !
>
> Here is the calling router config:
>
> interface Ethernet0
> ip address 192.168.0.1 255.255.255.0
> !
> dial-peer voice 1 voip
> destination-pattern 12345[0011,1111]
> session target ipv4:192.168.0.3
> !
> r1phone#csim start 123450011
> csim: called number = 123450011, loop count = 1 ping count = 0
>
> csim: loop = 1, failed = 1
> csim: call attempted = 1, setup failed = 1, tone failed = 0
>
> r1phone#csim start 123451111
> csim: called number = 123451111, loop count = 1 ping count = 0
>
> csim: loop = 1, failed = 1
> csim: call attempted = 1, setup failed = 1, tone failed = 0
>
>
> I also have a phone attached to my router, and it did ring. When I tried
> 12345[00,11]11, only 123451111 worked for me.
>
>
> Thanks,
> Mike
>
>
>
> -----Original Message-----
> From: Carlos G Mendioroz [mailto:tron@huapi.ba.ar]
> Sent: Sunday, July 11, 2004 11:49 AM
> To: Tom Rogers
> Cc: Mike Calhoon; 'Geert Nijs'; ccielab@groupstudy.com
> Subject: Re: Destination Pattern
>
> Doc says that the ONLY thing that can be in [] are numbers.
> It's been said that some IOS support extended grammars, like {} to
> represent repetition, but I have seen no router that supports that.
> So, no, there is no way to get those two numbers and only those.
>
>
> Tom Rogers wrote:
>
>
>>How about 12345[0011,1111]
>>
>>Mike Calhoon <mcalhoon27@earthlink.net> wrote:Hi Geert,
>>
>>I think you are looking for 12345[00,11]11, but someone please correct me
>
> if
>
>>I am mistaken.
>>
>>Thanks,
>>Mike
>>
>>
>>-----Original Message-----
>>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
>>Geert Nijs
>>Sent: Sunday, July 11, 2004 10:52 AM
>>To: ccielab@groupstudy.com
>>Subject: Destination Pattern
>>
>>Hello group,
>>
>>I am looking to match the following telephone numbers in ONE
>>"destination pattern" match:
>>123451111
>>123450011
>>
>>(if possible at all, don't know....)
>>
>>I was thinking about: destination-pattern 12345[01][01]11
>>
>>but this also matches: 123450111 and 123451011
>>
>>I was also thinking about: destination-pattern 12345[(00)(11)]11
>>
>>but this doesn't work...
>>
>>Any other ideas ??
>>
>>Regards,
>>Geert
>>
>>
>>
>
> ############################################################################
>
>>#########
>>This e-mail and any attached files are confidential and may be legally
>>privileged.
>>If you are not the addressee, any disclosure, reproduction, copying,
>>distribution,
>>or other dissemination or use of this communication is strictly
>
> prohibited.
>
>>If you have received this transmission in error please notify Simac
>>immediately
>>and then delete this e-mail.
>>
>>Simac has taken all reasonable precautions to avoid virusses in this
>
> email.
>
>>Simac does not accept liability for damage by virusses, for the correct
>
> and
>
>>complete
>>transmission of the information, nor for any delay or interruption of the
>>transmission,
>>nor for damages arising from the use of or reliance on the information.
>>
>>All e-mail messages addressed to, received or sent by Simac or Simac
>>employees
>>are deemed to be professional in nature. Accordingly, the sender or
>>recipient of
>>these messages agrees that they may be read by other Simac employees than
>>the official
>>recipient or sender in order to ensure the continuity of work-related
>>activities
>>and allow supervision thereof.
>>
>
> ############################################################################
>
>>#########
>>
>>_______________________________________________________________________
>>Please help support GroupStudy by purchasing your study materials from:
>>http://shop.groupstudy.com
>>
>>Subscription information may be found at:
>>http://www.groupstudy.com/list/CCIELab.html
>>
>>_______________________________________________________________________
>>Please help support GroupStudy by purchasing your study materials from:
>>http://shop.groupstudy.com
>>
>>Subscription information may be found at:
>>http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>__________________________________________________
>>Do You Yahoo!?
>>Tired of spam? Yahoo! Mail has the best spam protection around
>>http://mail.yahoo.com
>>
>>_______________________________________________________________________
>>Please help support GroupStudy by purchasing your study materials from:
>>http://shop.groupstudy.com
>>
>>Subscription information may be found at:
>>http://www.groupstudy.com/list/CCIELab.html
>>
>
>
-- Carlos G Mendioroz <tron@huapi.ba.ar> LW7 EQI Argentina
This archive was generated by hypermail 2.1.4 : Sun Aug 01 2004 - 10:11:52 GMT-3