maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   No notification when new voicemail ? Here come the patch ! (https://talk.maemo.org/showthread.php?t=94498)

Schturman 2015-01-30 07:31

Re: No notification when new voicemail ? Here come the patch !
 
2 Attachment(s)
Quote:

Originally Posted by coderus (Post 1458795)
Can i grab your icon for my app also?

Sure you can :D

P.S. Oops forgot to add images ..

coderus 2015-01-30 10:35

Re: No notification when new voicemail ? Here come the patch !
 
Voicemail notifications for SailfishOS published in OpenRepos: https://openrepos.net/content/coderu...-notifications

pichlo 2015-01-30 13:54

Re: No notification when new voicemail ? Here come the patch !
 
Hat off to you two! I have been watching this synergy with great interest. The coder and the tester ping-ponging feedback across 2000(?) km and eventually delivering the product in just three days, amazing!

late88 2015-01-30 14:35

Re: No notification when new voicemail ? Here come the patch !
 
Quote:

Originally Posted by pichlo (Post 1458876)
Hat off to you two! I have been watching this synergy with great interest. The coder and the tester ping-ponging feedback across 2000(?) km and eventually delivering the product in just three days, amazing!

That's the community spirit right there, well done guys!
Big thanks to both.

abyzthomas 2015-01-30 16:17

Re: No notification when new voicemail ? Here come the patch !
 
Great work guys. I am so happy we have guys like you in the community.

Happy Friday!!!

mousse04 2015-02-05 19:27

Re: No notification when new voicemail ? Here come the patch !
 
Hi Zeta,

so as you know it is not working with Orange in France, as they send me text message.

On jollafr.org, you spoke about dbus-send or some other command.

Could you give them to me and also the process (starting the commande before having a voicemail etc ...)?

Thanks

Zeta 2015-02-05 20:00

Re: No notification when new voicemail ? Here come the patch !
 
Quote:

Originally Posted by mousse04 (Post 1459715)
Hi Zeta,

so as you know it is not working with Orange in France, as they send me text message.

On jollafr.org, you spoke about dbus-send or some other command.

Could you give them to me and also the process (starting the commande before having a voicemail etc ...)?

Thanks

Salut Mousse,

I was refering to this : https://together.jolla.com/question/...#post-id-76513

You can check at any time the values of the ofono voicemail system with that command:

Code:

[nemo@Jolla ~]$ dbus-send --system --type=method_call --print-reply --dest=org.ofono /ril_0  org.ofono.MessageWaiting.GetProperties
method return sender=:1.14 -> dest=:1.3016 reply_serial=2
  array [
      dict entry(
        string "VoicemailWaiting"
        variant            boolean true
      )
      dict entry(
        string "VoicemailMessageCount"
        variant            byte 0
      )
      dict entry(
        string "VoicemailMailboxNumber"
        variant            string "660"
      )
  ]

Here, the value of the boolean "VoicemailWaiting" is what we use to show the notification.
The "count" value is always 0 for all people I know who tried, but maybe some operators are putting here the real number of messages in the voicemail. The value "0" simply means "not known", and only the boolean must be checked.

If you have the good value here (true if you have unread voicemail, false if you read them all), you can also check with dbus monitor that the changes are correctly notified:
Code:

[nemo@Jolla ~]$ dbus-monitor --system "type='signal',interface='org.ofono.MessageWaiting'"

signal sender=:1.14 -> dest=(null destination) serial=15192 path=/ril_0; interface=org.ofono.MessageWaiting; member=PropertyChanged
  string "VoicemailWaiting"
  variant      boolean false

Here the trace shows that messages where read so there is no voicemails left (going from "true" to now "false").

If you need more help, let me know !

mousse04 2015-02-05 20:27

Re: No notification when new voicemail ? Here come the patch !
 
Merci Zeta :).

unfortunately boolean variable never goes to true, even with 2 voicemails :(

bluefoot 2015-02-06 06:51

Re: No notification when new voicemail ? Here come the patch !
 
Just wanted to express my thanks again for the work of those in this thread. It feels so good to finally have this.

Have Jolla been in contact yet about rolling this into official code ... or still silence?

smoku 2015-02-06 08:07

Re: No notification when new voicemail ? Here come the patch !
 
Quote:

Originally Posted by Zeta (Post 1457428)
Update:
Patch is uploaded on openrepos:
https://openrepos.net/content/zeta/p...l-notification

This link got broken.


All times are GMT. The time now is 01:00.

vBulletin® Version 3.8.8