summaryrefslogtreecommitdiff
path: root/src/voicecall.c
Commit message (Collapse)AuthorAgeFilesLines
* voicecall: Make sure SIM ecc numbers are always readIvaylo Dimitrov2022-09-191-12/+28
| | | | | | | | | | It might happen that by the time ofono_voicecall_register() is called, SIM is already in OFONO_SIM_STATE_READY state so SIM emergency numbers are never read. Fix that by adding code that reads emergency numbers even in the above case. Also, make sure ECC file watch is properly removed and sim_context is free()-ed.
* treewide: Introduce support for missing g_memdup2Marcel Holtmann2021-05-051-0/+1
|
* treewide: Replace g_memdup with g_memdup2Marcel Holtmann2021-04-281-1/+1
|
* core: Quiet warning about strncpy useDenis Kenzior2019-05-161-1/+1
|
* voicecall: Fix possible crashDenis Kenzior2019-04-301-0/+3
|
* voicecall: Implement ofono_voicecall_get_modemSlava Monich2018-06-251-0/+5
|
* voicecall: Add memory location dialingPhilippe De Swert2018-02-131-7/+56
| | | | | Implement functionality to allow to dial favourites/quick contacts over bluetooth.
* voicecall: Rename hfp dialing functionsPhilippe De Swert2018-02-131-3/+3
| | | | | | | Calling from memory index is very similar in functionality to dialing the last called number. So we rename the functions so we can reuse them, to deal with memory index calling. Function names now also reflect this is for hfp.
* voicecall: Fix issue with invalid dbus pathPhilippe De Swert2017-12-081-0/+1
| | | | | | | | | | Fix an error message from dbus about the path supplied not being valid. Related to commit f58e7685b0078df470300b99cd89fb9b3c45d1c0 ofonod[19107]: src/voicecall.c:voicecall_dial_shortcut() check position ofonod[19107]: src/voicecall.c:synthesize_outgoing_call() Registering new call: 1 process 19107: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_path (*string_p)" failed in file ../../../dbus/dbus-message.c line 2759. This is normally a bug in some application using the D-Bus library.
* voicecall: Fix up dial_last_callback error pathsDenis Kenzior2017-11-031-12/+16
| | | | Error conditions were not properly handled
* voicecallmanager: Handle last number dialled DBUS callPhilippe De Swert2017-11-031-0/+87
| | | | Handle the new DialLast method on the voicecallmanager interface
* voicecall: expand synthesize_outgoing_callDenis Kenzior2017-10-261-19/+20
| | | | | | | | | | synthethize_outgoing_call was only used once from dial_handle_result. So move all the logic of registering the call to D-Bus and adding it to the voicecalls list to that function. This will allow synthethize_outgoing_call to be used from other callbacks where the dial callback is guaranteed to return before any call state notifications, e.g. in the case of +BLDN.
* voicecall: use ofono_call_status_name in DBG messagesAlexander Couzens2017-09-071-3/+4
| | | | status names are more readable then integer values.
* voicecall,common: move call_status_to_string() to commonAlexander Couzens2017-09-071-20/+0
| | | | | | call_status_to_string() is useful for debug output. Change signature to contain enum call_status Replace default case to get compiler warning when new enums added
* voicecall: Reword fall through statement to avoid compiler warningMarcel Holtmann2017-07-111-3/+4
|
* voicecall: Use g_slist_free_fullJohn Ernberg2016-04-221-5/+2
|
* voicecall: limit g_drivers variable exposureJohn Ernberg2016-04-221-1/+1
|
* voicecall: fix CreateMultiparty method introspectionJohn Ernberg2016-04-221-1/+1
| | | | This caused problems with stricter dbus wrappers such as dbus-c++.
* voicecall: don't dereference a supplied null valueSimon Fels2015-11-291-3/+12
| | | | | | | | When the voicecall atom is unregistered we remove all HFP support as well but were supplying a zero as value to the emulator status callbacks which caused the process to crash as we were dereferencing the supplied value always and not respecting a zero as indicator to reset.
* voicecall: Don't accept USSD strings in Dial()Denis Kenzior2015-08-061-0/+3
|
* emulator: Improve SLC establishment logicDenis Kenzior2014-10-201-0/+4
|
* voicecall: Implement ofono_voicecall_mpty_hintDenis Kenzior2013-09-121-0/+40
|
* voicecall: Add extra debug infoDenis Kenzior2012-11-281-0/+3
|
* voicecall: Fix crashDenis Kenzior2012-11-281-4/+7
|
* voicecall: Handle RESETTING sim stateDenis Kenzior2012-11-221-0/+1
|
* voicecall: Accept long phone number format for STKPhilippe Nunes2012-09-051-1/+1
|
* voicecall: Implement ReleaseAndSwapDenis Kenzior2012-08-051-0/+23
|
* voicecall: Avoid shadowing of number variableMarcel Holtmann2012-07-151-2/+2
|
* voicecall: Remove shadowing modem variableMarcel Holtmann2012-07-151-5/+1
|
* Do not set signature and reply in GDBus tablesLucas De Marchi2012-05-201-35/+29
| | | | | Use GDBUS_* macros, so signature and reply fields are not set in each method/signal.
* Convert GDBus methods to use macro helpersLucas De Marchi2012-05-201-36/+53
| | | | | With these macro helpers we can separate in/out arguments and use their own vector.
* Constify GDBus signal tablesHenrique Dante de Almeida2012-05-201-2/+2
| | | | | | | Constify signal tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
* Constify GDBus method tablesHenrique Dante de Almeida2012-05-201-2/+2
| | | | | | | Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
* voicecall: Force callheld update after calls swapFrédéric Danis2012-03-201-4/+72
| | | | | In HFP spec, a callheld indicator update should be sent after swapping calls, even if it stays to 1 (AG has both active and held calls).
* voicecall: Improve transitions checkFrédéric Danis2012-03-131-12/+17
| | | | | | | | | Indicators should not be updated if: - multiple separate calls are active at same time - a conf call and a call are active at same time - multiple separate calls are held at same time - a conf call and a call are held at same time - a conf call has call in active and held state
* voicecall: Don't set indicators during transitionsDenis Kenzior2012-03-071-0/+13
|
* voicecall: Fix emulator AT+CHUP for HFPFrédéric Danis2012-02-091-1/+2
| | | | AT+CHUP should be able to hang-up active or incoming calls
* voicecall: Use __ofono_atom_findDenis Kenzior2012-01-181-6/+3
|
* voicecall: Make emulator use release_queueDenis Kenzior2011-10-121-18/+11
|
* voicecall: Fix HangupAll for HFPDenis Kenzior2011-10-121-5/+38
| | | | | | | HFP does not implement HangupAll natively and most AGs do not support releasing held calls by id. Work around this by using hangup active and then dropping all held calls if no waiting calls exist. Otherwise fall back to releasing calls by id.
* core: Update copyright informationMarcel Holtmann2011-10-101-1/+1
|
* voicecall: Relax reqs for hangup of held callsDenis Kenzior2011-08-181-1/+3
| | | | | | | If we have a single held call, then it should be possible to hang it up with 'Hangup' even if active calls exist. Only if multiple held calls or a waiting call exists should we disallow the request due to possible side-effects.
* voicecall: Move stuff aroundDenis Kenzior2011-08-181-48/+48
|
* emulator: fix indicator notificationFrédéric Danis2011-08-151-11/+0
|
* voicecall: Be more paranoid and null terminateDenis Kenzior2011-07-251-1/+4
|
* voicecall: Use defined constantsDenis Kenzior2011-07-251-3/+3
|
* voicecall: api for set/clear alpha and icon idJeevaka Badrappan2011-07-251-0/+65
|
* voicecall: remove usage of em_atd_numberFrédéric Danis2011-07-211-10/+9
| | | | | as emulator atom can only run with a 'ready' SIM, use saved number instead of em_atd_number
* voicecall: Free settings when sim gets locked outDenis Kenzior2011-07-191-1/+2
|
* voicecall: close settings when SIM is removedFrédéric Danis2011-07-191-0/+3
| | | | | This also fixes the case where +BLDN uses an invalid number when the SIM is removed.