<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have installed a number of Digium G100 devices in many countries like South Korea, Japan, Singapore and Australia.  I have just installed two in New Zealand and both sites are having a problem with Caller ID.  Incoming calls are dropping
 the first digit 0 from the caller ID.  I was previously using DAHDI and a TE121 device which may have been adding the 0, I’m not too sure about that.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Anyhow, is it possible the Digium G100 is causing the problem or would it be the Telco not passing the full CID number?  I have the latest firmware on the G100, the same with all my other locations.  I am using the latest Asterisk 13.19.0.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The Telco is blaming the PBX for the problem so I’m hoping someone here can shed some light.  Below is a debug extract which I hope will help.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The 21 number should be 021.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">Jan 16 10:53:16 G100-59-c4-ca asterisk[4674]: VERBOSE[4786]: chan_gtw/chan.c:4803 in dgm_pri_message: port1 < Calling Number (len=12) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony
 Numbering Plan (E.164/E.163) (1) <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">Jan 16 10:53:16 G100-59-c4-ca asterisk[4674]: VERBOSE[4786]: chan_gtw/chan.c:4803 in dgm_pri_message: port1 <                           Presentation: Presentation allowed of network
 provided number (3)  '<span style="background:yellow;mso-highlight:yellow">21xxxxxx</span>' ]
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">Jan 16 10:53:16 G100-59-c4-ca asterisk[4674]: VERBOSE[4786]: chan_gtw/chan.c:4803 in dgm_pri_message: port1 < [70 0a c1 30 34 39 31 34 31 32 31 34]
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">Jan 16 10:53:16 G100-59-c4-ca asterisk[4674]: VERBOSE[4786]: chan_gtw/chan.c:4803 in dgm_pri_message: port1 < Called Number (len=12) [ Ext: 1  TON: Subscriber Number (4)  NPI: ISDN/Telephony
 Numbering Plan (E.164/E.163) (1)  '049xxxxxx' ]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">Jan 16 10:53:16 G100-59-c4-ca asterisk[4674]: VERBOSE[4786]: chan_gtw/sig_pri_new.c:5383 in pri_dchannel:     -- Accepting call from
<span style="background:yellow;mso-highlight:yellow">'21xxxxxx'</span> to '049xxxxxx' on channel 0/5, span 1<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">David.<o:p></o:p></p>
</div>
</body>
</html>