Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6949231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:55:37+00:00 2026-05-27T13:55:37+00:00

we do allow him to call based on his current balance, the call is

  • 0

we do allow him to call based on his current balance, the call is scheduled for 10 min, next call comes in it is also scheduled for 10 min because the customer balance was not updated as his first call is still in process. we only update the balance when a call is disconnected. in this way balance will go negative. but is there is any solution to this problem so that balance do not go negative ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:55:37+00:00Added an answer on May 27, 2026 at 1:55 pm

    Banks solves this problem by placing a “hold” on the funds, and tracking two separate balances: the current balance (all money in the account) and the available balance (which is the current balance, minus the total of all the “holds” on all funds outstanding).

    Let’s say you have a balance of $10, and the calls cost $1/minute.

    The idea is that your first 10 minute call wouldn’t actually deduct the funds before it was done, but it would say, “Hey, I’m going to need $10 out of the current balance.” The money, as you said, is only actually taken away when the call is disconnected.

    However, because the “hold” on that $10 is already in place, when the second call is setup, it checks the balance and says, “Hey I’m going to need $10,” but the algorithm would take the total balance ($10) and subtract the total of all the “hold” amounts ($10), and return $0.

    So, basically the second call wouldn’t get setup, because you balance algorithm would say, “Yes you’ve got $10 in your account, but you’ve currently reserved $10 of that, leaving you with $0 ‘available balance’. Therefore, I can’t reserve the time for your call unless you either cancel your first call, or add more money to your balance.”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I present a control to the user that allows him/her to select
Allow me to start with: I am a n00b on ASP.NET MVC. I love
Interfaces allow you to create code that defines the methods of classes that implement
I allow users to enter a regular expression to match IP addresses, for doing
To allow users and site admins to view/add/edit/delete data in my application I decided
Please allow me to preface this by saying I'm pretty much brand new to
To allow caching a PHP generated file, I want to make sure, that the
SVN externals allow you to make an SVN folder appear as if it's at
C# and Java allow almost any character in class names, method names, local variables,
Why does C#.Net allow the declaration of the string object to be case-insensitive? String

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.