diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-17 16:59:40 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-17 16:59:40 +0300 |
commit | 7c9e18eb90954f7534dedb9cfaa55dd1180edc0a (patch) | |
tree | efa1e570c21a5290e2e1521d9a33de19ec1909c1 /audio/telephony-dummy.c | |
parent | dba1d9703c58940f0ed9ba7615380c9feb7dbcdb (diff) |
Implement better support for AT+CHLD=<n>
Diffstat (limited to 'audio/telephony-dummy.c')
-rw-r--r-- | audio/telephony-dummy.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c index 8b3f105d..66873b65 100644 --- a/audio/telephony-dummy.c +++ b/audio/telephony-dummy.c @@ -36,6 +36,7 @@ #include "logging.h" #include "telephony.h" +static const char *chld_str = "0,1,1x,2,2x,3,4"; static char *subscriber_number = NULL; static char *active_call_number = NULL; static int active_call_status = 0; @@ -183,6 +184,12 @@ void telephony_operator_selection_req(void *telephony_device) telephony_operator_selection_rsp(telephony_device, CME_ERROR_NONE); } +void telephony_call_hold_req(void *telephony_device, const char *cmd) +{ + debug("telephony-dymmy: got call hold request %s", cmd); + telephony_call_hold_rsp(telephony_device, CME_ERROR_NONE); +} + /* D-Bus method handlers */ static DBusMessage *outgoing_call(DBusConnection *conn, DBusMessage *msg, void *data) @@ -376,7 +383,8 @@ int telephony_init(void) dummy_methods, NULL, NULL, NULL, NULL); - telephony_ready_ind(features, dummy_indicators, response_and_hold); + telephony_ready_ind(features, dummy_indicators, response_and_hold, + chld_str); return 0; } |