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@asterisk1 ~]# +++++++++++++++++++++++ END /var/log/asterisk/full++++++++ +++++++++++++++++++++++ /var/log/messages++++++++ [root@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@asterisk1 ~]# +++++++++++++++++++++++ END /var/log/messages++++++++ ++++++++++++++++++++++/etc/zaptel.conf+++++++++++++++ [root@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@asterisk1 ~]# ++++++++++++++++++++++END /etc/zaptel.conf+++++++++++++++ ++++++++++++++++++++++/etc/asterisk/zapata.conf+++++++++++++++ [root@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@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++++++++++++++
Sangoma gives excellent support Suggest you try there first They probably will want SSH access to the box. Send them an e-mail John Novack Todd H wrote:> 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@asterisk1 ~]# > +++++++++++++++++++++++ END /var/log/asterisk/full++++++++ > > +++++++++++++++++++++++ /var/log/messages++++++++ > [root@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@asterisk1 ~]# > +++++++++++++++++++++++ END /var/log/messages++++++++ > > > ++++++++++++++++++++++/etc/zaptel.conf+++++++++++++++ > [root@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@asterisk1 ~]# > ++++++++++++++++++++++END /etc/zaptel.conf+++++++++++++++ > > ++++++++++++++++++++++/etc/asterisk/zapata.conf+++++++++++++++ > [root@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@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++++++++++++++ > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
FYI, here's the result from Sangoma... -t-> Hi Todd, > > It?s look like issue with your power supply. It?s not providing > enough power to the FXS module. Make sure that power cable is > connected properly to the A200 main board. You can try to swap the > power cable from CD/DVD ROM for temporary testing. You can find > this information at http://wiki.sangoma.com/sangoma-hardware#A200 . > I have also added signaling method for channels in your /etc/ > asterisk/zapata.conf . > > I received following error in your /var/log/messages > > Mar 16 19:43:39 asterisk1 kernel: wanpipe1: Module 2: TIP/RING is > too low on FXS 0! > Mar 16 19:44:11 asterisk1 last message repeated 2 times > Mar 16 19:44:44 asterisk1 last message repeated 2 times > Mar 16 19:44:44 asterisk1 kernel: wanpipe1: Module 2: FXS failed! > Mar 16 19:45:13 asterisk1 kernel: wanpipe1: Module 3: TIP/RING is > too low on FXS 0! > > > Best regards, >On Mar 15, 2007, at 4:38 PM, Todd H wrote:> 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@asterisk1 ~]# > +++++++++++++++++++++++ END /var/log/asterisk/full++++++++ > > +++++++++++++++++++++++ /var/log/messages++++++++ > [root@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@asterisk1 ~]# > +++++++++++++++++++++++ END /var/log/messages++++++++ > > > ++++++++++++++++++++++/etc/zaptel.conf+++++++++++++++ > [root@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@asterisk1 ~]# > ++++++++++++++++++++++END /etc/zaptel.conf+++++++++++++++ > > ++++++++++++++++++++++/etc/asterisk/zapata.conf+++++++++++++++ > [root@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@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++++++++++++++ > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070316/c7048536/attachment-0001.htm
Maybe Matching Threads
- Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted
- Call signalling on BT FeatureLine Compact (Sangoma A200)
- Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted
- Digium TDM400P vs Sangoma A200 for 2 x FXO
- Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)