| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Implement functionality to allow to dial favourites/quick contacts over
bluetooth.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Error conditions were not properly handled
|
|
|
|
| |
Handle the new DialLast method on the voicecallmanager interface
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
status names are more readable then integer values.
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
This caused problems with stricter dbus wrappers such as dbus-c++.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.
|
|
|
|
|
| |
With these macro helpers we can separate in/out arguments and use their
own vector.
|
|
|
|
|
|
|
| |
Constify signal tables with the following command:
find . -name '*.[ch]' -exec \
sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
|
|
|
|
|
|
|
| |
Constify method tables with the following command:
find . -name '*.[ch]' -exec \
sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
AT+CHUP should be able to hang-up active or incoming calls
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
as emulator atom can only run with a 'ready' SIM,
use saved number instead of em_atd_number
|
| |
|
|
|
|
|
| |
This also fixes the case where +BLDN uses an invalid number when the SIM
is removed.
|