Hi, >-----Original Message----- >From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of >Pekka Pessi >Sent: Wednesday, November 10, 2010 8:33 PM >To: ofono(a)ofono.org >Subject: Re: Can I modify CallingLineRestriction(the Property of CallSetting) value to >"disabled" or "enabled" > >Hi all, > >2010/11/10 Gu, Yang : >>>According to your tip , I tried to set "HideCallerId" to "default", "disabled" and >>>"enabled", and I can verify by run list-modem script that "HideCallerId" had been >>>modified . but I still could find phone number on both called party and calling party , >>>regardless the value of  "HideCallerId" is what. >>> >>>How can I let phone number be withheld on incoming at called party , when I make >a >>>voice call. >> >> I think the reason is your operator doesn't provide this supplementary service. >Below is my log when enable the "HideCallerId". I couldn't enable this feature either. >> >> ofonod[17734]: PCUI: > AT+CLIR=1\r >> ofonod[17734]: PCUI: < \r\nOK\r\n >> ofonod[17734]: PCUI: > AT+CLIR?\r >> ofonod[17734]: PCUI: < \r\n+CLIR: 1,0\r\n\r\nOK\r\n >> ofonod[17734]: drivers/atmodem/call-settings.c:clir_query_cb() clir_query_cb: >override: 1, network: 0 > >What happens when you make a call? Does call get rejected or do you >get some CSSU indications? Thank you for the comments! After setting HideCallerId to "enabled", and making an outgoing call, the call arrived at another phone as normal, and I didn't see any CSSU indication. The call settings are listed below, in which the CallingLineRestriction is always disabled. I think this means the network disables this feature. I also confirmed with our operator (CMCC), and they said they don't support CLIR. [ org.ofono.CallSettings ] CalledLineRestriction = unknown HideCallerId = enabled CallingLinePresentation = enabled CalledLinePresentation = disabled VoiceCallWaiting = enabled CallingLineRestriction = disabled > >Yang and Haitao, please set HideCallerId to "disabled", try to make >call, then set HideCallerId to "enabled", try to make a call, and >perhaps also try to make call with test/dial-number number enabled and >test/dial-number disabled and then post the results. Below are the detailed logs. It looks all the same for different scenarios: ********************************* Set HideCallerId to "disabled" ./test-voicecall 13917758428 ********************************* ofonod[8291]: PCUI: > ATD13917758428;\r ofonod[8291]: PCUI: < \r\nOK\r\n\r\n^ORIG:1,0\r\n ofonod[8291]: src/voicecall.c:dial_handle_result() Registering new call: 1 ofonod[8291]: src/audio-settings.c:ofono_audio_settings_active_notify() active 1 ofonod[8291]: Call origin: id 1 type 0 ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 2, id: 1, number: ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Found call with id: 1 ofonod[8291]: PCUI: > AT^DDSETEX=2\r ofonod[8291]: PCUI: < \r\nOK\r\n ofonod[8291]: PCUI: < \r\n^CONF:1\r\n ofonod[8291]: Call setup: id 1 ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 3, id: 1, number: ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Found call with id: 1 ofonod[8291]: PCUI: < \r\n^RSSI:28\r\n ofonod[8291]: PCUI: < \r\n^RSSI:31\r\n ofonod[8291]: PCUI: < \r\n^BOOT:20294233,0,0,0,20\r\n ofonod[8291]: PCUI: < \r\n^RSSI:29\r\n ofonod[8291]: PCUI: < \r\n^CEND:1,0,104,31\r\n ofonod[8291]: src/audio-settings.c:ofono_audio_settings_active_notify() active 0 ofonod[8291]: Call end: id 1 duration 0s status 104 ofonod[8291]: src/voicecall.c:ofono_voicecall_disconnected() Got disconnection event for id: 1, reason: 0 ofonod[8291]: Call Ended on modem: 0xa0a01a0 ofonod[8291]: Voice Call, Outgoing ofonod[8291]: To: 13917758428 ofonod[8291]: StartTime: 2010-11-11T10:15:16+0800 ofonod[8291]: EndTime: 2010-11-11T10:15:57+0800 ofonod[8291]: PCUI: < \r\n^MODE:3,3\r\n ofonod[8291]: PCUI: < \r\n^BOOT:20294233,0,0,0,20\r\n ********************************* Set HideCallerId to "enabled" ./test-voicecall 13917758428 ********************************* ofonod[8291]: PCUI: > ATD13917758428;\r ofonod[8291]: PCUI: < \r\nOK\r\n\r\n^ORIG:1,0\r\n ofonod[8291]: src/voicecall.c:dial_handle_result() Registering new call: 1 ofonod[8291]: src/audio-settings.c:ofono_audio_settings_active_notify() active 1 ofonod[8291]: Call origin: id 1 type 0 ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 2, id: 1, number: ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Found call with id: 1 ofonod[8291]: PCUI: > AT^DDSETEX=2\r ofonod[8291]: PCUI: < \r\nOK\r\n ofonod[8291]: PCUI: < \r\n^CONF:1\r\n ofonod[8291]: Call setup: id 1 ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 3, id: 1, number: ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Found call with id: 1 ofonod[8291]: PCUI: < \r\n^RSSI:26\r\n ofonod[8291]: PCUI: < \r\n^RSSI:21\r\n ofonod[8291]: PCUI: < \r\n^BOOT:20294233,0,0,0,20\r\n ofonod[8291]: PCUI: < \r\n^RSSI:18\r\n ofonod[8291]: PCUI: < \r\n^CEND:1,0,104,31\r\n ofonod[8291]: src/audio-settings.c:ofono_audio_settings_active_notify() active 0 ofonod[8291]: Call end: id 1 duration 0s status 104 ofonod[8291]: src/voicecall.c:ofono_voicecall_disconnected() Got disconnection event for id: 1, reason: 0 ofonod[8291]: Call Ended on modem: 0xa0a01a0 ofonod[8291]: Voice Call, Outgoing ofonod[8291]: To: 13917758428 ofonod[8291]: StartTime: 2010-11-11T10:13:39+0800 ofonod[8291]: EndTime: 2010-11-11T10:14:19+0800 ofonod[8291]: PCUI: < \r\n^MODE:3,3\r\n ofonod[8291]: PCUI: < \r\n^RSSI:31\r\n ofonod[8291]: PCUI: < \r\n^BOOT:20294233,0,0,0,20\r\n ********************************* ./dial-number 13917758428 enabled ********************************* ofonod[8291]: PCUI: > ATD13917758428I;\r ofonod[8291]: PCUI: < \r\nOK\r\n ofonod[8291]: src/voicecall.c:dial_handle_result() Registering new call: 1 ofonod[8291]: PCUI: < \r\n^ORIG:1,0\r\n ofonod[8291]: src/audio-settings.c:ofono_audio_settings_active_notify() active 1 ofonod[8291]: Call origin: id 1 type 0 ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 2, id: 1, number: ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Found call with id: 1 ofonod[8291]: PCUI: > AT^DDSETEX=2\r ofonod[8291]: PCUI: < \r\nOK\r\n ofonod[8291]: PCUI: < \r\n^CONF:1\r\n ofonod[8291]: Call setup: id 1 ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 3, id: 1, number: ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Found call with id: 1 ofonod[8291]: PCUI: < \r\n^RSSI:28\r\n ofonod[8291]: PCUI: < \r\n^RSSI:23\r\n ofonod[8291]: PCUI: < \r\n^BOOT:20294233,0,0,0,20\r\n ofonod[8291]: PCUI: < \r\n^CEND:1,0,104,31\r\n ofonod[8291]: src/audio-settings.c:ofono_audio_settings_active_notify() active 0 ofonod[8291]: Call end: id 1 duration 0s status 104 ofonod[8291]: src/voicecall.c:ofono_voicecall_disconnected() Got disconnection event for id: 1, reason: 0 ofonod[8291]: Call Ended on modem: 0xa0a01a0 ofonod[8291]: Voice Call, Outgoing ofonod[8291]: To: 13917758428 ofonod[8291]: StartTime: 2010-11-11T10:18:13+0800 ofonod[8291]: EndTime: 2010-11-11T10:18:55+0800 ofonod[8291]: PCUI: < \r\n^MODE:3,3\r\n ofonod[8291]: PCUI: < \r\n^RSSI:31\r\n ********************************* ./dial-number 13917758428 disabled ********************************* ofonod[8291]: PCUI: > ATD13917758428i;\r ofonod[8291]: PCUI: < \r\nOK\r\n\r\n^ORIG:1,0\r\n ofonod[8291]: src/voicecall.c:dial_handle_result() Registering new call: 1 ofonod[8291]: src/audio-settings.c:ofono_audio_settings_active_notify() active 1 ofonod[8291]: Call origin: id 1 type 0 ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 2, id: 1, number: ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Found call with id: 1 ofonod[8291]: PCUI: > AT^DDSETEX=2\r ofonod[8291]: PCUI: < \r\nOK\r\n ofonod[8291]: PCUI: < \r\n^CONF:1\r\n ofonod[8291]: Call setup: id 1 ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 3, id: 1, number: ofonod[8291]: src/voicecall.c:ofono_voicecall_notify() Found call with id: 1 ofonod[8291]: PCUI: < \r\n^RSSI:23\r\n ofonod[8291]: PCUI: < \r\n^RSSI:20\r\n ofonod[8291]: PCUI: < \r\n^BOOT:20294233,0,0,0,20\r\n ofonod[8291]: PCUI: < \r\n^CEND:1,0,104,31\r\n ofonod[8291]: src/audio-settings.c:ofono_audio_settings_active_notify() active 0 ofonod[8291]: Call end: id 1 duration 0s status 104 ofonod[8291]: src/voicecall.c:ofono_voicecall_disconnected() Got disconnection event for id: 1, reason: 0 ofonod[8291]: Call Ended on modem: 0xa0a01a0 ofonod[8291]: Voice Call, Outgoing ofonod[8291]: To: 13917758428 ofonod[8291]: StartTime: 2010-11-11T10:20:16+0800 ofonod[8291]: EndTime: 2010-11-11T10:20:55+0800 ofonod[8291]: PCUI: < \r\n^MODE:3,3\r\n ofonod[8291]: PCUI: < \r\n^RSSI:30\r\n ofonod[8291]: PCUI: < \r\n^BOOT:20294233,0,0,0,20\r\n What's your opinion? Regards, -Yang