<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Tahoma;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Tahoma;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'>Marc,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'>thanks, I had arrived to
that point just now, but I am banging my head on the syntax…<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'>I am just trying to
paste a config found on CCO <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'>(http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_command_reference_chapter09186a00801a7f32.html#wp2036716)
and it does not work!...<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'>eads(config-translate)#rule
1 /^5552205/ /14085552205/<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'>Incorrect format for
Translation Match Pattern<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'>
regular expression must be of the form ^(\^)?(\+)?([0-9,A-F.*%?#]+)$<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'> Invalid match
pattern string input /^5552205/<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'>eads(config-translate)#<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'>How am I supposed to
configure a box that does not accept commands taken from the documentation?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'>BTW, I am running “Cisco
IOS Software, 2800 Software (C2800NM-SPSERVICESK9-M), Version 12.3(8)T5,
RELEASE SOFTWARE (fc2)”<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'>Vincent<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Tahoma><span lang=EN-GB
style='font-size:10.0pt;font-family:Tahoma;color:blue'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
Hering, Marc [mailto:MHering@TheGaleCompany.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> lundi 24 janvier 2005 15:54<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Vincent
De Keyzer</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [cisco-voip] CCM -
Leading zeroes on calling number</span></font><span lang=EN-US><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=4 color=green face=Arial><span style='font-size:
13.5pt;font-family:Arial;color:green'>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.....</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=4 color=green face=Arial><span style='font-size:
13.5pt;font-family:Arial;color:green'>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. </span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=4 color=green face=Arial><span style='font-size:
13.5pt;font-family:Arial;color:green'>HTH</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabIndex=-1>
</span></font></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
lang=EN-US style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
cisco-voip-bounces@puck.nether.net [mailto:cisco-voip-bounces@puck.nether.net] <b><span
style='font-weight:bold'>On Behalf Of </span></b><st1:PersonName w:st="on">Vincent
De Keyzer</st1:PersonName><br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, January 24, 2005
9:02 AM<br>
<b><span style='font-weight:bold'>To:</span></b> cisco-voip@puck.nether.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [cisco-voip] CCM -
Leading zeroes on calling number</span></font><span lang=EN-US><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Hello,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>I am facing (maybe because I’m in <st1:place
w:st="on">Europe</st1:place>) a cosmetic issue with CallManager and a Cisco2821
as gateway.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>When I receive an incoming call on the gateway, the
set-up message appears as follows:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>Jan 24 14:45:16.918 CET: ISDN Se0/0/0:15 Q931: RX
<- SETUP pd = 8 callref = 0x7194<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'> Sending
Complete<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'> Bearer
Capability i = 0x8090A3<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>
Standard = CCITT<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>
Transer Capability = Speech<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>
Transfer Mode = Circuit<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>
Transfer Rate = 64 kbit/s<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'> Channel
ID i = 0xA9838A<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>
Exclusive, Channel 10<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'> Calling
Party Number i = 0x2181, '23334455'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>
Plan:ISDN, Type:National<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'> Called
Party Number i = 0xA1, '24447722'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>
Plan:ISDN, Type:National<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'> Sending
Complete<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>When the call hits my IP phone, it shows calling
number ’23334455’ instead of what I had wished, which is ‘<b><span
style='font-weight:bold'>0</span></b>23334455’ (since it’s a
national call).<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>In the same way, for an international call from,
say, <st1:place w:st="on"><st1:country-region w:st="on">France</st1:country-region></st1:place>,
I would receive on the PRI ‘33612345678’ and ‘Type:
International’, which I would like to appear on the display of the IP
phone as ‘<b><span style='font-weight:bold'>00</span></b>33612345678’.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>How can I add one or two zeros to the calling number
based depending on its type (‘National’ or
‘International’)?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>Vincent<o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>