Vik, Thanks for the explanation, that helps alot:-)
Sara Vik Malhi <vma...@ipexpert.com> wrote: The Alias command just creates another dial-peer. You can see the effect of the alias command by "show call-manager-fallback dial-peer" Take a look at this example: Call-manager-fallback max-dn 4 preference 2 alias 1 2000 to 2002 In this example extension 2000 is not being used and is forwarded to 2002. Simple enough. If you did use dialplan pattern then this would be used: Call-manager-fallback max-dn 4 preference 2 alias 1 6175212000 to 2002 Now- lets just say that all phones should be fwded to voicemail ("1600") except 2002 which should be forward to a cell phone ("911"- yes I know!). Call-manager-fallback max-dn 4 preference 2 call-forward busy 1600 call-forward noan 1600 timeout 12 alias 1 2002 to 2002 preference 1 cfw 911 timeout 12 Now- the two "call-forward" statements are to be used globally for all phones in SRST mode. For extn "2002" you will see two dial-peers using the "show call-manager-fallback dial-peer" command: Dial-peer voice 20002 pots destination-pattern 2002 port 50/0/2 call-forward busy 1600 call-forward noan 1600 timeout 12 preference 2 ! From preference after "max-dn" ... The dial-peer above is created when the phone registers and cannot be removed (unless extn 2002 is not registered to srst). The dial-peer is NOT going to be used since the dial-peer created by the alias command is a lower preference... This is the dial-peer from the alias command: Dial-peer voice 200XX pots destination-pattern 2002 port 50/0/2 call-forward busy 911 ! From CFW after alias call-forward noan 911 timeout 12 ! From CFW after alias preference 1 ! From preference after "alias" ... So you see that "preference" after max-dn enables the alias to be active. Think of the alias command as being "destination-pattern" to "port". If you wanted to forward an unegistered phone (extn "2000") to a PSTN number ("911") without ringing an internal phone then the alias command will not achieve that since you HAVE to point an alias to a registered phone. The answer to this question is simply add a dial-peer for the unregistered phone- Dial-peer voice 2000 pots destination-pattern 2000 port 0/0/0:23 prefix 911 Hopefully this clears up the alias command! -- Vik Malhi CCIE #13890, CCSI #31584 Senior Technical Instructor - IPexpert, Inc. Telephone: +1.810.326.1444 Fax: +1.810.454.0130 Mailto: vma...@ipexpert.com Join our free online support and peer group communities: http://www.IPexpert.com/communities IPexpert - The Global Leader in Self-Study, Classroom-Based, Video-On-Demand and Audio Certification Training Tools for the Cisco CCIE R&S Lab, CCIE Security Lab, CCIE Service Provider Lab , CCIE Voice Lab and CCIE Storage Lab Certifications. > From: James Key <j...@jackhenry.com> > Date: Mon, 15 Dec 2008 07:57:46 -0600 > To: <anil...@yahoo.com>, Ryan Trauernicht <ryanstudyvo...@gmail.com> > Cc: <ccie_voice@onlinestudylist.com> > Subject: Re: [OSL | CCIE_Voice] Alias command not working in SRST > > I don't believe Alias with work if you have dialplan-pattern defined. > > James > > > -----Original Message----- > From: ccie_voice-boun...@onlinestudylist.com > [mailto:ccie_voice-boun...@onlinestudylist.com] On Behalf Of anil batra > Sent: Monday, December 15, 2008 1:13 AM > To: Ryan Trauernicht > Cc: ccie_voice@onlinestudylist.com > Subject: Re: [OSL | CCIE_Voice] Alias command not working in SRST > > Hi Ryan, > > Sorry for my delayed repsponse as was out on a project, Here is what I > am trying to test and my configs please. > > May be if Vik or Mark can put more lights on this one please...as I ma > stuck here. > > > Call a number say "2002" which is not registerd in SRST mode , only > "2001" is regosterd, Now I am trying ot use the alias command tro > forweard the calls coming to "2002" to HQ number 212 223 1001 > > > My doubt is "will it the Alias command work for any un-registered phone > or will I have to have the phone 2002 registred to SRST first and then > use alias command to forward it to some other number. So I am lost in > what case the alias commned will work please. > > here is my config for you reference..... > > call-manager-fallback > max-conferences 2 gain -6 > transfer-system full-consult > ip source-address 10.2.201.1 port 2000 > max-ephones 1 > max-dn 2 preference 2 > sdspfarm units 2 > sdspfarm transcode sessions 3 > dialplan-pattern 1 6175222... extension-length 4 > transfer-pattern .T > keepalive 10 > voicemail 12122221600 > alias 2 2002 to 2002 cfw 912122221001 timeout 10 > call-forward pattern .T > call-forward busy 12122221600 > call-forward noan 12122221600 timeout 10 > moh music-on-hold.au > > > I have tried it without dialpattern command too abd using transaltion > profiles at voice-port but no luck.. > > Kinldy help... > > Thanks, > Anil > > > > > > > > > > > --- On Mon, 12/8/08, Ryan Trauernicht <ryanstudyvo...@gmail.com> wrote: > >> From: Ryan Trauernicht <ryanstudyvo...@gmail.com> >> Subject: Re: [OSL | CCIE_Voice] Alias command not working in SRST >> To: anil...@yahoo.com >> Cc: ccie_voice@onlinestudylist.com >> Date: Monday, December 8, 2008, 7:10 AM >> What are you trying to do here... ring 2002 then call >> forward noan to that >> DID? I can't remember off the top of my head the order >> in which things are >> matched against. If you have a DN on a phone that is >> registered in SRST as >> 2002, it might match that and ring before it hits your >> alias commands and >> that is why it is not working. I would double check on >> that. >> >> You can test by calling is 2003 (that isnt a DN on a phone) >> to alias that to >> 2002 with cfw to the DID. >> >> See if that works. >> >> Thanks, >> Ryan Trauernicht >> >> On Thu, Dec 4, 2008 at 9:55 PM, anil batra >> <anil...@yahoo.com> wrote: >> >>> Hello Experts, >>> >>> I tried several times to use alias command in SRST but >> without any lcuk. >>> >>> Here is what I did - >>> >>> ON CCM - created two DP- one for srst and non-srst and >> applied to BR1 ph1 >>> ad ph2 respectively. >>> >>> ON BR1 router- >>> call-manager-fallback >>> alias i 2002 to 2002 prefernce 1 cfw 912122231001 >>> >>> >>> I do have dial-peer for long distnce call to HQ phone >> 2122231001 >>> >>> I tired with dial-pattern command and without but no >> luck. >>> >>> Any help on this will be higly apreciated. >>> >>> Thanks, >>> Anil >>> >>> >>> >>> >>> >>> >>> > > > > NOTICE: This electronic mail message and any files transmitted with it are > intended > exclusively for the individual or entity to which it is addressed. The > message, > together with any attachment, may contain confidential and/or privileged > information. > Any unauthorized review, use, printing, saving, copying, disclosure or > distribution > is strictly prohibited. If you have received this message in error, please > immediately advise the sender by reply email and delete all copies. > -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/