<div dir="ltr">Right on Ahmed.  I'm always in favor of exploring how things work to gain a better understanding, eve if it means breaking something or doing something atypical.<div><br></div><div>For learning sake, let's break down your example step by step:</div><div><ol style="font-size:13.1999998092651px;line-height:19.7999992370605px"><li>Outbound Dial-Peer - The caller dialed 1000 and matched the destination-pattern 1...</li><ol><li>Translation Profile - There isn't one, so the number is still 1000</li><li>CLID - There isn't one, so the number is still 1000</li><li>Digit Strip - This is configured, by default, so the number is now 000</li><li>Prefix Digits - There isn't one, so the number is still 000</li><li>Forward Digits - There isn't one, so the number is still 000</li></ol><li>Outbound Voice Port - The port command on the DP takes us to the right port</li><ol><li>Translation Profile - This is configured, by you, so the number is now 1000 (matched on /^0../ and replaced with /1\0/</li></ol></ol><div>Unless the CVOICE book has the order of operations wrong, I'm inclined to think you hit a bug.  Or maybe I'm not understanding your observations of what's happening.  Could you post actual configurations as well as debug output for debug voice translation?</div><br><br></div></div><br><div class="gmail_quote">On Sat, Mar 21, 2015 at 5:40 PM Ahmed Elnagar <<a href="mailto:ahmed_elnagar@hotmail.com">ahmed_elnagar@hotmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Yes the idea is that I am verifying the concept not a production setup.<u></u><u></u></span></p></div></div><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray">Regards,</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p><p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray">Ahmed Elnagar </span></b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray">|<b> Networking Consultant </b>| <b>CCIE #24697, Voice</b></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><img width="209" height="42" src="cid:image001.jpg@01D06439.25BAB190" alt="Description: Description: Description: Description: MS Green"></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p></div></div><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Anthony Holloway [mailto:<a href="mailto:avholloway%2Bcisco-voip@gmail.com" target="_blank">avholloway+cisco-voip@gmail.com</a>] <br><b>Sent:</b> Thursday, March 19, 2015 8:47 AM<br><b>To:</b> Ahmed Elnagar; VOIP Group<br><b>Cc:</b> ahmed ellboudy<br><b>Subject:</b> Re: [cisco-voip] Translation Profile out on voice port<u></u><u></u></span></p></div></div><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">The order in which digit manipulation is processed on an outbound POTS dial peer is:<u></u><u></u></p><div><ol start="1" type="1"><li class="MsoNormal">Outbound Dial-Peer<u></u><u></u></li></ol><ol start="1" type="1"><ol start="1" type="1"><li class="MsoNormal">Translation Profile<u></u><u></u></li><li class="MsoNormal">CLID<u></u><u></u></li><li class="MsoNormal">Digit Strip<u></u><u></u></li><li class="MsoNormal">Prefix Digits<u></u><u></u></li><li class="MsoNormal">Forward Digits<u></u><u></u></li></ol></ol><ol start="2" type="1"><li class="MsoNormal">Outbound Voice Port<u></u><u></u></li></ol><ol start="2" type="1"><ol start="1" type="1"><li class="MsoNormal">Translation Profile<u></u><u></u></li></ol></ol><div><p class="MsoNormal">Source: CVOICE<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">You're configuration looks correct to me, so I cannot explain why it's not working for you.  Other than maybe a defect.  In truth, I would have just used the no digit-strip command on the dial-peer.  Think about the resource usage in your method.  You're having the router strip the one off, and then put it back on.  In the no digit-strip method, you simply tell the router to do nothing.  So, 2 tasks versus 0 tasks; which one is smarter?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Wed, Mar 18, 2015 at 4:26 PM Ahmed Elnagar <<a href="mailto:ahmed_elnagar@hotmail.com" target="_blank">ahmed_elnagar@hotmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal">Hi all;<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">It has been a very long time since I posted to the mailing list but you are always the “gateway of last resort” to find an expert reply <span style="font-family:Wingdings">J</span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I was testing voice translation rules on a VGW with the below setup<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I want someone to be able to call extensions “1XXX” from a site connected back to back to another site using E1 0/3/0 “H323 GW with CUCM in each site”…I know I could do it with a simple forward-digits all under the pots dial-peer in order for the router to send 1XXX in the ISDN setup insetead of sending XXX.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I am trying to verify the concept of translation profiles but I am having a strange issue, for the below call the pots dial-peer is matched as an outgoing dial-peer but as soon as this happens the debugs shows that the router check if there is a tx profile on the voice port “before making the digit strip” and translate the number and then make a dial-peer match again and then go out of the voice port…is that a normal behavior? My expectation is that the dial-peer should be matched first then apply digit strip and at the exit from the E1 interface translation profile to be applied.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I cannot find any document that explains this part or document this approach…any ideas?<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Below is my configuration<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Voice translation rule 1<u></u><u></u></p><p class="MsoNormal">Rule 1 /^0../ /1\0/<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Voice translation profile PSTN_OUT<u></u><u></u></p><p class="MsoNormal">translate called 1<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">voice-port 0/3/0:15<u></u><u></u></p><p class="MsoNormal">translation-profile outgoing PSTN_OUT<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">dial-peer voice 1 pots<u></u><u></u></p><p class="MsoNormal">destination-pattern 1…<u></u><u></u></p><p class="MsoNormal">port 0/3/0:15<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray">Regards,</span></b><u></u><u></u></p><p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray">Ahmed Elnagar </span></b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray">|<b> Networking Consultant </b>| <b>CCIE #24697, Voice</b></span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"><img border="0" width="209" height="42" src="cid:image001.jpg@01D06439.25BAB190" alt="Description: Description: Description: Description: MS Green"></span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal">_______________________________________________<br>cisco-voip mailing list<br><a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><u></u><u></u></p></blockquote></div></div></div></div></div></blockquote></div>