<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
For what it's worth in 7.x you can apply the prefixes currently available via service parameter directly on the gateway.<div><br><div> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">-Ryan</font></p>  </div><br><div><div>On Jan 9, 2009, at 9:54 AM, Ryan Ratliff wrote:</div><br class="Apple-interchange-newline">The easiest way to do it would be to strip the 9 coming in and then let CUCM do the right prefix via service parameter.   You can possibly use the Significant Digits on the MGCP PRI configuration page in CCMAdmin to do this, but it requires that your calling party number is a standard length.   Once you do that you can just use the Prefix DN on the same page to prefix the 90 back onto the calling party number.<div><br><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">-Ryan</font></div>  </div><br><div><div>On Jan 8, 2009, at 11:45 PM, Jacky Cai wrote:</div><br class="Apple-interchange-newline">Yes. the service parameters can only prefix digits to caller ID but can not insert digits mid-string. So I am wondering if I can do this by some translation pattern?<br><br> <div class="gmail_quote">2009/1/7 Ryan Ratliff <span dir="ltr">&lt;<a href="mailto:rratliff@cisco.com">rratliff@cisco.com</a>></span><br> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> <div style="WORD-WRAP: break-word">Agreed, this is a bit strange. <div><br></div> <div>Normally you can use the CCM service parameters to prefix digits to inbound calls (Advanced parameters, search for prefix).  Those parameters are very dumb though and can't insert digits mid-string.</div> <div><br><font color="#888888"> <div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font style="FONT: 12px Helvetica" face="Helvetica" size="3">-Ryan</font></div></div></font> <div> <div></div> <div class="Wj3C7c"><br> <div> <div>On Jan 7, 2009, at 10:11 AM, Justin Steinberg wrote:</div><br>are you doing this so that people can use their missed/received/placed call lists ?     if so, perhaps you could deal with this on the outbound call. <div><br></div> <div>create a route pattern</div> <div>9.!</div> <div>predot discard</div> <div>prefix 90</div> <div><br></div> <div>Also, I'm just curious, your telco is prefixing a 9 to each inbound call?  this seems weird, especially if you are in a region where you need to return the call prefixed with 0.</div> <div><br></div> <div>Justin<br><br> <div class="gmail_quote">On Wed, Jan 7, 2009 at 8:54 AM, Jacky Cai <span dir="ltr">&lt;<a href="mailto:jackycxh@gmail.com" target="_blank">jackycxh@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">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>在 2009-01-07三的 14:35 +0200,Ahmed Elnagar写道:<br> <div> <div></div> <div>><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: <a href="mailto:jackycxh@gmail.com" target="_blank">jackycxh@gmail.com</a><br> > To: <a href="mailto:ahmed_elnagar@hotmail.com" target="_blank">ahmed_elnagar@hotmail.com</a><br>> Subject: Re: [cisco-voip] Translation pattern in CUCM6.1<br>> CC: <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><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 &lt;<a href="mailto:ahmed_elnagar@hotmail.com" target="_blank">ahmed_elnagar@hotmail.com</a>><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: <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<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 &lt;<a href="mailto:jackycxh@gmail.com" target="_blank">jackycxh@gmail.com</a>><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 &lt;<a href="mailto:TimothyEstes@spherion.com" target="_blank">TimothyEstes@spherion.com</a>><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>>                         <a href="mailto:timothyestes@spherion.com" target="_blank">timothyestes@spherion.com</a><br>><br>><br>><br>><br>><br>>                         ______________________________________________<br> >                         From: <a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a><br>>                         [<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>] On Behalf<br> >                         Of Jacky Cai [<a href="mailto:jackycxh@gmail.com" target="_blank">jackycxh@gmail.com</a>]<br>>                         Sent: Tuesday, January 06, 2009 9:57 PM<br>>                         To: <a href="mailto:cisco-voip@puck-nether.net" target="_blank">cisco-voip@puck-nether.net</a> 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></div></div> _______________________________________________<br>cisco-voip mailing list<br> <div><a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br></div><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br> </blockquote></div><br></div> <div style="MARGIN: 0px">_______________________________________________</div> <div style="MARGIN: 0px">cisco-voip mailing list</div> <div style="MARGIN: 0px"><a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a></div> <div style="MARGIN: 0px"><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a></div></div><br></div></div></div></div></blockquote></div><br></div><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">cisco-voip mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a></div> </div><br></div></body></html>