Skip to main content

Aloe MVTS I

xDR files​

Please define the period, in which your xDR-files must be created. To do this, open meraproxy.cfg file and define the period parameter in the [Billing] section (for example, for 1 hour). Also, specify xdr_format=0 if you have not done it yet (make sure that the format value is equal to the chosen collector in JeraSoft Billing). Thus, the [Billing] section may look like this:

meraproxy.cfg
[Billing]
period = 01:00:00
file = ../billing/bill
xdr_format = 0
level = 3

RADIUS​

To allow the correct data collection via RADIUS, do the following:

  1. Open the meraproxy.cfg file and define next parameters under the [Radius] section:
meraproxy.cfg
[Radius]
q931_h323_disconnect_cause = 1
use_h323_ivr_in = 1
suppress_Q931_cause = 0
local_auth_port = 11812
local_acct_port = 11813
local_route_port = 11814
acct_port = 1813
auth_port = 1812
route_port = 1812
secret = --change to your secret in JeraSoft Billing--
acct_enable = 1
acct_address = --JeraSoft Billing IP-address--
acct_type = 1
acct_leg_type = 2
acct_stop_only = 0
dst_user_orig_leg=1
auth_enable = 1
auth_address = --JeraSoft Billing IP-address--
route_enable = 1
route_address = --JeraSoft Billing IP-address--
  1. Open the user.cfg file and define the next parameters under the [default] section:
user.cfg
[default]
user = default
acct_enable = 1
auth_enable = 1
proxy_type = 1
note

This configuration example includes all RADIUS-provided functions: Authentication, Authorization, Accounting and External Routing.

In regards to routing though, some additional settings have to be added. You can find these settings below in the External Routing section.

External routing​

In addition to RADIUS settings in meraproxy.cfg file, external routing requires the following to be present in gateways.cfg file:

meraproxy.cfg
[BILLBERY_GW]
address = 127.0.0.1
gateway_mode = 3
gateway_type = 1
port = 1720
proxy_type = 1

[BILLBERY_SIP]
address = 127.0.0.2
converter = --your SIP-HIT converter--
gateway_mode = 3
gateway_type = 1
port = 5060
proxy_type = 1

[public_access]
address = 127.0.0.1
mask = 0.0.0.0

Also, open dialpeer.cfg file, and add the following dial peers:

dialpeer.cfg
[R_BILLBERY]
dst_pattern = .+
gateway = EXTERNAL
hunt_stop = 1
priority = 100

[R_ENDPOINTS]
dst_pattern = .+
gateway = ENDPOINTS
priority = 200

These settings will insure that all your H.323 and SIP customers will be authenticated, authorized and billed via RADIUS, and every destination will be routed externally through JeraSoft Billing routing mechanism.