Re: Can I modify CallingLineRestriction(the Property of CallSetting) value to disabled or enabled

2010-11-12 Thread Pekka Pessi
Hi,

2010/11/11 Gu, Yang yang...@intel.com:
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.

They really do not support it. Thanks for the logs.

There is a Finnish operator (Aino) which does not have CLIR
provisioned by default, they will reject the calls made with temporary
CLIR invocation.

It seems to me that the call-settings API stores the user preference
to the modem (how that is done is up to the modem). This can lead to
subtle privacy bugs if user has multiple SIM cards. I wonder if oFono
should store the CLIR settings in IMSI-specific storage. oFono should
somehow specify the interaction with the CLIR setting stored in the
modem, too.

-- 
Pekka.Pessi mail at nokia.com
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Re: Can I modify CallingLineRestriction(the Property of CallSetting) value to disabled or enabled

2010-11-12 Thread Denis Kenzior
Hi Pekka,

On 11/12/2010 08:19 AM, Pekka Pessi wrote:
 Hi,
 
 2010/11/11 Gu, Yang yang...@intel.com:
 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.
 
 They really do not support it. Thanks for the logs.
 
 There is a Finnish operator (Aino) which does not have CLIR
 provisioned by default, they will reject the calls made with temporary
 CLIR invocation.
 
 It seems to me that the call-settings API stores the user preference
 to the modem (how that is done is up to the modem). This can lead to
 subtle privacy bugs if user has multiple SIM cards. I wonder if oFono
 should store the CLIR settings in IMSI-specific storage. oFono should
 somehow specify the interaction with the CLIR setting stored in the
 modem, too.
 

Are you sure?  I actually assume that the network simply replies OK to
the CLIR invocation but doesn't actually honor it.  If this is the case
then no amount of API behavioral changes is going to help here.

Also remember that this is Huawei we're dealing with here.  Have you
tried other vendors?

Regards,
-Denis
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Re: Can I modify CallingLineRestriction(the Property of CallSetting) value to disabled or enabled

2010-11-10 Thread Pekka Pessi
Hi all,

2010/11/10 Gu, Yang yang...@intel.com:
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?

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.

-- 
Pekka.Pessi mail at nokia.com
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


RE: Can I modify CallingLineRestriction(the Property of CallSetting) value to disabled or enabled

2010-11-10 Thread Gu, Yang
Hi Haitao,


-Original Message-
From: ofono-boun...@ofono.org [mailto:ofono-boun...@ofono.org] On Behalf Of
Ding, HaitaoX
Sent: Wednesday, November 10, 2010 12:13 PM
To: ofono@ofono.org
Subject: RE: Can I modify CallingLineRestriction(the Property of CallSetting) 
value to
disabled or enabled

Hi, yang

Thanks a lot for your feedback.

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.

Could you give me some help .


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

Regards,
-Yang
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


RE: Can I modify CallingLineRestriction(the Property of CallSetting) value to disabled or enabled

2010-11-10 Thread Gu, Yang
Hi, 


-Original Message-
From: ofono-boun...@ofono.org [mailto:ofono-boun...@ofono.org] On Behalf Of
Pekka Pessi
Sent: Wednesday, November 10, 2010 8:33 PM
To: ofono@ofono.org
Subject: Re: Can I modify CallingLineRestriction(the Property of CallSetting) 
value to
disabled or enabled

Hi all,

2010/11/10 Gu, Yang yang...@intel.com:
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:  

RE: Can I modify CallingLineRestriction(the Property of CallSetting) value to disabled or enabled

2010-11-09 Thread Ding, HaitaoX
Hi, yang

Thanks a lot for your feedback. 

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. 

Could you give me some help .


Best Regards
Haitao


-Original Message-
From: ofono-boun...@ofono.org [mailto:ofono-boun...@ofono.org] On Behalf Of Gu, 
Yang
Sent: Thursday, October 28, 2010 7:32 PM
To: ofono@ofono.org
Subject: RE: Can I modify CallingLineRestriction(the Property of CallSetting) 
value to disabled or enabled

Hi Haitao,

 From: ofono-boun...@ofono.org [mailto:ofono-boun...@ofono.org] On Behalf Of 
 Ding, HaitaoX
 Sent: Thursday, October 28, 2010 3:29 PM
 To: ofono@ofono.org
 Subject: Can I modify CallingLineRestriction(the Property of CallSetting) 
 value to disabled or enabled

 Hi, 
 
 Can I modify  CallingLineRestriction(the Property of CallSetting)  value to 
 disalbed or enabled. 
 
 I refer to the newest doc for CallSettings and found the 
 CallingLineRestriction is a read-only property, is it means ofono does not 
 support enable or disable CLIP. 
 Thanks a lot☺

 
You may set the property HideCallerId to default, disabled or enabled.
 
 
Regards,
-Yang 
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


RE: Can I modify CallingLineRestriction(the Property of CallSetting) value to disabled or enabled

2010-10-28 Thread Gu, Yang
Hi Haitao,

 From: ofono-boun...@ofono.org [mailto:ofono-boun...@ofono.org] On Behalf Of 
 Ding, HaitaoX
 Sent: Thursday, October 28, 2010 3:29 PM
 To: ofono@ofono.org
 Subject: Can I modify CallingLineRestriction(the Property of CallSetting) 
 value to disabled or enabled

 Hi, 
 
 Can I modify  CallingLineRestriction(the Property of CallSetting)  value to 
 disalbed or enabled. 
 
 I refer to the newest doc for CallSettings and found the 
 CallingLineRestriction is a read-only property, is it means ofono does not 
 support enable or disable CLIP. 
 Thanks a lot☺

 
You may set the property HideCallerId to default, disabled or enabled.
 
 
Regards,
-Yang 
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono