Gagan Posted November 9, 2023 Report Posted November 9, 2023 We are not using ANY Monthly fixed billing for any monthly plan of kazoo to user. Only thing we do in kazoo is billing clients for inbound and outbound calls , for which we assign ratedeck to a client. We add outbound trunks ( number of trunks) based on requirement of client , but again no billing or Flat rate plan is created in kazoo or charged to client. So, billing is very simple for each client for only calls they make based on rate deck . IF client makes just 1 call, he pays for 1 call , based on rate in ratedeck assigned to him. Strangely USA Calls are only not being billed as "account_billing": "per_minute", and are instead being billed as "account_billing": "flat_rate" and thereby not being charged, while in ratedeck , rate is assigned . All other countries are being billed correctly with "account_billing": "per_minute", What is causing Flat_rate and how to disable it , change it to 0 minutes free? Another strange thing noticed on SOME accounts , if i change OUTBOUND_Trunks from 0 to a value like 2 , calls to USA are billed as Flat_rate , when changing it to 0 , calls are billed as Per_minute.. This is strange behavior... Can someone help about this FLAT_rate thing
Administrators mc_ Posted November 9, 2023 Administrators Report Posted November 9, 2023 This is controlled by the limits doc of the account: https://docs.2600hz.com/dev/applications/crossbar/doc/limits/
Gagan Posted November 10, 2023 Author Report Posted November 10, 2023 10 hours ago, mc_ said: This is controlled by the limits doc of the account: https://docs.2600hz.com/dev/applications/crossbar/doc/limits/ Hello, Yes, thats API we use to set limits... but strangely US Calls are billed Flat_rate and not charged "data": { "inbound_trunks": 0, "twoway_trunks": 0, "outbound_trunks": 7, "ui_metadata": { "version": "4.3-91", "ui": "monster-ui", "origin": "myaccount" }, "allow_prepay": true, "authz_resource_types": [], "burst_trunks": 0, "enabled": true, "max_postpay_ammount": 0, "reserve_ammount": 0, "soft_limit_inbound": false, "soft_limit_outbound": false, "call_restriction": { "tollfree_us": { "action": "inherit" }, "toll_us": { "action": "inherit" }, "emergency": { "action": "inherit" }, "caribbean": { "action": "inherit" }, "did_us": { "action": "inherit" }, "international": { "action": "inherit" }, "unknown": { "action": "inherit" } }, "allow_postpay": false, "id": "limits", "max_postpay_amount": 0 }, "revision": "47-c7bec12f2e0c11b2668727d4ea37403c", "timestamp": "2023-11-10T09:40:18Z", "version": "4.3.93", "node": "rmeTwFsfDz5RDAUc7aSEAQ", "request_id": "971130c693a508053a1336fa27c0b1a7", "status": "success", "auth_token": REMOVED
Gagan Posted November 11, 2023 Author Report Posted November 11, 2023 On 11/10/2023 at 4:31 AM, mc_ said: This is controlled by the limits doc of the account: https://docs.2600hz.com/dev/applications/crossbar/doc/limits/ Hello, Yes, thats API we use to set limits... but strangely US Calls are billed Flat_rate and not charged "data": { "inbound_trunks": 0, "twoway_trunks": 0, "outbound_trunks": 7, "ui_metadata": { "version": "4.3-91", "ui": "monster-ui", "origin": "myaccount" }, "allow_prepay": true, "authz_resource_types": [], "burst_trunks": 0, "enabled": true, "max_postpay_ammount": 0, "reserve_ammount": 0, "soft_limit_inbound": false, "soft_limit_outbound": false, "call_restriction": { "tollfree_us": { "action": "inherit" }, "toll_us": { "action": "inherit" }, "emergency": { "action": "inherit" }, "caribbean": { "action": "inherit" }, "did_us": { "action": "inherit" }, "international": { "action": "inherit" }, "unknown": { "action": "inherit" } }, "allow_postpay": false, "id": "limits", "max_postpay_amount": 0 }, "revision": "47-c7bec12f2e0c11b2668727d4ea37403c", "timestamp": "2023-11-10T09:40:18Z", "version": "4.3.93", "node": "rmeTwFsfDz5RDAUc7aSEAQ", "request_id": "971130c693a508053a1336fa27c0b1a7", "status": "success", "auth_token": REMOVED
Recommended Posts