"Syntax Error" bei Laden von chan_zap.so

pinky

Neuer User
Mitglied seit
11 Sep 2005
Beiträge
10
Punkte für Reaktionen
0
Punkte
0
Was läuft hjier schief ?

In dem Rechner steckt eine HFC karte.
Asterisk 1.2.4-BRIstuffed-0.3.0-PRE-1l

asterisk1*CLI> zap show channels
Chan Extension Context Language MusicOnHold
pseudo from-internal de
1 from-internal de
2 from-internal de

ztcfg -vv

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

SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: D-channel (Default) (Slaves: 03)

3 channels configured.



Apr 10 16:39:50 VERBOSE[27950] logger.c: [chan_zap.so]Apr 10 16:39:50 VERBOSE[27950] logger.c: [chan_zap.so] => (Zapata Telephony w/PRI)
Apr 10 16:39:50 VERBOSE[27950] logger.c: == Parsing '/etc/asterisk/zapata.conf': Apr 10 16:39:50 VERBOSE[27950] logger.c: == Parsing '/etc/asteris
k/zapata.conf': Found
Apr 10 16:39:50 VERBOSE[27950] logger.c: == Parsing '/etc/asterisk/zapata-auto.conf': Apr 10 16:39:50 VERBOSE[27950] logger.c: == Parsing '/etc/as
terisk/zapata-auto.conf': Found
Apr 10 16:39:50 VERBOSE[27950] logger.c: == Parsing '/etc/asterisk/zapata_additional.conf': Apr 10 16:39:50 VERBOSE[27950] logger.c: == Parsing '/
etc/asterisk/zapata_additional.conf': Found
Apr 10 16:39:50 DEBUG[27950] chan_zap.c: Failed to read gains: Invalid argument
Apr 10 16:39:50 DEBUG[27950] chan_zap.c: Failed to read gains: Invalid argument
Apr 10 16:39:50 DEBUG[27950] chan_zap.c: Updated conferencing on 1, with 0 conference users
Apr 10 16:39:50 VERBOSE[27950] logger.c: -- Registered channel 1, PRI Signalling signalling
Apr 10 16:39:50 DEBUG[27950] chan_zap.c: Failed to read gains: Invalid argument
Apr 10 16:39:50 DEBUG[27950] chan_zap.c: Failed to read gains: Invalid argument
Apr 10 16:39:50 DEBUG[27950] chan_zap.c: Updated conferencing on 2, with 0 conference users
Apr 10 16:39:50 VERBOSE[27950] logger.c: -- Registered channel 2, PRI Signalling signalling
Apr 10 16:39:50 ERROR[27950] chan_zap.c: Syntax error parsing 'g0/201' at 'g0/201'
Apr 10 16:39:50 WARNING[27950] loader.c: chan_zap.so: load_module failed, returning -1
Apr 10 16:39:50 VERBOSE[27950] logger.c: -- Unregistered channel 1
Apr 10 16:39:50 VERBOSE[27950] logger.c: -- Unregistered channel 2
Apr 10 16:39:50 WARNING[27950] loader.c: Loading module chan_zap.so failed!
 
Asterisk startet nicht mehr (mit BRIstuff & AMP)

pinky schrieb:
Was läuft hjier schief ?

[...]

Apr 10 16:39:50 VERBOSE[27950] logger.c: [chan_zap.so]Apr 10 16:39:50 VERBOSE[27950] logger.c: [chan_zap.so] => (Zapata Telephony w/PRI)
Apr 10 16:39:50 VERBOSE[27950] logger.c: == Parsing '/etc/asterisk/zapata.conf': Apr 10 16:39:50 VERBOSE[27950] logger.c: == Parsing '/etc/asteris
k/zapata.conf': Found
Apr 10 16:39:50 VERBOSE[27950] logger.c: == Parsing '/etc/asterisk/zapata-auto.conf': Apr 10 16:39:50 VERBOSE[27950] logger.c: == Parsing '/etc/as
terisk/zapata-auto.conf': Found
Apr 10 16:39:50 VERBOSE[27950] logger.c: == Parsing '/etc/asterisk/zapata_additional.conf': Apr 10 16:39:50 VERBOSE[27950] logger.c: == Parsing '/
etc/asterisk/zapata_additional.conf': Found
Apr 10 16:39:50 DEBUG[27950] chan_zap.c: Failed to read gains: Invalid argument
Apr 10 16:39:50 DEBUG[27950] chan_zap.c: Failed to read gains: Invalid argument
Apr 10 16:39:50 DEBUG[27950] chan_zap.c: Updated conferencing on 1, with 0 conference users
Apr 10 16:39:50 VERBOSE[27950] logger.c: -- Registered channel 1, PRI Signalling signalling
Apr 10 16:39:50 DEBUG[27950] chan_zap.c: Failed to read gains: Invalid argument
Apr 10 16:39:50 DEBUG[27950] chan_zap.c: Failed to read gains: Invalid argument
Apr 10 16:39:50 DEBUG[27950] chan_zap.c: Updated conferencing on 2, with 0 conference users
Apr 10 16:39:50 VERBOSE[27950] logger.c: -- Registered channel 2, PRI Signalling signalling
Apr 10 16:39:50 ERROR[27950] chan_zap.c: Syntax error parsing 'g0/201' at 'g0/201'
Apr 10 16:39:50 WARNING[27950] loader.c: chan_zap.so: load_module failed, returning -1
Apr 10 16:39:50 VERBOSE[27950] logger.c: -- Unregistered channel 1
Apr 10 16:39:50 VERBOSE[27950] logger.c: -- Unregistered channel 2
Apr 10 16:39:50 WARNING[27950] loader.c: Loading module chan_zap.so failed!

Nachdem der Post schon eine Weile her ist will ich trotzdem mal antworten weil ich das Problem eigentlich bis jetzt bei JEDER Asterisk@Home/Trixbox - Installation hatte (mit HFC/QuadBRI - Karte und dem BriStuff, aktuell wieder bei Trixbox 2.0 mit 2 x HFC-S).

Ich gehe mal davon aus das die ISDN-Nebenstelle 201 über AMP eingerichtet worden ist?
Dann schau mal in deine /etc/asterisk/zapata_additional.conf!
Dort taucht nämlich ein "channel=>g0/201" auf welches das Problem verursacht!

Temporäre Lösung: diese Zeile einfach komplett löschen (klappt solange wie im AMP keiner auf "Änderungen anwenden" klickt, d.h. AMP ist dann eigentlich nicht mehr benutzbar...)

Dauerhafte Lösung: Die Webseite vom AMP so umstricken das der Eintrag für "channel=>" nicht mehr in die zapata_additional.conf geschrieben wird...


EDIT: Blödsinn... einfach in dem Feld "Channel" in der AMP-Konfiguration "4-5" (bzw. die beiden Kanäle die der jeweiligen HFC-Karte zugeordnet sind, ersichtlich in "zapata-BRI-HFC.conf") angeben

Ich hoffe das ich dir und vielleicht anderen ein wenig weitergeholfen habe...
 
Zuletzt bearbeitet:
Kostenlos!

Statistik des Forums

Themen
248,906
Beiträge
2,303,650
Mitglieder
378,541
Neuestes Mitglied
telefonieverzweiflung