Res kstreamer

From VoiSmart Open Source Wiki

Jump to: navigation, search

res_kstreamer.so is an Asterisk's module whose purposes are:

  • To provide libkstreamer interface to other Asterisk's modules
  • To spawn the libkstreamer handler thread
  • To provide a CLI interface to inspect and debug the streaming network topology database

Here is some sample output from the CLI interface:

gsmgateway*CLI> show kstreamer nodes
0x00000001: /kstreamer/nodes/softswitch
0x00000003: /devices/pci0000:00/0000:00:0d.0/gsm1
0x00000002: /devices/pci0000:00/0000:00:0d.0/gsm0
0x00000005: /devices/pci0000:00/0000:00:0d.0/gsm3
0x00000004: /devices/pci0000:00/0000:00:0d.0/gsm2
gsmgateway*CLI> show kstreamer chans
0x00000001: /devices/pci0000:00/0000:00:0d.0/gsm0/rx
0x00000003: /devices/pci0000:00/0000:00:0d.0/gsm1/rx
0x00000002: /devices/pci0000:00/0000:00:0d.0/gsm0/tx
0x00000005: /devices/pci0000:00/0000:00:0d.0/gsm2/rx
0x00000004: /devices/pci0000:00/0000:00:0d.0/gsm1/tx
0x00000007: /devices/pci0000:00/0000:00:0d.0/gsm3/rx
0x00000006: /devices/pci0000:00/0000:00:0d.0/gsm2/tx
0x00000008: /devices/pci0000:00/0000:00:0d.0/gsm3/tx
gsmgateway*CLI> show kstreamer dynattrs
0x00000100: amu_decompander
0x000000ff: amu_compander
gsmgateway*CLI> show kstreamer pipelines
0x0000003b: /kstreamer/pipelines/000059
0x0000003c: /kstreamer/pipelines/000060
Personal tools