[cisco-voip] CCM - Leading zeroes on calling number
Vincent De Keyzer
vincent at dekeyzer.net
Mon Jan 24 09:01:41 EST 2005
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/69de8290/attachment.html
More information about the cisco-voip
mailing list