[cisco-voip] CCM - Leading zeroes on calling number
Vincent De Keyzer
vincent at dekeyzer.net
Mon Jan 24 10:03:15 EST 2005
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_ref
erence_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/dd8a3d8a/attachment-0001.html
More information about the cisco-voip
mailing list