All of lore.kernel.org
 help / color / mirror / Atom feed
* Can I modify CallingLineRestriction(the Property of CallSetting) value to "disabled" or "enabled"
@ 2010-10-28  7:29 Ding, HaitaoX
  2010-10-28 11:31 ` Gu, Yang
  0 siblings, 1 reply; 9+ messages in thread
From: Ding, HaitaoX @ 2010-10-28  7:29 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

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:)

Haitao






[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1679 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: Can I modify CallingLineRestriction(the Property of CallSetting) value to "disabled" or "enabled"
  2010-10-28  7:29 Can I modify CallingLineRestriction(the Property of CallSetting) value to "disabled" or "enabled" Ding, HaitaoX
@ 2010-10-28 11:31 ` Gu, Yang
  2010-11-10  4:12   ` Ding, HaitaoX
  0 siblings, 1 reply; 9+ messages in thread
From: Gu, Yang @ 2010-10-28 11:31 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

Hi Haitao,

> From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of Ding, HaitaoX
> Sent: Thursday, October 28, 2010 3:29 PM
> To: ofono(a)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 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: Can I modify CallingLineRestriction(the Property of CallSetting) value to "disabled" or "enabled"
  2010-10-28 11:31 ` Gu, Yang
@ 2010-11-10  4:12   ` Ding, HaitaoX
  2010-11-10  9:32     ` Gu, Yang
  0 siblings, 1 reply; 9+ messages in thread
From: Ding, HaitaoX @ 2010-11-10  4:12 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1659 bytes --]

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-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of Gu, Yang
Sent: Thursday, October 28, 2010 7:32 PM
To: ofono(a)ofono.org
Subject: RE: Can I modify CallingLineRestriction(the Property of CallSetting) value to "disabled" or "enabled"

Hi Haitao,

> From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of Ding, HaitaoX
> Sent: Thursday, October 28, 2010 3:29 PM
> To: ofono(a)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(a)ofono.org
http://lists.ofono.org/listinfo/ofono

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: Can I modify CallingLineRestriction(the Property of CallSetting) value to "disabled" or "enabled"
  2010-11-10  4:12   ` Ding, HaitaoX
@ 2010-11-10  9:32     ` Gu, Yang
  2010-11-10 12:32       ` Pekka Pessi
  0 siblings, 1 reply; 9+ messages in thread
From: Gu, Yang @ 2010-11-10  9:32 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]

Hi Haitao,


>-----Original Message-----
>From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of
>Ding, HaitaoX
>Sent: Wednesday, November 10, 2010 12:13 PM
>To: ofono(a)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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Can I modify CallingLineRestriction(the Property of CallSetting) value to "disabled" or "enabled"
  2010-11-10  9:32     ` Gu, Yang
@ 2010-11-10 12:32       ` Pekka Pessi
  2010-11-11  2:36         ` Gu, Yang
  0 siblings, 1 reply; 9+ messages in thread
From: Pekka Pessi @ 2010-11-10 12:32 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1322 bytes --]

Hi all,

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: Can I modify CallingLineRestriction(the Property of CallSetting) value to "disabled" or "enabled"
  2010-11-10 12:32       ` Pekka Pessi
@ 2010-11-11  2:36         ` Gu, Yang
  2010-11-11  3:06           ` Can I modify CallingLineRestriction(the Property ofCallSetting) " Zhang, Caiwen
  2010-11-12 14:19           ` Can I modify CallingLineRestriction(the Property of CallSetting) " Pekka Pessi
  0 siblings, 2 replies; 9+ messages in thread
From: Gu, Yang @ 2010-11-11  2:36 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 9251 bytes --]

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 <yang.gu@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: < \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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: Can I modify CallingLineRestriction(the Property ofCallSetting) value to "disabled" or "enabled"
  2010-11-11  2:36         ` Gu, Yang
@ 2010-11-11  3:06           ` Zhang, Caiwen
  2010-11-12 14:19           ` Can I modify CallingLineRestriction(the Property of CallSetting) " Pekka Pessi
  1 sibling, 0 replies; 9+ messages in thread
From: Zhang, Caiwen @ 2010-11-11  3:06 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 10526 bytes --]

Hi Yang,

> -----Original Message-----
> From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On
> Behalf Of Gu, Yang
> Sent: Thursday, November 11, 2010 10:37 AM
> To: ofono(a)ofono.org
> Subject: RE: Can I modify CallingLineRestriction(the Property
> ofCallSetting) value to "disabled" or "enabled"
> 
> 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 <yang.gu@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
> 

As I know only particular subscriber can subscribe Calling line restriction(CLIR)
service, Such as police. Normal subscriber can not use this service.

Similarly, CLIP is the same, it depends on whether subscriber subscribe the service.
The setting at modem side don't take effect.

> >
> >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
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Can I modify CallingLineRestriction(the Property of CallSetting) value to "disabled" or "enabled"
  2010-11-11  2:36         ` Gu, Yang
  2010-11-11  3:06           ` Can I modify CallingLineRestriction(the Property ofCallSetting) " Zhang, Caiwen
@ 2010-11-12 14:19           ` Pekka Pessi
  2010-11-12 14:36             ` Denis Kenzior
  1 sibling, 1 reply; 9+ messages in thread
From: Pekka Pessi @ 2010-11-12 14:19 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1180 bytes --]

Hi,

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Can I modify CallingLineRestriction(the Property of CallSetting) value to "disabled" or "enabled"
  2010-11-12 14:19           ` Can I modify CallingLineRestriction(the Property of CallSetting) " Pekka Pessi
@ 2010-11-12 14:36             ` Denis Kenzior
  0 siblings, 0 replies; 9+ messages in thread
From: Denis Kenzior @ 2010-11-12 14:36 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1568 bytes --]

Hi Pekka,

On 11/12/2010 08:19 AM, Pekka Pessi wrote:
> Hi,
> 
> 2010/11/11 Gu, Yang <yang.gu@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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-11-12 14:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-28  7:29 Can I modify CallingLineRestriction(the Property of CallSetting) value to "disabled" or "enabled" Ding, HaitaoX
2010-10-28 11:31 ` Gu, Yang
2010-11-10  4:12   ` Ding, HaitaoX
2010-11-10  9:32     ` Gu, Yang
2010-11-10 12:32       ` Pekka Pessi
2010-11-11  2:36         ` Gu, Yang
2010-11-11  3:06           ` Can I modify CallingLineRestriction(the Property ofCallSetting) " Zhang, Caiwen
2010-11-12 14:19           ` Can I modify CallingLineRestriction(the Property of CallSetting) " Pekka Pessi
2010-11-12 14:36             ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.