Hallihallo, ich versuche zur Zeit eine Faxlösung mit asterisk und iaxmodem zu realisieren, allerdings hab ich dabei folgendes problem:
Ich nutze:
Debian mit 2.6.26-2-amd64 Kernel
Asterisk 1.6.0.20
chan_capi 1.1.4
Dialogic Diva 4BRI-8 PCIe v2 - PORT 1 SN: 3125
( in einem anderen post habe ich ein Problem mit einem analogen Fax, ist aber ne andere Baustelle )
Telefonie an sich, intern sowie extern über ISDN und capi kein
Problem, funktioniert tadellos.
Fax-raus: Hylafax -> ixamodem -> asterisk -> isdn
Fax-rein: isdn -> asterisk -> iaxmodem -> hylafax
Wenn ich nun ein Fax versenden möchte ( z.b. über sendfax -n -d <nummer> /ein/text/file ) ruft Asterisk ganz brav das externe Modem an, die 2 scheinen ein wenig miteinander zu reden, und irgendwann legt die Gegenstelle einfach auf.
Vielleicht hat hier jemand eine idee, ich bin mit meinem Latein mal wieder am Ende:
capi.conf
iax.conf:
iaxmodem cfg:
ps ax | grep iax + getty:
hylafax log eines jobs:
asterisk log ( capi debug + verbose 5 )
extensions.conf ( relevanter teil )
vielleicht findet hier ja jemand den fehler ich hänge leider fest....
telefonie funktioniert ohne probleme... lediglich die Fax-geschichten ärgern mich
vielen Dank für eure Mühe das durchzulesen im vorraus
lg
Smiele
Ich nutze:
Debian mit 2.6.26-2-amd64 Kernel
Asterisk 1.6.0.20
chan_capi 1.1.4
Dialogic Diva 4BRI-8 PCIe v2 - PORT 1 SN: 3125
( in einem anderen post habe ich ein Problem mit einem analogen Fax, ist aber ne andere Baustelle )
Telefonie an sich, intern sowie extern über ISDN und capi kein
Problem, funktioniert tadellos.
Fax-raus: Hylafax -> ixamodem -> asterisk -> isdn
Fax-rein: isdn -> asterisk -> iaxmodem -> hylafax
Wenn ich nun ein Fax versenden möchte ( z.b. über sendfax -n -d <nummer> /ein/text/file ) ruft Asterisk ganz brav das externe Modem an, die 2 scheinen ein wenig miteinander zu reden, und irgendwann legt die Gegenstelle einfach auf.
Vielleicht hat hier jemand eine idee, ich bin mit meinem Latein mal wieder am Ende:
capi.conf
Code:
; ----------------------------------------------------------------------
; CONFIGURATION SCRIPT FOR EICON DIVA ISDN ADAPTERS
; THIS SCRIPT WAS GENERATED AUTOMATICALLY BY
; /usr/lib/eicon/divas/Config
; ----------------------------------------------------------------------
[general]
; ----------------------------------------------
; /usr/lib/eicon/divas/chancapi.general
; ----------------------------------------------
nationalprefix=0 ; or for example "+49"
internationalprefix=00 ; or for example "+"
;subscriberprefix=+4969 ; prefix including area code (some lines need this)
rxgain=1.0 ;linear receive gain, 1.0 = no change, use Diva rxdgain and rxagc for gain control
txgain=1.0 ;linear transmit gain, 1.0 = no change, use Diva txdgain and txagc for gain control
language=de ;set default language
;ulaw=yes ;set this, if you live in u-law world instead of a-law
;jb..... ;with Asterisk 1.4 you can configure jitterbuffer,
;see Asterisk documentation for all jb* setting available.
;mohinterpret=default ;Asterisk 1.4: default music on hold class when placed on hold.
[ISDN1]
ntmode=no
isdnmode=msn
immediate=yes
incomingmsn=*
group=1
controller=1
softdtmf=1
relaxdtmf=off
faxdetect=both
faxdetecttime=0
accountcode=
context=isdn-in
holdtype=local
echocancelold=no
bridge=yes
devices=2
echocancel=no
echocancelnlp=0
allow=all
[ISDN2]
ntmode=no
isdnmode=msn
immediate=yes
incomingmsn=* ;Use Diva MSN settings
group=1
controller=2
softdtmf=1
relaxdtmf=off
faxdetect=both
faxdetecttime=0
accountcode=
context=isdn-in
holdtype=local
echocancelold=no
bridge=yes
devices=2
echocancel=no
echocancelnlp=0
allow=all
[ISDN3]
ntmode=no
isdnmode=msn
immediate=yes
incomingmsn=* ;Use Diva MSN settings
group=1
controller=3
softdtmf=1
relaxdtmf=off
faxdetect=both
faxdetecttime=0
accountcode=
context=isdn-in
holdtype=local
echocancelold=no
bridge=yes
devices=2
echocancel=no
echocancelnlp=0
allow=all
[ISDN4]
ntmode=no
isdnmode=msn
immediate=yes
incomingmsn=* ;Use Diva MSN settings
group=1
controller=4
softdtmf=1
relaxdtmf=off
faxdetect=both
faxdetecttime=0
accountcode=
context=isdn-in
holdtype=local
echocancelold=no
bridge=yes
devices=2
echocancel=no
echocancelnlp=0
allow=all
iax.conf:
Code:
[general]
;bindport=4569
;bindaddr=0.0.0.0
;disallow=all
allow=ulaw
allow=alaw
jitterbuffer=no
forcejitterbuffer=no
;tos=lowdelay
autokill=yes
bandwidth=low
[iaxmodem]
type=friend
secret=iaxmodem
port=4570
host=dynamic
context=fax
;disallow=all
allow=all
iaxmodem cfg:
Code:
asteriskEWS:/etc/asterisk# cat /etc/iaxmodem/ttyIAX0
device /dev/ttyIAX0
owner uucp:uucp
mode 660
port 4570
refresh 60
server 127.0.0.1
peername iaxmodem
secret iaxmodem
ps ax | grep iax + getty:
Code:
4241 pts/0 Ss+ 0:00 /usr/bin/iaxmodem ttyIAX0
4242 ? Ss 0:00 /usr/sbin/faxgetty ttyIAX0
hylafax log eines jobs:
Code:
Jan 04 18:34:24.01: [ 4630]: SESSION BEGIN 000000073 49<externe msn>
Jan 04 18:34:24.01: [ 4630]: HylaFAX (tm) Version 4.4.4
Jan 04 18:34:24.01: [ 4630]: SEND FAX: JOB 24 DEST <externe msn> COMMID 000000073 DEVICE '/dev/ttyIAX0' FROM 'root <root@asteriskEWS>' USER root
Jan 04 18:34:24.01: [ 4630]: <-- [12:AT+FCLASS=1\r]
Jan 04 18:34:24.01: [ 4630]: --> [2:OK]
Jan 04 18:34:24.01: [ 4630]: DIAL <externe msn>
Jan 04 18:34:24.01: [ 4630]: <-- [16:ATDT<externe msn>\r]
Jan 04 18:34:40.35: [ 4630]: --> [7:CONNECT]
Jan 04 18:34:41.67: [ 4630]: --> [2:OK]
Jan 04 18:34:41.80: [ 4630]: REMOTE NSF "AD 00 36 04 00 00 00 00"
Jan 04 18:34:41.80: [ 4630]: NSF remote fax equipment: HP
Jan 04 18:34:41.80: [ 4630]: <-- [9:AT+FRH=3\r]
Jan 04 18:34:42.37: [ 4630]: --> [7:CONNECT]
Jan 04 18:34:42.37: [ 4630]: --> [2:OK]
Jan 04 18:34:42.37: [ 4630]: REMOTE CSI ""
Jan 04 18:34:42.37: [ 4630]: <-- [9:AT+FRH=3\r]
Jan 04 18:34:42.79: [ 4630]: --> [7:CONNECT]
Jan 04 18:34:42.83: [ 4630]: --> [2:OK]
Jan 04 18:34:42.83: [ 4630]: REMOTE best rate 33600 bit/s
Jan 04 18:34:42.83: [ 4630]: REMOTE max A4 page width (215 mm)
Jan 04 18:34:42.83: [ 4630]: REMOTE max unlimited page length
Jan 04 18:34:42.83: [ 4630]: REMOTE best vres 300 x 300 dpi
Jan 04 18:34:42.83: [ 4630]: REMOTE format support: MH, MR, MMR
Jan 04 18:34:42.83: [ 4630]: REMOTE supports T.30 Annex A, 256-byte ECM
Jan 04 18:34:42.83: [ 4630]: REMOTE best 0 ms/scanline
Jan 04 18:34:42.83: [ 4630]: USE 14400 bit/s
Jan 04 18:34:42.83: [ 4630]: USE error correction mode
Jan 04 18:34:42.83: [ 4630]: SEND file "docq/doc23.ps;c0"
Jan 04 18:34:42.83: [ 4630]: USE A4 page width (215 mm)
Jan 04 18:34:42.83: [ 4630]: USE unlimited page length
Jan 04 18:34:42.83: [ 4630]: USE 3.85 line/mm
Jan 04 18:34:42.83: [ 4630]: USE 2-D MMR
Jan 04 18:34:42.83: [ 4630]: USE 0 ms/scanline
Jan 04 18:34:42.83: [ 4630]: SEND training at v.17 14400 bit/s
Jan 04 18:34:42.83: [ 4630]: <-- [9:AT+FRS=7\r]
Jan 04 18:34:42.91: [ 4630]: --> [2:OK]
Jan 04 18:34:42.91: [ 4630]: <-- [9:AT+FTH=3\r]
Jan 04 18:34:42.93: [ 4630]: --> [7:CONNECT]
Jan 04 18:34:42.93: [ 4630]: <-- data [23]
Jan 04 18:34:42.93: [ 4630]: <-- data [2]
Jan 04 18:34:44.47: [ 4630]: --> [7:CONNECT]
Jan 04 18:34:44.47: [ 4630]: <-- data [7]
Jan 04 18:34:44.47: [ 4630]: <-- data [2]
Jan 04 18:34:44.87: [ 4630]: --> [2:OK]
Jan 04 18:34:44.89: [ 4630]: <-- [9:AT+FTS=7\r]
Jan 04 18:34:44.97: [ 4630]: --> [2:OK]
Jan 04 18:34:44.97: [ 4630]: <-- [11:AT+FTM=145\r]
Jan 04 18:34:44.99: [ 4630]: --> [7:CONNECT]
Jan 04 18:34:44.99: [ 4630]: DELAY 400 ms
Jan 04 18:34:45.39: [ 4630]: <-- data [1024]
Jan 04 18:34:45.39: [ 4630]: <-- data [1024]
Jan 04 18:34:45.39: [ 4630]: <-- data [652]
Jan 04 18:34:45.39: [ 4630]: <-- data [2]
Jan 04 18:34:47.93: [ 4630]: --> [2:OK]
Jan 04 18:34:47.93: [ 4630]: <-- [9:AT+FRH=3\r]
Jan 04 18:34:50.11: [ 4630]: --> [7:CONNECT]
Jan 04 18:34:51.41: [ 4630]: --> [2:OK]
Jan 04 18:34:51.41: [ 4630]: REMOTE NSF "AD 00 36 04 00 00 00 00"
Jan 04 18:34:51.41: [ 4630]: NSF remote fax equipment: HP
Jan 04 18:34:51.41: [ 4630]: <-- [9:AT+FRH=3\r]
Jan 04 18:34:52.11: [ 4630]: --> [7:CONNECT]
Jan 04 18:34:52.11: [ 4630]: --> [2:OK]
Jan 04 18:34:52.11: [ 4630]: REMOTE CSI ""
Jan 04 18:34:52.11: [ 4630]: <-- [9:AT+FRH=3\r]
Jan 04 18:34:52.53: [ 4630]: --> [7:CONNECT]
Jan 04 18:34:52.57: [ 4630]: --> [2:OK]
Jan 04 18:34:52.57: [ 4630]: SEND training at v.17 14400 bit/s
Jan 04 18:34:52.57: [ 4630]: <-- [9:AT+FRS=7\r]
Jan 04 18:34:52.65: [ 4630]: --> [2:OK]
Jan 04 18:34:52.65: [ 4630]: <-- [9:AT+FTH=3\r]
Jan 04 18:34:52.65: [ 4630]: --> [7:CONNECT]
Jan 04 18:34:52.65: [ 4630]: <-- data [23]
Jan 04 18:34:52.65: [ 4630]: <-- data [2]
Jan 04 18:34:54.19: [ 4630]: --> [7:CONNECT]
Jan 04 18:34:54.19: [ 4630]: <-- data [7]
Jan 04 18:34:54.19: [ 4630]: <-- data [2]
Jan 04 18:34:54.59: [ 4630]: --> [2:OK]
Jan 04 18:34:54.59: [ 4630]: <-- [9:AT+FTS=7\r]
Jan 04 18:34:54.67: [ 4630]: --> [2:OK]
Jan 04 18:34:54.67: [ 4630]: <-- [11:AT+FTM=145\r]
Jan 04 18:34:54.69: [ 4630]: --> [7:CONNECT]
Jan 04 18:34:54.69: [ 4630]: DELAY 400 ms
Jan 04 18:34:55.09: [ 4630]: <-- data [1024]
Jan 04 18:34:55.09: [ 4630]: <-- data [1024]
Jan 04 18:34:55.09: [ 4630]: <-- data [652]
Jan 04 18:34:55.09: [ 4630]: <-- data [2]
Jan 04 18:34:57.63: [ 4630]: --> [2:OK]
Jan 04 18:34:57.63: [ 4630]: <-- [9:AT+FRH=3\r]
Jan 04 18:35:00.73: [ 4630]: --> [0:]
Jan 04 18:35:00.73: [ 4630]: MODEM <Empty line>
Jan 04 18:35:00.73: [ 4630]: <-- data [1]
Jan 04 18:35:00.75: [ 4630]: --> [2:OK]
Jan 04 18:35:00.75: [ 4630]: <-- [9:AT+FRS=7\r]
Jan 04 18:35:00.77: [ 4630]: --> [2:OK]
Jan 04 18:35:00.77: [ 4630]: SEND training at v.17 12000 bit/s
Jan 04 18:35:00.77: [ 4630]: <-- [9:AT+FTH=3\r]
Jan 04 18:35:00.77: [ 4630]: --> [7:CONNECT]
Jan 04 18:35:00.77: [ 4630]: <-- data [23]
Jan 04 18:35:00.77: [ 4630]: <-- data [2]
Jan 04 18:35:02.31: [ 4630]: --> [7:CONNECT]
Jan 04 18:35:02.31: [ 4630]: <-- data [7]
Jan 04 18:35:02.31: [ 4630]: <-- data [2]
Jan 04 18:35:02.71: [ 4630]: --> [2:OK]
Jan 04 18:35:02.71: [ 4630]: <-- [9:AT+FTS=7\r]
Jan 04 18:35:02.79: [ 4630]: --> [2:OK]
Jan 04 18:35:02.79: [ 4630]: <-- [11:AT+FTM=121\r]
Jan 04 18:35:02.81: [ 4630]: --> [7:CONNECT]
Jan 04 18:35:02.81: [ 4630]: DELAY 400 ms
Jan 04 18:35:03.21: [ 4630]: <-- data [1024]
Jan 04 18:35:03.21: [ 4630]: <-- data [1024]
Jan 04 18:35:03.21: [ 4630]: <-- data [202]
Jan 04 18:35:03.21: [ 4630]: <-- data [2]
Jan 04 18:35:05.75: [ 4630]: --> [2:OK]
Jan 04 18:35:05.75: [ 4630]: <-- [9:AT+FRH=3\r]
Jan 04 18:35:06.97: [ 4630]: --> [7:CONNECT]
Jan 04 18:35:08.27: [ 4630]: --> [2:OK]
Jan 04 18:35:08.27: [ 4630]: REMOTE NSF "AD 00 36 04 00 00 00 00"
Jan 04 18:35:08.27: [ 4630]: NSF remote fax equipment: HP
Jan 04 18:35:08.27: [ 4630]: <-- [9:AT+FRH=3\r]
Jan 04 18:35:08.97: [ 4630]: --> [7:CONNECT]
Jan 04 18:35:08.97: [ 4630]: --> [2:OK]
Jan 04 18:35:08.97: [ 4630]: REMOTE CSI ""
Jan 04 18:35:08.97: [ 4630]: <-- [9:AT+FRH=3\r]
Jan 04 18:35:09.41: [ 4630]: --> [7:CONNECT]
Jan 04 18:35:09.45: [ 4630]: --> [2:OK]
Jan 04 18:35:09.45: [ 4630]: SEND training at v.17 12000 bit/s
Jan 04 18:35:09.45: [ 4630]: <-- [9:AT+FRS=7\r]
Jan 04 18:35:09.51: [ 4630]: --> [2:OK]
Jan 04 18:35:09.51: [ 4630]: <-- [9:AT+FTH=3\r]
Jan 04 18:35:09.53: [ 4630]: --> [7:CONNECT]
Jan 04 18:35:09.53: [ 4630]: <-- data [23]
Jan 04 18:35:09.53: [ 4630]: <-- data [2]
Jan 04 18:35:11.07: [ 4630]: --> [7:CONNECT]
Jan 04 18:35:11.07: [ 4630]: <-- data [7]
Jan 04 18:35:11.07: [ 4630]: <-- data [2]
Jan 04 18:35:11.47: [ 4630]: --> [2:OK]
Jan 04 18:35:11.47: [ 4630]: <-- [9:AT+FTS=7\r]
Jan 04 18:35:11.55: [ 4630]: --> [2:OK]
Jan 04 18:35:11.55: [ 4630]: <-- [11:AT+FTM=121\r]
Jan 04 18:35:11.57: [ 4630]: --> [7:CONNECT]
Jan 04 18:35:11.57: [ 4630]: DELAY 400 ms
Jan 04 18:35:11.97: [ 4630]: <-- data [1024]
Jan 04 18:35:11.97: [ 4630]: <-- data [1024]
Jan 04 18:35:11.97: [ 4630]: <-- data [202]
Jan 04 18:35:11.97: [ 4630]: <-- data [2]
Jan 04 18:35:14.51: [ 4630]: --> [2:OK]
Jan 04 18:35:14.51: [ 4630]: <-- [9:AT+FRH=3\r]
Jan 04 18:35:16.43: [ 4630]: --> [7:CONNECT]
Jan 04 18:35:17.57: [ 4630]: --> [2:OK]
Jan 04 18:35:17.57: [ 4630]: TRAINING failed
Jan 04 18:35:17.57: [ 4630]: <-- [9:AT+FRS=7\r]
Jan 04 18:35:17.63: [ 4630]: --> [2:OK]
Jan 04 18:35:17.63: [ 4630]: <-- [9:AT+FTH=3\r]
Jan 04 18:35:17.63: [ 4630]: --> [7:CONNECT]
Jan 04 18:35:17.63: [ 4630]: <-- data [3]
Jan 04 18:35:17.63: [ 4630]: <-- data [2]
Jan 04 18:35:18.71: [ 4630]: --> [2:OK]
Jan 04 18:35:19.71: [ 4630]: <-- [5:ATH0\r]
Jan 04 18:35:19.81: [ 4630]: --> [2:OK]
Jan 04 18:35:19.81: [ 4630]: SESSION END
asterisk log ( capi debug + verbose 5 )
Code:
I> -- Accepting AUTHENTICATED call from 127.0.0.1:
> requested format = alaw,
> requested prefs = (),
> actual format = ulaw,
> host prefs = (ulaw|alaw),
> priority = mine
-- Executing [XXXXX@fax:1] Dial("IAX2/iaxmodem-1287", "CAPI/g1/XXXXXX,55") in new stack
> data = g1/XXXXX format=8
> parsed dialstring: 'g1' 'NULL' 'XXXXX' ''
> capi request group = 2
== ISDN4#02: setting format ulaw - 0x80e (gsm|ulaw|alaw|g726)VOCODER
> parsed dialstring: 'g1' 'NULL' 'XXXXXX' ''
> capi: peerlink -1 allocated, peer is unlinked
== ISDN4#02: Call CAPI/ISDN4#02/XXXXXX-0 (pres=0x00, ton=0x00)
> chan_capi devicestate requested for ISDN4#02/XXXXXX is 'In use'
CONNECT_REQ ID=002 #0x0015 LEN=0062
Controller/PLCI/NCCI = 0x4
CIPValue = 0x1
CalledPartyNumber = <80>XXXXX
CallingPartyNumber = <00 80>
CalledPartySubaddress = default
CallingPartySubaddress = default
BProtocol
B1protocol = 0x1f
B2protocol = 0x1
B3protocol = 0x0
B1configuration = <00 04 03 00 a0 00>
B2configuration = default
B3configuration = default
GlobalConfiguration = default
BC = default
LLC = default
HLC = default
AdditionalInfo
BChannelinformation = <00 00>
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = <01 00>
-- Called g1/XXXXX
CAPI: ApplId=0x0002 Command=0x02 SubCommand=0x81 MsgNum=0x0015 NCCI=0x00000104
CONNECT_CONF ID=002 #0x0015 LEN=0014
Controller/PLCI/NCCI = 0x104
Info = 0x0
-- ISDN4#02: received CONNECT_CONF PLCI = 0x104
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0000 NCCI=0x00000104
INFO_IND ID=002 #0x0000 LEN=0016
Controller/PLCI/NCCI = 0x104
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=002 #0x0000 LEN=0012
Controller/PLCI/NCCI = 0x104
-- ISDN4#02: info element CHANNEL IDENTIFICATION 89
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0001 NCCI=0x00000104
INFO_IND ID=002 #0x0001 LEN=0015
Controller/PLCI/NCCI = 0x104
InfoNumber = 0x8002
InfoElement = default
INFO_RESP ID=002 #0x0001 LEN=0012
Controller/PLCI/NCCI = 0x104
-- ISDN4#02: info element CALL PROCEEDING
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Unknown control '15' (15) ] [ISDN4#02]
-- CAPI/ISDN4#02/XXXXX-0 is proceeding passing it to IAX2/iaxmodem-1287
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0003 NCCI=0x00000104
INFO_IND ID=002 #0x0003 LEN=0017
Controller/PLCI/NCCI = 0x104
InfoNumber = 0x1e
InfoElement = <82 88>
INFO_RESP ID=002 #0x0003 LEN=0012
Controller/PLCI/NCCI = 0x104
-- ISDN4#02: info element PI 82 88
> ISDN4#02: In-band information available
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Unknown control '14' (14) ] [ISDN4#02]
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0004 NCCI=0x00000104
INFO_IND ID=002 #0x0004 LEN=0015
Controller/PLCI/NCCI = 0x104
InfoNumber = 0x8001
InfoElement = default
-- CAPI/ISDN4#02/XXXXX-0 is making progress passing it to IAX2/iaxmodem-1287
INFO_RESP ID=002 #0x0004 LEN=0012
Controller/PLCI/NCCI = 0x104
-- ISDN4#02: info element ALERTING
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Ringing (3) ] [ISDN4#02]
-- CAPI/ISDN4#02/XXXXX-0 is ringing
> chan_capi devicestate requested for ISDN4#02/XXXXX is 'In use'
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0006 NCCI=0x00000104
INFO_IND ID=002 #0x0006 LEN=0020
Controller/PLCI/NCCI = 0x104
InfoNumber = 0x29
InfoElement = <0a 01 04 15 2b>
INFO_RESP ID=002 #0x0006 LEN=0012
Controller/PLCI/NCCI = 0x104
-- ISDN4#02: info element Date/Time 10/01/04 21:43
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0007 NCCI=0x00000104
INFO_IND ID=002 #0x0007 LEN=0015
Controller/PLCI/NCCI = 0x104
InfoNumber = 0x8007
InfoElement = default
INFO_RESP ID=002 #0x0007 LEN=0012
Controller/PLCI/NCCI = 0x104
-- ISDN4#02: info element CONNECT
CAPI: ApplId=0x0002 Command=0x03 SubCommand=0x82 MsgNum=0x0009 NCCI=0x00000104
CONNECT_ACTIVE_IND ID=002 #0x0009 LEN=0015
Controller/PLCI/NCCI = 0x104
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default
CONNECT_ACTIVE_RESP ID=002 #0x0009 LEN=0012
Controller/PLCI/NCCI = 0x104
CONNECT_B3_REQ ID=002 #0x0016 LEN=0013
Controller/PLCI/NCCI = 0x104
NCPI = default
-- ISDN4#02: sent CONNECT_B3_REQ PLCI=0x104
CAPI: ApplId=0x0002 Command=0x82 SubCommand=0x81 MsgNum=0x0016 NCCI=0x00030104
CONNECT_B3_CONF ID=002 #0x0016 LEN=0014
Controller/PLCI/NCCI = 0x30104
Info = 0x0
CAPI: ApplId=0x0002 Command=0x83 SubCommand=0x82 MsgNum=0x000a NCCI=0x00030104
CONNECT_B3_ACTIVE_IND ID=002 #0x000a LEN=0013
Controller/PLCI/NCCI = 0x30104
NCPI = default
CONNECT_B3_ACTIVE_RESP ID=002 #0x000a LEN=0012
Controller/PLCI/NCCI = 0x30104
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Answer (4) ] [ISDN4#02]
-- CAPI/ISDN4#02/XXXXX-0 answered IAX2/iaxmodem-1287
> chan_capi devicestate requested for ISDN4#02/XXXXX is 'In use'
== ISDN4#02: Requested unknown Indication 20 for CAPI/ISDN4#02/XXXXX-0
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x000c NCCI=0x00000104
INFO_IND ID=002 #0x000c LEN=0037
Controller/PLCI/NCCI = 0x104
InfoNumber = 0x1c
InfoElement = <91 a1 13 02 02>Vo<02 01 22>0<0a a1 05>0<03 02 01 01 82 01 00>
INFO_RESP ID=002 #0x000c LEN=0012
Controller/PLCI/NCCI = 0x104
-- ISDN4#02: info element FACILITY
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x000d NCCI=0x00000104
INFO_IND ID=002 #0x000d LEN=0019
Controller/PLCI/NCCI = 0x104
InfoNumber = 0x4000
InfoElement = <01 00 00 00>
INFO_RESP ID=002 #0x000d LEN=0012
Controller/PLCI/NCCI = 0x104
-- ISDN4#02: info element CHARGE in UNITS
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x000e NCCI=0x00000104
INFO_IND ID=002 #0x000e LEN=0015
Controller/PLCI/NCCI = 0x104
InfoNumber = 0x8062
InfoElement = default
INFO_RESP ID=002 #0x000e LEN=0012
Controller/PLCI/NCCI = 0x104
-- ISDN4#02: info element FACILITY
> Saved useragent "snom-m3-SIP/02.02 (MAC=0004132ABB70; HW=1)" for peer 36
-- ISDN4#02: info element DISCONNECT
-- ISDN4#02: Disconnect case 1
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Hangup (1) ] [ISDN4#02]
== ISDN4#02: CAPI Hangingup for PLCI=0x104 in state 2
-- ISDN4#02: activehangingup (cause=16) for PLCI=0x104
DISCONNECT_B3_REQ ID=002 #0x0943 LEN=0013
Controller/PLCI/NCCI = 0x30104
NCPI = default
== Spawn extension (fax, XXXXX, 1) exited non-zero on 'IAX2/iaxmodem-1287'
> chan_capi devicestate requested for ISDN4#02/XXXXX is 'Not in use'
> chan_capi devicestate requested for ISDN4#02/XXXXX is 'Not in use'
-- Hungup 'IAX2/iaxmodem-1287'
CAPI: ApplId=0x0002 Command=0x84 SubCommand=0x81 MsgNum=0x0943 NCCI=0x00030104
DISCONNECT_B3_CONF ID=002 #0x0943 LEN=0014
Controller/PLCI/NCCI = 0x30104
Info = 0x0
CAPI: ApplId=0x0002 Command=0x84 SubCommand=0x82 MsgNum=0x0942 NCCI=0x00030104
DISCONNECT_B3_IND ID=002 #0x0942 LEN=0015
Controller/PLCI/NCCI = 0x30104
Reason_B3 = 0x0
NCPI = default
DISCONNECT_B3_RESP ID=002 #0x0942 LEN=0012
Controller/PLCI/NCCI = 0x30104
DISCONNECT_REQ ID=002 #0x0944 LEN=0013
Controller/PLCI/NCCI = 0x104
AdditionalInfo = default
CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x81 MsgNum=0x0944 NCCI=0x00000104
DISCONNECT_CONF ID=002 #0x0944 LEN=0014
Controller/PLCI/NCCI = 0x104
Info = 0x0
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0943 NCCI=0x00000104
INFO_IND ID=002 #0x0943 LEN=0015
Controller/PLCI/NCCI = 0x104
InfoNumber = 0x805a
InfoElement = default
INFO_RESP ID=002 #0x0943 LEN=0012
Controller/PLCI/NCCI = 0x104
-- ISDN4#02: info element RELEASE COMPLETE
CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x82 MsgNum=0x0945 NCCI=0x00000104
DISCONNECT_IND ID=002 #0x0945 LEN=0014
Controller/PLCI/NCCI = 0x104
Reason = 0x3490
DISCONNECT_RESP ID=002 #0x0945 LEN=0012
Controller/PLCI/NCCI = 0x104
> ISDN4#02: CAPI INFO 0x3490: Normal call clearing
== ISDN4#02: Interface cleanup PLCI=0x104
extensions.conf ( relevanter teil )
Code:
[fax]
;exten => _X.,1,Answer()
exten => _X.,1,Dial(CAPI/g1/${EXTEN},55)
;exten => _X.,1,Hangup()
[fax-in]
exten => MSN,1,Answer()
exten => MSN,2,Dial(IAX2/iaxmodem)
exten => MSN,3,Hangup()
vielleicht findet hier ja jemand den fehler ich hänge leider fest....
telefonie funktioniert ohne probleme... lediglich die Fax-geschichten ärgern mich
vielen Dank für eure Mühe das durchzulesen im vorraus
lg
Smiele