<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
&nbsp;<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 id=stopSpelling>
Date: Wed, 7 Jan 2009 12:07:19 +0800<BR>From: jackycxh@gmail.com<BR>To: TimothyEstes@spherion.com; cisco-voip@puck.nether.net<BR>Subject: Re: [cisco-voip] Translation pattern in CUCM6.1<BR><BR>Yes. that's the case. but unforturnally I am using MGCP... :-(. Any idea on the CUCM side?<BR>&nbsp;<BR>Thanks a lot.<BR><BR></DIV>
<DIV class=EC_gmail_quote>2009/1/7 Jacky Cai <SPAN dir=ltr>&lt;<A href="mailto:jackycxh@gmail.com">jackycxh@gmail.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE class=EC_gmail_quote 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>&nbsp;</DIV>
<DIV>Thanks a lot.<BR><BR></DIV>
<DIV class=EC_gmail_quote>2009/1/7 Estes, Timothy <SPAN dir=ltr>&lt;<A href="mailto:TimothyEstes@spherion.com">TimothyEstes@spherion.com</A>&gt;</SPAN> 
<DIV>
<DIV></DIV>
<DIV class=EC_Wj3C7c><BR>
<BLOCKQUOTE class=EC_gmail_quote 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&nbsp;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>&nbsp;</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>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2>voice translation-profile TP1</FONT></DIV>
<DIV dir=ltr><FONT face=Tahoma size=2>&nbsp;translate calling 1</FONT></DIV>
<DIV dir=ltr><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2>voice translation-rule 1</FONT></DIV>
<DIV dir=ltr><FONT face=Tahoma size=2>&nbsp;rule 1 /^\(954[2-9]......\)/ /9\1/</FONT></DIV>
<DIV dir=ltr><FONT face=Tahoma size=2>&nbsp;rule 2 /^\(754[2-9]......\)/ /9\1/</FONT></DIV>
<DIV dir=ltr><FONT face=Tahoma size=2>&nbsp;rule 3 /^\([2-9]..[2-9]....../)\ \91\1/</FONT></DIV>
<DIV dir=ltr><FONT face=Tahoma size=2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2></FONT>&nbsp;</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">timothyestes@spherion.com</A></FONT></DIV>
<DIV dir=ltr><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2></FONT>&nbsp;</DIV>
<DIV style="DIRECTION: ltr">
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A href="mailto:cisco-voip-bounces@puck.nether.net">cisco-voip-bounces@puck.nether.net</A> [<A href="mailto:cisco-voip-bounces@puck.nether.net">cisco-voip-bounces@puck.nether.net</A>] On Behalf Of Jacky Cai [<A href="mailto:jackycxh@gmail.com">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">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>&nbsp;</DIV>
<DIV>In CUCM 6.1, do you have any idea on how to add a digit to calling party number&nbsp;just after the first digits? </DIV>
<DIV>&nbsp;</DIV>
<DIV>For example: translate the calling party number from 9! to 90!.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.&nbsp;</DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV></DIV></DIV><BR></BLOCKQUOTE></DIV><BR><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>