Thanks. but the problem is that the calling number is not fixed length and can not use a mask to drop the first digit. <br><br>
<div class="gmail_quote">2009/1/7 Ahmed Elnagar <span dir="ltr"><<a href="mailto:ahmed_elnagar@hotmail.com">ahmed_elnagar@hotmail.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div> <br>Provided that the first digit is fixed you could make it on the calling party transforamtion on the route pattern or the route list "if using" by making a mask to remove first digit only...if the calling number is 90108899 use a mask of xxxxxx this will result in 0108899 then prefix two digits one is the first digit and the second is the one you want to add...so if the digit you want to insert is 0...prefix 90 so the number will be 900108899<br>
<br><br>
<div><font color="#000000">Thanks,</font><br><font color="#000000">Ahmed Elnagar</font><br>
<hr>
Date: Wed, 7 Jan 2009 12:07:19 +0800<br>From: <a href="mailto:jackycxh@gmail.com" target="_blank">jackycxh@gmail.com</a><br>To: <a href="mailto:TimothyEstes@spherion.com" target="_blank">TimothyEstes@spherion.com</a>; <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
Subject: Re: [cisco-voip] Translation pattern in CUCM6.1
<div>
<div></div>
<div class="Wj3C7c"><br><br>Yes. that's the case. but unforturnally I am using MGCP... :-(. Any idea on the CUCM side?<br> <br>Thanks a lot.<br><br></div></div></div>
<div>
<div></div>
<div class="Wj3C7c">
<div>2009/1/7 Jacky Cai <span dir="ltr"><<a href="mailto:jackycxh@gmail.com" target="_blank">jackycxh@gmail.com</a>></span><br>
<blockquote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid">
<div>Yes. that's the case. but unforturnally I am using MGCP... :-(. Any idea on the CUCM side?</div>
<div> </div>
<div>Thanks a lot.<br><br></div>
<div>2009/1/7 Estes, Timothy <span dir="ltr"><<a href="mailto:TimothyEstes@spherion.com" target="_blank">TimothyEstes@spherion.com</a>></span>
<div>
<div></div>
<div><br>
<blockquote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div dir="ltr"><font face="Tahoma" color="#000000" size="2">If you have H.323 gateways the following config will work. Basically if the number is in the local area code we translate the calling number to 9XXXXXXXXXX. If the number is not in the local area code its becomes 91XXXXXXXXXX. This makes the caller ID display on the phone show the correct dialable pattern for call-back purposes.</font></div>
<div dir="ltr"><font face="Tahoma" size="2"></font> </div>
<div dir="ltr"><font face="Tahoma" size="2">The following basic config on a 323 GW should work for the Ft. Lauderdale area where 954 and 754 are the local overlay area codes. </font></div>
<div dir="ltr"><font face="Tahoma" size="2"></font> </div>
<div dir="ltr"><font face="Tahoma" size="2"></font> </div>
<div dir="ltr"><font face="Tahoma" size="2">voice translation-profile TP1</font></div>
<div dir="ltr"><font face="Tahoma" size="2"> translate calling 1</font></div>
<div dir="ltr"><font face="Tahoma" size="2"></font> </div>
<div dir="ltr"><font face="Tahoma" size="2">voice translation-rule 1</font></div>
<div dir="ltr"><font face="Tahoma" size="2"> rule 1 /^\(954[2-9]......\)/ /9\1/</font></div>
<div dir="ltr"><font face="Tahoma" size="2"> rule 2 /^\(754[2-9]......\)/ /9\1/</font></div>
<div dir="ltr"><font face="Tahoma" size="2"> rule 3 /^\([2-9]..[2-9]....../)\ \91\1/</font></div>
<div dir="ltr"><font face="Tahoma" size="2"></font> </div>
<div dir="ltr"><font face="Tahoma" size="2">dial-peer voice 101 pots</font></div>
<div dir="ltr"><font face="Tahoma" size="2">description PSTN - PRI</font></div>
<div dir="ltr"><font face="Tahoma" size="2">translation-profile incoming TP1</font></div>
<div dir="ltr"><font face="Tahoma" size="2">direct-inward-dial</font></div>
<div dir="ltr"><font face="Tahoma" size="2">port 0/0/1:23</font></div>
<div dir="ltr"><font face="Tahoma" size="2"></font> </div>
<div dir="ltr"><font face="Tahoma" size="2"></font> </div>
<div dir="ltr"><font face="Tahoma" size="2"></font> </div>
<div dir="ltr"><font face="Tahoma" size="2">Timothy Estes</font></div>
<div dir="ltr"><font face="Tahoma" size="2">Affiliated Computer Services (ACS) @ Spherion</font></div>
<div dir="ltr"><font face="Tahoma" size="2">Ft. Lauderdale FL</font></div>
<div dir="ltr"><font face="Tahoma" size="2"><a href="mailto:timothyestes@spherion.com" target="_blank">timothyestes@spherion.com</a></font></div>
<div dir="ltr"><font face="Tahoma" size="2"></font> </div>
<div dir="ltr"><font face="Tahoma" size="2"></font> </div>
<div dir="ltr"><font face="Tahoma" size="2"></font> </div>
<div dir="ltr"><font face="Tahoma" size="2"></font> </div>
<div style="DIRECTION: ltr">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a> [<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>] On Behalf Of Jacky Cai [<a href="mailto:jackycxh@gmail.com" target="_blank">jackycxh@gmail.com</a>]<br>
<b>Sent:</b> Tuesday, January 06, 2009 9:57 PM<br><b>To:</b> <a href="mailto:cisco-voip@puck-nether.net" target="_blank">cisco-voip@puck-nether.net</a> List<br><b>Subject:</b> [cisco-voip] Translation pattern in CUCM6.1<br>
</font><br></div>
<div>
<div></div>
<div>
<div></div>
<div>
<div>Hi, </div>
<div> </div>
<div>In CUCM 6.1, do you have any idea on how to add a digit to calling party number just after the first digits? </div>
<div> </div>
<div>For example: translate the calling party number from 9! to 90!.</div>
<div> </div>
<div>Thanks. </div></div></div></div></div></blockquote></div></div></div><br></blockquote></div><br><br></div></div>
<hr>
Get news, entertainment and everything you care about at Live.com. <a href="http://www.live.com/getstarted.aspx" target="_blank">Check it out!</a></div></blockquote></div><br>