Skip to content
philpraxis edited this page Sep 13, 2010 · 15 revisions

Welcome to the dialogic-compagnon wiki!

Usage example:

$ ./diadecode.py -m M-t7740-i0000-fef-d33-r8000-p0183032233d2efef00000001011000ef000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000
Found definition: type SCP_MSG_CONFIG (0x7740) 
 in sccp.db
Field description: type SCP_MSG_CONFIG (0x7740)
Field description: id 0
Field description: src Sending module_id
Field description: dst SCP_TASK_ID
Field description: rsp_req used to request a confirmation
Field description: hclass 0
Field description: status 0
Field description: err_info 0
Field description: len 60
       d: 33
       f: ef
       i: 0000
       p: 0183032233d2efef00000001011000ef000000000000000000000000000000000000000000000000000000000000000000000000000000000
       r: 8000
       t: 7740
decompose(0183032233d2efef00000001011000ef000000000000000000000000000000000000000000000000000000000000000000000000000000000)
Offset + description: 0 1 cnf_ver - must be set to one
 cnf_ver= 0x01  (cnf_ver - must be set to one)
Offset + description: 1 1 sio - Service Information Octet value
 sio= 0x83      (sio - Service Information Octet value)
Offset + description: 2 2 options
 options= 0x0322        (options)
Offset + description: 4 1 module_id - SCCP module id
 module_id= 0x33        (module_id - SCCP module id)
Offset + description: 5 1 mtp_id - MTP module id
 mtp_id= 0xd2   (mtp_id - MTP module id)
Offset + description: 6 1 mngt_id - Management module id
 mngt_id= 0xef  (mngt_id - Management module id)
Offset + description: 7 1 maint_id - Maintenance module id
 maint_id= 0xef (maint_id - Maintenance module id)
Offset + description: 8 4 point_code - Local point code
 point_code= 0x00000001 (point_code - Local point code)
Offset + description: 12 2 max_sif
 max_sif= 0x0110        (max_sif)
Offset + description: 14 1 sccp_instance
 sccp_instance= 0x00    (sccp_instance)
Offset + description: 15 1 smb_id - Broadcast module id
 smb_id= 0xef   (smb_id - Broadcast module id)
Offset + description: 16 2 smb_flags - Broadcast flags
 smb_flags= 0x0000      (smb_flags - Broadcast flags)
Offset + description: 18 2 num_uc - Required number of User
 num_uc= 0x0000 (num_uc - Required number of User connections)
Offset + description: 20 2 uc_onset - Onset of congestion point for user
 uc_onset= 0x0000       (uc_onset - Onset of congestion point for user connections)
Offset + description: 22 2 uc_abmt
 uc_abmt= 0x0000        (uc_abmt)
Offset + description: 24 2 num_ic
 num_ic= 0x0000 (num_ic)
Offset + description: 26 2 ic_onset
 ic_onset= 0x0000       (ic_onset)
Offset + description: 28 2 ic_abmt
 ic_abmt= 0x0000        (ic_abmt)
Offset + description: 30 2 num_data
 num_data= 0x0000       (num_data)
Offset + description: 32 2 data_onset
 data_onset= 0x0000     (data_onset)
Offset + description: 34 2 data_abmt
 data_abmt= 0x0000      (data_abmt)
Offset + description: 36 2 num_edata
 num_edata= 0x0000      (num_edata Section 10 Non-Primitive Interface page 57 MESSAGE HEADER FIELD NAME MEANING)
Offset + description: 38 2 edata_onset
 edata_onset= 0x0000    (edata_onset)
Offset + description: 40 2 edata_abmt
 edata_abmt= 0x0000     (edata_abmt)
Offset + description: 42 2 ext_options
 ext_options= 0x0000    (ext_options)
Offset + description: 44 2 base_id
 base_id= 0x0000        (base_id)
Offset + description: 46 2 top_id
 top_id= 0x0000 (top_id)
Offset + description: 48 2 min_id
 min_id= 0x0000 (min_id)
Offset + description: 50 2 max_id
 max_id= 0x0000 (max_id)
Offset + description: 52 1 isup_id
 isup_id= 0x00  (isup_id)
Offset + description: 53 2 nc
 nc= 0x0000     (nc)
Offset + description: 55 1 hop_counter
 hop_counter= 0x00      (hop_counter)
Offset + description: 56 2 error_offset
 error_offset= 0x0      (error_offset)
Offset + description: 58 2 reserved – set to zero
 reserved= 0x   (reserved – set to zero )
01 83 0322 33 d2 ef ef 00000001 0110 00 ef 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00 0000 00 0
$
Clone this wiki locally