<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 12 (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;}
@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:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You need to wait at least 1 second on an incoming POTS line for CID
info, add a wait(1) as the first step on incoming connections.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thank you and have a&nbsp; nice day,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Anthony Francis<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Arun
Sasidhar<br>
<b>Sent:</b> Wednesday, December 30, 2009 7:56 AM<br>
<b>To:</b> asterisk-users@lists.digium.com<br>
<b>Subject:</b> [asterisk-users] CID not working.<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Hi,<br>
<br>
&nbsp;&nbsp;&nbsp; I am using asterisk 1.4.28 with freepbx and Wildcard TDM410P
card. Everything is working fine except the caller ID of incoming call from
PSTN line. The phone display is showing &quot;Unknown&quot; when there is an
incoming call.<br>
<br>
<b>My log file showing this while an incoming call on PSTN line:</b><br>
tail -f /var/log/asterisk/full<br>
<br>
[Dec 30 06:36:16] DEBUG[2559] dsp.c: dsp busy pattern set to 0,0<br>
[Dec 30 06:36:16] VERBOSE[2715] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- Starting
simple switch on 'DAHDI/1-1'<br>
[Dec 30 06:36:16] VERBOSE[2715] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- Executing
[s@from-pstn:1] Set(&quot;DAHDI/1-1&quot;, &quot;__FROM_DID=s&quot;) in new
stack<br>
[Dec 30 06:36:16] VERBOSE[2715] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- Executing
[s@from-pstn:2] Gosub(&quot;DAHDI/1-1&quot;,
&quot;app-blacklist-check|s|1&quot;) in new stack<br>
[Dec 30 06:36:16] VERBOSE[2715] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- Executing
[s@app-blacklist-check:1] LookupBlacklist(&quot;DAHDI/1-1&quot;, &quot;&quot;)
in new stack<br>
[Dec 30 06:36:16] VERBOSE[2715] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- Executing
[s@app-blacklist-check:2] GotoIf(&quot;DAHDI/1-1&quot;,
&quot;0?blacklisted&quot;) in new stack<br>
[Dec 30 06:36:16] VERBOSE[2715] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- Executing
[s@app-blacklist-check:3] Set(&quot;DAHDI/1-1&quot;, &quot;CALLED_BLACKLIST=1&quot;)
in new stack<br>
[Dec 30 06:36:16] VERBOSE[2715] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- Executing
[s@app-blacklist-check:4] Return(&quot;DAHDI/1-1&quot;, &quot;&quot;) in new
stack<br>
[Dec 30 06:36:16] VERBOSE[2715] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- Executing
[s@from-pstn:3] ExecIf(&quot;DAHDI/1-1&quot;, &quot;1 |Set|CALLERID(name)=&quot;)
in new stack<br>
[Dec 30 06:36:16] VERBOSE[2715] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- Executing
[s@from-pstn:4] Set(&quot;DAHDI/1-1&quot;, &quot;FAX_RX=disabled&quot;) in new
stack<br>
[Dec 30 06:36:16] VERBOSE[2715] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- Executing
[s@from-pstn:5] Set(&quot;DAHDI/1-1&quot;, &quot;__CALLINGPRES_SV=allowed_not_screened&quot;)
in new stack<br>
<br>
<br>
<b>My chan_dahdi.conf file is as like this.</b><br>
vim /etc/asterisk/chan_dahdi.conf<br>
<br>
[channels]<br>
language=en<br>
hanguponpolarityswitch=yes<br>
answeronpolarityswitch=yes<br>
busydetect=yes<br>
busycount=3<br>
callprogress=yes<br>
callerid=asreceived<br>
immediate=yes<br>
cidsignalling=dtmf<br>
cidstart=polarity<br>
;cidstart=ring<br>
useincomingcalleridonzaptransfer=yes<br>
;cidsignalling=bell<br>
; include dahdi extensions defined in FreePBX<br>
#include chan_dahdi_additional.conf<br>
<br>
; XTDM20B Port #1,2 plugged into PSTN<br>
;AMPLABEL:Channel %c - Button %n<br>
<br>
Please help me for fixing this issue. I am from India.<br>
<br>
<br>
Regards,<br>
Aruns<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>

</div>

</body>

</html>