summaryrefslogtreecommitdiff
path: root/src/call.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-02-06 20:00:30 +0100
committerAlfred E. Heggestad <aeh@db.org>2016-02-06 20:00:30 +0100
commit6b7453c0d96f7d67d5058f6c6d081886d50b258d (patch)
tree11cb12d65009ec77d51defe86ae0ea5fdb33ba58 /src/call.c
parent4d03a06a202cd84f2d9a9e8b759184535396a450 (diff)
menu: configurable bell and set incoming ua
- add config "menu_bool yes|no" to control if the incoming call should print Bell escape characters to the terminal - on incoming call, set the current user-agent to the one with the incoming call
Diffstat (limited to 'src/call.c')
-rw-r--r--src/call.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/call.c b/src/call.c
index c4ba16a..1ddb42f 100644
--- a/src/call.c
+++ b/src/call.c
@@ -710,6 +710,8 @@ int call_answer(struct call *call, uint16_t scode)
return EINVAL;
if (STATE_INCOMING != call->state) {
+ info("call: answer: call is not in incoming state (%s)\n",
+ state_name(call->state));
return 0;
}