MyPBX User Manual

advertisement
MyBill
User Manual
Version 2.15.98.63
Yeastar Technology Co., Ltd.
MyBill User Manual
Contents
1. Introduction ......................................................................................................................................... 3
1.1 Features ......................................................................................................................................... 3
2. Managing MyBill ................................................................................................................................. 4
2.1 Administrator Login ................................................................................................................... 4
2.2 General Settings ......................................................................................................................... 5
2.2.1 Extensions ............................................................................................................................. 5
2.2.2 Rate ......................................................................................................................................... 9
2.3 Report ........................................................................................................................................... 13
2.3.1 Recharging History ........................................................................................................... 13
2.3.2 Call Logs............................................................................................................................... 15
2.3.3 Statistics .............................................................................................................................. 17
2.4 Other Settings ........................................................................................................................... 18
2.4.1 Password Settings ............................................................................................................ 18
2.4.2 RADIUS Settings ............................................................................................................... 19
3.User Configuration ......................................................................................................................... 20
3.1 User Login ................................................................................................................................... 20
3.2 General Settings ....................................................................................................................... 20
3.2.1 Extension ............................................................................................................................. 20
3.2.2 Rate ....................................................................................................................................... 21
3.3 Report ........................................................................................................................................... 21
3.3.1 Recharging History........................................................................................................... 21
3.3.2 Call Logs............................................................................................................................... 21
3.4 Other Settings ........................................................................................................................... 22
3.4.1 Password Settings ............................................................................................................ 22
4.Use MyBill .............................................................................................................................................. 23
4.1 Intro ................................................................................................................................................... 23
4.2 How to use. ....................................................................................................................................... 23
5.Connect the 3rd Party Billing System ..................................................................................................... 26
2
MyBill User Manual
1. Introduction
MyBill-- — Professional Billing Software for MyPBX
Designed for MyPBX Standard and MyPBX Pro, MyBill is the ideal software for you
to recharge the extensions, set the rates and check the detail of the bills. It will be
easy to use with a same login page and similar UI to MyPBX.
1.1 Features
● Extension Password Setting
● Call Log
● Rate Setting
● Balance
● Auto-Recharge
● Compatible with other billing systems
● Extension Recharge
3
MyBill User Manual
2. Managing MyBill
2.1 Administrator Login
Get access to the login page of MyPBX.
(Default IP Address: http://192.168.5.150)
Web System: Billing System
Username: admin
Password: password
Language: English
Note: If you want to change the default IP address, please login MyPBX and do the
configuration of the LAN Setting.
Figure 2-1
4
MyBill User Manual
2.2 General Settings
2.2.1 Extensions
The information of every extension will be listed on the Extension list page. The initial balance of
every extension is 1.00.
Figure 2-2
2.2.1.1 Extension List
Total Charge
The total amount of the charge of all extensions
Book Balance
The balance of all extensions
2.2.1.2 Information of each extensions
Extension
The number of this extension. It’s the number of the extension of MyPBX,
unchangeable.
Name
The name of this extension. You can rename it as you want. And it is always same
5
MyBill User Manual
to the extension name in MyPBX.
Status
Free or Locked. If it’s locked, this extension can’t use outbound routes of MyPBX.
It can only be edited by administrator.
Total Charge
The total recharging amount of this extension.
Balance
The balance of this extension
Limit Credit
When you choose Prepayment on Pay Type, once the balance is lower than the
limit credit, you can’t call out with this extension. When you choose Post-payment
on Pay Type, you can’t use the extension to call out when the fee you owe is
greater than the indicated Credit.
Pay Type
Prepayment: You can call outbound only if the extension has available balance.
Post-payment: You can call outbound only if the extension balance is higher than
Limit Credit.
Last Modification Date
The last time you edit this extension.
2.2.1.3 Edit Extension
Click “Edit” to configure the extension.
Figure 2-3
6
MyBill User Manual
Extension
Extension number, un-editable
Name
You can rename the extension whatever you want, and it is always same to the
extension name in MyPBX.
Password
The extension’s password. You can change it and it is always same to the
extension password in MyPBX.
Status
Administrator can set it to Free or Locked. If it’s locked, this extension can’t use
the outbound route.
Limit Credit
If you choose Prepayment on Pay Type, when your balance is below the limit credit,
your outbound call will be blocked. If you choose Post-payment, the limit credit
means the maximum money you can owe.
Pay Type
Prepayment or Post-payment
2.2.1.4 Recharge
Click “Recharge” to recharge the extension.
Figure 2-4
2.2.1.5 New Extension
When new extensions are created by MyPBX, it will be added in MyBill
automatically. You can configure it when you create the extension.
7
MyBill User Manual
Figure 2-5
8
MyBill User Manual
Figure 2-6
2.2.2 Rate
You can configure and manage all the rates here. You can set different rate for
different extensions, different calls, and different dial plans.
Figure 2-7
9
MyBill User Manual
2.2.2.1 Add New Rate
Click ”Add New Rate” to create new rate.
Figure 2-8
1.General Settings:
Prefix
It’s the Prefix of the number. It must match the dial pattern of the outbound route
in MyPBX. It will match all dial pattern without prefix.
Number Length
It is the total length of the number processed by MyPBX when calling outbound
(Include the dial pattern and the number stripped by MyPBX). If dial pattern is “9.”,
Strip “1” digit, there is not prepended number, when you dial “95503305”, the
number length is “8”. If dial pattern is “9.”, Strip ”1” digit, prepended number is”
10
MyBill User Manual
17951”, when you dial 95503305, the number length is “13”. Put “0” here to apply
to numbers of all lengths.
Rate
The rate of one billing unit.
Billing Unit
If the rate is $0.2 and billing unit is 60 seconds, the call you make will cost $0.2 per
60 second(less than one minute regard as one minute)
2.Other Settings
From & To
The time period of this rate
Initial Cost & Initial time
If the Initial Cost is $0.2 and the Initial Time is 120 seconds, the first 120 seconds
of this call will cost $0.2.
Extension
Apply this rate to the following extensions.
2.2.2.2 Import
Import the configuration file of rate.
2.2.2.3 Export
Export the configuration of the rate.
2.2.2.4 Example
Dial Pattern : “00”
Extension: 500-506,601-603
Trunk: PSTN4
11
MyBill User Manual
Figure 2-9
The setting below means the numbers start with “00” called by extension 500-506
will cost $0.3 during the first 120 seconds and $0.2 per 60 seconds then.
You can set another new rate for 601-603, and you will have different charging
methods for the same dial pattern.
12
MyBill User Manual
Figure 2-10
2.3 Report
2.3.1 Recharging History
It’s a list of recharging history of all extensions.
13
MyBill User Manual
Figure 2-11
2.3.1.1 Extension Recharge
Click “Recharge” and then choose the extension and put the amount. As shown in
the figure 2-12, the extension 500 and 503 recharge $50 respectively.
Figure 2-12
2.3.1.2 Clear Balance
By clicking “Clear Balance” button, and then choosing extension, you can clear the
extension’s balance. As shown in the figure 2-13, you will clear the balance of 501
and 502.
14
MyBill User Manual
Figure 2-13
2.3.1.3 The List of Recharging History
Total Charge
The total amount of all the recharges
Recharge Date
The specific time of the recharge
Account
The extension of this recharge
Pre-Balance
The balance before this recharge
Total charge
Total amount of this recharge
Post-Balance
The balance after this recharge
Agent ID
The ID of the user who conducted this recharge. Only the administrator has the
authority to do this.
2.3.2 Call Logs
It’s the history of all calls started by extensions. You can download, delete and
check by date and extension number.
15
MyBill User Manual
2.3.2.1 CDR Viewer
Figure 2-14
Start Search
When there are a great number of calls, you can query call logs by time and
extension number.
Calls
The total number of the calls
Total Duration
The duration of all calls
Average Duration
The average duration of all the calls
Expense
The total expense of all calls
Download and delete CDR
You can click “Download the Selected CDR” to download CDR to your PC; also you
can click “Delete the Selected CDR” or “Delete All CDR” to delete the CDR.
2.3.2.2 The item of each call
ID
The ID of the call.
16
MyBill User Manual
Source
The number which initialed this call
Destination
The number of the callee
Start Time
The time when the call started
End Time
The time when the call ended
Duration
The Duration of this call, unit: second
Billable Duration
The Bill unit of the call, unit: second
Expense
The cost of this call
2.3.3 Statistics
You can check the statistics here. You can list the statistics by extensions, date,
day, month or year.
Figure 2-15
17
MyBill User Manual
Date
The date of the call
Calls
The number of the calls
Total Duration
The total duration of all the calls
Average Duration
The average duration of each call
Amount
The total cost of all the calls
2.4 Other Settings
2.4.1 Password Settings
Figure 2-16
You can change the password to MyBill system here. After you input your new
password and click “Save” button, this page will jump to login page, and then you
can login using new password.
18
MyBill User Manual
2.4.2 RADIUS Settings
This is the interface designed for using a third party billing systems.
Figure 2-17
If you want to enable a third party billing system, you can make the configuration
here.
Asterisk Server IP
Default 127.0.0.1
Enable RADIUS
Only if you enable this, you can do the setting below
Server IP
The IP of the RADIUS Server
Password
The password to login RADIUS
Verify Username
The username of the RADIUS server
Verify Password
The password of the RADIUS server
19
MyBill User Manual
3.User Configuration
3.1 User Login
The user of each extension can login the system and make some settings. The user
name is the extension number the password is the password you set in MyPBX.
Figure 3-1
3.2 General Settings
3.2.1 Extension
You can check the status of your own extension
Figure 3-2
20
MyBill User Manual
3.2.2 Rate
The list of rates applied to this extension.
Figure 3-3
3.3 Report
3.3.1 Recharging History
The recharging history of this extension.
Figure 3-4
3.3.2 Call Logs
This page shows the call record of this extension (Only outbound call). And also
you can download your CDR.
21
MyBill User Manual
Figure 3-5
3.4 Other Settings
3.4.1 Password Settings
You can reset your password here.
Figure 3-6
22
MyBill User Manual
4.Use MyBill
4.1 Intro
Since MyBill is embedded in MyPBX, you can use it after you install MyPBX.
GSM
PSTN
PSTN
IP Provider
FXS Lines
Router
LAN
601
602
603
IP Phone
Soft Phone
604
Figure
4-1
Normal Phone
4.2 How to use.
Step 1: Login the system
Figure 4-1
23
MyBill User Manual
Step2: Configure the Outbound route in MyPBX
Figure 4-2
24
MyBill User Manual
Step3: configure the rate.
The setting below means the numbers start with “6” called by extension 500-506,
601-603 will cost $0.3 during the first 120 seconds and $0.2 per 60 seconds then.
Figure 4-3
PS: There is a default rate with no Prefix number(“ –“ here), please delete it or put it at the bottom of
the table if you want to use MyBill system.
Figure 4-4
25
MyBill User Manual
5.Connect the 3rd Party Billing System
MyBill offers an interface for a third party billing system. After setting (Refer to Chapter 2.4.2 ),
MyPBX will send CDR data to the billing system when calling. The enumeration value is as follows:
enum RADIUSCDR{
PW_ACCT_ACCT_CODE =
PW_ACCT_SRC =
PW_ACCT_DST =
PW_ACCT_DST_CTX =
PW_ACCT_CLID =
PW_ACCT_CHAN =
PW_ACCT_DST_CHAN =
PW_ACCT_LAST_APP =
PW_ACCT_LAST_DATA =
PW_ACCT_START_TIME =
PW_ACCT_ANSWER_TIME =
PW_ACCT_END_TIME =
PW_ACCT_DURATION =
PW_ACCT_BILL_SEC =
PW_ACCT_DISPOSITION =
PW_ACCT_AMA_FLAGS =
PW_ACCT_UNIQUE_ID =
PW_ACCT_USER_FIELD =
};
101,
102,// Extension number
103,// Callee number
104,
105,
106,
107,
108,
109,
110,// Start time
111,// Answer time
112,// End time
113,// Duration
114,// Bill second
115,
116,
117,
118
CDR Data to be sent:
Wed Apr 18 09:51:47 2012
Acct-Status-Type = Stop
Acct-Source = "502"
Acct-Destion = "6000"
Acct-Destinon-Ctx = "DLPN_DialPlan502"
PW_ACCT_CLID = "\"502\" <502>"
PW_ACCT_CHAN = "SIP/502-00000006"
PW_ACCT_DST_CHAN = "SIP/trunk-sps-SPSCentOS-00000007"
PW_ACCT_LAST_APP = "Dial"
PW_ACCT_LAST_DATA = "SIP/trunk-sps-SPSCentOS/6000,,tTkKWwXx"
PW_ACCT_START_TIME = "2012-04-18 01:51:34"
PW_ACCT_ANSWER_TIME = "2012-04-18 01:51:34"
PW_ACCT_END_TIME = "2012-04-18 01:51:46"
PW_ACCT_DURATION = 12
PW_ACCT_BILL_SEC = 8
PW_ACCT_DISPOSITION = "ANSWERED"
26
MyBill User Manual
PW_ACCT_AMA_FLAGS = 0
PW_ACCT_UNIQUE_ID = "1334713894.6"
PW_ACCT_USER_FIELD = "Outbound"
NAS-Port = 0
Acct-Delay-Time = 0
NAS-IP-Address = 192.168.5.138
Acct-Unique-Session-Id = "3f193cdf58db7de2"
Timestamp = 1334713907
Request-Authenticator = Verified
<End>
27
Download