<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    In spite of the last proposal was very similar, for my opinion, to
    Messaging/SMS style, I've attach'd<br>
    a new patch with your last suggestions. If you think I don't
    understand what you said yet, send me your <br>
    modified patch.<br>
    <br>
    Thanks,<br>
    <br>
    <pre class="moz-signature" cols="72">Riccardo Vangelisti - Sadel SpA
Software Development
Via Serenari 1, Castel Maggiore (BO)
</pre>
    <div class="moz-cite-prefix">Il 20/04/2015 19:03, Aleksander Morgado
      ha scritto:<br>
    </div>
    <blockquote
cite="mid:CAAP7ucLYufjJLd6V6t945B5bMjvBhfiR=hC01HR3sZwBnJ1P2Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Mon, Apr 20, 2015 at 6:47 PM,
            Riccardo Vangelisti <span dir="ltr"><<a
                moz-do-not-send="true"
                href="mailto:riccardo.vangelisti@sadel.it"
                target="_blank">riccardo.vangelisti@sadel.it</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div id=":161" class="a3s" style="overflow:hidden">Thanks
                for you support.<br>
                <br>
                I agree with your opinion and I changed my proposal with
                your advices.<br>
                I follow the SMS and Messaging implementation and I
                create two new interfaces named CallLog and Call.<br>
                CallLog contains all Call objects created.<br>
                <br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>
              <div class="gmail_default" style="font-family:'courier
                new',monospace">​Ouch, no no, this proposal is even
                nastier :) I think you didn't understand me.</div>
              <div class="gmail_default" style="font-family:'courier
                new',monospace"><br>
              </div>
              <div class="gmail_default" style="font-family:'courier
                new',monospace">I was suggesting 2 interfaces:</div>
              <div class="gmail_default" style="font-family:'courier
                new',monospace">  * "Voice" interface applicable to the
                "Modem" object. This one would have the Start(),
                Hangup(), Accept()... methods. Also a List() method to
                list which are the available call objects. And also the
                "Audio" property as well.</div>
              <div class="gmail_default" style="font-family:'courier
                new',monospace">  * "Call" interface applicable to a new
                "Call" object. This one would have e.g. the Direction
                property, the Number property... i.e. all the stuff
                applicable to one single call.</div>
              <div class="gmail_default" style="font-family:'courier
                new',monospace"><br>
              </div>
              <div class="gmail_default" style="font-family:'courier
                new',monospace">This would be equivalent to the
                Messaging+SMS interfaces (Messaging~Voice, SMS~Call).</div>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div id=":161" class="a3s" style="overflow:hidden">
                All Call state are described in a schema that I've
                attached.<br>
                <br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>
              <div class="gmail_default" style="font-family:'courier
                new',monospace">​Ah, nice one.​</div>
              <br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div id=":161" class="a3s" style="overflow:hidden">
                About call type specification, in GSM service there are
                two types of call: Voice Call and Data Call.<br>
                In AT Standard the ATD command is described as follow:<br>
                <br>
                "ATD[<digits>][I/i][;]<br>
                <br>
                [...]<br>
                <br>
                When ';' is contained in this command, a voice call is
                initiated.<br>
                When ';' is not contained in this command, a data
                service call is initiated."<br>
                <br>
                Data call is used for example with ZMODEM in order to
                trasfer files between two endpoint.<br>
                <br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>
              <div class="gmail_default" style="font-family:'courier
                new',monospace">​I would completely ignore this and only
                support voice calls for now. We should try to write a
                minimal API, we can extend it afterwards if the need
                ever arises.​</div>
            </div>
          </div>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div class="gmail_signature">Aleksander<br>
            <a moz-do-not-send="true" href="https://aleksander.es"
              target="_blank">https://aleksander.es</a></div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>