[Asterisk-Users] Australian anologue callerid

Kiel R Stirling kiel at knss.net
Tue Apr 12 18:52:44 MST 2005


Hi all,

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.

I've added some extra debugging to Asterisk and noticed that the following condition in callerid.c is alway failing.

switch(cid->sawflag) {
       case 0: /* Look for flag */
            if (b == 'U')
                cid->sawflag = 2;
            break;

The value of mylen (which looks to be the amount of bytes read from the zap device) is a constant 160.
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?
I have also changed the following as describe on Asterisk wikii.

#define DEFAULT_CIDRINGS 2

However, still no callerid. Is there a UNIX way to debug this? I'm using FreeBSD 5.4 -STABLE with an X101P.

Kind regards,
Kiel R Stirling.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050412/dd7631ba/attachment.htm


More information about the asterisk-users mailing list