From b7392dbd7eda7c833123f88b26c30a3f0ef94f5a Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 17 Oct 2008 15:21:19 +0300 Subject: Implement parsing of the CallServiceError signal --- audio/telephony-maemo.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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, -- cgit