All pastes #28608 Raw Edit

Zaptel fails compile

public text v1 · immutable
#28608 ·published 2005-11-13 21:37 UTC
rendered paste body
----------dmesg output --------------------------------------------------------
Zapata Telephony Interface Registered on major 196
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 11 (level, low) -> IRQ 11
Freshmaker version: 63
Freshmaker passed register test
Module 0: Installed -- AUTO FXS/DPO
Module 1: Not installed
Module 2: Not installed
Module 3: Not installed
Found a Wildcard TDM: Wildcard TDM400P REV E/F (4 modules)
Registered tone zone 0 (United States / North America)
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 3
PCI: setting IRQ 3 as level-triggered
ACPI: PCI interrupt 0000:00:0f.0[A] -> GSI 3 (level, low) -> IRQ 3
wcfxo: DAA mode is 'FCC'
Found a Wildcard FXO: Wildcard X101P
Registered tone zone 0 (United States / North America)
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Registered tone zone 0 (United States / North America)
Registered tone zone 0 (United States / North America)
Registered tone zone 0 (United States / North America)
Registered tone zone 0 (United States / North America)

----------contents of /dev/zap ------------------------------------------------
crw-rw----  1 root root 196,   1 2005-11-13 06:23 1
crw-rw----  1 root root 196,   2 2005-11-13 06:23 2
crw-rw----  1 root root 196,   3 2005-11-13 06:23 3
crw-rw----  1 root root 196,   4 2005-11-13 06:23 4
crw-rw----  1 root root 196,   5 2005-11-13 06:23 5
crw-rw----  1 root root 196, 254 2005-11-13 06:23 channel
crw-rw----  1 root root 196,   0 2005-11-13 06:23 ctl
crw-rw----  1 root root 196, 255 2005-11-13 06:23 pseudo
crw-rw----  1 root root 196, 253 2005-11-13 06:23 timer

-------------zaptel.conf-------------------------------------------------------
#
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
# An up-to-date list of the zones can be found in the file zaptel/zonedata.c
loadzone = us
defaultzone=us
#
# My Asterisk Hardware -Kevin 101805
#
# Wildcard TDM400P FXS for 1 telephone connection.
fxoks=1
#
# Wildcard X101P FXO for 1 Pots line to Telco.
fxsks=2


-------------------zapata.conf---------------------------------------------------------------
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

echocancel=yes
echotraining=yes
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1

; Produce a dial-tone when fxs pickup.
immediate=yes

[channels]

context=internal        ; Uses the [internal] context in extensions.conf
signalling=fxo_ks       ; Use FXO signalling for an FXS channel
channel => 1            ; Telephone attached to port 1

context=incoming        ; Incoming calls go to [incoming] in extensions.conf
signalling=fxs_ks       ; Use FXS signalling for an FXO channel
channel => 2            ; PSTN attached to port 2


------------extensions.conf-------------------------------------------------------

[incoming]
; incoming calls from the FXO port are directed to this context from zapata.conf
exten => s,1,Answer()
exten => s,2,Echo()

[internal]
exten => 611,1,Answer()
exten => 611,2,Echo()

-----------asterisk -v -----------------------------------------------------------
Asterisk 1.0.9, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster@digium.com>
=========================================================================
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk PBX Core Initializing
Registering builtin applications:
 [AbsoluteTimeout]
 [Answer]
 [BackGround]
 [Busy]
 [Congestion]
 [DigitTimeout]
 [Goto]
 [GotoIf]
 [GotoIfTime]
 [Hangup]
 [NoOp]
 [Prefix]
 [Progress]
 [ResetCDR]
 [ResponseTimeout]
 [Ringing]
 [SayNumber]
 [SayDigits]
 [SayAlpha]
 [SayPhonetic]
 [SetAccount]
 [SetAMAFlags]
 [SetGlobalVar]
 [SetLanguage]
 [SetVar]
 [StripMSD]
 [Suffix]
 [Wait]
 [WaitExten]
Asterisk Dynamic Loader Starting:
 [chan_modem.so] => (Generic Voice Modem Driver)
 => (A/Open (Rockwell Chipset) ITU-2 VoiceModem Driver)
 [res_musiconhold.so] => (Music On Hold Resource)
 [res_indications.so] => (Indications Configuration)
 [res_features.so] => (Call Parking Resource)
 [res_agi.so] => (Asterisk Gateway Interface (AGI))
 [res_crypto.so] => (Cryptographic Digital Signatures)
 [res_adsi.so] => (ADSI Resource)
 [res_monitor.so] => (Call Monitoring Resource)
 [app_sms.so] => (SMS/PSTN handler)
 [app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox has messages in a given folder.)
 [format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM))
 [app_url.so] => (Send URL Applications)
 [chan_modem_i4l.so] => (ISDN4Linux Emulated Modem Driver)
 [app_test.so] => (Interface Test Application)
 [chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
 [app_eval.so] => (Reevaluates strings)
 [chan_zap.so] => (Zapata Telephony)
Nov 13 14:24:45 WARNING[4157]: chan_zap.c:778 zt_open: Unable to specify channel 2: No such device
Nov 13 14:24:45 ERROR[4157]: chan_zap.c:6239 mkintf: Unable to open channel 2: No such device
here = 0, tmp->channel = 2, channel = 2
Nov 13 14:24:45 ERROR[4157]: chan_zap.c:9191 setup_zap: Unable to register channel '2'
Nov 13 14:24:45 WARNING[4157]: loader.c:345 ast_load_resource: chan_zap.so: load_module failed, returning -1
    -- Unregistered channel 1
Nov 13 14:24:45 WARNING[4157]: loader.c:440 load_modules: Loading module chan_zap.so failed!

--------------------ztcfg -vvv --------------------------------------------------

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


Channel map:

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

2 channels configured.