All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gu, Yang <yang.gu@intel.com>
To: ofono@ofono.org
Subject: RE: Can I modify CallingLineRestriction(the Property of CallSetting)	value to "disabled" or "enabled"
Date: Thu, 11 Nov 2010 10:36:43 +0800	[thread overview]
Message-ID: <CE761E84DADF2947A4AF22FB8D97A473305616E9@shsmsx501.ccr.corp.intel.com> (raw)
In-Reply-To: <AANLkTind3eJwUwGrxXE6LN9q3cV0eJySZtVNXYyzKpbb@mail.gmail.com>

[-- 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

  reply	other threads:[~2010-11-11  2:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CE761E84DADF2947A4AF22FB8D97A473305616E9@shsmsx501.ccr.corp.intel.com \
    --to=yang.gu@intel.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.