Commit Graph

19 Commits

Author SHA1 Message Date
Joel Selvaraj
82054410e2 call-list: allow getting call object by index 2021-08-02 13:11:29 +00:00
Aleksander Morgado
de2c24ec44 call-list: allow getting call object by DBus path 2019-07-11 23:21:00 +02:00
Aleksander Morgado
8d267228cf call-list: allow iterating elements 2019-07-11 23:00:50 +02:00
Aleksander Morgado
d9a7b403ee iface-modem-voice: allow creating incoming calls in waiting state 2019-07-11 23:00:50 +02:00
Aleksander Morgado
fc0feee654 huawei,call: handle in-call URCs in the call object itself
Instead of handling the URCs in the modem object and using the
MMIfaceModem as a bridge to report the status read from the URC to a
call obtained from the MMCallList... just handle the URCs in the call
object itself.
2018-10-16 17:09:21 +00:00
Aleksander Morgado
bd3b5aca01 base-call: automatically terminate unanswered incoming calls
Try to automatically detect when the caller finishes the attempt to
establish the call.
2018-10-16 17:09:21 +00:00
Aleksander Morgado
60d42de68e base-call: no need to delete call info from the device
Call information only lives in the ModemManager logic, there is no
associated date stored within the device itself. Therefore, simplify
everything by assuming there is nothing to remove.

Looks like this logic was implemented because it was originally based
on the SMS management logic, but for SMS we do have to remove
them (the stored PDU parts) from the device.
2018-10-16 17:09:21 +00:00
Aleksander Morgado
a6101a8532 call-list: coding style fixes 2018-06-11 18:06:38 +02:00
Ben Chan
838173d50f call-list: remove unused variables 2017-08-03 12:19:37 +02:00
Ben Chan
0657914ebb call-list: fix mm_call_list_delete_call to use g_task_report_new_error
Commit a08064492 ("call-list: port mm_call_list_delete_call to use GTask")
ported most of the mm_call_list_delete_call code to use GTask, but missed a
g_simple_async_report_error_in_idle calls, which can potentially lead to
an incorrect G_TASK cast in mm_call_list_delete_call_finish.
2017-07-18 10:33:00 +02:00
Ben Chan
a080644924 call-list: port mm_call_list_delete_call to use GTask 2017-04-07 10:43:32 +02:00
Ben Chan
27e4c74c60 core: reset GList pointers to NULL when necessary
When calling g_list_free_full() to free a GList in dispose(), it is
necessary to reset the GList pointer to NULL as dispose() may be called
more than once.
2017-03-29 10:22:37 +02:00
Ben Chan
9823d9d6f6 core: remove explicit GDestroyNotify cast on g_free / g_object_unref
g_free and g_object_unref are in form of  `void (*)(gpointer)`, which
matches the GDestroyNotify signature. An explicit GDestroyNotify cast on
g_free and g_object_unref is thus not needed.
2017-03-29 10:22:05 +02:00
Marco Bascetta
74325b547a core,libmm-glib,cli,voice: Replaced 'SendTone' method and 'ToneReceived' signal with 'SendDtmf' and 'DtmfReceived' 2015-08-02 10:39:48 +02:00
Marco Bascetta
9874f10e1f base-call,iface-modem-voice:: handle DTMF 2015-08-02 10:39:47 +02:00
Marco Bascetta
55ae2c7f2f huawei: handle voice call state changes 2015-08-02 10:39:47 +02:00
Marco Bascetta
6d85146bba core: handle incoming calls (RING/CRING, CLIP, NO CARRIER). 2015-08-02 10:39:13 +02:00
Riccardo Vangelisti
ecbd146d5a fixes: added voice support in libmm-glib MMManager, also fixed wrong number of parameters in mm-call-list class init 2015-08-02 10:39:12 +02:00
Riccardo Vangelisti
ec5c539f55 core: implemented new MMBaseCall object 2015-08-02 10:39:12 +02:00