[Eisfair] E1: capi2text / fbrcapi

Rolf Bensch azubi at bensch-net.de
Di Feb 7 18:00:14 CET 2012


Hallo Stephan,

hier die gewünschte Ausgabe des Debug-Modus. Für mich geht das etwas zu 
tief ins Eingemachte. Hoffe, Du kannst damit etwas anfangen.

Grüße

Rolf

Initiale Ausgabe:
##################################################################
n36l # /usr/sbin/capitotext -d -c 1
capitotext: Debug: >>> LISTEN_REQ                 ID=006 #0x0000 LEN=0026
   Controller/PLCI/NCCI            = 0x1
   InfoMask                        = 0x144
   CIPmask                         = 0x1fff03ff
   CIPmask2                        = 0x0
   CallingPartyNumber              = default
   CallingPartySubaddress          = default

capitotext: Debug: controller 1: listen_change_state 0 -> 1
capitotext: Debug: <<< LISTEN_CONF                ID=006 #0x0000 LEN=0014
   Controller/PLCI/NCCI            = 0x1
   Info                            = 0x0

capitotext: Debug: contr 1: listenconf Info=0x0000 (No additional 
information) infomask=0x144 cipmask=0x1fff03ff capimask2=0x0


##################################################################
ein normaler Anruf (wird von CapiToText korrekt interpretiert):
##################################################################
capitotext: Debug: controller 1: listen_change_state 1 -> 2
capitotext: Debug: <<< CONNECT_IND                ID=006 #0x657d LEN=0048
   Controller/PLCI/NCCI            = 0x601
   CIPValue                        = 0x10
   CalledPartyNumber               = <c1>XXXXXX
   CallingPartyNumber              = <21 81>611XXXXXX
   CalledPartySubaddress           = default
   CallingPartySubaddress          = default
   BC                              = <80 90 a3>
   LLC                             = default
   HLC                             = <91 81>
   AdditionalInfo                  = default

capitotext: Debug: plci_change_state:0x601 0 -> 4 event=5
capitotext: Debug: incoming call contr=1 cip=16 611XXXXXX -> XXXXXX

Call
    from     : 611XXXXXX
    to       : XXXXXX
    Time     : 2012-02-07 17:30:53
    Name     : XXXXXXXXXXXXXXXXXXXXXXXXXXXX
    Details  : XXXXXXXXXXXXXXXXXXXXXXXXXXXX
capitotext: Debug: >>> ALERT_REQ                  ID=006 #0x0001 LEN=0018
   Controller/PLCI/NCCI            = 0x601
   AdditionalInfo
    BChannelinformation            = default
    Keypadfacility                 = default
    Useruserdata                   = default
    Facilitydataarray              = default
    SendingComplete                = default

capitotext: Debug: <<< INFO_IND                   ID=006 #0x657e LEN=0016
   Controller/PLCI/NCCI            = 0x601
   InfoNumber                      = 0x18
   InfoElement                     = <8a>

capitotext: Debug: >>> INFO_RESP                  ID=006 #0x657e LEN=0012
   Controller/PLCI/NCCI            = 0x601

capitotext: Debug: <<< INFO_IND                   ID=006 #0x657f LEN=0015
   Controller/PLCI/NCCI            = 0x601
   InfoNumber                      = 0xc000
   InfoElement                     = default

capitotext: Debug: >>> INFO_RESP                  ID=006 #0x657f LEN=0012
   Controller/PLCI/NCCI            = 0x601

capitotext: Debug: <<< ALERT_CONF                 ID=006 #0x0001 LEN=0014
   Controller/PLCI/NCCI            = 0x601
   Info                            = 0x3

capitotext: Debug: <<< DISCONNECT_IND             ID=006 #0x659a LEN=0014
   Controller/PLCI/NCCI            = 0x601
   Reason                          = 0x3490

capitotext: Debug: DISCONNECT_IND reason 0x3490 (Normal call clearing) 
for plci 0x601
capitotext: Debug: plci_change_state:0x601 4 -> 8 event=9
capitotext: Debug: >>> DISCONNECT_RESP            ID=006 #0x659a LEN=0012
   Controller/PLCI/NCCI            = 0x601



##################################################################
ein Anruf, den CapiToText falsch interpretiert:
##################################################################
capitotext: Debug: plci_change_state:0x601 8 -> 0 event=11
capitotext: Debug: <<< CONNECT_IND                ID=006 #0x65ba LEN=0056
   Controller/PLCI/NCCI            = 0xc01
   CIPValue                        = 0x4
   CalledPartyNumber               = <c1>XXXXXX
   CallingPartyNumber              = <11 80>49611XXXXXX
   CalledPartySubaddress           = default
   CallingPartySubaddress          = default
   BC                              = <90 90 a3>
   LLC                             = default
   HLC                             = default
   AdditionalInfo                  = default

capitotext: Debug: plci_change_state:0xc01 0 -> 4 event=5
capitotext: Debug: incoming call contr=1 cip=4 49611XXXXXX -> XXXXXX

Call
    from     : 49611XXXXXX
    to       : XXXXXX
    Time     : 2012-02-07 17:34:26
    Name     : XXXXXXXXXXXXXXXXXXXXXXXXX
    Details  : XXXXXXXXXXXXXXXXXXXXXXXXX
capitotext: Debug: >>> ALERT_REQ                  ID=006 #0x0002 LEN=0018
   Controller/PLCI/NCCI            = 0xc01
   AdditionalInfo
    BChannelinformation            = default
    Keypadfacility                 = default
    Useruserdata                   = default
    Facilitydataarray              = default
    SendingComplete                = default

capitotext: Debug: <<< INFO_IND                   ID=006 #0x65bb LEN=0016
   Controller/PLCI/NCCI            = 0xc01
   InfoNumber                      = 0x18
   InfoElement                     = <8a>

capitotext: Debug: >>> INFO_RESP                  ID=006 #0x65bb LEN=0012
   Controller/PLCI/NCCI            = 0xc01

capitotext: Debug: <<< INFO_IND                   ID=006 #0x65bc LEN=0015
   Controller/PLCI/NCCI            = 0xc01
   InfoNumber                      = 0xc000
   InfoElement                     = default

capitotext: Debug: >>> INFO_RESP                  ID=006 #0x65bc LEN=0012
   Controller/PLCI/NCCI            = 0xc01

capitotext: Debug: <<< ALERT_CONF                 ID=006 #0x0002 LEN=0014
   Controller/PLCI/NCCI            = 0xc01
   Info                            = 0x3

capitotext: Debug: <<< DISCONNECT_IND             ID=006 #0x65db LEN=0014
   Controller/PLCI/NCCI            = 0xc01
   Reason                          = 0x3490

capitotext: Debug: DISCONNECT_IND reason 0x3490 (Normal call clearing) 
for plci 0xc01
capitotext: Debug: plci_change_state:0xc01 4 -> 8 event=9
capitotext: Debug: >>> DISCONNECT_RESP            ID=006 #0x65db LEN=0012
   Controller/PLCI/NCCI            = 0xc01

capitotext: Debug: plci_change_state:0xc01 8 -> 0 event=11


Mehr Informationen über die Mailingliste Eisfair