From d7d7c1ec46c07b6c543474cab76873af224387d4 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 13 May 2009 18:04:38 +0300 Subject: Fix phone number quoting for CLCC --- audio/headset.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'audio') diff --git a/audio/headset.c b/audio/headset.c index 8ab63ec5..d2735a64 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -2731,9 +2731,8 @@ int telephony_list_current_call_ind(int idx, int dir, int status, int mode, if (number) send_foreach_headset(active_devices, hfp_cmp, - "\r\n+CLCC: %d,%d,%d,%d,%d,%s,%d\r\n", - idx, dir, status, mode, mprty, - number, type); + "\r\n+CLCC: %d,%d,%d,%d,%d,\"%s\",%d\r\n", + idx, dir, status, mode, mprty, number, type); else send_foreach_headset(active_devices, hfp_cmp, "\r\n+CLCC: %d,%d,%d,%d,%d\r\n", -- cgit v1.2.3