We’re having a fatal problem with Asterisk 1.2.13 running with a Digium TDM card. Basically, at random the Asterisk server will stop functioning and the log file will fill up with thousands of “callerid.c: Unknown IE 0” errors per second. This has actually filled the harddrive overnight on a few occasions, causing the actual system to all but stop functioning.
We’re using a Digium TDM card with 4 fxo modules connected to RJ12 sockets on a VoIP gateway (unfortunately they force you to use the RJ12 sockets for voice traffic, they disallow the use of SIP).
I’m going to disable callerid for a week and see if that fixes the problem. Does anyone know why this would happen, or what I could do to fix it?
Ok, further research reveals that it’s definitely a callerid issue. The exact problem is that Asterisk is receiving an invalid “Information Element” on the line, and for some reason this causes it to go haywire, when it should really just make the callerid “Unknown” or “Private Number”.
Is there a way log a bug report to the Asterisk developers?
I’m in Australia. I have no idea what format of CID the box is giving out, but I can find out. I didn’t realise you could configure Asterisk to parse different CID formats.
language=en
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
; Autogenerated by /usr/local/sbin/genzaptelconf – do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;
callerid=asreceived
; Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1"
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 1
context=from-pstn
group=0
channel => 1
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 2
context=from-pstn
group=0
channel => 2
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 3
context=from-pstn
group=0
channel => 3
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 4
context=from-pstn
group=0
channel => 4
if you have the Asterisk source (and you should have, even with that distro !!) then have a look at /usr/src/asterisk/configs/zapata.conf.sample (may be located elsewhere)
cidsignalling= and cidstart= will probably be where to start. being in Aus, you might find you’re using v23 like the UK maybe ??
i would normally say look at the wiki, but that page seems to be lagging behind a bit.