Dear all,
We have a Digium card (TE410P), the card was in E1 mode.
The problem we are having is that the card always indicates red alarm.
We used the following configuration:
zaptel.conf
span=1,0,0,ccs,hdb3
bchan=1-15
dchan=16
bchan=17-31
span=2,0,0,ccs,hdb3
bchan=32-46
dchan=47
bchan=48-62
span=3,0,0,ccs,hdb3
bchan=63-77
dchan=78
bchan=79-93
span=4,0,0,ccs,hdb3
bchan=94-108
dchan=109
bchan=110-124
here log from /var/log/asterisk/messages
[Apr 27 20:33:24] NOTICE[11951] cdr.c: CDR simple logging enabled.
[Apr 27 20:33:24] NOTICE[11951] loader.c: 151 modules will be loaded.
[Apr 27 20:33:24] WARNING[11951] loader.c: Error loading module ‘format_au.so’: /usr/lib/asterisk/modules/format_au.so: cannot open shared object file: No such file or directory
[Apr 27 20:33:24] WARNING[11951] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Apr 27 20:33:24] WARNING[11951] cdr_addon_mysql.c: MySQL database sock file not specified. Using default
[Apr 27 20:33:24] WARNING[11951] loader.c: Error loading module ‘format_au.so’: /usr/lib/asterisk/modules/format_au.so: cannot open shared object file: No such file or directory
[Apr 27 20:33:24] WARNING[11951] loader.c: Module ‘format_au.so’ could not be loaded.
[Apr 27 20:33:25] NOTICE[11951] pbx_ael.c: Starting AEL load process.
[Apr 27 20:33:25] NOTICE[11951] pbx_ael.c: AEL load process: calculated config file name ‘/etc/asterisk/extensions.ael’.
[Apr 27 20:33:25] NOTICE[11951] pbx_ael.c: AEL load process: parsed config file name ‘/etc/asterisk/extensions.ael’.
[Apr 27 20:33:25] NOTICE[11951] pbx_ael.c: AEL load process: checked config file name ‘/etc/asterisk/extensions.ael’.
[Apr 27 20:33:26] NOTICE[11951] pbx_ael.c: AEL load process: compiled config file name ‘/etc/asterisk/extensions.ael’.
[Apr 27 20:33:26] NOTICE[11951] pbx_ael.c: AEL load process: merged config file name ‘/etc/asterisk/extensions.ael’.
[Apr 27 20:33:26] NOTICE[11951] pbx_ael.c: AEL load process: verified config file name ‘/etc/asterisk/extensions.ael’.
[Apr 27 20:33:26] WARNING[11951] acl.c: is not a valid IP
[Apr 27 20:33:26] WARNING[11951] acl.c: is not a valid IP
[Apr 27 20:33:26] ERROR[11951] codec_dahdi.c: Failed to open /dev/zap/transcode: No such file or directory
[Apr 27 20:33:26] WARNING[11951] res_config_mysql.c: MySQL RealTime: No database user found, using ‘asterisk’ as default.
[Apr 27 20:33:26] WARNING[11951] res_config_mysql.c: MySQL RealTime: No database password found, using ‘asterisk’ as default.
[Apr 27 20:33:26] WARNING[11951] res_config_mysql.c: MySQL RealTime: No database host found, using localhost via socket.
[Apr 27 20:33:26] WARNING[11951] res_config_mysql.c: MySQL RealTime: No database name found, using ‘asterisk’ as default.
[Apr 27 20:33:26] WARNING[11951] res_config_mysql.c: MySQL RealTime: No database port found, using 3306 as default.
[Apr 27 20:33:26] WARNING[11951] res_config_mysql.c: MySQL RealTime: No database socket found, using ‘/tmp/mysql.sock’ as default.
[Apr 27 20:33:26] ERROR[11951] res_config_mysql.c: MySQL RealTime: Failed to connect database server asterisk on (err 2002). Check debug for more info.
[Apr 27 20:33:26] WARNING[11951] res_config_mysql.c: MySQL RealTime: Couldn’t establish connection. Check debug.
[Apr 27 20:33:26] NOTICE[11951] config.c: Registered Config Engine mysql
[Apr 27 20:33:26] NOTICE[11951] chan_ooh323.c: ---------------------------------------------------------------------------------
— ******* IMPORTANT NOTE ***********
— This module is currently unsupported. Use it at your own risk.
[Apr 27 20:33:26] WARNING[11951] chan_dahdi.c: Detected alarm on channel 1: Red Alarm
[Apr 27 20:33:26] WARNING[11951] chan_dahdi.c: Detected alarm on channel 2: Red Alarm
[Apr 27 20:33:26] WARNING[11951] chan_dahdi.c: Detected alarm on channel 3: Red Alarm
[Apr 27 20:33:26] WARNING[11951] chan_dahdi.c: Detected alarm on channel 4: Red Alarm
[Apr 27 20:33:26] WARNING[11951] chan_dahdi.c: Detected alarm on channel 5: Red Alarm
[Apr 27 20:33:26] WARNING[11951] chan_dahdi.c: Detected alarm on channel 6: Red Alarm
[Apr 27 20:33:26] WARNING[11951] chan_dahdi.c: Detected alarm on channel 7: Red Alarm
[Apr 27 20:33:26] WARNING[11951] chan_dahdi.c: Detected alarm on channel 8: Red Alarm
[Apr 27 20:33:26] WARNING[11951] chan_dahdi.c: Detected alarm on channel 9: Red Alarm
…
[Apr 27 20:33:27] WARNING[11951] chan_dahdi.c: Detected alarm on channel 123: Red Alarm
[Apr 27 20:33:27] WARNING[11951] chan_dahdi.c: Detected alarm on channel 124: Red Alarm
Please, find us a solution for this problem as soon as possible.
Thank you