Hallo zusammen,
beim Versuch eine Verbindung nach draussen, Amtsleitung, herzustellen, erhalte ich mit den Einstellungen verbose=10, debug=10 und capi debug:
Die Auswertungen am Webinterface der Karte zeigen an:
(adapter xlog1.cgi)
meine capi.conf sieht so aus:
Was kann ich machen? Ich bin für jede Hilfe dankbar.
beim Versuch eine Verbindung nach draussen, Amtsleitung, herzustellen, erhalte ich mit den Einstellungen verbose=10, debug=10 und capi debug:
Code:
-- Executing Dial("SIP/5-2d97", "CAPI/g1/0123456789") in new stack
> data = g1/0123456789 format=8
> parsed dialstring: 'g1' 'NULL' '0123456789' ''
> capi request group = 2
== ISDN1#02: setting format alaw - 0x8 (alaw)
> parsed dialstring: 'g1' 'NULL' '0123456789' ''
== ISDN1#02: Call CAPI/ISDN1/0123456789-9 (pres=0x00, ton=0x00)
CONNECT_REQ ID=001 #0x0013 LEN=0058
Controller/PLCI/NCCI = 0x1
CIPValue = 0x1
CalledPartyNumber = <80>0123456789
CallingPartyNumber = <00 80>200340
CalledPartySubaddress = default
CallingPartySubaddress = default
BProtocol
B1protocol = 0x1
B2protocol = 0x1
B3protocol = 0x0
B1configuration = default
B2configuration = default
B3configuration = default
BC = default
LLC = default
HLC = default
AdditionalInfo
BChannelinformation = <00 00>
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
-- Called g1/0123456789
> CAPI devicestate requested for ISDN1/0123456789
> CAPI devicestate requested for ISDN1/0123456789
CONNECT_CONF ID=001 #0x0013 LEN=0014
Controller/PLCI/NCCI = 0x301
Info = 0x0
-- ISDN1#02: received CONNECT_CONF PLCI = 0x301
INFO_IND ID=001 #0x001e LEN=0015
Controller/PLCI/NCCI = 0x301
InfoNumber = 0x804d
InfoElement = default
INFO_RESP ID=001 #0x001e LEN=0012
Controller/PLCI/NCCI = 0x301
-- ISDN1#02: info element RELEASE
DISCONNECT_IND ID=001 #0x0020 LEN=0014
Controller/PLCI/NCCI = 0x301
Reason = 0x3490
DISCONNECT_RESP ID=001 #0x0020 LEN=0012
Controller/PLCI/NCCI = 0x301
> ISDN1#02: CAPI INFO 0x3490: Normal call clearing
-- CAPI queue frame: [ TYPE: Control (4) SUBCLASS: Hangup (1) ] [ISDN1#02]
== ISDN1#02: CAPI Hangingup for PLCI=0x301 in state 4
== ISDN1#02: Interface cleanup PLCI=0x301
== No one is available to answer at this time (1:0/0/0)
Die Auswertungen am Webinterface der Karte zeigen an:
(adapter xlog1.cgi)
Code:
0:2130:252 - D-X(008) FE FF 03 0F 00 00 06 01
0:2131:253 - D-R(008) FE FF 03 0F 00 00 04 01
0:2131:772 - IPACX: invalid frame
meine capi.conf sieht so aus:
Code:
-- ISDN1#02: info element RELEASE
DISCONNECT_IND ID=001 #0x0020 LEN=0014
Controller/PLCI/NCCI = 0x301
Reason = 0x3490
DISCONNECT_RESP ID=001 #0x0020 LEN=0012
Controller/PLCI/NCCI = 0x301
> ISDN1#02: CAPI INFO 0x3490: Normal call clearing
-- CAPI queue frame: [ TYPE: Control (4) SUBCLASS: Hangup (1) ] [ISDN1#02]
== ISDN1#02: CAPI Hangingup for PLCI=0x301 in state 4
== ISDN1#02: Interface cleanup PLCI=0x301
== No one is available to answer at this time (1:0/0/0)
-- Executing Goto("SIP/5-2d97", "s-NOANSWER|1") in new stack
-- Goto (macro-dialout-trunk,s-NOANSWER,1)
-- Executing NoOp("SIP/5-2d97", "Dial failed due to NOANSWER") in new stack
-- Executing Macro("SIP/5-2d97", "outisbusy|") in new stack
-- Executing Playback("SIP/5-2d97", "all-circuits-busy-now") in new stack
> CAPI devicestate requested for ISDN1/05531990570
> CAPI devicestate requested for ISDN1/05531990570
-- Playing 'all-circuits-busy-now' (language 'en')
-- Executing Playback("SIP/5-2d97", "pls-try-call-later") in new stack
-- Playing 'pls-try-call-later' (language 'en')
-- Executing Macro("SIP/5-d269", "dialout-trunk|2|005532983850||") in new stack
-- Executing GotoIf("SIP/5-d269", "1?3:2") in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro("SIP/5-d269", "user-callerid") in new stack
-- Executing Set("SIP/5-d269", "AMPUSER=0") in new stack
-- Executing Set("SIP/5-d269", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/5-d269", "AMPUSERCIDNAME=Zentrale") in new stack
-- Executing GotoIf("SIP/5-d269", "0?6") in new stack
-- Executing Set("SIP/5-d269", "CALLERID(all)="Zentrale" <0>") in new stack
-- Executing NoOp("SIP/5-d269", "Using CallerID "Zentrale" <0>") in new stack
-- Executing Macro("SIP/5-d269", "record-enable|0|OUT") in new stack
-- Executing GotoIf("SIP/5-d269", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/5-d269", "recordingcheck|20070219-155620|1171896980.21") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20070219-155620|1171896980.21: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/5-d269", "No recording needed") in new stack
-- Executing Macro("SIP/5-d269", "outbound-callerid|2") in new stack
-- Executing Set("SIP/5-d269", "USEROUTCID=200340") in new stack
-- Executing GotoIf("SIP/5-d269", "0?4") in new stack
-- Executing Set("SIP/5-d269", "CALLERID(all)=Rossmayer Consulting 05564200340") in new stack
-- Executing GotoIf("SIP/5-d269", "0?6") in new stack
-- Executing Set("SIP/5-d269", "CALLERID(all)=200340") in new stack
-- Executing GotoIf("SIP/5-d269", "1?8") in new stack
-- Goto (macro-outbound-callerid,s,8)
-- Executing NoOp("SIP/5-d269", "CallerID set to "" <200340>") in new stack
-- Executing Set("SIP/5-d269", "GROUP()=OUT_2") in new stack
-- Executing GotoIf("SIP/5-d269", "0?108") in new stack
-- Executing Set("SIP/5-d269", "DIAL_NUMBER=005532983850") in new stack
-- Executing Set("SIP/5-d269", "DIAL_TRUNK=2") in new stack
-- Executing AGI("SIP/5-d269", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Removed prefix. New number: 05532983850
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/5-d269", "OUTNUM=05532983850") in new stack
-- Executing Set("SIP/5-d269", "custom=AMP") in new stack
-- Executing GotoIf("SIP/5-d269", "1?16") in new stack
-- Goto (macro-dialout-trunk,s,16)
-- Executing Set("SIP/5-d269", "pre_num=AMP:CAPI/g1/") in new stack
-- Executing Set("SIP/5-d269", "the_num=OUTNUM") in new stack
-- Executing Set("SIP/5-d269", "post_num=") in new stack
-- Executing GotoIf("SIP/5-d269", "1?20:21") in new stack
-- Goto (macro-dialout-trunk,s,20)
-- Executing Set("SIP/5-d269", "the_num=05532983850") in new stack
-- Executing Dial("SIP/5-d269", "CAPI/g1/05532983850") in new stack
> data = g1/05532983850 format=8
> parsed dialstring: 'g1' 'NULL' '05532983850' ''
> capi request group = 2
== ISDN1#02: setting format alaw - 0x8 (alaw)
> CAPI devicestate requested for ISDN1/05532983850
> parsed dialstring: 'g1' 'NULL' '05532983850' ''
== ISDN1#02: Call CAPI/ISDN1/05532983850-a (pres=0x00, ton=0x00)
> CAPI devicestate requested for ISDN1/05532983850
CONNECT_REQ ID=001 #0x0014 LEN=0058
Controller/PLCI/NCCI = 0x1
CIPValue = 0x1
CalledPartyNumber = <80>05532983850
CallingPartyNumber = <00 80>200340
CalledPartySubaddress = default
CallingPartySubaddress = default
BProtocol
B1protocol = 0x1
B2protocol = 0x1
B3protocol = 0x0
B1configuration = default
B2configuration = default
B3configuration = default
BC = default
LLC = default
HLC = default
AdditionalInfo
BChannelinformation = <00 00>
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
-- Called g1/05532983850
CONNECT_CONF ID=001 #0x0014 LEN=0014
Controller/PLCI/NCCI = 0x301
Info = 0x0
-- ISDN1#02: received CONNECT_CONF PLCI = 0x301
INFO_IND ID=001 #0x0021 LEN=0015
Controller/PLCI/NCCI = 0x301
InfoNumber = 0x804d
InfoElement = default
INFO_RESP ID=001 #0x0021 LEN=0012
Controller/PLCI/NCCI = 0x301
-- ISDN1#02: info element RELEASE
DISCONNECT_IND ID=001 #0x0023 LEN=0014
Controller/PLCI/NCCI = 0x301
Reason = 0x3490
DISCONNECT_RESP ID=001 #0x0023 LEN=0012
Controller/PLCI/NCCI = 0x301
> ISDN1#02: CAPI INFO 0x3490: Normal call clearing
-- CAPI queue frame: [ TYPE: Control (4) SUBCLASS: Hangup (1) ] [ISDN1#02]
== ISDN1#02: CAPI Hangingup for PLCI=0x301 in state 4
== ISDN1#02: Interface cleanup PLCI=0x301
== No one is available to answer at this time (1:0/0/0)
-- Executing Goto("SIP/5-d269", "s-NOANSWER|1") in new stack
-- Goto (macro-dialout-trunk,s-NOANSWER,1)
-- Executing NoOp("SIP/5-d269", "Dial failed due to NOANSWER") in new stack
-- Executing Macro("SIP/5-d269", "outisbusy|") in new stack
-- Executing Playback("SIP/5-d269", "all-circuits-busy-now") in new stack
-- Playing 'all-circuits-busy-now' (language 'en')
> CAPI devicestate requested for ISDN1/05532983850
> CAPI devicestate requested for ISDN1/05532983850
asterisk1*CLI> CAPI queue frame: [ TYPE: Control (4) SUBCLASS: Hangup (1) ] [ISDN1#02] -- Executing Dial("SIP/5-2d97", "CAPI/g1/05531990570") in new stack
No such command 'CAPI queue' (type 'help' for help)
asterisk1*CLI> > data = g1/05531990570 format=8
No such command '>' (type 'help' for help)
asterisk1*CLI> > parsed dialstring: 'g1' 'NULL' '05531990570' ''
No such command '>' (type 'help' for help)
asterisk1*CLI> > capi request group = 2
No such command '>' (type 'help' for help)
asterisk1*CLI> == ISDN1#02: setting format alaw - 0x8 (alaw)
No such command '==' (type 'help' for help)
asterisk1*CLI> > parsed dialstring: 'g1' 'NULL' '05531990570' ''
No such command '>' (type 'help' for help)
asterisk1*CLI> == ISDN1#02: Call CAPI/ISDN1/05531990570-9 (pres=0x00, ton=0x00)
No such command '==' (type 'help' for help)
asterisk1*CLI> CONNECT_REQ ID=001 #0x0013 LEN=0058
No such command 'CONNECT_REQ' (type 'help' for help)
asterisk1*CLI> Controller/PLCI/NCCI = 0x1
No such command 'Controller/PLCI/NCCI' (type 'help' for help)
asterisk1*CLI> CIPValue = 0x1
No such command 'CIPValue' (type 'help' for help)
asterisk1*CLI> CalledPartyNumber = <80>05531990570
No such command 'CalledPartyNumber' (type 'help' for help)
asterisk1*CLI> CallingPartyNumber = <00 80>200340
No such command 'CallingPartyNumber' (type 'help' for help)
asterisk1*CLI> CalledPartySubaddress = default
No such command 'CalledPartySubaddress' (type 'help' for help)
asterisk1*CLI> CallingPartySubaddress = default
No such command 'CallingPartySubaddress' (type 'help' for help)
asterisk1*CLI> BProtocol
No such command 'BProtocol' (type 'help' for help)
asterisk1*CLI> B1protocol = 0x1
No such command 'B1protocol' (type 'help' for help)
asterisk1*CLI> B2protocol = 0x1
No such command 'B2protocol' (type 'help' for help)
asterisk1*CLI> B3protocol = 0x0
No such command 'B3protocol' (type 'help' for help)
asterisk1*CLI> B1configuration = default
No such command 'B1configuration' (type 'help' for help)
asterisk1*CLI> B2configuration = default
No such command 'B2configuration' (type 'help' for help)
asterisk1*CLI> B3configuration = default
No such command 'B3configuration' (type 'help' for help)
asterisk1*CLI> BC = default
No such command 'BC' (type 'help' for help)
asterisk1*CLI> LLC = default
No such command 'LLC' (type 'help' for help)
asterisk1*CLI> HLC = default
No such command 'HLC' (type 'help' for help)
asterisk1*CLI> AdditionalInfo
No such command 'AdditionalInfo' (type 'help' for help)
asterisk1*CLI> BChannelinformation = <00 00>
No such command 'BChannelinformation' (type 'help' for help)
asterisk1*CLI> Keypadfacility = default
No such command 'Keypadfacility' (type 'help' for help)
asterisk1*CLI> Useruserdata = default
No such command 'Useruserdata' (type 'help' for help)
asterisk1*CLI> Facilitydataarray = default
No such command 'Facilitydataarray' (type 'help' for help)
asterisk1*CLI>
asterisk1*CLI> -- Called g1/05531990570
No such command '--' (type 'help' for help)
asterisk1*CLI> > CAPI devicestate requested for ISDN1/05531990570
No such command '>' (type 'help' for help)
asterisk1*CLI> > CAPI devicestate requested for ISDN1/05531990570
No such command '>' (type 'help' for help)
asterisk1*CLI> CONNECT_CONF ID=001 #0x0013 LEN=0014
asterisk1*CLI> Controller/PLCI/NCCI = 0x301
asterisk1*CLI> Info = 0x0
asterisk1*CLI>
asterisk1*CLI> Controller/PLCI/NCCI = 0x301
-- ISDN1#02: received CONNECT_CONF PLCI = 0x301
asterisk1*CLI> INFO_IND ID=001 #0x001e LEN=0015
asterisk1*CLI> Controller/PLCI/NCCI = 0x301
asterisk1*CLI> InfoNumber = 0x804d
asterisk1*CLI>
InfoElement = default
asterisk1*CLI>
asterisk1*CLI> Controller/PLCI/NCCI = 0x301
INFO_RESP ID=001 #0x001e LEN=0012
asterisk1*CLI> Controller/PLCI/NCCI = 0x301
asterisk1*CLI>
asterisk1*CLI> Controller/PLCI/NCCI = 0x301
-- ISDN1#02: info element RELEASE
asterisk1*CLI> DISCONNECT_IND ID=001 #0x0020 LEN=0014
asterisk1*CLI> Controller/PLCI/NCCI = 0x301
asterisk1*CLI> Reason = 0x3490
asterisk1*CLI>
asterisk1*CLI> == No one is available to answer at this time (1:0/0/0)
DISCONNECT_RESP ID=001 #0x0020 LEN=0012
asterisk1*CLI> Controller/PLCI/NCCI = 0x301
asterisk1*CLI>
asterisk1*CLI> > ISDN1#02: CAPI INFO 0x3490: Normal call clearing
asterisk1*CLI> -- CAPI queue frame: [ TYPE: Control (4) SUBCLASS: Hangup (1) ] [ISDN1#02]
asterisk1*CLI> == ISDN1#02: CAPI Hangingup for PLCI=0x301 in state 4
asterisk1*CLI> == ISDN1#02: Interface cleanup PLCI=0x301
asterisk1*CLI> == No one is available to answer at this time (1:0/0/0)
No such command 'CONNECT_CONF' (type 'help' for help)
No such command 'Controller/PLCI/NCCI' (type 'help' for help)
No such command 'Info' (type 'help' for help)
No such command '--' (type 'help' for help)
No such command 'INFO_IND' (type 'help' for help)
No such command 'Controller/PLCI/NCCI' (type 'help' for help)
No such command 'InfoNumber' (type 'help' for help)
No such command 'InfoElement' (type 'help' for help)
No such command 'INFO_RESP' (type 'help' for help)
No such command 'Controller/PLCI/NCCI' (type 'help' for help)
No such command '--' (type 'help' for help)
No such command 'DISCONNECT_IND' (type 'help' for help)
No such command 'Controller/PLCI/NCCI' (type 'help' for help)
No such command 'Reason' (type 'help' for help)
No such command 'DISCONNECT_RESP' (type 'help' for help)
No such command 'Controller/PLCI/NCCI' (type 'help' for help)
No such command '>' (type 'help' for help)
No such command '--' (type 'help' for help)
No such command '==' (type 'help' for help)
No such command '==' (type 'help' for help)
No such command '==' (type 'help' for help)
asterisk1*CLI> vi capi.conf
No such command 'vi' (type 'help' for help)
asterisk1*CLI> exit
Executing last minute cleanups
[root@asterisk1 asterisk]# vi capi.conf
;
; CAPI config
;
;
; general section
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=de ;set default language
;ulaw=yes ;set this, if you live in u-law world instead of a-law
; interface sections ...
[ISDN1] ;this example interface gets name 'ISDN1' and may be any
;name not starting with 'g' or 'contr'.
;Use one interface section for each isdn port!
ntmode=yes ;if isdn card operates in nt mode, set this to yes
isdnmode=DID ;when using NT-mode, 'DID' should be set in any case
incomingmsn=* ;allow incoming calls to this list of MSNs/DIDs, * = any
;defaultcid=123 ;set a default caller id to that interface for dial-out,
;this caller id will be used when dial option 'd' is set.
;controller=0 ;ISDN4BSD default
;controller=7 ;ISDN4BSD USB default
controller=1 ;capi controller number of this interface/port
group=1 ;dialout group
;prefix=0 ;set a prefix to calling number on incoming calls
softdtmf=on ;enable/disable software dtmf detection, recommended for AVM cards
relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf detection
faxdetect=off ;enable faxdetection and redirection to EXTEN 'fax' for incoming and/or
;outgoing calls. (default='off', possible values: 'incoming','outgoing','both')
accountcode= ;PBX accountcode to use in CDRs
;amaflags=default;AMA flags for CDR ('default', 'omit', 'billing', or 'documentation')
context=capi-in ;context for incoming calls
;holdtype=hold ;when the PBX puts the call on hold, ISDN HOLD will be used. If
;set to 'local' (default value), no hold is done and the PBX may
;play MOH.
;immediate=yes ;DID: immediate start of pbx with extension 's' if no digits were
; received on incoming call (no destination number yet)
;MSN: start pbx on CONNECT_IND and don't wait for SETUP/SENDING-COMPLETE.
; info like REDIRECTINGNUMBER may be lost, but this is necessary for
; drivers/pbx/telco which does not send SETUP or SENDING-COMPLETE.
echosquelch=1 ;_VERY_PRIMITIVE_ echo suppression
echocancel=yes ;EICON DIVA SERVER (CAPI) echo cancelation (yes=g165)
;(possible values: 'no', 'yes', 'force', 'g164', 'g165')
;echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)
echotail=64 ;echo cancel tail setting (default=0 for maximum)
;echocancelnlp=1 ;activate non-linear-processing; this improves echo cancel ratio, but might
;incorporate variable gain in the signal path.
bridge=yes ;native bridging (CAPI line interconnect) if available
;callgroup=1 ;PBX call group
;pickupgroup=1 ;PBX pickup group (which call groups are we allowed to pickup)
;language=de ;set language for this device (overwrites default language)
;disallow=all ;RTP codec selection (valid with Eicon DIVA Server only)
allow=all ;RTP codec selection (valid with Eicon DIVA Server only)
"capi.conf" 62L, 3265C
Was kann ich machen? Ich bin für jede Hilfe dankbar.