All pastes #23986 Raw Edit

Someone

public text v1 · immutable
#23986 ·published 2005-09-26 19:08 UTC
rendered paste body
This started happening when i setup a group for channels 1 and 2 for whatever thats worth

-----------------------------------------------------------
(starting asterisk)

 == Parsing '/etc/asterisk/zapata.conf': Found
    -- Registered channel 1, FXS Kewlstart signalling
    -- Registered channel 2, FXS Kewlstart signalling
    -- Registered channel 3, FXO Kewlstart signalling
Sep 26 15:02:44 WARNING[6171]: chan_zap.c:778 zt_open: Unable to specify channel 4: No such device
Sep 26 15:02:44 ERROR[6171]: chan_zap.c:6239 mkintf: Unable to open channel 4: No such device
here = 0, tmp->channel = 4, channel = 4
Sep 26 15:02:44 ERROR[6171]: chan_zap.c:9191 setup_zap: Unable to register channel '4'
Sep 26 15:02:44 WARNING[6171]: loader.c:345 ast_load_resource: chan_zap.so: load_module failed, returning -1
  == Unregistered channel type 'Tor'
  == Unregistered channel type 'Zap'
    -- Unregistered channel 1
    -- Unregistered channel 2
    -- Unregistered channel 3
Sep 26 15:02:44 WARNING[6171]: loader.c:440 load_modules: Loading module chan_zap.so failed!
juanita ~ # Warning, flexible rate not heavily tested!
Ouch ... error while writing audio data: : Broken pipe
-----------------------------------------------------------------------------------
;zapata.conf
;
; Zapata telephony interface
;
; Configuration file

[channels]

;
; Default language
;
language=en
;
; Default context
;
context=inbound

signalling=fxs_ks
language=en
context=outbound
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
channel => 1

signalling=fxs_ks
language=en
context=outbound
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
channel => 2

signalling=fxo_ks
context=outbound
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
language=en
callerid="Office" <100>
channel => 3

signalling=fxo_ks
language=en
context=outbound
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0s
callerid="Steve" <102>
channel => 4

----------------------------------------------------------------------------------


;zaptel.conf
fxsks=1-2
fxoks=3-4
loadzone=us
defaultzone=us


---------------------------------------
;ztcfg -vv output

juanita ~ # ztcfg -vv

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


Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXO Kewlstart (Default) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Slaves: 04)

4 channels configured.