diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2018-07-03 15:00:14 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2018-10-16 17:09:21 +0000 |
commit | b2d859e37084099295cb96725e7e9f03b81dc84f (patch) | |
tree | 0b7c1aef4406230f7807810c8c1ba2df53c8c98f /src/mm-base-call.c | |
parent | 887376fe4467da7a18b8e008537493512adb9fcb (diff) |
base-call: treat 'ringing-in' as an in-call state
So that we setup in-call events as soon as we get the incoming call
ringing in. This allows us to have plugin-specific implementations
e.g. reporting call termination when the remote caller hangs up.
Diffstat (limited to 'src/mm-base-call.c')
-rw-r--r-- | src/mm-base-call.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-base-call.c b/src/mm-base-call.c index ae84afa6..c0fada6e 100644 --- a/src/mm-base-call.c +++ b/src/mm-base-call.c @@ -673,6 +673,7 @@ mm_base_call_get_path (MMBaseCall *self) /* Define the states in which we want to handle in-call events */ #define MM_CALL_STATE_IS_IN_CALL(state) \ (state == MM_CALL_STATE_DIALING || \ + state == MM_CALL_STATE_RINGING_IN || \ state == MM_CALL_STATE_RINGING_OUT || \ state == MM_CALL_STATE_ACTIVE) |