<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I thought the call is coming from phones registered to the CM not from the teleco so it could be handled using CSS of the phone...okay let me think about it alittle more.<BR><BR>
<DIV><FONT color=#000000>Thanks,</FONT><BR><FONT color=#000000>Ahmed Elnagar</FONT><BR><FONT color=#000000 size=3></FONT> <BR></DIV><BR><BR><BR><BR>> Subject: RE: [cisco-voip] Translation pattern in CUCM6.1<BR>> From: jackycxh@gmail.com<BR>> To: ahmed_elnagar@hotmail.com<BR>> CC: cisco-voip@puck.nether.net<BR>> Date: Wed, 7 Jan 2009 21:54:52 +0800<BR>> <BR>> It is incoming call from PSTN thru a MGCP gateway. only one CSS can be<BR>> assigned to the MGCP gateway. If I create more then one translation<BR>> pattern in this CSS. These translation patterns is nothing regard the<BR>> called ID, but only manipulate the caller ID. then how Call manager can<BR>> decide to use which translation pattern? How can we let call manager to<BR>> select the correct translation pattern for the call? <BR>> example: two calls, the caller ID are 91234567 and 912345678 both call<BR>> to an extension 555. I create two Translation pattern(the calling party<BR>> number mask is XXXXXXX and XXXXXXXX and put them to the CSS of mgcp<BR>> gateway. How can we let call manager use the translation pattern<BR>> (XXXXXXX) for 91234567 and (XXXXXXXX) for 912345678?<BR>> <BR>> Thanks a lot.<BR>> $B:_(B 2009-01-07$B;0E*(B 14:35 +0200$B!$(BAhmed Elnagar$B<LF;!'(B<BR>> > <BR>> > If the calling number is a specific 2 or 3 pattern "say 4 digits and 5<BR>> > digits" you could replicate your dial-plan to have one set per calling<BR>> > number pattern and each number pattern has its CSS and PT to hit the<BR>> > required route pattern which has the correct transaltion for this<BR>> > calling number...however this could be a little bit complicated but<BR>> > you could have it as a last resort solution.<BR>> > <BR>> > <BR>> > Thanks,<BR>> > Ahmed Elnagar<BR>> > <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > ______________________________________________________________________<BR>> > Date: Wed, 7 Jan 2009 13:04:34 +0800<BR>> > From: jackycxh@gmail.com<BR>> > To: ahmed_elnagar@hotmail.com<BR>> > Subject: Re: [cisco-voip] Translation pattern in CUCM6.1<BR>> > CC: cisco-voip@puck.nether.net<BR>> > <BR>> > Thanks. but the problem is that the calling number is not fixed<BR>> > length and can not use a mask to drop the first digit. <BR>> > <BR>> > 2009/1/7 Ahmed Elnagar <ahmed_elnagar@hotmail.com><BR>> > <BR>> > Provided that the first digit is fixed you could make it on<BR>> > the calling party transforamtion on the route pattern or the<BR>> > route list "if using" by making a mask to remove first digit<BR>> > only...if the calling number is 90108899 use a mask of xxxxxx<BR>> > this will result in 0108899 then prefix two digits one is the<BR>> > first digit and the second is the one you want to add...so if<BR>> > the digit you want to insert is 0...prefix 90 so the number<BR>> > will be 900108899<BR>> > <BR>> > <BR>> > Thanks,<BR>> > Ahmed Elnagar<BR>> > <BR>> > ______________________________________________________________<BR>> > 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>> > <BR>> > <BR>> > Yes. that's the case. but unforturnally I am using<BR>> > MGCP... :-(. Any idea on the CUCM side?<BR>> > <BR>> > Thanks a lot.<BR>> > <BR>> > <BR>> > <BR>> > 2009/1/7 Jacky Cai <jackycxh@gmail.com><BR>> > Yes. that's the case. but unforturnally I am using<BR>> > MGCP... :-(. Any idea on the CUCM side?<BR>> > <BR>> > Thanks a lot.<BR>> > <BR>> > <BR>> > 2009/1/7 Estes, Timothy <TimothyEstes@spherion.com> <BR>> > <BR>> > <BR>> > If you have H.323 gateways the following<BR>> > config will work. Basically if the number is<BR>> > in the local area code we translate the<BR>> > calling number to 9XXXXXXXXXX. If the number<BR>> > is not in the local area code its becomes<BR>> > 91XXXXXXXXXX. This makes the caller ID display<BR>> > on the phone show the correct dialable pattern<BR>> > for call-back purposes.<BR>> > <BR>> > The following basic config on a 323 GW should<BR>> > work for the Ft. Lauderdale area where 954 and<BR>> > 754 are the local overlay area codes. <BR>> > <BR>> > <BR>> > voice translation-profile TP1<BR>> > translate calling 1<BR>> > <BR>> > voice translation-rule 1<BR>> > rule 1 /^\(954[2-9]......\)/ /9\1/<BR>> > rule 2 /^\(754[2-9]......\)/ /9\1/<BR>> > rule 3 /^\([2-9]..[2-9]....../)\ \91\1/<BR>> > <BR>> > dial-peer voice 101 pots<BR>> > description PSTN - PRI<BR>> > translation-profile incoming TP1<BR>> > direct-inward-dial<BR>> > port 0/0/1:23<BR>> > <BR>> > <BR>> > <BR>> > Timothy Estes<BR>> > Affiliated Computer Services (ACS) @ Spherion<BR>> > Ft. Lauderdale FL<BR>> > timothyestes@spherion.com<BR>> > <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > ______________________________________________<BR>> > From: cisco-voip-bounces@puck.nether.net<BR>> > [cisco-voip-bounces@puck.nether.net] On Behalf<BR>> > Of Jacky Cai [jackycxh@gmail.com]<BR>> > Sent: Tuesday, January 06, 2009 9:57 PM<BR>> > To: cisco-voip@puck-nether.net List<BR>> > Subject: [cisco-voip] Translation pattern in<BR>> > CUCM6.1<BR>> > <BR>> > <BR>> > <BR>> > <BR>> > Hi, <BR>> > <BR>> > In CUCM 6.1, do you have any idea on how to<BR>> > add a digit to calling party number just after<BR>> > the first digits? <BR>> > <BR>> > For example: translate the calling party<BR>> > number from 9! to 90!.<BR>> > <BR>> > Thanks. <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > <BR>> > ______________________________________________________________<BR>> > Get news, entertainment and everything you care about at<BR>> > Live.com. Check it out!<BR>> > <BR>> > <BR>> > <BR>> > ______________________________________________________________________<BR>> > Add maps and directions to your party Show them the way! <BR>> <BR><br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>