Open Source Telephony
 help / color / mirror / Atom feed
From: Mikel Astiz <mikel.astiz@bmw-carit.de>
To: ofono@ofono.org
Subject: Missing CallRemoved signals
Date: Wed, 17 Aug 2011 11:58:50 +0200	[thread overview]
Message-ID: <4E4B90DA.2060706@bmw-carit.de> (raw)

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

Hi all,

I'm doing further tests with oFono with a simple UI that handles the 
calls of a certain modem (bluetooth modem in this case).

I keep track of the existing calls by listening to 'VoiceCallManager' 
signals, 'CallAdded' and 'CallRemoved'. The list is initialized using 
'VoiceCallManager.GetCalls()' at startup.

The problem I have found is that some 'CallRemoved' signals are 
apparently never emitted. It is in fact quite easy to reproduce, if a 
modem is powered down while a call is in progress.

Having a look at oFono's source code (src/voicecall.c), my feeling is 
that some calls to 'voicecall_dbus_unregister' are not accompanied by a 
call to 'voicecalls_emit_call_removed', inside the function 
'voicecall_unregister'.

Could anyone confirm if this is a bug in oFono or suggest any workaround 
for the client app?

Regards,
Mikel


             reply	other threads:[~2011-08-17  9:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17  9:58 Mikel Astiz [this message]
2011-08-17 15:43 ` Missing CallRemoved signals Denis Kenzior
2011-08-18  6:29   ` Mikel Astiz

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=4E4B90DA.2060706@bmw-carit.de \
    --to=mikel.astiz@bmw-carit.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox