Howto:Call Billing - Vcom AS - Partner App

Product Name
Vcom AS Call Billing
Certification Status
Category
Vendor
Vcom AS is an innovaphone distributor and development partner, building Apps for the innovaphone platform. With deep expertise and extensive experience in communication and access control, Vcom AS develops custom, specialized solutions tailored to each customer - including, not least, cloud-based products alongside on-premises and hybrid deployments. Operational reliability and cyber security are top priorities, and Vcom AS's solutions are trusted by organizations that take security seriously. Sales go through installers, resellers, and system integrators across the country.
Description
Call Billing reports the cost of external calls per user. It receives the PBX's own call detail records (CDR interface, sent by the PBX directly to the app) and prices every external call against a rate table you define: price per minute, setup fee, minimum charge and rounding per rate, matched on the called number in international format. Typical uses are hotels, ships, offices that pass call costs on to departments or tenants, and checking the provider's invoice.
The duration billed is the time on the trunk - from answer to release, as the provider counts it. Forwarded, transferred and mobility calls are billed to the user responsible for them, following a policy the administrator chooses (the forwarding/transferring user, the original caller, or the company), and every such call carries a note explaining who did what (e.g. "Forwarded by A, caller: B").
The report shows totals per user (or per PBX group/department) and every call in detail, and can be printed with the company logo or exported as CSV. The CSV report can also be emailed automatically, e.g. monthly to an office that does the billing without access to the app. All times are the PBX's local time.

Functions
The following functions are available for the user after standard installation with default settings:
- Report for a period (default: the current month), with totals and a list per user, sortable by every column
- User search by name, SIP name or extension, with * wildcard
- Every call of one user in detail: time, number, duration, billed time, rate, cost and a note for forwarded/transferred calls, with a filter (e.g. a number or "transferred")
- Print with company logo, and CSV export (all calls, or the calls of one user)
- Users renamed during the period are kept as one user (identified by the PBX object, not the name)
- Billing of forwarded, transferred (blind and consultation) and mobility calls to the responsible user
- Master/slave systems: calls of users on every PBX, over the trunks of every PBX
- Privacy: the last 4 digits of called numbers are hidden (on by default)
- Times in PBX local time, including summer/winter time changes
The following functions can be switched on/off from the manager "Configure" panel in the Settings app (PBX plugin). Enabled functions will be available for the user.
- Let users edit the rate table themselves
- Let users change the currency
- Who pays for forwarded calls, blind transfers and consultation transfers (the forwarding/transferring user, the original caller, the party put through, or the company)
- Show calls without a user (e.g. a conference dialling out, or another system's calls passing through this PBX) as company calls
- Report period with time of day
- Report grouped by PBX groups (departments), optionally only groups with a name prefix
- Number format and rates per trunk, for systems with trunks in more than one country
- CSV separator and decimal sign, and how many months call data is kept
- Scheduled email report (monthly or every N weeks) with the CSV file, optionally managed by users from the app
Multi-PBX ready
Master/slave systems are supported: the app connects to every PBX of the system and checks each user's licence on the user's own PBX. Call records are needed from every PBX that has users or trunks (see Prerequisites).
Several trunks (master and slave each with its own trunk, a trunk in a PBX node, rates and number format per trunk) have been tested in basic configurations. Advanced node setups, failover/alternative trunk routing and similar setups are not covered by our tests - please test such systems in PBX Test-Mode with real calls before buying licences.
Cloud ready
No known restrictions - our own test and production App Platforms are cloud based. The PBX must be able to reach the App Platform over HTTPS for the call records.
Supported languages
- English, German
Licensing
Innovaphone App license per user, available for purchase or rent through innovaphone, assigned on the user object's License tab. The user does not need access to the app - the licence decides whose calls are reported.
App(vcomas-callbilling)
- Calls are stored for every user, but only shown when the user was licensed at the time of the call. A licence assigned later does not show earlier calls; a licence removed later (or a deleted user) keeps the calls made while it was assigned.
- The licence is checked shortly after each call. If it cannot be checked within 2 days (no connection to the PBX), the call is not shown.
- Calls without any user (e.g. a conference dialling out) are shown as company calls when "Show calls without a user as company calls" is on and at least 10 licences were installed at the time of the call.
- The person viewing the report needs no licence.
- In PBX Test-Mode the calls made during Test-Mode are shown, so the app can be evaluated with real calls before buying licences. When Test-Mode ends, they stay visible for users who are licensed by then.
- The end of the report says how many calls are not included and why (e.g. users without a licence). Problems (licences could not be checked, call records missing from a slave) are also printed and included in the email report.
- When no licence is installed, or none is assigned to a user, the user app shows a red "no licence" bar at the bottom.
- The licence information of every call record is signed by the app. Call records changed directly in the database are not shown. If calls were recorded as unlicensed by mistake, please contact Vcom: we send instructions to export the affected records on the App Platform, and return a file that corrects them.
Prerequisites
- Call records (CDRs) from every PBX that has users or trunks. In a master/slave system "Generate CDRs" must be turned on and CDR0/CDR1 set up on the master and on every slave (device configuration, not replicated).
- Every user, and every object that forwards or transfers calls, needs a Name (SIP/H.323) or a Number. A Long Name alone is not enough: the PBX names objects by Name or Number in the records that tie a call together.
- The app object needs the API access PbxAdminApi (admin) to check licences.
- For the email report: an SMTP server the App Platform can reach (user/password login or a relay without login; OAuth is not supported).
Versions
Compatible innovaphone firmware versions
- innovaphone 14r1 or higher
Application versions used for interop testing
- innovaphone 16r1
Configuration

- Install Call Billing via the "app installer" Settings plugin (preferred), or the AppStore (instance must be manually created)
- In the Call Billing Settings plugin, click "Add an App" to create the PBX app object. Assign a template; the access to PbxAdminApi is set by the plugin
- Click "Configure": the section "Call data (PBX CDR interface)" shows the values to enter in the PBX (Type, Address, Port, Method, Path, User, Password)
- PBX admin: Configuration > General > CDR0 or CDR1 (a free one), section "Log Server": enter these values. Repeat on every slave PBX
- Set the number format (country code, international and national prefix) and other options in "Configure", then enter the rates under "Rates"
- Assign the licence App(vcomas-callbilling) on the License tab of every user whose calls are to be reported
Calls appear in the report a few seconds after they end. Calls made before the CDR interface was set up are not available.
Manager "Configure" panel
The following settings are available from the Settings app, Call Billing plugin, Configure panel.

| Setting | Description |
|---|---|
| Currency | Currency used for rates and reports (common codes or any 3-letter ISO code). Only a label - rates are not converted. "Let users change the currency" lets users change it from the app. |
| Rates | "Let users edit rates" lets users edit the rate table from the app. Otherwise rates are only edited here (Rates). |
| Forwarded and transferred calls | Who pays for an external call created by a forward (the user who forwarded, the original caller, or the company), by a blind transfer (the user who transferred, the original caller, or the company) and by a consultation transfer (the user who transferred, the party put through, or the company). Every such call shows a note with who forwarded/transferred it, whoever pays. |
| Show calls without a user as company calls | Calls with no user of this PBX involved, e.g. a conference dialling out or another system's calls passing through this PBX (transit). Off by default. |
| Number format | International prefix, national prefix and country code of this PBX. Rates are matched against numbers in international format (+47...). The trunk prefix (e.g. 0) is taken from each trunk's own number. |
| Trunks | Trunks seen in the call records. A trunk in another country gets its own country code and prefixes. Rates can be set per trunk in the rate editor. |
| Export and storage | CSV field separator and decimal sign, and how many months call data is kept (0 = keep everything). |
| Groups (departments) | Lets users group the report by PBX group, optionally only groups whose name starts with a prefix. |
| Report | Period with time of day (From/To get a time field), and privacy: hide the last 4 digits of called numbers (on by default; the name of the called party is not shown then). |
| Company logo (printouts) | PNG, JPG or SVG, printed at the top right of the report. |
| Call data (PBX CDR interface) | The values to enter in the PBX's CDR0/CDR1 settings. The password is generated by the app and can be replaced ("New password"). |
| Licences | Status: connected PBX(s), installed and assigned licences, licensed users, Test-Mode, and warnings (a slave sending no call records, records from another system rejected, calls whose licence could not be checked, call records changed in the database). |
Rates
Rates are tried from the lowest "Order" number up - the first matching rate wins. The default rate is used for every call no other rate matches.

| Setting | Description |
|---|---|
| Pattern | Comma-separated number prefixes in international format, e.g. "+47 4, +47 9". "*" = every number, "!" excludes: "+ !+47" = every international number except Norway. A regular expression can be used instead. |
| Trunk | Only for calls over this trunk (shown when more than one trunk is known). |
| Price per minute, setup fee | Price per minute, plus a fee added once to every connected call. |
| Minimum charged seconds, rounding | Minimum charge per call, and rounding up to whole units (60 = per started minute, 0 = per second). |
Email report

The plugin's "Email report" panel sends the CSV report of the period just finished to up to 10 recipients - monthly (on a day and time) or every N weeks. It has its own mail server settings (server, host name, user name, password, sender address and name), "Send test email" and "Send now". The password is stored encrypted. "Users may change the report settings in the app" lets users change recipients, language and schedule from the app's Email tab; the mail server settings stay in the plugin.
User app
The burger menu in the Call Billing user app has these tabs, depending on the settings in the Configure panel:
- Rates: the rate table (editable only with "Let users edit rates")
- Settings: the currency (changeable only with "Let users change the currency") and the billing rules for forwarded and transferred calls
- Email: the email report's recipients, language and schedule (only with "Users may change the report settings in the app")
Clicking a user in the report opens that user's calls, with a note on every call that was forwarded, transferred or rang a mobile:

Contact
| Vcom AS |
| 1366 Lysaker, Norway |
| Tel: +47 21 67 37 70 |
| Mail: post@vcom.no |
For any questions please refer to our contact page.