[cisco-voip] 回复: Re: Translation pattern in CUCM6.1
Jacky Cai
jackycxh at gmail.com
Fri Jan 16 21:51:07 EST 2009
That it is. Now I add the prefix 9 in the service parameter. But one of the carriers send the calling number to us without the national call perfix which is a 0. Now in 6.1, I have to remove the sevice parameter and create a translation pattern for each gateway.
..... Original Message .......
ÔÚ Fri, 9 Jan 2009 10:12:37 -0500 "Ryan Ratliff" <rratliff at cisco.com> ÖÐдµ½£º
>For what it's worth in 7.x you can apply the prefixes currently available via service parameter directly on the gateway.
>
>
>-Ryan
>
>
>On Jan 9, 2009, at 9:54 AM, Ryan Ratliff wrote:
>
>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.
>
>-Ryan
>
>On Jan 8, 2009, at 11:45 PM, Jacky Cai wrote:
>
>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?
>
>2009/1/7 Ryan Ratliff <rratliff at cisco.com>
>
>Agreed, this is a bit strange.
>
>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.
>
>-Ryan
>
>On Jan 7, 2009, at 10:11 AM, Justin Steinberg wrote:
>
>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.
>
>create a route pattern
>9.!
>predot discard
>prefix 90
>
>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.
>
>Justin
>
>On Wed, Jan 7, 2009 at 8:54 AM, Jacky Cai <jackycxh at gmail.com> wrote:
>It is incoming call from PSTN thru a MGCP gateway. only one CSS can be
>assigned to the MGCP gateway. If I create more then one translation
>pattern in this CSS. These translation patterns is nothing regard the
>called ID, but only manipulate the caller ID. then how Call manager can
>decide to use which translation pattern? How can we let call manager to
>select the correct translation pattern for the call?
>example: two calls, the caller ID are 91234567 and 912345678 both call
>to an extension 555. I create two Translation pattern(the calling party
>number mask is XXXXXXX and XXXXXXXX and put them to the CSS of mgcp
>gateway. Â How can we let call manager use the translation pattern
>(XXXXXXX) for 91234567 and (XXXXXXXX) for 912345678?
>
>Thanks a lot.
>å¨ 2009-01-07ä¸ç 14:35 +0200ï¼Ahmed Elnagaråéï¼
>>
>> If the calling number is a specific 2 or 3 pattern "say 4 digits and 5
>> digits" you could replicate your dial-plan to have one set per calling
>> number pattern and each number pattern has its CSS and PT to hit the
>> required route pattern which has the correct transaltion for this
>> calling number...however this could be a little bit complicated but
>> you could have it as a last resort solution.
>>
>>
>> Thanks,
>> Ahmed Elnagar
>>
>>
>>
>>
>>
>>
>>
>> ______________________________________________________________________
>> Date: Wed, 7 Jan 2009 13:04:34 +0800
>> From: jackycxh at gmail.com
>> To: ahmed_elnagar at hotmail.com
>> Subject: Re: [cisco-voip] Translation pattern in CUCM6.1
>> CC: cisco-voip at puck.nether.net
>>
>> Thanks. but the problem is that the calling number is not fixed
>> length and can not use a mask to drop the first digit.
>>
>> 2009/1/7 Ahmed Elnagar <ahmed_elnagar at hotmail.com>
>>
>> Â Â Â Â 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
>>
>>
>> Â Â Â Â Thanks,
>> Â Â Â Â Ahmed Elnagar
>>
>> Â Â Â Â ______________________________________________________________
>> Â Â Â Â Date: Wed, 7 Jan 2009 12:07:19 +0800
>> Â Â Â Â From: jackycxh at gmail.com
>> Â Â Â Â To: TimothyEstes at spherion.com; cisco-voip at puck.nether.net
>> Â Â Â Â Subject: Re: [cisco-voip] Translation pattern in CUCM6.1
>>
>>
>>
>> Â Â Â Â Yes. that's the case. but unforturnally I am using
>> Â Â Â Â MGCP... :-(. Any idea on the CUCM side?
>>
>> Â Â Â Â Thanks a lot.
>>
>>
>>
>> Â Â Â Â 2009/1/7 Jacky Cai <jackycxh at gmail.com>
>> Â Â Â Â Â Â Â Â Yes. that's the case. but unforturnally I am using
>> Â Â Â Â Â Â Â Â MGCP... :-(. Any idea on the CUCM side?
>>
>> Â Â Â Â Â Â Â Â Thanks a lot.
>>
>>
>> Â Â Â Â Â Â Â Â 2009/1/7 Estes, Timothy <TimothyEstes at spherion.com>
>>
>>
>> Â Â Â Â Â Â Â Â Â Â Â Â 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.
>>
>> Â Â Â Â Â Â Â Â Â Â Â Â 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.
>>
>>
>> Â Â Â Â Â Â Â Â Â Â Â Â voice translation-profile TP1
>> Â Â Â Â Â Â Â Â Â Â Â Â Â translate calling 1
>>
>> Â Â Â Â Â Â Â Â Â Â Â Â voice translation-rule 1
>> Â Â Â Â Â Â Â Â Â Â Â Â Â rule 1 /^\(954[2-9]......\)/ /9\1/
>> Â Â Â Â Â Â Â Â Â Â Â Â Â rule 2 /^\(754[2-9]......\)/ /9\1/
>> Â Â Â Â Â Â Â Â Â Â Â Â Â rule 3 /^\([2-9]..[2-9]....../)\ \91\1/
>>
>> Â Â Â Â Â Â Â Â Â Â Â Â dial-peer voice 101 pots
>> Â Â Â Â Â Â Â Â Â Â Â Â description PSTN - PRI
>> Â Â Â Â Â Â Â Â Â Â Â Â translation-profile incoming TP1
>> Â Â Â Â Â Â Â Â Â Â Â Â direct-inward-dial
>> Â Â Â Â Â Â Â Â Â Â Â Â port 0/0/1:23
>>
>>
>>
>> Â Â Â Â Â Â Â Â Â Â Â Â Timothy Estes
>> Â Â Â Â Â Â Â Â Â Â Â Â Affiliated Computer Services (ACS) @ Spherion
>> Â Â Â Â Â Â Â Â Â Â Â Â Ft. Lauderdale FL
>> Â Â Â Â Â Â Â Â Â Â Â Â timothyestes at spherion.com
>>
>>
>>
>>
>>
>> Â Â Â Â Â Â Â Â Â Â Â Â ______________________________________________
>> Â Â Â Â Â Â Â Â Â Â Â Â From: cisco-voip-bounces at puck.nether.net
>> Â Â Â Â Â Â Â Â Â Â Â Â [cisco-voip-bounces at puck.nether.net] On Behalf
>> Â Â Â Â Â Â Â Â Â Â Â Â Of Jacky Cai [jackycxh at gmail.com]
>> Â Â Â Â Â Â Â Â Â Â Â Â Sent: Tuesday, January 06, 2009 9:57 PM
>> Â Â Â Â Â Â Â Â Â Â Â Â To: cisco-voip at puck-nether.net List
>> Â Â Â Â Â Â Â Â Â Â Â Â Subject: [cisco-voip] Translation pattern in
>> Â Â Â Â Â Â Â Â Â Â Â Â CUCM6.1
>>
>>
>>
>>
>> Â Â Â Â Â Â Â Â Â Â Â Â Hi,
>>
>> Â Â Â Â Â Â Â Â Â Â Â Â In CUCM 6.1, do you have any idea on how to
>> Â Â Â Â Â Â Â Â Â Â Â Â add a digit to calling party number just after
>> Â Â Â Â Â Â Â Â Â Â Â Â the first digits?
>>
>> Â Â Â Â Â Â Â Â Â Â Â Â For example: translate the calling party
>> Â Â Â Â Â Â Â Â Â Â Â Â number from 9! to 90!.
>>
>> Â Â Â Â Â Â Â Â Â Â Â Â Thanks.
>>
>>
>>
>>
>>
>> Â Â Â Â ______________________________________________________________
>> Â Â Â Â Get news, entertainment and everything you care about at
>> Â Â Â Â Live.com. Check it out!
>>
>>
>>
>> ______________________________________________________________________
>> Add maps and directions to your party Show them the way!
>
>_______________________________________________
>cisco-voip mailing list
>cisco-voip at puck.nether.net
>https://puck.nether.net/mailman/listinfo/cisco-voip
>
>_______________________________________________
>cisco-voip mailing list
>cisco-voip at puck.nether.net
>https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
>
>
>_______________________________________________
>cisco-voip mailing list
>cisco-voip at puck.nether.net
>https://puck.nether.net/mailman/listinfo/cisco-voip
>
___
Sent with SnapperMail
www.snappermail.com
More information about the cisco-voip
mailing list