# FIFO Interface

The module allows dumping the current configuration as well as dispatcher list reloading via the FIFO interface.

There are two FIFO commands to use with dispatcher.

- dispatcher.dump - dump the current dispatcher sets

- dispatcher.reload - reload the dispatcher list text file

## Dumping the current configuration

The command dispatcher.dump can be used to dump the currently deployed dispatcher list in the SER internal notation.

### dumping the active dispatcher list

    # sercmd dispatcher.dump
    flags: DI_MAX_SETS: 16 DI_MAX_NODES: 16 DI_MAX_URILEN: 256
    Active dispatcher list: 0
    Set '0'
      node  0 sip:10.1.1.1:5060
      node  1 sip:10.1.1.2:5060
      node  2 sip:10.1.1.3:5060
      node  3 sip:10.1.1.4:5060
    Set '1' is empty
    Set '2' is empty
    Set '3' is empty
    Set '4' is empty
    Set '5' is empty
    Set '6' is empty
    Set '7' is empty
    Set '8' is empty
    Set '9' is empty
    Set '10' is empty
    Set '11' is empty
    Set '12' is empty
    Set '13' is empty
    Set '14' is empty
    Set '15' is empty

    End of dispatcher list
    #

## Reloading the dispatcher list

The command dispatcher.reload can be used to update the dispatcher list while running SER.

### Reloading the dispatcher list

    # sercmd fifo dispatcher.reload
    dispatcher list 1 activated
    #