diff --git a/audio/headset.c b/audio/headset.c
index 33c3d85..7e68746 100644
--- a/audio/headset.c
+++ b/audio/headset.c
return 0;
}
+static int apple_command(struct audio_device *device, const char *buf)
+{
+ DBG("Got Apple command: %s", buf);
+
+ return telephony_generic_rsp(device, CME_ERROR_NONE);
+}
+
static struct event event_callbacks[] = {
{ "ATA", answer_call },
{ "ATD", dial_number },
{ "AT+COPS", operator_selection },
{ "AT+NREC", nr_and_ec },
{ "AT+BVRA", voice_dial },
+ { "AT+XAPL", apple_command },
+ { "AT+IPHONEACCEV", apple_command },
{ 0 }
};