<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><div style="direction: ltr;">Exactly, I will send a debug confirming that once I have access to the router.</div><br><div>Best Regards,</div><div>Ahmed Elnagar | CCIE#24697 Voice</div></div><div><div style="direction: rtl;"><br></div>On Mar 19, 2015, at 5:09 AM, Daniel Pagan <<a href="mailto:dpagan@fidelus.com">dpagan@fidelus.com</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Ahmed – <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Not sure if I completely follow but are you concerned about the order of operations for digit manipulation in IOS? If you are then I would say your expectation would be correct with digit manipulation in IOS
occurring in the following steps and in the following order:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">incoming voice-port <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">incoming dial-peer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">num-exp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">outgoing dial-peer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">egress voice-port <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">But after reading your email again it looks like you’re more referring to the digit stripping that’s inherent to POTS DPs… I’d have to test this to confirm but I would imagine the digit stripping would also occur
first at the POTS outbound dial-peer level once matched, then voice translation would apply to the [potentially] stripped called party number. Are you saying the dial-peer digit stripping is occurring *<b>after</b>* the voice-port-level voice translation is
applied?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- Dan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> cisco-voip [<a href="mailto:cisco-voip-bounces@puck.nether.net">mailto:cisco-voip-bounces@puck.nether.net</a>]
<b>On Behalf Of </b>Ahmed Elnagar<br>
<b>Sent:</b> Wednesday, March 18, 2015 5:28 PM<br>
<b>To:</b> 'VOIP Group '<br>
<b>Cc:</b> 'ahmed ellboudy'<br>
<b>Subject:</b> [cisco-voip] Translation Profile out on voice port<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi all;<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></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><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I was testing voice translation rules on a VGW with the below setup<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I cannot find any document that explains this part or document this approach…any ideas?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Below is my configuration<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Voice translation rule 1<o:p></o:p></p>
<p class="MsoNormal">Rule 1 /^0../ /1\0/<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Voice translation profile PSTN_OUT<o:p></o:p></p>
<p class="MsoNormal">translate called 1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">voice-port 0/3/0:15<o:p></o:p></p>
<p class="MsoNormal">translation-profile outgoing PSTN_OUT<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">dial-peer voice 1 pots<o:p></o:p></p>
<p class="MsoNormal">destination-pattern 1…<o:p></o:p></p>
<p class="MsoNormal">port 0/3/0:15<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray">Regards,</span></b><o:p></o:p></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><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><image001.jpg></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div></blockquote></body></html>