[PATCH 0/4] Emergency Calls

2010-12-20 Thread Andras Domokos
Steps in handling emergency calls:
- subscribe to modem online notifications
- emergency call detected (phone number is an emergency number)
- increment emergency mode 
  - advertise "Emergency" property change on D-Bus (first call)
  - set modem online (minimal setup) if mode was offline
- adevertise "Online" property change on D-Bus
- if modem is not online postpone making the call, otherwise make
  the emergency call
- when modem online notification comes and there is postponed emergency call
  request, make the emergency call
- when an emergency call ends decrement emergency mode
  - set modem to pre emergency call state (last call)
- advertise "Online" property change on D-Bus (if any)
  - advertise "Emergency" property change on D-Bus (last call)

Andras Domokos (3):
  modem: add Emergency property
  modem: move dial request_cb function
  voicecall: add emergency call handling

 src/dbus.c  |7 ++
 src/modem.c |  207 ++-
 src/ofono.h |5 ++
 src/voicecall.c |  186 -
 4 files changed, 369 insertions(+), 36 deletions(-)

___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Re: [PATCH 0/4] Emergency Calls (3rd round)

2010-11-15 Thread Marcel Holtmann
Hi Andras,

> I found a small issue in these patches, resulting into improper handling 
> of the emergency calls for the non-SIM cases, but now that has been 
> fixed and I am going to create a new set of patches.
> 
> The answer to your question is yes, emergency calls will be also 
> possible without a SIM card.

please do NOT top post on this mailing list.

In the last two weeks, I had to mention this way to many times. This is
really not acceptable anymore :(

Regards

Marcel


___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


[PATCH 0/4] Emergency Calls (4th round)

2010-11-15 Thread Andras Domokos
Here is a new proposal for emergency calls handling.

Steps in handling emergency calls:
- subscribe to modem online notifications (add modem online watcher)
- an emergency call detected (phone number is emergency number)
- increment emergency mode
  - advertise "EmergencyMode" property change on D-Bus (first call)
  - set modem online if it's in offline mode (minimal setup)
- adevertise "Online" property change on D-Bus
- if modem is not online postpone making the call, otherwise make
  the emergency call
- when modem online notification comes and there is postponed call request
  make the emergency call
- when an emergency call ends decrement emergency mode
  - set modem offline if it was set online due to the emergency call (last call)
- advertise "Online" property change on D-Bus
  - advertise "EmergencyMode" property change on D-Bus (last call)
 
Note: emergency calls with SIM card (network registered or unregistered) and
without SIM card are supported.

Andras Domokos (4):
  modem: add modem online-offline watch
  modem: add EmergencyMode property
  modem: move dial_request_cb function
  voicecall: add emergency call handling

 src/modem.c |  180 +++
 src/ofono.h |   12 
 src/voicecall.c |  175 +++--
 3 files changed, 334 insertions(+), 33 deletions(-)

___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Re: [PATCH 0/4] Emergency Calls (3rd round)

2010-11-15 Thread Andras Domokos

Hi Frederic,

I found a small issue in these patches, resulting into improper handling 
of the emergency calls for the non-SIM cases, but now that has been 
fixed and I am going to create a new set of patches.


The answer to your question is yes, emergency calls will be also 
possible without a SIM card.


Andras

On 11/15/2010 12:45 PM, ext Predon, Frederic wrote:

Hi Andras,

   

Here is a new proposal for emergency calls handling.

Steps in handling emergency calls:
- subscribe to modem online notifications (add modem online watcher)
- an emergency call detected (phone number is emergency number)
- increment emergency mode
   - advertise "EmergencyMode" property change on D-Bus (first call)
   - set modem online if it's in offline mode (minimal setup)
 - adevertise "Online" property change on D-Bus
- if modem is not online postpone making the call, otherwise make
   the emergency call
- when modem online notification comes and there is postponed call
request
   make the emergency call
- when an emergency call ends decrement emergency mode
   - set modem offline if it was set online due to the emergency call
(last call)
 - advertise "Online" property change on D-Bus
   - advertise "EmergencyMode" property change on D-Bus (last call)
 

Do you handle the case of making an emergency call when there is no SIM card?

Fred
-
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

___
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: [PATCH 0/4] Emergency Calls (3rd round)

2010-11-15 Thread Predon, Frederic
Hi Andras,

> Here is a new proposal for emergency calls handling.
> 
> Steps in handling emergency calls:
> - subscribe to modem online notifications (add modem online watcher)
> - an emergency call detected (phone number is emergency number)
> - increment emergency mode
>   - advertise "EmergencyMode" property change on D-Bus (first call)
>   - set modem online if it's in offline mode (minimal setup)
> - adevertise "Online" property change on D-Bus
> - if modem is not online postpone making the call, otherwise make
>   the emergency call
> - when modem online notification comes and there is postponed call
> request
>   make the emergency call
> - when an emergency call ends decrement emergency mode
>   - set modem offline if it was set online due to the emergency call
> (last call)
> - advertise "Online" property change on D-Bus
>   - advertise "EmergencyMode" property change on D-Bus (last call)

Do you handle the case of making an emergency call when there is no SIM card?

Fred
-
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


[PATCH 0/4] Emergency Calls (3rd round)

2010-11-13 Thread Andras Domokos
Here is a new proposal for emergency calls handling.

Steps in handling emergency calls:
- subscribe to modem online notifications (add modem online watcher)
- an emergency call detected (phone number is emergency number)
- increment emergency mode
  - advertise "EmergencyMode" property change on D-Bus (first call)
  - set modem online if it's in offline mode (minimal setup)
- adevertise "Online" property change on D-Bus
- if modem is not online postpone making the call, otherwise make
  the emergency call
- when modem online notification comes and there is postponed call request
  make the emergency call
- when an emergency call ends decrement emergency mode
  - set modem offline if it was set online due to the emergency call (last call)
- advertise "Online" property change on D-Bus
  - advertise "EmergencyMode" property change on D-Bus (last call)

Andras Domokos (4):
  modem: add modem online-offline watch
  modem: add EmergencyMode property
  modem: move dial_request_cb function
  voicecall: add emergency call handling

 src/modem.c |  178 +++
 src/ofono.h |   12 
 src/voicecall.c |  175 --
 3 files changed, 332 insertions(+), 33 deletions(-)

___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono