[cisco-voip] CCM - Leading zeroes on calling number

Hering, Marc MHering at TheGaleCompany.com
Mon Jan 24 10:02:52 EST 2005


Not sure if this will help, but this is how I am matching my digits and
tagging them internatinal.
 
I think you have the ^ and the / in the wrong place but I am not
sure...I'm not that great with translation rules ;)
 
translation-rule 123
 Rule 0 ^0110 0 ANY international
 Rule 1 ^0111 1 ANY international
 Rule 2 ^0112 2 ANY international
 Rule 3 ^0113 3 ANY international
 Rule 4 ^0114 4 ANY international
 Rule 5 ^0115 5 ANY international
 Rule 6 ^0116 6 ANY international
 Rule 7 ^0117 7 ANY international
 Rule 8 ^0118 8 ANY international
 Rule 9 ^0119 9 ANY international

________________________________

From: Vincent De Keyzer [mailto:vincent at dekeyzer.net] 
Sent: Monday, January 24, 2005 10:03 AM
To: Hering, Marc
Cc: cisco-voip at puck.nether.net
Subject: RE: [cisco-voip] CCM - Leading zeroes on calling number



Marc,

 

thanks, I had arrived to that point just now, but I am banging my head
on the syntax...

 

I am just trying to paste a config found on CCO 

(http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_command
_reference_chapter09186a00801a7f32.html#wp2036716) and it does not
work!...

 

eads(config-translate)#rule 1 /^5552205/ /14085552205/

Incorrect format for Translation Match Pattern

        regular expression must be of the form
^(\^)?(\+)?([0-9,A-F.*%?#]+)$

 

 Invalid match pattern string input /^5552205/

eads(config-translate)#

 

How am I supposed to configure a box that does not accept commands taken
from the documentation?

 

BTW, I am running "Cisco IOS Software, 2800 Software
(C2800NM-SPSERVICESK9-M), Version 12.3(8)T5, RELEASE SOFTWARE (fc2)"

 

Vincent

 

 

________________________________

From: Hering, Marc [mailto:MHering at TheGaleCompany.com] 
Sent: lundi 24 janvier 2005 15:54
To: Vincent De Keyzer
Subject: RE: [cisco-voip] CCM - Leading zeroes on calling number

 

I think you would have to use a translation rule in the gateway to
append a 00 to the digits when it matches a pattern.....

 

I had a similar problem, I had calls that were going outbound and needed
to tag them international, I used a translation rule to do this.  

 

HTH

 

________________________________

From: cisco-voip-bounces at puck.nether.net
[mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Vincent De
Keyzer
Sent: Monday, January 24, 2005 9:02 AM
To: cisco-voip at puck.nether.net
Subject: [cisco-voip] CCM - Leading zeroes on calling number

Hello,

 

I am facing (maybe because I'm in Europe) a cosmetic issue with
CallManager and a Cisco2821 as gateway.

 

When I receive an incoming call on the gateway, the set-up message
appears as follows:

 

Jan 24 14:45:16.918 CET: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8
callref = 0x7194

        Sending Complete

        Bearer Capability i = 0x8090A3

                Standard = CCITT

                Transer Capability = Speech

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA9838A

                Exclusive, Channel 10

        Calling Party Number i = 0x2181, '23334455'

                Plan:ISDN, Type:National

        Called Party Number i = 0xA1, '24447722'

                Plan:ISDN, Type:National

        Sending Complete

 

When the call hits my IP phone, it shows calling number '23334455'
instead of what I had wished, which is '023334455' (since it's a
national call).

 

In the same way, for an international call from, say, France, I would
receive on the PRI '33612345678' and 'Type: International', which I
would like to appear on the display of the IP phone as '0033612345678'.

 

How can I add one or two zeros to the calling number based depending on
its type ('National' or 'International')?

 

Vincent

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20050124/fe3eb34d/attachment.html


More information about the cisco-voip mailing list