1561e613e1
- /debug/ring?number=NN arms incoming call, starts ring - conversation_arm_incoming() + enter_incoming_greet() - offhook with armed call skips dial/ringback, goes to GREET - slic_is_offhook() used during ring (GPIO debounce unreliable) - CAPTURE_SILENCE_MS 800->600 ms, settles 250->120, 200->100 ms
11 lines
396 B
C
11 lines
396 B
C
#pragma once
|
|
#include <stdbool.h>
|
|
|
|
void conversation_init(void);
|
|
void conversation_on_hook_change(bool offhook);
|
|
|
|
/* Arm an INCOMING call from NPC persona `number` and start ringing. When the
|
|
* handset is picked up from idle, the conversation jumps straight to the
|
|
* greeting (persona speaks first) instead of the outgoing dial-tone path. */
|
|
void conversation_arm_incoming(const char *number);
|