• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Development tools VM

Scheduled Pinned Locked Moved App Development
15 Posts 3 Posters 1.2k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dobey @AlainW94
      last edited by 3 Feb 2019, 16:04

      @alainw94 Why do you need IMAP/SMTP? Visual Voicemail is not e-mail. It is done via SMS and data connection. And yes, confined apps cannot talk to anything on the bus.

      A 1 Reply Last reply 3 Feb 2019, 17:51 Reply Quote 0
      • A Offline
        AlainW94 @dobey
        last edited by AlainW94 2 Mar 2019, 18:09 3 Feb 2019, 17:51

        @dobey hi, no visual voice mail is not like voicemail, this is a service that you have activate from your provider and they will send you a binary sms that will inform you about your credentials to connect to an imap server, then they will again send you binary sms to tell your client to update the imap box for a new mail. you can read the description here : omtp vvm specs

        Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
        Never forget that they are much more ideas inside two heads than in one...

        D 1 Reply Last reply 3 Feb 2019, 23:08 Reply Quote 0
        • D Offline
          dobey @AlainW94
          last edited by 3 Feb 2019, 23:08

          @alainw94 I didn't say it was like voicemail. But it's not IMAP either. It's not binary SMS either, only specialized. I've looked at implementing it before as well. You get an SMS with a URL in it, telling you when you've got a new one, or when one's been read/deleted/etc…

          It's a mish-mash and extension of multiple protocols, hacked together, so you unfortunately can't just use a standard e-mail handling library like trojita or libcamel to work with it. Really, the best place for the core implementation of VVM, is probably in ofono itself, and the UI would probably be best in dialer-app.

          A 1 Reply Last reply 3 Feb 2019, 23:15 Reply Quote 0
          • A Offline
            AlainW94 @dobey
            last edited by 3 Feb 2019, 23:15

            @dobey hi, it is now standardized with omtp, as you can read in the link I posted before, I activate this service on my account and I receive a class 1 sms with the imap server adress, the port and the credentials. Then I configurate it inside dekko2 and I was able to receive my voice messages as an attachment in the email.

            Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
            Never forget that they are much more ideas inside two heads than in one...

            A D 2 Replies Last reply 4 Feb 2019, 09:55 Reply Quote 1
            • A Offline
              advocatux @AlainW94
              last edited by 4 Feb 2019, 09:55

              @alainw94 that's great. It would be cool if you write a how-to about it. We can add it later to the official docs too 🙂

              A 1 Reply Last reply 4 Feb 2019, 10:01 Reply Quote 1
              • A Offline
                AlainW94 @advocatux
                last edited by 4 Feb 2019, 10:01

                @advocatux hi yes I can write a how to, the only things is that you will have to mount your file system in read write mode for a short time in order to activate the debug traces on ofono. ofono is actually ignoring the sms class 1 sent by the provider. I modified it in order that ofono push those sms on dbus as new signal that an application can catch. I'm waiting a new motherboard for a old meizu pro 5 to play my tests app on it before to release it..

                Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                Never forget that they are much more ideas inside two heads than in one...

                1 Reply Last reply Reply Quote 1
                • D Offline
                  dobey @AlainW94
                  last edited by 4 Feb 2019, 15:57

                  @alainw94 said in Development tools VM:

                  @dobey hi, it is now standardized with omtp, as you can read in the link I posted before, I activate this service on my account and I receive a class 1 sms with the imap server adress, the port and the credentials. Then I configurate it inside dekko2 and I was able to receive my voice messages as an attachment in the email.

                  Yes, some basic things can work, but there are extensions to the protocol. So it requires building a custom implementation to fully enable the feature.

                  A 1 Reply Last reply 4 Feb 2019, 15:59 Reply Quote 0
                  • A Offline
                    AlainW94 @dobey
                    last edited by 4 Feb 2019, 15:59

                    @dobey yes, this what I would like to build !

                    Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                    Never forget that they are much more ideas inside two heads than in one...

                    D 1 Reply Last reply 4 Feb 2019, 16:05 Reply Quote 0
                    • D Offline
                      dobey @AlainW94
                      last edited by 4 Feb 2019, 16:05

                      @alainw94 Sure. I think it would be better to just implement the whole back-end part in ofono itself, though, given it's an OMTP standard, and ofono can filter Class 1 SMS messages to handle VVM internally, so it doesn't all get passed over dbus to some arbitrary app. And then a special VVM API in ofono, which dialer-app could use while providing the UI.

                      At least, this seems like it would be the best solution.

                      A 1 Reply Last reply 4 Feb 2019, 16:16 Reply Quote 0
                      • A Offline
                        AlainW94 @dobey
                        last edited by 4 Feb 2019, 16:16

                        @dobey OK so I will did it in that way thanks for your tips

                        Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                        Never forget that they are much more ideas inside two heads than in one...

                        1 Reply Last reply Reply Quote 0
                        15 out of 15
                        • First post
                          15/15
                          Last post