All pastes #386358 Raw Edit

Someone

public text v1 · immutable
·published 2007-03-08 15:30 UTC
rendered paste body
 [chan_zap.so] => (Zapata Telephony)
  == Parsing '/etc/asterisk/zapata.conf': Found
Mar  8 04:25:46 WARNING[20122]: chan_zap.c:1072 zt_open: Unable to specify channel 1: No such device
Mar  8 04:25:46 ERROR[20122]: chan_zap.c:7034 mkintf: Unable to open channel 1: No such device
here = 0, tmp->channel = 1, channel = 1
Mar  8 04:25:46 ERROR[20122]: chan_zap.c:10468 setup_zap: Unable to register channel '1'
Mar  8 04:25:46 WARNING[20122]: loader.c:414 __load_resource: chan_zap.so: load_module failed, returning -1
Mar  8 04:25:46 WARNING[20122]: loader.c:554 load_modules: Loading module chan_zap.so failed!

[root@nzpabx asterisk]# cat /proc/interrupts
           CPU0
  0:   67879022          XT-PIC  timer
  1:        184          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
  9:      44943          XT-PIC  acpi, uhci_hcd, eth0
 11:   32189859          XT-PIC  wctdm
 12:      53278          XT-PIC  i8042
 14:      65889          XT-PIC  ide0
 15:     610243          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:          0
MIS:          0

[root@nzpabx asterisk]# ztcfg -vvvv

Zaptel Configuration
======================


Channel map:

Channel 01: FXS Loopstart (Default) (Slaves: 01)
Channel 02: FXS Loopstart (Default) (Slaves: 02)

2 channels configured.

[root@nzpabx asterisk]# cat zapata.conf
;
; Zapata telephony interface
;
; Configuration file

;

[channels]

language=en
signalling=fxs_ls
usecallerid=yes
callerid=asreceived
hidecallerid=no
usecallingpres=no

echocancel=yes
echocancelwhenbridged=yes
;echotraining=yes
;echotraining=800
;relaxdtmf=yes
rxgain=0.0
txgain=0.0

callgroup=1
pickupgroup=1
immediate=no

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

musiconhold=default

context = incoming1
group   = 1

channel => 1

context = incoming2
group   = 1

channel => 2

[root@nzpabx etc]# cat zaptel.conf
#
# Zaptel Configuration File
#

fxsls=1-2
loadzone=nz