Code Monkey home page Code Monkey logo

Comments (11)

romellfudi avatar romellfudi commented on May 29, 2024 1

@ebran-flow just try debugging

from voipussd.

romellfudi avatar romellfudi commented on May 29, 2024

It's not a bug.
You should handle it .
Well , As I know it works like any call, the operative system dials up one at time

from voipussd.

trimmytech avatar trimmytech commented on May 29, 2024

sorry about the label.
i now OS handles one at a time .
is there any way to check in code ??? so the app doesnt even try to dial it while one is runnig ?

i will appreciate a sample code please.

from voipussd.

romellfudi avatar romellfudi commented on May 29, 2024

Actually, there is a protected variable in Controller class. You could return a flag as to know whether or no it is being run

from voipussd.

Nivekiba avatar Nivekiba commented on May 29, 2024

Hello @romellfudi i permit my self to reopen this issue.
While the variable in Controller class in "protected", there is no way to know if it's running or not outside the package

from voipussd.

ebran-flow avatar ebran-flow commented on May 29, 2024

@romellfudi, I'm trying to do the same thing. Is it possible now?

from voipussd.

coder-eb avatar coder-eb commented on May 29, 2024

Do you mean I should expose the variable using a method or something?

from voipussd.

ibstelix avatar ibstelix commented on May 29, 2024

hi coder-eb, you can manage yourself the state:

  1. you set a flag "running" to true
  2. you send the ussd call
  3. if failed or if you get ussd response : you set the flag "running" to false
  4. before running a new ussd request, you check if the "running" flag is true or false

from voipussd.

romellfudi avatar romellfudi commented on May 29, 2024

@coder-eb @ibstelix Exactly, actually I didn't expose before but you just can encapsulate it as to check running process,

Please let me know if I can close the issue

from voipussd.

coder-eb avatar coder-eb commented on May 29, 2024

Hi @ibstelix, Thanks for the suggestion.

@romellfudi Kindly close the issue

from voipussd.

romellfudi avatar romellfudi commented on May 29, 2024

Hi @coder-eb absolutely. Please consider donating PayPal to keep active the community

from voipussd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.