<div dir="ltr">Hi David,<div><br></div><div>Exactly what I was looking for! Thanks for your help.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 February 2015 at 12:57, David Schulz <span dir="ltr"><<a href="mailto:dschulz@skyline-ats.com" target="_blank">dschulz@skyline-ats.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="auto">
<div>You can only have one incoming and one outgoing profile in a dial peer. However, a profile can have a set of translation rules for called and calling. Thinking of translations in three parts. For example:</div>
<div><br>
</div>
<div>First, apply the translation profile to the dial peer in the specific direction....</div>
<div><br>
</div>
<div>dial-peer voice 1 pots</div>
<div>   translation-profile incoming PSTN-IN</div>
<div>   translation-profile outgoing  PSTN-OUT</div>
<div><br>
</div>
<div>Next step is to apply the specific rules to the profile. It is here where the called and calling translations are defined:</div>
<div><br>
</div>
<div>voice translation-profile PSTN-IN</div>
<div>  translate calling 1</div>
<div>  translate called 2</div>
<div><br>
</div>
<div>voice translation-profile PSTN-OUT</div>
<div>  translate calling 3</div>
<div>  translate called 4</div>
<div>
<pre style="overflow:auto;max-width:650px;min-width:400px;min-height:auto"><font face="UICTFontTextStyleBody"><span style="white-space:normal;background-color:rgba(255,255,255,0)">Finally, build the rules that will apply the translations ... This example requires 4 rules: 2 incoming and 2 incoming rules:</span></font></pre>
<pre style="overflow:auto;max-width:650px;min-width:400px;min-height:auto"><font face="UICTFontTextStyleBody"><span style="white-space:normal">voice-translation-rule 1</span></font></pre>
<pre style="overflow:auto;max-width:650px;min-width:400px;min-height:auto"><font face="UICTFontTextStyleBody"><span style="white-space:normal">    rule 1 / 851/ //</span></font></pre>
<pre style="overflow:auto;max-width:650px;min-width:400px;min-height:auto"><font face="UICTFontTextStyleBody"><span style="white-space:normal">   Add your sub rules as needed</span></font></pre>
<pre style="overflow:auto;max-width:650px;min-width:400px;min-height:auto"><font face="UICTFontTextStyleBody"><span style="white-space:normal"><br></span></font></pre>
<pre style="overflow:auto;max-width:650px;min-width:400px;min-height:auto"><font face="UICTFontTextStyleBody"><span style="white-space:normal">voice translation-rule 2</span></font></pre>
<pre style="overflow:auto;max-width:650px;min-width:400px;min-height:auto"><font face="UICTFontTextStyleBody"><span style="white-space:normal"><br></span></font></pre>
<pre style="overflow:auto;max-width:650px;min-width:400px;min-height:auto"><font face="UICTFontTextStyleBody"><span style="white-space:normal;background-color:rgba(255,255,255,0)">voice translation-rule 3</span></font></pre>
<pre style="overflow:auto;max-width:650px;min-width:400px;min-height:auto"><font face="UICTFontTextStyleBody"><span style="white-space:normal;background-color:rgba(255,255,255,0)"><br></span></font></pre>
<pre style="overflow:auto;max-width:650px;min-width:400px;min-height:auto"><font face="UICTFontTextStyleBody"><span style="white-space:normal;background-color:rgba(255,255,255,0)">voice translation-rule 4</span></font></pre>
<pre style="overflow:auto;max-width:650px;min-width:400px;min-height:auto"><font face="UICTFontTextStyleBody"><span style="white-space:normal"> </span></font></pre>
    </div>
<div>Hope this helps</div>
<div><br>
Dave 
<div><br>
</div>
</div><div><div class="h5">
<div><br>
On Feb 17, 2015, at 5:08 AM, Euan McGregor <<a href="mailto:euan@mcgregor.co" target="_blank">euan@mcgregor.co</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hi All,
<div><br>
</div>
<div>This might seem like a noob question but I have never had to do this before. I need to translate both the calling and the called party numbers on the CUBE. Can the dial peer take two incoming translation profiles for the called and calling number I cant
 seem to find any definitive answers to my query!</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Euan</div>
</div>
</div>
</blockquote>
</div></div><blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>cisco-voip mailing list</span><br>
<span><a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a></span><br>
<span><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span><br>
</div>
</blockquote>
</div>

</blockquote></div><br></div>