AVM B1 ISA, *@h und Zaptel (all circuits are busy)

Laechler

Neuer User
Mitglied seit
30 Jul 2005
Beiträge
25
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen,

ich habe einen Athlon 1000, eine ISA-Karte AVM B1, AAH in der neuesten Version. Nach einigen Versuchen habe ich die ISA-Karte ans laufen gebracht, sagt mir zumindest capiinfo:
Code:
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.17-03  (49.19)
Serial Number: 0200995
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x4000001f
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 asynconous operation with start/stop byte framing
   V.110 synconous operation with HDLC framing
   T.30 modem for fax group 3
B2 protocols support: 0x00000b1b
   ISO 7776 (X.75 SLP)
   Transparent
   LAPD with Q.921 for D channel X.25 (SAPI 16)
   T.30 fro fax group 3
   ISO 7776 (X.75 SLP) with V.42bis compression
   V.120 asyncronous mode
   V.120 bit-transparent mode
B3 protocols support: 0x8000003f
   Transparent
   T.90NL, T.70NL, T.90
   ISO 8208 (X.25 DTE-DTE)
   X.25 DCE
   T.30 for fax group 3

  0100
  0200
  39000000
  1f000040
  1b0b0000
  3f000080
  00000000 00000000 00000000 00000000 00000000 00000000
  01000001 00010000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

Brauche ich Zaptel? Wenn ja, habe ich da ein Problem:
das folgende wirft z.B. genzaptelconf -s -d aus:
Code:
STOPPING ASTERISK

Disconnected from Asterisk server
Asterisk Stopped

STOPPING FOP SERVER
Notice: Configuration file is /etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'

1 error(s) detected

Unloading zaptel hardware drivers:.
Removing zaptel module:  rmmod: module zaptel is not loaded
                                                           [FAILED]
Loading zaptel framework:  modprobe: Can't locate module zaptel
                                                           [FAILED]
Waiting for zap to come online...OK
Loading zaptel hardware modules:No functioning zap hardware found in /proc/zaptel, loading ztdummy
Running ztcfg:  Notice: Configuration file is /etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'

1 error(s) detected

                                                           [FAILED]

SETTING FILE PERMISSIONS
Permissions OK

STARTING ASTERISK
Asterisk Started

STARTING FOP SERVER
FOP Server Started
   Chan Extension  Context         Language   MusicOnHold
 pseudo            default         en
Verbosity is at least 3

Wenn ich versuche Zaptel zu kompilieren im Zaptel-Ordner, mit Make, dann kommt ein Haufen von Warnungen und dann wird abgebrochen mit:

Code:
zaptel.c:6486: `c192d491' undeclared (first use in this function)
zaptel.c:6486: called object is not a function
make: *** [zaptel.o] Error 1

Wenn ich rasutelefonieren möchte, dann kommt im Protokoll "/var/log/asterisk/full":

Code:
ul 30 09:38:46 WARNING[6020]: CDR on channel 'IAX2/201@201/2' lacks end
Jul 30 09:38:46 VERBOSE[6020]:     -- Executing Wait("IAX2/201@201/2", "5") in new stack
Jul 30 09:38:46 VERBOSE[6020]:   == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'IAX2/201@201/2' in macro'hangupcall'
Jul 30 09:38:46 VERBOSE[6020]:   == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/201@201/2'
Jul 30 09:38:46 DEBUG[6020]: We're hanging up IAX2/201@201/2 now...
Jul 30 09:38:46 DEBUG[6020]: Really destroying IAX2/201@201/2 now...
Jul 30 09:38:46 VERBOSE[6020]:     -- Hungup 'IAX2/201@201/2'
Jul 30 09:40:39 VERBOSE[6020]:     -- Registered '201' (AUTHENTICATED) at 192.168.16.31:4569
Jul 30 09:40:46 DEBUG[6020]: Manager received command 'Command'
Jul 30 09:40:46 DEBUG[6020]: Manager received command 'Command'
Jul 30 09:41:23 VERBOSE[6020]:     -- Accepting AUTHENTICATED call from 192.168.16.31, requested format = 2, actual format = 2
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing Macro("IAX2/201@201/2", "dialout-trunk|1|99|") in new stack
Jul 30 09:41:23 DEBUG[6020]: Expression is '1'
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing GotoIf("IAX2/201@201/2", "1?3:2)") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Goto (macro-dialout-trunk,s,3)
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing Macro("IAX2/201@201/2", "record-enable|201|OUT") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing GotoIf("IAX2/201@201/2", "0 > 0?2:4") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Goto (macro-record-enable,s,4)
Jul 30 09:41:23 DEBUG[6020]: Expression is '1'
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing GotoIf("IAX2/201@201/2", "1?5:8") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Goto (macro-record-enable,s,5)
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing DBget("IAX2/201@201/2", "RecEnable=RECORD-OUT/201") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- DBget: varname=RecEnable, family=RECORD-OUT, key=201
Jul 30 09:41:23 DEBUG[6020]: Unable to find key '201' in family 'RECORD-OUT'
Jul 30 09:41:23 VERBOSE[6020]:     -- DBget: Value not found in database.
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing SetVar("IAX2/201@201/2", "CALLFILENAME=OUT201-20050730-094123-1122709283.1") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing Goto("IAX2/201@201/2", "s|14") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Goto (macro-record-enable,s,14)
Jul 30 09:41:23 DEBUG[6020]: Expression is '0'
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing GotoIf("IAX2/201@201/2", "0?15:99") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Goto (macro-record-enable,s,99)
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing NoOp("IAX2/201@201/2", "NO RECORDING NEEDED") in new stack
Jul 30 09:41:23 DEBUG[6020]: Expression is '1'
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing GotoIf("IAX2/201@201/2", "1?7") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Goto (macro-dialout-trunk,s,7)
Jul 30 09:41:23 DEBUG[6020]: Expression is '1'
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing GotoIf("IAX2/201@201/2", "1?9") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Goto (macro-dialout-trunk,s,9)
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing SetGroup("IAX2/201@201/2", "OUT_1") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing CheckGroup("IAX2/201@201/2", "1") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing SetVar("IAX2/201@201/2", "DIAL_NUMBER=99") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing SetVar("IAX2/201@201/2", "DIAL_TRUNK=1") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing AGI("IAX2/201@201/2", "fixlocalprefix") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
Jul 30 09:41:23 VERBOSE[6020]:     -- AGI Script fixlocalprefix completed, returning 0
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing SetVar("IAX2/201@201/2", "OUTNUM=999") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing Cut("IAX2/201@201/2", "custom=OUT_1|:|1") in new stack
Jul 30 09:41:23 DEBUG[6020]: Expression is '0'
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing GotoIf("IAX2/201@201/2", "0?19") in new stack
Jul 30 09:41:23 DEBUG[6020]: Not taking any branch
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing Dial("IAX2/201@201/2", "ZAP/1/999") in new stack
Jul 30 09:41:23 NOTICE[6020]: Unable to create channel of type 'ZAP'
Jul 30 09:41:23 VERBOSE[6020]:   == Everyone is busy/congested at this time
Jul 30 09:41:23 DEBUG[6020]: Exiting with DIALSTATUS=CHANUNAVAIL.
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing Goto("IAX2/201@201/2", "s-CHANUNAVAIL|1") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing NoOp("IAX2/201@201/2", "Dial failed due to CHANUNAVAIL") in new stack
Jul 30 09:41:23 VERBOSE[6020]:     -- Executing Macro("IAX2/201@201/2", "dialout-trunk|3|99|") in new stack

Für jede Hilfe bin ich dankbar.
 
Die AVM läuft nicht mit dem zaptel Treiber. Probiers mit dem Capi Treiber.

Raffi
 
Hallo Raffi,

vielen Dank für die prompte Antwort. Wie genau mache ich das?
 
B1 ISA am Mehrgeäte-Anschluss (Agfeo Telefonanlage)

Danke, dass hat geholfen. Ich hatte schon alles richtig, nur ein "Capi-Trunk" fehlte mir noch.
Somit bin ich einen Schritt weiter und vor dem nächsten Problem:

Beim rauswählen über mein Asterisk wird zwar auf der Telefonanlage (Agfeo) im Systemtelefon die MSN als belegt angezeigt aber ich höre 1x ein Freizeichen und das wars. In der telefonanlage ist automatische Amtsholung eingestellt.

Was kann ich da machen? Wo kann ich schauen?
 
Ok, rauswählen kann ich nun auch, der AMP-Trunk für Outbound ist: CAPI/57:b$OUTNUM$

57 ist meine MSN.

Soweit nicht schlecht, ich spiel mal weiter mit rum.

Gibt es für diesen Trunk irgendwo eine brauchbare Doku? warum wird in manchen Beispielen da z.b. ",30,r" drangehängt? Damit geht es bei mir nicht.
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,868
Beiträge
2,219,771
Mitglieder
371,584
Neuestes Mitglied
porcupine
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.