C-Netz: Add tiny database to track if phones are online
Reject calls, if not online. Use an interval to check if the phones are still online.
This commit is contained in:
5
src/cnetz/database.h
Normal file
5
src/cnetz/database.h
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
void update_db(cnetz_t *cnetz, uint8_t futln_nat, uint8_t futln_fuvst, uint16_t futln_rest, int busy, int failed);
|
||||
int find_db(uint8_t futln_nat, uint8_t futln_fuvst, uint16_t futln_rest);
|
||||
void flush_db(void);
|
||||
|
Reference in New Issue
Block a user