B-Netz: Add timer for switching back from calling channel

The timer ensures that the paging sequence is sent out by sound card before
switching back to traffic channel
This commit is contained in:
Andreas Eversberg
2016-05-22 14:52:57 +02:00
parent 1ceb3026dd
commit 997f8eda43
2 changed files with 18 additions and 9 deletions

View File

@@ -13,7 +13,8 @@ enum dsp_mode {
enum bnetz_state {
BNETZ_FREI, /* sending 'Gruppenfreisignal' */
BNETZ_WAHLABRUF, /* sending 'Wahlabruf', receiving call setup */
BNETZ_SELEKTIVRUF, /* paging phone */
BNETZ_SELEKTIVRUF_EIN, /* paging phone (switch to calling channel) */
BNETZ_SELEKTIVRUF_AUS, /* paging phone (wait before switching back) */
BNETZ_RUFBESTAETIGUNG, /* waitig for acknowledge from phone */
BNETZ_RUFHALTUNG, /* phone is ringing */
BNETZ_GESPRAECH, /* during conversation */