GlobalConfiguration = <01 00>
CAPI: ApplId=0x0002 Command=0x02 SubCommand=0x82 MsgNum=0x0019 NCCI=0x00000501
CONNECT_IND ID=002 #0x0019 LEN=0051
Controller/PLCI/NCCI = 0x501
CIPValue = 0x1
CalledPartyNumber = <c1>123456
CallingPartyNumber = <21 83>789123
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a3>
LLC = default
HLC = default
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
-- CONNECT_IND (PLCI=0x501,DID=123456,CID=789123,CIP=0x1,CONTROLLER=0x1)
> ISDN1#02: msn='*' DNID='123456' MSN
== ISDN1#02: setting format alaw - 0x8 (alaw)
== ISDN1#02: Incoming call '0789123' -> '123456'
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x001a NCCI=0x00000501
INFO_IND ID=002 #0x001a LEN=0017
Controller/PLCI/NCCI = 0x501
InfoNumber = 0x1e
InfoElement = <80 83>
INFO_RESP ID=002 #0x001a LEN=0012
Controller/PLCI/NCCI = 0x501
-- ISDN1#02: info element PI 80 83
> ISDN1#02: Origination is non ISDN
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x001b NCCI=0x00000501
INFO_IND ID=002 #0x001b LEN=0024
Controller/PLCI/NCCI = 0x501
InfoNumber = 0x70
InfoElement = <c1>123456
INFO_RESP ID=002 #0x001b LEN=0012
Controller/PLCI/NCCI = 0x501
-- ISDN1#02: info element CALLED PARTY NUMBER
> ISDN1#02: INFO_IND DID digits not used in this state.
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x001c NCCI=0x00000501
INFO_IND ID=002 #0x001c LEN=0015
Controller/PLCI/NCCI = 0x501
InfoNumber = 0xa1
InfoElement = default
INFO_RESP ID=002 #0x001c LEN=0012
Controller/PLCI/NCCI = 0x501
-- ISDN1#02: info element Sending Complete
-- ISDN1#02: CAPI/ISDN1#02/123456-2: 123456 matches in context isdn-in
== Started pbx on channel CAPI/ISDN1#02/123456-2
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x001d NCCI=0x00000501
INFO_IND ID=002 #0x001d LEN=0016
Controller/PLCI/NCCI = 0x501
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=002 #0x001d LEN=0012
Controller/PLCI/NCCI = 0x501
-- ISDN1#02: info element CHANNEL IDENTIFICATION 89
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x001e NCCI=0x00000501
INFO_IND ID=002 #0x001e LEN=0015
Controller/PLCI/NCCI = 0x501
InfoNumber = 0x8005
InfoElement = default
INFO_RESP ID=002 #0x001e LEN=0012
Controller/PLCI/NCCI = 0x501
-- ISDN1#02: info element SETUP
> ISDN1#02: IE SETUP / SENDING-COMPLETE already received.
-- Executing [123456@isdn-in:1] capicommand("CAPI/ISDN1#02/123456-2", "sendfax|/tmp/foo.sff") in new stack
[May 4 14:28:12] WARNING[4954]: pbx.c:1344 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (capicommand(sendfax|/tmp/foo.sff))
-- capicommand: 'sendfax' '/tmp/foo.sff'
-- capi sendfax: '/tmp/foo.sff' '' ''
-- Setup fax b3conf fmt=0, stationid='' headline=''
== ISDN1#02: Answering for 123456
> chan_capi devicestate requested for ISDN1#02/123456 is 'Ringing'
CONNECT_RESP ID=002 #0x0019 LEN=0052
Controller/PLCI/NCCI = 0x501
Reject = 0x0
BProtocol
B1protocol = 0x4
B2protocol = 0x4
B3protocol = 0x4
B1configuration = default
B2configuration = default
B3configuration = <00 00 00 00 00 00>
GlobalConfiguration = <01 00>
ConnectedNumber = <01 80>123456
ConnectedSubaddress = default
LLC = default
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
CAPI: ApplId=0x0002 Command=0x03 SubCommand=0x82 MsgNum=0x0020 NCCI=0x00000501
CONNECT_ACTIVE_IND ID=002 #0x0020 LEN=0015
Controller/PLCI/NCCI = 0x501
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default
CONNECT_ACTIVE_RESP ID=002 #0x0020 LEN=0012
Controller/PLCI/NCCI = 0x501
CONNECT_B3_REQ ID=002 #0x0008 LEN=0013
Controller/PLCI/NCCI = 0x501
NCPI = default
-- ISDN1#02: sent CONNECT_B3_REQ PLCI=0x501
CAPI: ApplId=0x0002 Command=0x82 SubCommand=0x81 MsgNum=0x0008 NCCI=0x00060501
CONNECT_B3_CONF ID=002 #0x0008 LEN=0014
Controller/PLCI/NCCI = 0x60501
Info = 0x0
CAPI: ApplId=0x0002 Command=0x83 SubCommand=0x82 MsgNum=0x0021 NCCI=0x00060501
CONNECT_B3_ACTIVE_IND ID=002 #0x0021 LEN=0013
Controller/PLCI/NCCI = 0x60501
NCPI = default
CONNECT_B3_ACTIVE_RESP ID=002 #0x0021 LEN=0012
Controller/PLCI/NCCI = 0x60501
-- ISDN1#02: Start sending fax.
-- ISDN1#02: Fax connection, no EC/DTMF
-- ISDN1#02: completed faxsend.
DISCONNECT_B3_REQ ID=002 #0x0216 LEN=0013
Controller/PLCI/NCCI = 0x60501
NCPI = default
CAPI: ApplId=0x0002 Command=0x84 SubCommand=0x81 MsgNum=0x0216 NCCI=0x00060501
DISCONNECT_B3_CONF ID=002 #0x0216 LEN=0014
Controller/PLCI/NCCI = 0x60501
Info = 0x0
CAPI: ApplId=0x0002 Command=0x84 SubCommand=0x82 MsgNum=0x0023 NCCI=0x00060501
DISCONNECT_B3_IND ID=002 #0x0023 LEN=0044
Controller/PLCI/NCCI = 0x60501
Reason_B3 = 0x0
NCPI = <80 25 00 00 00 00 02 00 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>
DISCONNECT_B3_RESP ID=002 #0x0023 LEN=0012
Controller/PLCI/NCCI = 0x60501
DISCONNECT_REQ ID=002 #0x0217 LEN=0013
Controller/PLCI/NCCI = 0x501
AdditionalInfo = default
CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x81 MsgNum=0x0217 NCCI=0x00000501
DISCONNECT_CONF ID=002 #0x0217 LEN=0014
Controller/PLCI/NCCI = 0x501
Info = 0x0
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0024 NCCI=0x00000501
INFO_IND ID=002 #0x0024 LEN=0015
Controller/PLCI/NCCI = 0x501
InfoNumber = 0x804d
InfoElement = default
INFO_RESP ID=002 #0x0024 LEN=0012
Controller/PLCI/NCCI = 0x501
-- ISDN1#02: info element RELEASE
CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x82 MsgNum=0x0026 NCCI=0x00000501
DISCONNECT_IND ID=002 #0x0026 LEN=0014
Controller/PLCI/NCCI = 0x501
Reason = 0x3490
DISCONNECT_RESP ID=002 #0x0026 LEN=0012
Controller/PLCI/NCCI = 0x501
> ISDN1#02: CAPI INFO 0x3490: Normal call clearing
-- chan_capi queue frame:[ TYPE: Control (4) SUBCLASS: Hangup (1) ] [ISDN1#02]
-- capi sendfax: hangup.
-- Closing fax file...
capi sendfax: fax sent successful.
-- Executing [h@isdn-in:1] NoOp("CAPI/ISDN1#02/123456-2", "Status: 0, Reason: 0, REASONTEXT: OK, Rate: 9600, Resolution:0, Format: 0, Pages: 2, ID: ") in new stack
== ISDN1#02: CAPI Hangingup for PLCI=0xdead0000 in state 4
== ISDN1#02: Interface cleanup PLCI=0xdead0000
> chan_capi devicestate requested for ISDN1#02/123456 is 'Not in use'
> chan_capi devicestate requested for ISDN1#02/123456 is 'Not in use'