View Single Post
Posts: 339 | Thanked: 1,623 times | Joined on Oct 2013 @ France
#107
Originally Posted by mousse04 View Post
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 !
 

The Following User Says Thank You to Zeta For This Useful Post: