summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-17 15:21:19 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-08 16:10:56 +0200
commitb7392dbd7eda7c833123f88b26c30a3f0ef94f5a (patch)
tree3a8103cc37e7c89b41634a4d9a9959650231f824
parentc9e1eb85478671d1d4ef83144432548329d92518 (diff)
Implement parsing of the CallServiceError signal
-rw-r--r--audio/telephony-maemo.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c
index 00f0a2f2..8cc48ea0 100644
--- a/audio/telephony-maemo.c
+++ b/audio/telephony-maemo.c
@@ -512,6 +512,16 @@ static void handle_call_status(DBusMessage *msg, const char *call_path)
static void handle_call_error(DBusMessage *msg, const char *call_path)
{
+ uint8_t type, code;
+
+ if (!dbus_message_get_args(msg, NULL,
+ DBUS_TYPE_BYTE, &type,
+ DBUS_TYPE_BYTE, &code)) {
+ error("Unexpected parameters to CallServiceError");
+ return;
+ }
+
+ debug("telephony-maemo: CallServiceError(%u, %u)", type, code);
}
static DBusHandlerResult csd_signal_filter(DBusConnection *conn,