This is how I would do what it is you are trying to do.
dial-peer voice 900 pots translation-profile outgoing LOCAL (create a voice translation for calling and called number) destination-pattern 9[2-9]......$ ($ not needed but wont hurt you) forward-digits 7 (only send the last 7 digits) port 0/0/0:23 ! dial-peer voice 901 pots translation-profile outgoing LD (create a voice translation for calling and called number) destination-pattern 91[2-9]..[2-9]......$ ($ not needed but wont hurt you) forward-digits 11 port 0/0/0:23 3] dial-peer voice 902 pots translation-profile outgoing INTL (create a voice translation for calling and called number) destination-pattern 9011T (Need the "T" to wait for extra digits and allow the user to keep dialing. "#" is a default terminator so a user can hit "#" when they are finished dialing) prefix 011 (You cannot use forward-digits because international is a variable amount of digits. 9011 is stripped by default so if you want to add 011 prefix it port 0/0/0:23 From: [email protected] [mailto:[email protected]] On Behalf Of Suresh Bhandari Sent: Friday, January 25, 2013 11:38 AM To: ie ravindra Cc: [email protected] Subject: Re: [OSL | CCIE_Voice] [ Dial-Peer Question ] In your dial peers, the exact matches 9 in your dial peer [1], 91 in your second dialpeer and 9011 in your third dialpeer are stripped off of the destination pattern. For your second question, 91, the exact match from your destination pattern is removed, and 1 is prefixed to whatever 10 digits are matched by the wildcard. Hope this helps. On Fri, Jan 25, 2013 at 10:05 PM, ie ravindra <[email protected]> wrote: Dear All , Thanks for the answers you given for my last questions. for the above what are the digits will forwarded to PSTN. How we can use prefix command. any way sorry for my wrong english. 1] dial-peer voice 900 pots destination-pattern 9[2-9]......$ port 0/0/0:23 2] dial-peer voice 901 pots destination-pattern 91[2-9]..[2-9]......$ port 0/0/0:23 prefix 1 3] dial-peer voice 902 pots destination-pattern 9011 port 0/0/0:23 prefix 011 [2-9]XXXXXX needed to forwarded to PSTN 1[2-9]XX[2-9]XXXXXX needed to forward PSTN 011 should forwarded to PSTN. Qusetion is 1. as per the dial-peer [1] how should I remove 9 from the dial peer. 2. in Dial-peer 2 [901 pots] / prefix is 1. is it means 901 dial-peer routes from starting digit as 1[2-9]..[2-9]......$ or is it route as 191[2-9]..[2-9]......$ to the PSTN. Thanks, Ravi. _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com -- Suresh Bhandari
_______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com
