<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm having really problems getting callerid working
on my analogue line. The service is provisioned and is working fine with a
CND-GO box provided but the carrier. However, I can't seem to get it working
with Asterisk.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've added some extra debugging to Asterisk and
noticed that the following condition in callerid.c is alway
failing.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>switch(cid->sawflag)
{<BR> case 0: /* Look for flag
*/<BR> if (b ==
'U')<BR>
cid->sawflag = 2;<BR>
break;</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>The value of mylen (which looks to be the
amount of bytes read from the zap device) is a constant 160.</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm not really up to speed with bell 202 standards.
Does that mean the data is not being received or is it that the data is received
and the formatting is incorrect?</FONT></DIV>
<DIV><FONT face=Arial size=2>I have also changed the following as describe on
Asterisk wikii.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#define DEFAULT_CIDRINGS 2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>However, still no callerid. Is there a UNIX way to
debug this? I'm using FreeBSD 5.4 -STABLE with an X101P.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Kind regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Kiel R Stirling.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>