Overview
The Yeastar Central Management - Reseller - Version 1.1 collector retrieves reseller-level subscription allocation data from the Yeastar Central Management (YCM) platform using the YCM Open API.
This collector provides visibility into each reseller’s subscription capacity — including extension counts, concurrent call capacity, call recording capacity, ultimate plan allocations, and PBX instance counts — enabling service providers to validate reseller subscriptions and allocate costs within Varibill.
The collector retrieves unrated allocation data, meaning no monetary values are supplied by the source system. Pricing and billing calculations are applied within Varibill based on configured contracts and pricing rules.
This is a point-in-time collector, meaning each execution retrieves the current state of reseller subscription allocations at the time of collection.
For general instructions on creating and running Source Collectors, see: Configuring a New Cloud Source Collector
Collector Summary
| Field | Value |
|---|---|
| Source Collector Name | Yeastar Central Management - Reseller - Version 1.1 |
| Collection Behavior | Point in Time |
| Rating Model | Unrated |
| Vendor Name | Yeastar |
| Product | Yeastar Central Management (YCM) |
| Purpose | Retrieves reseller subscription allocation data from Yeastar Central Management for billing and allocation within Varibill |
About Yeastar Central Management
Yeastar Central Management (YCM) is a cloud-hosted platform used by service providers and resellers to deploy, manage, and monitor Yeastar Cloud PBX instances across their customer base.
YCM supports a reseller model where Hosting Users (resellers) manage their own portfolio of Cloud PBX instances and end customers. Each reseller has a subscription that defines their allocated capacity for extensions, concurrent calls, call recordings, and ultimate plans.
Service providers use YCM to centrally manage their reseller network, giving them visibility into each reseller’s subscription allocations and usage from a single administrative portal.
Data Collected
The Yeastar Central Management - Reseller - Version 1.1 collector retrieves unrated reseller subscription allocation data from Yeastar Central Management. The collector queries all users on the YCM platform, filters to Hosting Users (resellers) only, and retrieves each reseller’s subscription information.
The data collected depends on which collection switches are enabled in the collector configuration. Up to nine data categories can be collected independently:
| Record Type | Description | Controlled By |
|---|---|---|
| Total Extensions | The total extension capacity allocated to the reseller | Collect Total Extensions |
| Used Extensions | The number of extensions currently in use by the reseller | Collect Used Extensions |
| Total Concurrent Calls | The total concurrent call capacity allocated to the reseller | Collect Total Concurrent Calls |
| Used Concurrent Calls | The number of concurrent calls currently in use by the reseller | Collect Used Concurrent Calls |
| Total Recordings | The total call recording capacity allocated to the reseller | Collect Total Recordings |
| Used Recordings | The number of call recordings currently in use by the reseller | Collect Used Recordings |
| Total Ultimate Plans | The total number of ultimate plans allocated to the reseller | Collect Total Ultimate Plans |
| Used Ultimate Plans | The number of ultimate plans currently in use by the reseller | Collect Used Ultimate Plans |
| Total PBXs | The total number of Cloud PBX instances created by the reseller | Collect Total PBXs |
Each enabled category produces one record per reseller, with the quantity reflecting the corresponding allocation or usage value. Records with a quantity of zero, null, or empty are automatically excluded.
Note: The Yeastar Central Management - Reseller - Version 1.1 collector reflects the state of Yeastar Central Management at the time it runs. Subscription changes between collection runs will be reflected in the next execution.
Prerequisites
Before configuring this collector, ensure that:
- You have administrator access to the Yeastar Central Management portal
- The YCM API feature has been enabled in System > API within the YCM portal
- You have copied the Client ID and Client Secret values from System > API
- You have noted the host URL of your YCM portal (for example,
https://ycm.example.com) - You have access to the Varibill Source Collector configuration screen
Tip: Client ID and Client Secret are read-only values generated by YCM. If your Client Secret is compromised, you can regenerate it from System > API in the YCM portal. Regenerating the secret will invalidate any existing access tokens.
Note: For full instructions on enabling the YCM API, see Enable YCM API in the Yeastar documentation.
Warning! The YCM Client Secret grants API access to your Yeastar environment. Store it securely and do not share it. The secret is masked in the Varibill UI once saved. If it is compromised, regenerate it immediately from the YCM portal.
Configuration Parameters
The parameters below are entered when configuring the collector in Varibill. They are grouped by function.
Connection Parameters
These parameters identify and authenticate against your Yeastar Central Management instance using OAuth 2.0 client credentials.
| Parameter | What it is | Where to find it |
|---|---|---|
| YCM Host | The base URL of your Yeastar Central Management portal | Your YCM administrator. Format: https://ycm.example.com
(include https://, no trailing slash) |
| YCM Client ID | The Client ID generated in the YCM API settings | YCM portal > System > API |
| YCM Client Secret | The Client Secret generated in the YCM API settings | YCM portal > System > API |
Warning! The YCM Client Secret is a sensitive credential. It is masked in the Varibill UI once saved. If it is compromised, regenerate it immediately from the YCM portal.
Collection Switches
These parameters control which types of allocation data are collected
for each reseller. Set each switch to true to collect that
data type, or false to skip it.
| Parameter | What it controls | Default |
|---|---|---|
| Collect Total Extensions | Collects the total extension capacity allocated to each reseller | false |
| Collect Used Extensions | Collects the number of extensions currently in use by each reseller | false |
| Collect Total Concurrent Calls | Collects the total concurrent call capacity allocated to each reseller | false |
| Collect Used Concurrent Calls | Collects the number of concurrent calls currently in use by each reseller | false |
| Collect Total Recordings | Collects the total call recording capacity allocated to each reseller | false |
| Collect Used Recordings | Collects the number of call recordings currently in use by each reseller | false |
| Collect Total Ultimate Plans | Collects the total number of ultimate plans allocated to each reseller | false |
| Collect Used Ultimate Plans | Collects the number of ultimate plans currently in use by each reseller | false |
| Collect Total PBXs | Collects the total number of Cloud PBX instances created by each reseller | false |
Note: All collection switches default to false. You must
explicitly enable the data types relevant to your billing
configuration.
Product Identifier Parameters
Each enabled data category requires a Product Identifier value that maps to your Varibill product configuration.
| Parameter | What it is | Example |
|---|---|---|
| Product Identifier for Total Extensions | Product Identifier for total extension allocation records | YCMTOTALEXT |
| Product Identifier for Used Extensions | Product Identifier for used extension records | YCMUSEDEXT |
| Product Identifier for Total Concurrent Calls | Product Identifier for total concurrent call allocation records | YCMTOTALCONCALL |
| Product Identifier for Used Concurrent Calls | Product Identifier for used concurrent call records | YCMUSEDCONCALL |
| Product Identifier for Total Recordings | Product Identifier for total recording allocation records | YCMTOTALREC |
| Product Identifier for Used Recordings | Product Identifier for used recording records | YCMUSEDREC |
| Product Identifier for Total Ultimate Plans | Product Identifier for total ultimate plan allocation records | YCMTOTALULTPLAN |
| Product Identifier for Used Ultimate Plans | Product Identifier for used ultimate plan records | YCMUSEDULTPLAN |
| Product Identifier for Total PBXs | Product Identifier for total PBX instance records | YCMTOTALPBX |
Note: Each Product Identifier is submitted to Varibill exactly as configured — no prefix or suffix is appended. Set each value to match the product name configured in Varibill for billing that data category.
The Client Identifier submitted to Varibill is the reseller’s YCM user ID.
The Record Identifier for each record takes the form
{Category} for {company name} — for example,
Total Extensions for Acme Corp or
Used Recordings for Example Reseller.
The Unique Identifier is the reseller’s YCM user ID.
Ensure your Varibill product configuration accounts for these formats.
Operational Parameters
These parameters control file management behavior.
| Parameter | What it is | Default |
|---|---|---|
| Delete data files older than | The number of days after which locally stored collection files are automatically deleted. Must be at least 1. | 62 |
| Maximum number of records per file | The maximum number of records written to a single output file before a new file is started. Must be between 1,000 and 50,000. | 10000 |
Configuration Steps
Step 1: Prepare Yeastar Central Management
- Log in to the YCM portal as an administrator.
- Navigate to System > API.
- Enable the API by turning on the API toggle.
- Copy the Client ID value.
- Copy the Client Secret value.
- Note the host URL of your YCM portal.
For detailed instructions, see Enable YCM API.
Step 2: Configure the Collector in Varibill
In the Varibill User Interface, open the Source Collector configuration screen.
Enter the required field values under the Details tab:
- Hosting Provider: Select Varibill Cloud
- Source Collector Name: Select Yeastar Central Management - Reseller - Version 1.1
Enter the connection parameters:
- YCM Host: The base URL of your YCM portal (for
example,
https://ycm.example.com) - YCM Client ID: The Client ID from the YCM API settings
- YCM Client Secret: The Client Secret from the YCM API settings
- YCM Host: The base URL of your YCM portal (for
example,
Configure the collection switches. Set each switch to
truefor the data types you want to collect.Enter the Product Identifier for each enabled data type. Ensure the values match your Varibill product configuration.
Save the collector configuration.
Step 3: Run the Collector
Run or schedule the collector according to your standard Source Collector execution process.
For detailed instructions, see: Configuring a New Cloud Source Collector
Troubleshooting
If the collector fails to connect to Yeastar Central Management, verify that:
- The YCM Host URL is correct and includes
https://with no trailing slash. - The YCM Client ID is correct.
- The YCM Client Secret is valid and has not been regenerated since it was last configured.
- The YCM API feature is enabled in System > API within the YCM portal.
- No IP restriction rules in the YCM API settings are blocking the Varibill collector’s IP address.
If the collector connects successfully but returns no data, verify that:
- At least one collection switch is set to
true. - There are active Hosting Users (resellers) in your YCM environment.
- The resellers have subscription allocations associated with them.
Yeastar References
The following resources may assist with locating values or configuring your Yeastar Central Management API access.
Yeastar Documentation (External)
Note: Yeastar documentation is provided for reference. Steps and interface labels may vary depending on your YCM version and account permissions.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article