Jump to content


  • Content Count

  • Joined

  • Days Won


Mooseable last won the day on December 17 2020

Mooseable had the most liked content!

Community Reputation

17 SIP-Curious

About Mooseable

  • Rank
    Advanced Member

Recent Profile Visitors

3,640 profile views
  1. @kazte, yes, what you are after is possible. You can have pre-paid or post-paid accounts. You can apply a limit to post-paid accounts too. In the event an account exceeds its limit, it will terminate calls. You simply need to set an account to be pre-post paid and set the limit. You also need to ensure the Jonny5 app is running. By default, limits are per-month (though you could use the API to "top up" an account or change its limit on a more frequent interval). Limits apply to resellers also. When an account underneath a reseller account makes a call, the reseller account is also charged for that call. Likewise the root/superadmin account by default is also charged for the resellers calls (charges all the way up the chain). Each account may be charged a different rate (based on their ratedeck). You can choose NOT to charge a specific account (useful for the root/superadmin account) by using "flat rate trunks". Ratedecks can be at the system, reseller or account level. Hotornot is the app in charge of figuring out how much to charge for a call (it does the call rating) Jonny5 enforces the limits (it does limiting). I personally do not know how often Jonny5 checks limits/credit.
  2. You need hotornot and jonny5 running what is the output of kazoo-applications status When you run rates_for_did, you have to specify more than just the prefix. eg; if your prefix is "918708" then add at least one more digit to it (ex: sup hotornot_maintenance rates_for_did 9187080)
  3. Yes https://github.com/2600hz/kazoo/blob/master/applications/crossbar/doc/phone_numbers.md or https://docs.2600hz.com/supported/applications/crossbar/doc/phone_numbers/ /v2/phone_numbers?prefix={PREFIX}&quantity={QUANTITY}&offset={OFFSET}&country={COUNTRY} should return numbers, and their status. Don't know if it shows who it is assigned to. Worst case, you could loop through accounts and use GET /v2/accounts/{ACCOUNT_ID}/phone_numbers Someone might know a better method, or you can look at how the number manager in monsterui does it.
  • Create New...