Aleksander Morgado
7a7fddc931
libmm-glib,docs: update types
...
# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS = --rebuild-types
2015-08-02 12:02:32 +02:00
Aleksander Morgado
4043edfd17
libmm-glib,docs: avoid already defined id
...
DOC Building HTML
../libmm-glib-docs.xml:6: element indexdiv: validity error : ID api-index-full already defined
DOC Fixing cross-references
2015-08-02 12:02:32 +02:00
Aleksander Morgado
c4c3afa865
libmm-glib,call: add missing 'dtmf' variable description
2015-08-02 12:02:32 +02:00
Aleksander Morgado
6fbed014db
docs,libmm-glib: add missing voice/call documentation
2015-08-02 12:02:32 +02:00
Aleksander Morgado
d0b0c3c3e5
api,call: fix Hangup() description
...
There's no MM_CALL_DIRECTION_TERMINATED enum; plus, anyway, hangup() should be
allowed regardless the direction.
2015-08-02 11:06:01 +02:00
Aleksander Morgado
fcf54bd8b2
huawei: plug memleak
2015-08-02 10:49:14 +02:00
Aleksander Morgado
d1dab38a06
api,call: minor documentation fix
2015-08-02 10:46:37 +02:00
Aleksander Morgado
c55fcab3b3
mmcli,call: minor alignment and message fixes
2015-08-02 10:45:17 +02:00
Marco Bascetta
f6779d60fe
huawei,voice: ignore undocumented ^CSCHANNELINFO unsolicited command
...
This command is sent by Huawei ME909s-120 with firmware 23.613.61.00.00
2015-08-02 10:39:48 +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
2ac5d620c4
libmm-glib,cli: Replaced 'list call' with 'list calls'
2015-08-02 10:39:48 +02:00
Aleksander Morgado
9f3801df3f
core,voice: remove explicit "NO CARRIER" response matching
...
This response is already managed by the generic AT serial port and translates
it into a proper error. This change also avoids the Call.Start() call to report
a timeout in the serial port, instead we get a proper no-carrier error.
Before:
$ sudo mmcli -m 0 --voice-create-call="number=12345678"
Successfully created new call:
/org/freedesktop/ModemManager1/Call/1 outgoing (unknown)
$ sudo mmcli -o 1 --start
error: couldn't start the call: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Serial.ResponseTimeout: Serial command timed out'
After:
$ sudo mmcli -m 0 --voice-create-call="number=12345678"
Successfully created new call:
/org/freedesktop/ModemManager1/Call/1 outgoing (unknown)
$ sudo mmcli -o 1 --start
error: couldn't start the call: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Connection.NoCarrier: No carrier'
2015-08-02 10:39:48 +02:00
Aleksander Morgado
b600e6c9ce
mmcli,voice: align values of printed Call parameters
2015-08-02 10:39:48 +02:00
Aleksander Morgado
d5bc19f7db
policy: fix minor typo
2015-08-02 10:39:48 +02:00
Aleksander Morgado
69585b1374
polkit: added Voice policy rule
2015-08-02 10:39:48 +02:00
Aleksander Morgado
6ca7c49d80
docs,api: add missing links to the new Voice interface and Call object
2015-08-02 10:39:48 +02:00
Aleksander Morgado
394bf91032
mmcli,voice: fix minor typo
2015-08-02 10:39:48 +02:00
Aleksander Morgado
a6adf04102
docs,voice: add missing voice related enum values
2015-08-02 10:39:48 +02:00
Aleksander Morgado
e75d888b51
core,voice: minor coding style fixes
2015-08-02 10:39:48 +02:00
Aleksander Morgado
61562fbe8b
huawei,voice: minor coding style fixes
2015-08-02 10:39:48 +02:00
Aleksander Morgado
d00fe0d628
libmm-glib,voice: minor coding style fixes
2015-08-02 10:39:47 +02:00
Aleksander Morgado
ca88d6333f
api,voice: minor coding style fixes
2015-08-02 10:39:47 +02:00
Aleksander Morgado
c0e05dbd43
cli,voice: minor coding style fixes
2015-08-02 10:39:47 +02:00
Marco Bascetta
f67cc37956
iface-modem-voice: cleaned error debug messages
2015-08-02 10:39:47 +02:00
Marco Bascetta
8242a991dc
huawei: fixed status_change reason on new outgoing call
2015-08-02 10:39:47 +02:00
Marco Bascetta
915e0e7422
huawei: signal incoming DTMF to DBus
2015-08-02 10:39:47 +02:00
Marco Bascetta
4a13bc8fec
mmcli: added --send-tone option
2015-08-02 10:39:47 +02:00
Marco Bascetta
9874f10e1f
base-call,iface-modem-voice:: handle DTMF
2015-08-02 10:39:47 +02:00
Marco Bascetta
8edead9193
api,voice: added DTMF interface specification
2015-08-02 10:39:47 +02:00
Riccardo Vangelisti
40fae5fcba
base-call: refactoring of error handling when call starts
2015-08-02 10:39:47 +02:00
Marco Bascetta
bf416045df
huawei: acquire incoming DTMF on active call
2015-08-02 10:39:47 +02:00
Riccardo Vangelisti
be09f500bd
huawei: added proprietary Huawei call handling
2015-08-02 10:39:47 +02:00
Marco Bascetta
3b5e433241
mmcli: set call-start timeout to 2 minutes
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
Riccardo Vangelisti
5a281dbd34
base-call: created an unique function to switch call's state and reason
2015-08-02 10:39:47 +02:00
Marco Bascetta
65a64c9248
core: set number of incoming call
2015-08-02 10:39:47 +02:00
Marco Bascetta
ae72922031
huawei: handle custom voice unsolicited events
2015-08-02 10:39:45 +02:00
Riccardo Vangelisti
94c8371076
base-call: fixed bug when hangup call.
...
Ok, busy and no carrier messages are handled by serial-parser.
2015-08-02 10:39:13 +02:00
Marco Bascetta
6d85146bba
core: handle incoming calls (RING/CRING, CLIP, NO CARRIER).
2015-08-02 10:39:13 +02:00
Riccardo Vangelisti
c53bc10092
base-call: added deletion of a specified call
2015-08-02 10:39:12 +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
5c9e2488bf
build: added voice call include in libmm-glib and modified Makefile.am
2015-08-02 10:39:12 +02:00
Riccardo Vangelisti
5c446c3f43
broadband-modem: added voice call support
2015-08-02 10:39:12 +02:00
Riccardo Vangelisti
886e2963df
core: implemented MMIfaceModemVoice interface
2015-08-02 10:39:12 +02:00
Riccardo Vangelisti
ec5c539f55
core: implemented new MMBaseCall object
2015-08-02 10:39:12 +02:00
Riccardo Vangelisti
c3bec1537b
mmcli: added Modem.Voice and Call support
2015-08-02 10:39:12 +02:00
Riccardo Vangelisti
0bf4ad6b66
libmm-glib: added support for Modem.Voice and Call interfaces
2015-08-02 10:39:12 +02:00
Riccardo Vangelisti
0feb4acef4
api: added Modem.Voice and Call interfaces for voice call handling
2015-08-02 10:39:12 +02:00
Aleksander Morgado
0337781ba7
base-manager: plug memleak
...
Don't g_strdup() the physdev string to store it in the hash table; instead store
the original string right away as it is already created with g_strdup_printf().
Reported by: Yunlian Jiang <yunlian@chromium.org >
https://code.google.com/p/chromium/issues/detail?id=515929
2015-08-02 09:03:20 +02:00
Dan Williams
9b051b14ed
iface-modem: don't check the cache when asking for required unlocks
...
When passing known_lock=UNKNOWN to mm_iface_modem_update_lock_info()
we actually do want to ask the modem itself for locks instead of
checking the cache. For example, when an unknown error is returned
after performing PIN/PUK operations, the cache value may well be
NONE if that was the prior lock state, and that bypasses the modem
which might now be locked. Thus the state gets messed up.
Reproducer is to send 'ChangePin' with the wrong "old" PIN 3 times,
then send a wrong PUK. No error was returned from mmcli and
the modem's lock state was shown as 'none'.
2015-07-20 12:24:22 -05:00