Rauswählen mit ZAPHFC-Karte Acer-IDSN funkt plötzlich nicht mehr

Joachim

Neuer User
Mitglied seit
10 Dez 2004
Beiträge
146
Punkte für Reaktionen
0
Punkte
0
Einen guten Tag Euch allen,

plötzlich wie aus dem Nichts funktioniert das rauswählen auf einer meiner ZAPHFC-Karten (Acer-ISDN 128 ) nicht mehr. Auch inntere MSNs kann ich nicht anrufen.
Während Anrufen auf dieser Karte reinkommen.
Das Asteriskhome-System läuft schon seit mehreren Monaten problemlos. An der Konfig habe ich nichts geändert.

Wenn ich den Stecker aus der ISDN-Karte ziehe und in ein ISDN-Telefon (ausgestattet mit der Outgoing MSN) einstecke, kann ich raustelefonieren.

ztcfg -vv meldet alles ok.
lspci -v meldet alles ok.
Unter asterisk -r
zap show channels liefert alles ok.
zap show channel 1,2,4,5 sehen alle gleich aus.

Sollte etwa die ISDN-Karte defekt sein?
Wo kann ich noch nachschauen?

Danke

Joachim
 
wie wärs mit einem Logfile oder deinen Konfigurationsdateien?
 
Ich hab Asteriskhome:
Ich dachte mir die Konfiguration kann es nicht sein weil diese sich nicht geändert hat.
Hier ein Auszug aus dem Asterisk-Log, ich wähle mit Sip-Phone 3000 08763416 über Trunk Zap/g2, Zap/g1 habe ich vorher rausgenommen.
Ich habe mittlerweile die ISDN-Karte ersetzt, aber ohne Veränderung. Ich habe die ISDN-Kabel jeweils in die andere Karte gesteckt und die outgoing MSNs vertauscht.
Definitiv geht der eine Trunk, der jetzt die MSN 45 und vorher 46 hatte) nicht.




zaptel.conf:

loadzone=nl
defaultzone=nl
# Hinweis: Zone nl ist mit Zone de identisch

span=1,1,3,ccs,ami
bchan=1-2
dchan=3

span=2,1,3,ccs,ami
bchan=4-5
dchan=6


zapata.conf:

[channels]
language=de
switchtype=euroisdn
;If you connect to a hicom PBX set your ISDN Numbering Plan Identifier to unknown.
pridialplan=unknown
prilocaldialplan=unknown

; p2mp TE mode
; muss mit der durch modes in Makefile gemachten Einstellung üstimmen.
signalling = bri_cpe_ptmp
; p2p TE mode
;signalling = bri_cpe
; p2mp NT mode
;signalling = bri_net_ptmp
; p2p NT mode
;signalling = bri_net

overlapdial=no
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
rxgain=0.0
txgain=0.0
busydetect=yes
callprogress=no
echocancel=no
echocancelwhenbridged=yes
echotraining=yes
context=from-pstn
group=1
callgroup=1
pickupgroup=1
; immediate=yes
channel => 1-2

channel => 4-5
callgroup=2

Log:

Aug 23 16:27:38 DEBUG[2449] chan_sip.c: Stopping retransmission on '[email protected]' of Response 287044828: Match Found
Aug 23 16:27:38 DEBUG[2449] chan_sip.c: Setting NAT on RTP to 0
Aug 23 16:27:38 DEBUG[2449] chan_sip.c: Checking SIP call limits for device 3000
Aug 23 16:27:38 DEBUG[2449] chan_sip.c: build_route: Contact hop:
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing Macro("SIP/3000-af97", "dialout-trunk|2|08763416|") in new stack
Aug 23 16:27:39 DEBUG[2914] pbx.c: Expression result is '1'
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing GotoIf("SIP/3000-af97", "1?3:2)") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Goto (macro-dialout-trunk,s,3)
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing Macro("SIP/3000-af97", "user-callerid") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing DBget("SIP/3000-af97", "AMPUSER=DEVICE/3000/user") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- DBget: varname=AMPUSER, family=DEVICE, key=3000/user
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- DBget: set variable AMPUSER to 3000
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing DBget("SIP/3000-af97", "AMPUSERCIDNAME=AMPUSER/3000/cidname") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=3000/cidname
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- DBget: set variable AMPUSERCIDNAME to Dialer JW
Aug 23 16:27:39 DEBUG[2914] pbx.c: Expression result is '0'
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing GotoIf("SIP/3000-af97", "0?5") in new stack
Aug 23 16:27:39 DEBUG[2914] pbx.c: Not taking any branch
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing SetCallerID("SIP/3000-af97", ""Dialer JW" <3000>") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing NoOp("SIP/3000-af97", "Using CallerID "Dialer JW" <3000>") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing Macro("SIP/3000-af97", "record-enable|3000|OUT") in new stack
Aug 23 16:27:39 DEBUG[2914] pbx.c: Function result is '0'
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing GotoIf("SIP/3000-af97", "0 > 0?2:4") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Goto (macro-record-enable,s,4)
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing AGI("SIP/3000-af97", "recordingcheck|20060823-162739|asterisk-2405-1156343258.13") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
Aug 23 16:27:39 VERBOSE[2914] logger.c: recordingcheck|20060823-162739|asterisk-2405-1156343258.13: Outbound recording not enabled
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- AGI Script recordingcheck completed, returning 0
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing NoOp("SIP/3000-af97", "No recording needed") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing Macro("SIP/3000-af97", "outbound-callerid|2") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing DBget("SIP/3000-af97", "USEROUTCID=AMPUSER/3000/outboundcid") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- DBget: varname=USEROUTCID, family=AMPUSER, key=3000/outboundcid
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- DBget: set variable USEROUTCID to
Aug 23 16:27:39 DEBUG[2914] pbx.c: Expression result is '0'
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing GotoIf("SIP/3000-af97", "0?4") in new stack
Aug 23 16:27:39 DEBUG[2914] pbx.c: Not taking any branch
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing SetCallerID("SIP/3000-af97", "45") in new stack
Aug 23 16:27:39 DEBUG[2914] pbx.c: Expression result is '1'
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing GotoIf("SIP/3000-af97", "1?6") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Goto (macro-outbound-callerid,s,6)
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing NoOp("SIP/3000-af97", "CallerID set to 45") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing SetGroup("SIP/3000-af97", "OUT_2") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing CheckGroup("SIP/3000-af97", "") in new stack
Aug 23 16:27:39 WARNING[2914] app_groupcount.c: CheckGroup requires an argument(max[@category][|options])
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing SetVar("SIP/3000-af97", "DIAL_NUMBER=08763416") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing SetVar("SIP/3000-af97", "DIAL_TRUNK=2") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Executing AGI("SIP/3000-af97", "fixlocalprefix") in new stack
Aug 23 16:27:39 VERBOSE[2914] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
Aug 23 16:27:40 VERBOSE[2914] logger.c: fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
Aug 23 16:27:40 VERBOSE[2914] logger.c: -- AGI Script fixlocalprefix completed, returning 0
Aug 23 16:27:40 VERBOSE[2914] logger.c: -- Executing SetVar("SIP/3000-af97", "OUTNUM=08763416") in new stack
Aug 23 16:27:40 VERBOSE[2914] logger.c: -- Executing Cut("SIP/3000-af97", "custom=OUT_2|:|1") in new stack
Aug 23 16:27:40 WARNING[2914] ast_expr2.y: non-numeric argument
Aug 23 16:27:40 DEBUG[2914] pbx.c: Expression result is '0'
Aug 23 16:27:40 VERBOSE[2914] logger.c: -- Executing GotoIf("SIP/3000-af97", "0?16") in new stack
Aug 23 16:27:40 DEBUG[2914] pbx.c: Not taking any branch
Aug 23 16:27:40 VERBOSE[2914] logger.c: -- Executing Dial("SIP/3000-af97", "ZAP/g2/08763416") in new stack
Aug 23 16:27:40 NOTICE[2914] app_dial.c: Unable to create channel of type 'ZAP' (cause 0 - Unknown)
Aug 23 16:27:40 VERBOSE[2914] logger.c: == Everyone is busy/congested at this time (1:0/0/1)
Aug 23 16:27:40 DEBUG[2914] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL.
Aug 23 16:27:40 VERBOSE[2914] logger.c: -- Executing Goto("SIP/3000-af97", "s-CHANUNAVAIL|1") in new stack
Aug 23 16:27:40 VERBOSE[2914] logger.c: -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
Aug 23 16:27:40 VERBOSE[2914] logger.c: -- Executing NoOp("SIP/3000-af97", "Dial failed due to CHANUNAVAIL") in new stack
Aug 23 16:27:40 VERBOSE[2914] logger.c: -- Executing Macro("SIP/3000-af97", "outisbusy") in new stack
Aug 23 16:27:40 VERBOSE[2914] logger.c: -- Executing Playback("SIP/3000-af97", "all-circuits-busy-now") in new stack
Aug 23 16:27:40 DEBUG[2449] chan_sip.c: Stopping retransmission on '[email protected]' of Response 287044829: Match Found
Aug 23 16:27:40 DEBUG[2914] channel.c: Scheduling timer at 160 sample intervals
Aug 23 16:27:40 VERBOSE[2914] logger.c: -- Playing 'all-circuits-busy-now' (language 'en')
Aug 23 16:27:44 DEBUG[2914] channel.c: Scheduling timer at 0 sample intervals
Aug 23 16:27:44 VERBOSE[2914] logger.c: == Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/3000-af97' in macro 'outisbusy'
Aug 23 16:27:44 VERBOSE[2914] logger.c: == Spawn extension (from-internal, 08763416, 2) exited non-zero on 'SIP/3000-af97'
Aug 23 16:27:44 VERBOSE[2914] logger.c: -- Executing Macro("SIP/3000-af97", "hangupcall") in new stack
Aug 23 16:27:44 VERBOSE[2914] logger.c: -- Executing ResetCDR("SIP/3000-af97", "w") in new stack
Aug 23 16:27:44 DEBUG[2914] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Aug 23 16:27:44 DEBUG[2914] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES ('2006-08-23 16:27:39','45','45','08763416','from-internal', 'SIP/3000-af97','','ResetCDR','w',5,4,'ANSWERED',3,'','asterisk-2405-1156343258.13')
Aug 23 16:27:44 VERBOSE[2914] logger.c: -- Executing NoCDR("SIP/3000-af97", "") in new stack
Aug 23 16:27:44 WARNING[2914] cdr.c: CDR on channel 'SIP/3000-af97' not posted
Aug 23 16:27:44 WARNING[2914] cdr.c: CDR on channel 'SIP/3000-af97' lacks end
Aug 23 16:27:44 VERBOSE[2914] logger.c: -- Executing Wait("SIP/3000-af97", "5") in new stack
Aug 23 16:27:44 VERBOSE[2914] logger.c: == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/3000-af97' in macro 'hangupcall'
Aug 23 16:27:44 VERBOSE[2914] logger.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/3000-af97'
Aug 23 16:27:44 DEBUG[2914] chan_sip.c: update_call_counter(3000) - decrement call limit counter
Aug 23 16:27:44 DEBUG[2914] chan_sip.c: update_call_counter(3000) - decrement call limit counter
 
Code:
app_dial.c: Unable to create channel of type 'ZAP' (cause 0 - Unknown)
da haben wir ja den fehler...

ich fand dazu jetzt folgendes:

If you are getting types message, make sure that you have a good phone cable from the card to the wall. I am not sure if it is a dial tone check or a electrical check from the card, but if you are not connected and try to Dial(Zap/1/...) for instance, you can get this message.
 
Danke für die Mühe.

Ich habe beide Kabel / Anschlüsse hin und her getauscht.
Und es ist immer der selbe zap/g2 der nicht funktioniert.
Während zap/g1 funkt. Ich habe auch schon die Karte ausgetausch (d.h. eine dritte Karte ). Und das Problem besteht immer auf zap/g2.

Von daher sollte Karte und Kabel ausgeschlossen sein.

Bleibt nur noch System- Treiber- oder Asterisk-Konfig.
Oder ziehe ich da falsche Schlüsse?

Gruss

Joachim


<code> Einfügen von Code geht nimmer so?
Früher waren da bei der Eingabe Button dafür da
</code>
 
Hallo,

pri debug span 1
pri debug span 2

span 2 wird zuerst gewählt liefert aber keine PRI-Debug ausgabe während dann wenn span 1 wählt jede Menge ausgespuckt wird.
Das sagt mir, daß das Problem in der Asterisk-Konfiguration liegen muss.

Hat noch jemand eine Idee?

Gruss

joachim
 
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.