[asterisk-users] A200 card problem

Todd H thouleasterisk at gleffsecurity.com
Thu Mar 15 13:38:59 MST 2007


Hi -
I just got an A200 card with 1 FXO and 1 FXS module.  Sadly, I can't  
make it work- currently, asterisk will not startup because of a bad  
module.  Below are some log files/config files.  If anyone has any  
suggestions, I'd appreciate it.

I used Trixbox 2.0 and followed instructions on (http:// 
sangoma.editme.com/wanpipe-linux-asterisk-atHome) - no problems  
running through or compiling.     I also downloaded trixbox 2.0 with  
sangoma drivers included directly from sangoma (http:// 
wiki.sangoma.com/Trixbox-1xx).  I know how this list feels about  
trixbox, but still, the card/configs are the same, no?  Any advice is  
appreciated.
thanks
   Todd

+++++++++++++++++++++++  /var/log/asterisk/full++++++++
Mar 15 16:12:37 VERBOSE[31964] logger.c:  [chan_mgcp.so]Mar 15  
16:12:37 VERBOSE[31964] logger.c:  [chan_mgcp.so] => (Media Gateway  
Control Protocol (MGCP))
Mar 15 16:12:37 VERBOSE[31964] logger.c:  [chan_local.so]Mar 15  
16:12:37 VERBOSE[31964] logger.c:  [chan_local.so] => (Local Proxy  
Channel)
Mar 15 16:12:37 VERBOSE[31964] logger.c:  [chan_phone.so]Mar 15  
16:12:37 VERBOSE[31964] logger.c:  [chan_phone.so] => (Linux  
Telephony API Support)
Mar 15 16:12:37 VERBOSE[31964] logger.c:  [chan_zap.so]Mar 15  
16:12:37 VERBOSE[31964] logger.c:  [chan_zap.so] => (Zapata Telephony  
w/PRI)
Mar 15 16:12:37 WARNING[31964] chan_zap.c: Unable to specify channel  
1: No such device or address
Mar 15 16:12:37 ERROR[31964] chan_zap.c: Unable to open channel 1: No  
such device or address
here = 0, tmp->channel = 1, channel = 1
Mar 15 16:12:37 ERROR[31964] chan_zap.c: Unable to register channel '1'
Mar 15 16:12:37 WARNING[31964] loader.c: chan_zap.so: load_module  
failed, returning -1
Mar 15 16:12:37 WARNING[31964] loader.c: Loading module chan_zap.so  
failed!
[root at asterisk1 ~]#
+++++++++++++++++++++++ END /var/log/asterisk/full++++++++

+++++++++++++++++++++++  /var/log/messages++++++++
[root at asterisk1 ~]# tail -20 /var/log/messages
Mar 15 16:24:08 asterisk1 safe_asterisk:  [pbx_config.so] => (Text  
Extension Configuration)
Mar 15 16:24:08 asterisk1 safe_asterisk:  [pbx_functions.so] =>  
(Builtin dialplan functions)
Mar 15 16:24:08 asterisk1 safe_asterisk:  [pbx_ael.so] => (Asterisk  
Extension Language Compiler)
Mar 15 16:24:08 asterisk1 safe_asterisk:  [pbx_dundi.so] =>  
(Distributed Universal Number Discovery (DUNDi))
Mar 15 16:24:08 asterisk1 safe_asterisk:  [pbx_loopback.so] =>  
(Loopback Switch)
Mar 15 16:24:08 asterisk1 safe_asterisk:  [pbx_spool.so] => (Outgoing  
Spool Support)
Mar 15 16:24:08 asterisk1 safe_asterisk:  [chan_iax2.so] => (Inter  
Asterisk eXchange (Ver 2))
Mar 15 16:24:08 asterisk1 safe_asterisk:  [chan_agent.so] => (Agent  
Proxy Channel)
Mar 15 16:24:08 asterisk1 safe_asterisk:  [chan_skinny.so] => (Skinny  
Client Control Protocol (Skinny))
Mar 15 16:24:08 asterisk1 safe_asterisk:  [chan_h323.so] =>  
(Objective Systems H323 Channel)
Mar 15 16:24:08 asterisk1 safe_asterisk:  [chan_sip.so] => (Session  
Initiation Protocol (SIP))
Mar 15 16:24:08 asterisk1 safe_asterisk:  [chan_features.so] =>  
(Feature Proxy Channel)
Mar 15 16:24:08 asterisk1 safe_asterisk:  [skipping chan_oss.so]
Mar 15 16:24:08 asterisk1 safe_asterisk:  [chan_mgcp.so] => (Media  
Gateway Control Protocol (MGCP))
Mar 15 16:24:08 asterisk1 safe_asterisk:  [chan_local.so] => (Local  
Proxy Channel)
Mar 15 16:24:08 asterisk1 safe_asterisk:  [chan_phone.so] => (Linux  
Telephony API Support)
Mar 15 16:24:08 asterisk1 safe_asterisk:  [chan_zap.so] => (Zapata  
Telephony w/PRI)
Mar 15 16:24:08 asterisk1 safe_asterisk: Asterisk died with code 1.
Mar 15 16:24:08 asterisk1 safe_asterisk: Automatically restarting  
Asterisk.
Mar 15 16:24:08 asterisk1 asterisk: safe_asterisk startup succeeded
[root at asterisk1 ~]#
+++++++++++++++++++++++ END /var/log/messages++++++++


++++++++++++++++++++++/etc/zaptel.conf+++++++++++++++
[root at asterisk1 ~]# more /etc/zaptel.conf
# Autogenerated by /usr/local/sbin/sangoma/setup-sangoma -- do not  
hand edit
# Zaptel Channels Configurations (zaptel.conf)
#
loadzone=us
defaultzone=us

# Sangoma A200 [slot:9 bus:1 span: 1]
fxsks=1
fxsks=2
fxoks=3
fxoks=4
[root at asterisk1 ~]#
++++++++++++++++++++++END /etc/zaptel.conf+++++++++++++++

++++++++++++++++++++++/etc/asterisk/zapata.conf+++++++++++++++
[root at asterisk1 asterisk]# more zapata.conf
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-zaptel
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

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf

[root at asterisk1 asterisk]#
++++++++++++++++++++++END /etc/asterisk/zapata.conf+++++++++++++++

++++++++++++++++++++++/etc/asterisk/zapata-auto.conf++++++++++++++
; Autogenerated by /usr/local/sbin/sangoma/setup-sangoma -- 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

;Sangoma A200 [slot:9 bus:1 span: 1]
context = from-zaptel
group = 0
signalling = fxs_ks
channel => 1

context = from-zaptel
group = 0
signalling = fxs_ks
channel => 2

context = from-internal
group = 1
signalling = fxo_ks
channel => 3

context = from-internal
group = 1
signalling = fxo_ks
channel => 4
++++++++++++++++++++++/etc/asterisk/zapata-auto.conf++++++++++++++




More information about the asterisk-users mailing list