Asterisk config sirrix.conf CLI commands

Asterisk CLI commands


srx reload
Reload channel driver configuration; active calls will be terminated!

srx show ccmsgs
Disable / enable output of incoming callcontrol messages.

srx show chans
Show info about B-Channels

srx show globals
Show info about global settings

srx list groups
List configured groups

srx show groups
Show info about all configured groups

srx show group {srxgroup}
Show info about single configured group

srx show layers
Show info about ISDN stack (Layer 1, 2, 3)

Example

SYNC: port 0x0000
l1=0x8147958: port=0x0000, type=BRI, mode=TE, ptp=1, ma=1, act=1, st='ST_L1_IPAC_F7_ACTIVATED'
l2h=0x812c500
l2=0x812d360: tei= 0, uiq=0, iq=0, siq=1, st='ST_L2_70_MULTIPLE_FRAME_ESTABLISHED_NORMAL':
l3h=0x8183eb8: cr_out={ }, cr_in={ }, oq=0, iq=0
l3=0x8189140: cr=( -1, -1), occ=0, ces_m=(nil), hr_m=(nil), hr_s=(nil), st='L3 NULL STATE(U0)'

Description

  • MASTER shows which port currently is used for clock synchronisation
  • l1: information about Layer 1
    - port: specifies the Sirrix.PCI4S0 hardware port
    - type: BRI for basic rate interface, PRI for primary rate interface
    - mode: TE for terminal equipment or NT for network termination
    - ptp: 1 for Point-to-Point or 0 for Point-to-Multipoint
    - ma: 1 if this port may become clock master (master allowed)
    - act: 1 if the Layer 1 has been activated (green LED on card is on)
    - st: current state of the Layer 1 state machine (see Infineon IPAC-X datasheet)
  • l2h: the pointer to the Layer 2 management structure (Layer 2 Head)
  • l2: information about Layer 2 (followed by the memory pointer in hex)
    - tei: assigned TEI (terminal equipment identification)
    - uiq, iq, siq: number of elements in internal queues
    - st: current state of the Layer 2 state machine (see ITU-T Q.921)
  • l3h: information about all Layer 3 of a Layer 2
    - cr_out: list of active outgoing CRs (call references)
    - cr_in: list of active incoming CRs (call references)
    - oq, iq: number of elements in internal queues
  • l3: information about single Layer 3 (followed by the memory pointer in hex)
    - cr: call reference and if it is incoming 1, or outgoing 0
    - occ: 1 if this Layer 3 is currently in use (occupied) by call control
    - ces_m, hr_m and hr_s: memory pointers to other Layer 3 instances that are related to this Layer 3 (CES, Hold Master, Hold Slaved)
    - st: current state of the Layer 3 state machine (see ITU-T Q.931 for state descriptions)



srx list pvts
List all active channels

srx show pvts
Show private info about all active channels

srx show pvt {srxpt}
Show private info about single active channel

srx show timers
Show info about running timers

srx show stats {port}
Show layer 1 statistics for given port

Example

IPAC statistics: port=0000, rab=0, rdo=0, crc=0, vfr=0, rfo=0, xmr=0, xdu=0, slip=0, empty=0, frame=24

Description

  • rab: Receive Message Aborted counter
  • rdo: Receive Data Overflow counter
  • crc: CRC check sum error counter
  • vfr: Invalid Frame counter
  • rfo: Receive Frame Overflow counter
  • xmr: Transmit Message Repeat counter
  • xdu: Transmit Data Underrun counter
  • slip: Slip detected counter (a large amount of slips indicates a synchronisation problem on the S-interface, see "master" setting in sirrix.conf)
  • empty: Empty frame counter
  • frame: Good Frame counter



srx show system
Shows information about the system configuration. This is all available ports on all available cards including firmware version and serial number.





See Also


Previous: Asterisk Dialplan-Applications
Next: Asterisk Channel Variables
Index: Asterisk Sirrix ISDN channels


Asterisk CLI commands


srx reload
Reload channel driver configuration; active calls will be terminated!

srx show ccmsgs
Disable / enable output of incoming callcontrol messages.

srx show chans
Show info about B-Channels

srx show globals
Show info about global settings

srx list groups
List configured groups

srx show groups
Show info about all configured groups

srx show group {srxgroup}
Show info about single configured group

srx show layers
Show info about ISDN stack (Layer 1, 2, 3)

Example

SYNC: port 0x0000
l1=0x8147958: port=0x0000, type=BRI, mode=TE, ptp=1, ma=1, act=1, st='ST_L1_IPAC_F7_ACTIVATED'
l2h=0x812c500
l2=0x812d360: tei= 0, uiq=0, iq=0, siq=1, st='ST_L2_70_MULTIPLE_FRAME_ESTABLISHED_NORMAL':
l3h=0x8183eb8: cr_out={ }, cr_in={ }, oq=0, iq=0
l3=0x8189140: cr=( -1, -1), occ=0, ces_m=(nil), hr_m=(nil), hr_s=(nil), st='L3 NULL STATE(U0)'

Description

  • MASTER shows which port currently is used for clock synchronisation
  • l1: information about Layer 1
    - port: specifies the Sirrix.PCI4S0 hardware port
    - type: BRI for basic rate interface, PRI for primary rate interface
    - mode: TE for terminal equipment or NT for network termination
    - ptp: 1 for Point-to-Point or 0 for Point-to-Multipoint
    - ma: 1 if this port may become clock master (master allowed)
    - act: 1 if the Layer 1 has been activated (green LED on card is on)
    - st: current state of the Layer 1 state machine (see Infineon IPAC-X datasheet)
  • l2h: the pointer to the Layer 2 management structure (Layer 2 Head)
  • l2: information about Layer 2 (followed by the memory pointer in hex)
    - tei: assigned TEI (terminal equipment identification)
    - uiq, iq, siq: number of elements in internal queues
    - st: current state of the Layer 2 state machine (see ITU-T Q.921)
  • l3h: information about all Layer 3 of a Layer 2
    - cr_out: list of active outgoing CRs (call references)
    - cr_in: list of active incoming CRs (call references)
    - oq, iq: number of elements in internal queues
  • l3: information about single Layer 3 (followed by the memory pointer in hex)
    - cr: call reference and if it is incoming 1, or outgoing 0
    - occ: 1 if this Layer 3 is currently in use (occupied) by call control
    - ces_m, hr_m and hr_s: memory pointers to other Layer 3 instances that are related to this Layer 3 (CES, Hold Master, Hold Slaved)
    - st: current state of the Layer 3 state machine (see ITU-T Q.931 for state descriptions)



srx list pvts
List all active channels

srx show pvts
Show private info about all active channels

srx show pvt {srxpt}
Show private info about single active channel

srx show timers
Show info about running timers

srx show stats {port}
Show layer 1 statistics for given port

Example

IPAC statistics: port=0000, rab=0, rdo=0, crc=0, vfr=0, rfo=0, xmr=0, xdu=0, slip=0, empty=0, frame=24

Description

  • rab: Receive Message Aborted counter
  • rdo: Receive Data Overflow counter
  • crc: CRC check sum error counter
  • vfr: Invalid Frame counter
  • rfo: Receive Frame Overflow counter
  • xmr: Transmit Message Repeat counter
  • xdu: Transmit Data Underrun counter
  • slip: Slip detected counter (a large amount of slips indicates a synchronisation problem on the S-interface, see "master" setting in sirrix.conf)
  • empty: Empty frame counter
  • frame: Good Frame counter



srx show system
Shows information about the system configuration. This is all available ports on all available cards including firmware version and serial number.





See Also


Previous: Asterisk Dialplan-Applications
Next: Asterisk Channel Variables
Index: Asterisk Sirrix ISDN channels


Created by: sirrix, Last modification: Mon 02 of Apr, 2007 (09:10 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+