Armin Schindler wrote:
Sorry, but I don't see any CAPI debug messages. Did you set 'capi debug'
?
Ok, I've attached two CAPI debug captures. One shows the debug of when a
CAPI call is transferred from one SIP phone to another. The other one
shows the debug of when a SIP phone tries to do a call-pickup of a CAPI
call that is ringing another SIP phone.
In both cases, the dialplan extension that matches the call is:
exten => 5251713,1,Ringing()
exten => 5251713,2,Wait(2)
exten => 5251713,3,Queue(reception,Tt)
OpenPBX.org 0.2-beta SVN-1242 http://www.openpbx.org - The True Open Source PBX
=========================================================================
Connected to OpenPBX OpenPBX.org 0.2-beta SVN-1242 currently running on
ipbx-pal (pid = 10161)
ipbx-pal*CLI> capi debug
CAPI Debugging Enabled
Dec 22 11:51:03 WARNING[3056647088]: chan_capi.c:3270 show_capi_conf_error:
ISDN2: conf_error 0x300b PLCI=0x202 Command=FACILITY_CON
F,0x8497
ipbx-pal*CLI> set verbose 5
Verbosity was 0 and is now 5
ipbx-pal*CLI>
ipbx-pal*CLI>
ipbx-pal*CLI>
CONNECT_IND ID=001 #0x113c LEN=0050
Controller/PLCI/NCCI = 0x102
CIPValue = 0x10
CalledPartyNumber = <c1>5251713
CallingPartyNumber = <21 83>21616842
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a3>
LLC = default
HLC = <91 81>
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
-- CONNECT_IND (PLCI=0x102,DID=5251713,CID=21616842,CIP=0x10,CONTROLLER=0x2)
> ISDN2: msn='*' DNID='5251713' DID
== ISDN2: Incoming call '021616842' -> '5251713'
INFO_IND ID=001 #0x113d LEN=0023
Controller/PLCI/NCCI = 0x102
InfoNumber = 0x70
InfoElement = <c1>5251713
INFO_RESP ID=001 #0x113d LEN=0012
Controller/PLCI/NCCI = 0x102
-- ISDN2: info element CALLED PARTY NUMBER
-- ISDN2: Updated channel name: CAPI/ISDN2/5251713-13
-- ISDN2: CAPI/ISDN2/5251713-13: 5251713 matches in context default
== Started pbx on channel CAPI/ISDN2/5251713-13
INFO_IND ID=001 #0x113e LEN=0016
Controller/PLCI/NCCI = 0x102
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=001 #0x113e LEN=0012
Controller/PLCI/NCCI = 0x102
-- ISDN2: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=001 #0x113f LEN=0015
Controller/PLCI/NCCI = 0x102
InfoNumber = 0x8005
InfoElement = default
INFO_RESP ID=001 #0x113f LEN=0012
Controller/PLCI/NCCI = 0x102
-- ISDN2: info element SETUP
-- Executing Ringing("CAPI/ISDN2/5251713-13", "") in new stack
== ISDN2: Requested RINGING-Indication for CAPI/ISDN2/5251713-13
ALERT_REQ ID=001 #0x0e7e LEN=0018
Controller/PLCI/NCCI = 0x102
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
-- Executing Wait("CAPI/ISDN2/5251713-13", "2") in new stack
ALERT_CONF ID=001 #0x0e7e LEN=0014
Controller/PLCI/NCCI = 0x102
Info = 0x0
-- Executing Queue("CAPI/ISDN2/5251713-13", "reception|Tt") in new stack
-- Started music on hold, class 'default', on CAPI/ISDN2/5251713-13
-- Called SIP/570
-- SIP/570-ca4f is ringing
-- SIP/570-ca4f is ringing
-- SIP/570-ca4f is ringing
-- SIP/570-ca4f is ringing
-- SIP/578-a68d answered CAPI/ISDN2/5251713-13
-- Playing 'beep' (language 'en')
== ISDN2: Answering for 5251713
CONNECT_RESP ID=001 #0x113c LEN=0043
Controller/PLCI/NCCI = 0x102
Reject = 0x0
BProtocol
B1protocol = 0x1
B2protocol = 0x1
B3protocol = 0x0
B1configuration = default
B2configuration = default
B3configuration = default
GlobalConfiguration = default
ConnectedNumber = <00 80>5251713
ConnectedSubaddress = default
LLC = default
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
-- Stopped music on hold on CAPI/ISDN2/5251713-13
INFO_IND ID=001 #0x1140 LEN=0015
Controller/PLCI/NCCI = 0x102
InfoNumber = 0x800f
InfoElement = default
INFO_RESP ID=001 #0x1140 LEN=0012
Controller/PLCI/NCCI = 0x102
-- ISDN2: info element CONNECT ACK
CONNECT_ACTIVE_IND ID=001 #0x1142 LEN=0015
Controller/PLCI/NCCI = 0x102
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default
CONNECT_ACTIVE_RESP ID=001 #0x1142 LEN=0012
Controller/PLCI/NCCI = 0x102
CONNECT_B3_IND ID=001 #0x1143 LEN=0013
Controller/PLCI/NCCI = 0xa0102
NCPI = default
CONNECT_B3_RESP ID=001 #0x1143 LEN=0015
Controller/PLCI/NCCI = 0xa0102
Reject = 0x0
NCPI = default
CONNECT_B3_ACTIVE_IND ID=001 #0x1144 LEN=0013
Controller/PLCI/NCCI = 0xa0102
NCPI = default
CONNECT_B3_ACTIVE_RESP ID=001 #0x1144 LEN=0012
Controller/PLCI/NCCI = 0xa0102
== ISDN2: Setting up echo canceller (PLCI=0x102, function=1, options=4,
tail=64)
FACILITY_REQ ID=001 #0x0e7f LEN=0024
Controller/PLCI/NCCI = 0x102
FacilitySelector = 0x8
FacilityRequestParameter = <01 00 06 04 00 40 00 00 00>
FACILITY_CONF ID=001 #0x0e7f LEN=0017
Controller/PLCI/NCCI = 0x102
Info = 0x300b
FacilitySelector = 0x8
FacilityConfirmationParameter = default
-- ISDN2: Error setting up echo canceller (PLCI=0x102)
Dec 22 11:53:50 WARNING[3056647088]: chan_capi.c:3270 show_capi_conf_error:
ISDN2: conf_error 0x300b PLCI=0x102 Command=FACILITY_CON
F,0x8497
> CAPI INFO 0x300b: Facility not supported
Dec 22 11:53:51 ERROR[3052743600]: chan_capi.c:1173 capi_write: dont know how
to write subclass 64
== Spawn extension (default, 5251713, 3) exited non-zero on
'CAPI/ISDN2/5251713-13'
== ISDN2: CAPI Hangingup
-- ISDN2: activehangingup (cause=0)
DISCONNECT_B3_REQ ID=001 #0x0e80 LEN=0013
Controller/PLCI/NCCI = 0xa0102
NCPI = default
DISCONNECT_B3_CONF ID=001 #0x0e80 LEN=0014
Controller/PLCI/NCCI = 0xa0102
Info = 0x0
DISCONNECT_B3_IND ID=001 #0x114a LEN=0015
Controller/PLCI/NCCI = 0xa0102
Reason_B3 = 0x0
NCPI = default
DISCONNECT_B3_RESP ID=001 #0x114a LEN=0012
Controller/PLCI/NCCI = 0xa0102
DISCONNECT_REQ ID=001 #0x0e81 LEN=0018
Controller/PLCI/NCCI = 0x102
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
DISCONNECT_CONF ID=001 #0x0e81 LEN=0014
Controller/PLCI/NCCI = 0x102
Info = 0x0
INFO_IND ID=001 #0x114b LEN=0015
Controller/PLCI/NCCI = 0x102
InfoNumber = 0x804d
InfoElement = default
INFO_RESP ID=001 #0x114b LEN=0012
Controller/PLCI/NCCI = 0x102
-- ISDN2: info element RELEASE
DISCONNECT_IND ID=001 #0x114d LEN=0014
Controller/PLCI/NCCI = 0x102
Reason = 0x3490
DISCONNECT_RESP ID=001 #0x114d LEN=0012
Controller/PLCI/NCCI = 0x102
> CAPI INFO 0x3490: Normal call clearing
== ISDN2: Interface cleanup PLCI=0x102
ipbx-pal*CLI>OpenPBX.org 0.2-beta SVN-1242 http://www.openpbx.org - The True Open Source PBX
=========================================================================
Connected to OpenPBX OpenPBX.org 0.2-beta SVN-1242 currently running on
ipbx-pal (pid = 10161)
ipbx-pal*CLI> capi debug
CAPI Debugging Enabled
Dec 22 11:51:03 WARNING[3056647088]: chan_capi.c:3270 show_capi_conf_error:
ISDN2: conf_error 0x300b PLCI=0x202 Command=FACILITY_CON
F,0x8497
ipbx-pal*CLI> set verbose 5
Verbosity was 0 and is now 5
ipbx-pal*CLI>
ipbx-pal*CLI>
ipbx-pal*CLI>
CONNECT_IND ID=001 #0x0d0b LEN=0050
Controller/PLCI/NCCI = 0x202
CIPValue = 0x10
CalledPartyNumber = <c1>5251713
CallingPartyNumber = <21 83>21616842
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a3>
LLC = default
HLC = <91 81>
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
-- CONNECT_IND (PLCI=0x202,DID=5251713,CID=21616842,CIP=0x10,CONTROLLER=0x2)
> ISDN2: msn='*' DNID='5251713' DID
== ISDN2: Incoming call '021616842' -> '5251713'
INFO_IND ID=001 #0x0d0c LEN=0023
Controller/PLCI/NCCI = 0x202
InfoNumber = 0x70
InfoElement = <c1>5251713
INFO_RESP ID=001 #0x0d0c LEN=0012
Controller/PLCI/NCCI = 0x202
-- ISDN2: info element CALLED PARTY NUMBER
-- ISDN2: Updated channel name: CAPI/ISDN2/5251713-11
-- ISDN2: CAPI/ISDN2/5251713-11: 5251713 matches in context default
== Started pbx on channel CAPI/ISDN2/5251713-11
INFO_IND ID=001 #0x0d0d LEN=0016
Controller/PLCI/NCCI = 0x202
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=001 #0x0d0d LEN=0012
Controller/PLCI/NCCI = 0x202
-- ISDN2: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=001 #0x0d0e LEN=0015
Controller/PLCI/NCCI = 0x202
InfoNumber = 0x8005
InfoElement = default
INFO_RESP ID=001 #0x0d0e LEN=0012
Controller/PLCI/NCCI = 0x202
-- ISDN2: info element SETUP
-- Executing Ringing("CAPI/ISDN2/5251713-11", "") in new stack
== ISDN2: Requested RINGING-Indication for CAPI/ISDN2/5251713-11
ALERT_REQ ID=001 #0x0b08 LEN=0018
Controller/PLCI/NCCI = 0x202
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
-- Executing Wait("CAPI/ISDN2/5251713-11", "2") in new stack
ALERT_CONF ID=001 #0x0b08 LEN=0014
Controller/PLCI/NCCI = 0x202
Info = 0x0
-- Executing Queue("CAPI/ISDN2/5251713-11", "reception|Tt") in new stack
-- Started music on hold, class 'default', on CAPI/ISDN2/5251713-11
-- Called SIP/570
-- SIP/570-934e is ringing
-- SIP/570-934e is ringing
-- SIP/570-934e is ringing
-- SIP/570-934e is ringing
-- SIP/570-934e answered CAPI/ISDN2/5251713-11
-- Playing 'beep' (language 'en')
== ISDN2: Answering for 5251713
CONNECT_RESP ID=001 #0x0d0b LEN=0043
Controller/PLCI/NCCI = 0x202
Reject = 0x0
BProtocol
B1protocol = 0x1
B2protocol = 0x1
B3protocol = 0x0
B1configuration = default
B2configuration = default
B3configuration = default
GlobalConfiguration = default
ConnectedNumber = <00 80>5251713
ConnectedSubaddress = default
LLC = default
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
-- Stopped music on hold on CAPI/ISDN2/5251713-11
INFO_IND ID=001 #0x0d0f LEN=0015
Controller/PLCI/NCCI = 0x202
InfoNumber = 0x800f
InfoElement = default
INFO_RESP ID=001 #0x0d0f LEN=0012
Controller/PLCI/NCCI = 0x202
-- ISDN2: info element CONNECT ACK
CONNECT_ACTIVE_IND ID=001 #0x0d11 LEN=0015
Controller/PLCI/NCCI = 0x202
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default
CONNECT_ACTIVE_RESP ID=001 #0x0d11 LEN=0012
Controller/PLCI/NCCI = 0x202
CONNECT_B3_IND ID=001 #0x0d12 LEN=0013
Controller/PLCI/NCCI = 0x90202
NCPI = default
CONNECT_B3_RESP ID=001 #0x0d12 LEN=0015
Controller/PLCI/NCCI = 0x90202
Reject = 0x0
NCPI = default
CONNECT_B3_ACTIVE_IND ID=001 #0x0d13 LEN=0013
Controller/PLCI/NCCI = 0x90202
NCPI = default
CONNECT_B3_ACTIVE_RESP ID=001 #0x0d13 LEN=0012
Controller/PLCI/NCCI = 0x90202
== ISDN2: Setting up echo canceller (PLCI=0x202, function=1, options=4,
tail=64)
FACILITY_REQ ID=001 #0x0b09 LEN=0024
Controller/PLCI/NCCI = 0x202
FacilitySelector = 0x8
FacilityRequestParameter = <01 00 06 04 00 40 00 00 00>
FACILITY_CONF ID=001 #0x0b09 LEN=0017
Controller/PLCI/NCCI = 0x202
Info = 0x300b
FacilitySelector = 0x8
FacilityConfirmationParameter = default
-- ISDN2: Error setting up echo canceller (PLCI=0x202)
Dec 22 11:52:14 WARNING[3056647088]: chan_capi.c:3270 show_capi_conf_error:
ISDN2: conf_error 0x300b PLCI=0x202 Command=FACILITY_CON
F,0x8497
> CAPI INFO 0x300b: Facility not supported
-- Started music on hold, class 'default', on CAPI/ISDN2/5251713-11
-- Stopped music on hold on CAPI/ISDN2/5251713-11
== Spawn extension (all-users, 578, 0) exited non-zero on
'CAPI/ISDN2/5251713-11'
-- Executing Macro("CAPI/ISDN2/5251713-11", "pbx-extn-vmail|578|578") in
new stack
-- Executing Set("CAPI/ISDN2/5251713-11", "CFIM=") in new stack
-- Executing GotoIf("CAPI/ISDN2/5251713-11", "1?3:20") in new stack
-- Goto (macro-pbx-extn-vmail,s,3)
-- Executing Dial("CAPI/ISDN2/5251713-11", "SIP/578|20|Tt") in new stack
-- Called 578
-- SIP/578-132d is ringing
== ISDN2: Requested RINGING-Indication for CAPI/ISDN2/5251713-11
-- ISDN2: attempting ALERT in state 2
-- SIP/578-132d answered CAPI/ISDN2/5251713-11
== ISDN2: Requested Indication-STOP for CAPI/ISDN2/5251713-11
== Spawn extension (macro-pbx-extn-vmail, s, 3) exited non-zero on
'CAPI/ISDN2/5251713-11' in macro 'pbx-extn-vmail'
== Spawn extension (all-users, 578, 1) exited non-zero on
'CAPI/ISDN2/5251713-11'
== ISDN2: CAPI Hangingup
-- ISDN2: activehangingup (cause=16)
DISCONNECT_B3_REQ ID=001 #0x0e7c LEN=0013
Controller/PLCI/NCCI = 0x90202
NCPI = default
DISCONNECT_B3_CONF ID=001 #0x0e7c LEN=0014
Controller/PLCI/NCCI = 0x90202
Info = 0x0
DISCONNECT_B3_IND ID=001 #0x1138 LEN=0015
Controller/PLCI/NCCI = 0x90202
Reason_B3 = 0x0
NCPI = default
DISCONNECT_B3_RESP ID=001 #0x1138 LEN=0012
Controller/PLCI/NCCI = 0x90202
DISCONNECT_REQ ID=001 #0x0e7d LEN=0018
Controller/PLCI/NCCI = 0x202
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
DISCONNECT_CONF ID=001 #0x0e7d LEN=0014
Controller/PLCI/NCCI = 0x202
Info = 0x0
INFO_IND ID=001 #0x1139 LEN=0015
Controller/PLCI/NCCI = 0x202
InfoNumber = 0x804d
InfoElement = default
INFO_RESP ID=001 #0x1139 LEN=0012
Controller/PLCI/NCCI = 0x202
-- ISDN2: info element RELEASE
DISCONNECT_IND ID=001 #0x113b LEN=0014
Controller/PLCI/NCCI = 0x202
Reason = 0x3490
DISCONNECT_RESP ID=001 #0x113b LEN=0012
Controller/PLCI/NCCI = 0x202
> CAPI INFO 0x3490: Normal call clearing
== ISDN2: Interface cleanup PLCI=0x202ipbx-pal*CLI>
ipbx-pal*CLI>_______________________________________________
Openpbx-dev mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-dev