Result codes.
These constants give an idea of what a channel is doing now, or what has gone wrong with what it was instructed to do.
- LSR_INIT
- A modem or other line hardware is being initialised.
- LSR_OK
- Everything is in order.
- LSR_RING
- An incoming call is being detected.
- LSR_ANSWER
- Answering an incoming call.
- LSR_LOGIN
- Call connected, a user is logging in.
- LSR_USER
- There is a user occupying this channel.
- LSR_FAIL
- Hardware initialisation has failed on this channel.
- LSR_RELOGON
- A user is re-logging in without disconnecting.
- LSR_LOGOUT
- A user has just logged out and bbsgetty is respawning.
- LSR_METABBS
- A user who hasn't yet logged in is using the MetaBBS client to access another system.
- LSR_INTERBBS
- Another BBS is using this line for networking.
The last two result codes are only available when MetaBBS is compiled in.