Académique Documents
Professionnel Documents
Culture Documents
Calls processing
Filter and display settings
Reload settings and listeners actions
Logs window
Statistics
Registered Clients
Edit selected client
Gatekeepers
Synchronize with database
Gatekeeper settings
Users
Calls processing
This window is showing calls made by Clients (see Fig.1). You may customize the way calls are displayed with filters and maximum calls number (see Fig.2). All settings are
described below.
Icons are:
[DESTINATION NUMBER] - this is number Client dials (send by gateway or Client's device)
[CALLER ID] - this is Client's ID (sent by gateway or Client's device)
Fig.1 VoipSwitch calls processing window [CALL TYPE] - short description of Client's connection, for example:
(H323 Reg) or (SIP Reg) - call from registered H323 or SIP device
(Callback call) - call initiated by VoipSwitch after client's call to callback trigger number
(H323) or (SIP) - call from H323 or SIP gateway
Context manu give you possibility to manipulate calls display settings, including:
Freeze call list - when you activate this option you can easily look through calls that was on the list - any new call will be shown
Maximim logs - this option will allow you to limit number of calls shown in the calls processing window. It is useful when you don't need to see all calls made but for
example only last 200. In such case calls processing window is more readable and uses less system resources.
Filter - this option give you possibility to bound displayed calls. It is useful when you want to see only calls made by one Client or/and to relevant destination number
(see Fig.3). When setting up filter only new calls are filtered.
Clear filter - resets current filter applied to default settings (to show all calls)
Clear list - this option removes all calls from list (it doesn't influence calls in database, just calls window is cleared)
http://docs.voipswitch.com:8080/display/VDoc/1.0+Main+system 10/16/2010
1.0 Main system - VoipSwitch documentation - VoipSwitch Dashboard Page 2 of 4
In example on Fig.3 calls are filtered to show only callback Client calls or calls with destination number 48774560220. Every other calls will not be visible on
the list, but of course this will not influence other calls.
Reload settings mean, that VoipSwitch will read and apply all changed settings).
Start listeners may be started and stopped. By default all listeners are started after VoipSwitch start. If you want to stop listeners (ie. when changing VoipSwitch
version) just right mouse click on Calls window and choose "Stop listeners". When listenres are not running appriopriate information is shown on Calls window title bar
(see Fig. 4).
When listeners are not running new calls will not be connected.
Logs window
This window is used to display startup parameters and informations about abnormal Clients operations (ie. calls limit reaching, unknown gateways call attempts).
Statistics
Statistics window is displaying in real time informations about current and past calls (since VoipSwitch start). There are four main sections - summary statistics, incoming calls,
outgoing calls and Clients/Users counters. Below you can see exemplary Statistics window (Fig. 6) and short description of computed values:
Connections connected - sum of all successful connected calls since last
VoipSwitch start
Total connections - sum of all calls since last VoipSwitch start (connected and
failed)
ASR - (Answer seizure ratio)
- is computed as:
Connections connected / Total connections
http://docs.voipswitch.com:8080/display/VDoc/1.0+Main+system 10/16/2010
1.0 Main system - VoipSwitch documentation - VoipSwitch Dashboard Page 3 of 4
Incoming statistics are calculated from client perspective and outgoing are for Voipswitch owner. Example of such difference is visible when client is calling to
number which is sent first offline gateway and than it is rerouted by VoipSwitch to gateway which connects. Outgoing ASR will be 50% because one call to
gateway1 failed and second was connected by gateway2. Incoming ASR will be 100% because one call from client were connected no matter than two gateways
were tried to connect. Total calls in given example for incoming statistics will be 1 and for outgoing 2.
Registered Clients
All clients are represended by icon, username and their IP address (public / private)
Clients icons are:
http://docs.voipswitch.com:8080/display/VDoc/1.0+Main+system 10/16/2010
1.0 Main system - VoipSwitch documentation - VoipSwitch Dashboard Page 4 of 4
After right click on Client some basic informations are also displayed (tariff, founds, prefixes and codecs).
Gatekeepers
Gatekeepers window is displaying current state of all active gatekeepers. VoipSwitch has to be registered to gatekeeper in order to send a call there. Every gatekeeper login state
is shown on Gatekeepers window (Fig. 9).
Gatekeeper settings
Gatekeeper settings shown after right click on one of listed gatekeepers (Fig. 10). You may see some simple statistics (calculated since VoipSwitch start) and Gatekeeper IP,
name, H323 ID, E164 and codecs options.
Each gatekeeper has icon next to it's name describing current register status. There are
only two possible icons as shown below:
There is also (Fig. 10) log information about gatekeeper login state and 3 buttons to Login, Logout and Reload data for gatekeeper.
Users
This window is showing currently logged and past login/logout actions for Clients which use standalone Callback or Web Callback and Callshop module (Fig.11).
For each Client login and logout time are displayed. Clients may have different icons with their names, it
depends on their login state as shown below.
Labels
voipswitch calls window windows processing filter reload log logs statistics registered gatekeepers users clients
http://docs.voipswitch.com:8080/display/VDoc/1.0+Main+system 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 1 of 13
2.0 Clients
2.1 Introduction
2.2 Common features of clients
2.2.1 Login and password
2.2.2 Tariff
2.2.3 Currency
2.2.4 Account state
2.2.5 Prefixes
2.2.6 Codecs
2.2.7 Active state
2.2.8 Personal data
2.2.9 Reseller
2.3 GW Clients
2.4 PC2Phone Clients
2.5 GK/Registrar Clients
2.6 Callback Clients
2.7 IVR Clients
2.8 Common Clients
2.9 Callshop Clients
2.10 Guest account
2.11 Automatic clients generation
2.11.1 Creating lot
2.11.1.1 Lot's propperties
2.11.1.2 Logins and passwords
2.11.1.5 Supported codecs
2.11.2 Assigning reseller to a LOT
2.11.3 Lot export
2.12 Currencies management
2.12.1 Description
2.12.2 Currency definition
2.12.3 Adding ratio values
2.12.4 Advanced - currency processing
2.13 Client's import and export
2.13.1 Importing/exporting clients
2.13.2 CallShop clients export
2.1 Introduction
Every call coming to VoipSwitch must be authorized before processing. Voipswitch authorize calls from 6 types of clients that differ by functions, method of autorization and available options.
Some features are the same for all kinds of clients.
Clients are added using VSM or VSC or by reseller through VSR pages. In addition automatic registration realized through Web or Portal is used to add clients.
1. GW clients
2. PC2Phone clients
3. GK clients
4. Callback Clients
5. IVR clients
6. Common clients
7. Callshop clients
8. Guest account
2.2.2 Tariff
Tariff assigned to a client is used to:
The cost of every call is calculated using tariff right after disconnection. When tariff for a client changes in the future, all calls made untill this change won't be changed. The system will use new
tariff only for new calls and old ones will be left unchanged. Details on how to define tariffs and how to use them in cost calculation are described here
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 2 of 13
2.2.3 Currency
This option allows assigning currency
to a client so he or she can be charged
with different currency that
VoipSwitch owner charges.
Details about currency support are
described here
You can use Credit option to allow users to call below 0. It is not as regular payment, rather like a value which allows user call below 0 until he reach value. You can use that
for postpaid payments but not like adding more credit. If you are using postpaid system, add Credit = 100$, and when client finally pay add normal payment as prepaid. It will
be working like postpaid system.
4. Return credit - this payment decreases available credit for client or removing it. You can't return more credit than you added before.
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 3 of 13
Adding payments
The most typical way to increase account state (balance) is to add payment. It can be done by VoipSwitch owner using VSM or VSC or by reseller. Reseller can add funds only to clients or resellers
belonging to him. Clients can see history of payment on the web and recharge accounts in several ways. Methods of recharging are described here.
2.2.5 Prefixes
This is a general name used for manipulating information being sent in a client's call. It is specified as:
First it must be explained how VoipSwitch processes calls coming from a client. After client authorization, VoipSwitch checks the dialed number. It must match the entries defined in Dialing Plan
and in Tariff. Before searching the dialed number in dialing plan it can be modified by Dialing plan prefix. It will not change number used to find prefix in Tariff. To modify number before
searching in tariff tariff prefix must be used. Caller id prefix is used to modify caller ID being sent to VoipSwitch from a client.
Dialing plan prefix and tariff prefix modify the called number seperately for every given client. A rule defined in one place is not used for another.
Every prefix is built from digits or characters. Modifcation of them is described in special section available here
Every callback call consists of two legs, which means that different rules can be set for modyfing number or caller id for every leg.
2.2.6 Codecs
Allows the selection of 9 codecs groups depending on what client device can support.
One codec has to be set as primary and it will be the default codec.
Voipswitch supports group of codecs, meaning that if you select g723.1, all kind of g723.1 codecs will be allowed, including g723r63 and g723r53. Same thing for other codec groups.
After selection of the codecs you can enable Use client codec to let VoipSwitch negotiate the right codec from the list with client device. Of course client's device has to be able to autonegotiate
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 4 of 13
codecs.
Please note that VoipSwitch acts differently in "proxy all" mode and in "proxy only signaling" mode. In "proxy all" VoipSwitch does not allow codec negotiation directly between endpoints and
instead will negotiate itself with each endpoint in part. While in "proxy only signaling" the endpoints can negotiate directly the codecs, it is possible to choose any codec that both endpoints
support, even those that are not listed in VoipSwitch settings.
These information is used when creating invoices or sending warning emails defined in Services.
2.2.9 Reseller
Client created in VoipSwitch can
belong to reseller or he can be
unassigned. Information about
assigned reseller is presented in client
definition and can be changed.
However it is not recommended to do
it manually. It is more secure to do it
through the resellers pages.
2.3 GW Clients
Those clients are used mostly for carriers and wholesale services. Other popular application is to authorize DID numbers being used to:
activating callback
calling to IVR scenarios
calling to devices and make charging them for answering
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 5 of 13
Recognize by H323 ID option allows sending SIP and H323 traffic without IP authorization.
PIN source option is used for calls made to IVR system. Calling to PIN asking scenario allows to work with calling cards services. Only with this option checked GW client can connect to
scenario with PIN name. Such call will be billed in two ways.
SIM Source
Calls limit
Used to a limited number of concurrent calls being sent from gateway. When number of calls is equal to this limit any new calls from this client will be rejected. This is also checked for calls in
progress and connected apiece.
Settings for PC2Phone clients are very simple and the fields have mostly the same
meanings as for GW clients. Generate ringback is the new option here.
If checked VoipSwitch will generate ringback tone while calling the PC2Phone
user.
PC2Phone application always uses g723.1 codec group so there is no need for codec settings.
PC2phone client is allowed to make only one call at the same time. This type of client is hot billed.
Login and password defined for every client are used to log using PC2Phone application
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 6 of 13
After sucessfull loging to VoipSwitch a device will appear in Registered clients. Different icon will be used for h323 and sip devices.
GK/Registrar clients working with SIP protocol can be used also with VoipTunnel module. How to work with VoipTunnel and GK/Registrar clients is described here
After being connected to destination number a client can finish call and pick another number without disconnecting source leg of connection.
After setting appropriate scenario the client can hear account state and remaining time announcement after every call made.
There is an option available to charge source leg only if destinations were connected.
Separate dialing plan, tariff or caller id prefix can be set for source and destination number used. Thanks to this it is possible to use different rates defined in the same tariff for source and
destination numbers. Also different gateways can be used.
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 7 of 13
To enable calling from authorized numbers feature "Recognize by ANI" option has to be checked for the client.
PC2Phone dialer;
IP Phone;
Calling Cards service, PIN-less service;
Callback service.
It is recommended to use this type of client for new clients. One account for all mentioned services can be set in this way and no matter what service is used the same account is charged for calling.
If the client desirably has to have limited accessibility to services it should be considered using other account type (PC2Phone, GK/Registrar, IVR).
Calls redirection can be set in the same way as for other types of clients. No matter what service is used to log to VoipSwitch (from dialer or IP Phone) client can receive calls.
Callshop application is available as part of a callshop module. Every callshop definition consists of a number of cabins assigned. As a cabin can be used GW, GK/Registrar, Pc2Phone or Common
client's accounts.
Client assigned to callshop is used differently then unassigned. When callshop client (to which specified cabin belongs) is logged in VoipSwitch then the cost of every call is taken from callshop
account, not from cabin account.
Cabin account state should be set to 0 to avoid calling from it when callshop application is logged off.
When callshop client account will reach 0 then any cabin will be blocked from calling. Tariff assigned to cabin is separate from tariff assigned to callshop. This tariff is used to calculate end user
prices and is higher then callshop tariff. Difference between those tariffs is a profit for callshop. Callshop client can change cabins rates through the web interface so such client has a right to set
rates charged from clients.
It is important to assign different tariff to every callshop client. If assigned the same changing it will affect every callshop client with such tariff.
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 8 of 13
Every row in this list is describing one lot. There is name of a lot, number of clients and type, creation date and links used to activate or deactivate all clients in a lot. Before activation or
deactivation the system asks about confirmation.
It is possible to remove the selected lot by clicking the Delete button above the list. If more than one is checked the checkbox system will remove all checked.
Removing lot will remove all clients belonging to it and operation cannot be undone.
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 9 of 13
Starting characters cannnot be too long in comparison to Number of characters. For example setting login length as 5 and starting characters as value 7777 will allow only to generate
9 different logins. Depending on client type the login or password must be unique so if there are any other clients created already it will narrow possible values.
Logins and passwords are generated randomly. Every character used in login or password is randomly generated and its type depends on which option is checked:
Use numbers
Use up cases
Use low cases
If more than one option is checked the system will generate it as a mix of different characters.
For GK/Registrar clients it is good to create logins as numbers only so later it is easy to set dialing plan for automatic calls redirection to them without any number modificiations.
For IVR clients password is used as a pin to log to the system so it must be defined also as number because letters are not possbile to enter from phone keypad.
Sequential generation - allows to generate login or password sequentially. Below there is Starting number and Step. During client generation it will start from starting number and every new
login or password will be increased by step value. If there are starting characters set it will add generated value to it. It wont be added as number but as concatention of characters for example
starting characters set as 1000 and starting number as 3000 will create first client as 10003000 and not 4000.
Tariff
Chose tariff according to rules
Funds
Dest. dialing plan prefix
Dest. tariff prefix
Dest. caller ID prefix
Src. dialing plan prefix
Src. tariff prefix
Src. caller ID prefix
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 10 of 13
Assigning lot in this way is not typical way and it will not cause
changing "Clients limit" value for reseller. Normally resellers
should create their lots from reseller system VSR.
CSV comma delimited file is used as output format. Such file can be opened and modifed by Excel or notepad. During export operation there is progress window available presenting current status
of operation and when option open file after finishing is checked the system will open exported file automatically when finished.
One thing is very important to work properly with currencies in VoipSwitch. Tariff assigned to a client and payments added should be considered currency defined for him. Rates in tariff are added
only with value and only assinging them to clients will define what currency and ratio is used to calculate cost of a call. The same goes for payments. Amounts added must be connected with
currency defined for every client.
Currencies are not supported for any level of resellers or costs calculation for termination devices. Only based tariff can be used to calculate their cost. All tariffs assigned to resellers
or termination gateways must be in the same currency which is treated as base.
Future browsing calls made by clients in VSM, VSC or VSR will show value made in base currency. Clients logging on the web and portal will be able to see these values modified by ratio defined
for currency. Values taken from calls are multiplied by ratio assigned to currency defined for clients and taken for browsed date.
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 11 of 13
1. A client after logging to his web pages will see costs taken from calls table but multiplied by ratio. After saving cost of a call for client ratio is saved in every call record and later used to
show values in client currency. Browsing calls in VSM, VSR and VSC will show results without any multiplying.
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 12 of 13
Note: In VSM - user could select which column may be exported - but changing the exported columns will cause problems in importing this data back to VSM or VSC, because only all-columns
exports could be imported back.
Exported file format:
test,123,3277362,173,235.0000,SD:;ST:;DP:;TP:;CP:;SC:,-1,-1,0
1. Client login,
2. Password,
3. Client type - value set there is coding option available for client definition like codecs, connect immediately and others,
4. Tariff ID in system (or Tariff Interstate ID) - is internal number assigned to every tariff created in system. It is not presented anywhere in the system and can be seen only in export file,
5. Account state - client's money amount,
6. Tech prefix - values coded here are used as tariff prefix (TP), dialing plan prefix (DP) and caller ID prefix (CP). For Common Clients and Callback Clients there will be also source dialing plan prefix
(SD), source tariff prefix (ST) and source caller ID prefix (SC) This values are coded from appropriate text boxes in client's definition,
7. Reseller ID in system - internal number assigned to reseller of first level. This number is not visible in system,
8. Intrastate Tariff ID,
9. Calls limit - it stands for calls limit value limiting number of concurrent calls being accepted from defined client.
Export client's operation with visible dialogs: a) Performing task progress (default dialog in VSM for long tasks), b) Select columns which should be saved to file.
As described above some fields are difficult to create by someone who wants to import clients. It is recomended to export first one or few clients with proper definition. Later using Notepad,
Excel or OpenOffice it can be modified and multiplied. The value of some fields and others can be filled with logins and password or account state values. The file can be saved from Notepad,
Excel or OpenOffice using CSV file format and imported with VSM or VSC application.
In the future it will be available to import clients using special form by filling coded values.
1. Client's login
2. Password
3. Tariff ID (from VoipSwitch's database)
4. Account state
5. Reseller ID (from VoipSwitch's database)
6. Tech prefix
In Callshop there is no possibility to assign Interstate/Intrastate tariff, so this field is not supported by export too.
Because of differences between exported file format between Callshop clients and other clients in VoipSwitch such accounts data can't be interchanged using export/import options
without editing the exported file.
Children (21)
Account state
Active state
Automatic clients generation
Callback Clients
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
2.0 Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 13 of 13
Callshop Clients
Client's prefixes
Codecs
Common Clients
Currency
GK Registrar Clients
Guest account
IVR Clients
Login and password
Personal data
Reseller
Tariff
GW Clients
PC2Phone Clients
Currencies
Prefixes
Recharging accounts
Comments (1)
can we deactivate a client automatically after a particular time period say 60 days after recharge
___________________________
Expiration service is triggered after first call made by Customer. More details here.
http://docs.voipswitch.com:8080/display/VDoc/2.0+Clients 10/16/2010
3.0 Destinations - VoipSwitch documentation - VoipSwitch Dashboard Page 1 of 5
3.0 Destinations
3.0 Destinations
Every call coming to VoipSwitch is first authorized by proper definition of clients. Then the dialed number is forwarded depending on the Dialing Plan rules to te specified destination.
There are 5 types of destinations where VoipSwitch can send calls:
3.1 Gateways
3.2 Gatekeepers
3.3 GK, PC2Phone, Common clients
3.4 Enum routes
3.5 Lookups
3.6 VoipBox (IP IVR)
3.1 Gateways
In this section can be defined the termination gateways where calls will be sent . VoipSwitch forwards traffic to the gateways in direct mode (IP to IP).
http://docs.voipswitch.com:8080/display/VDoc/3.0+Destinations 10/16/2010
3.0 Destinations - VoipSwitch documentation - VoipSwitch Dashboard Page 2 of 5
3.2 Gatekeepers
VoipSwitch can log to gatekeeper or registrar by itself and then send calls there. All information used to register should be provided there. Useful function is LRQ which allows to negotiated
with Gatekeeper new ip address and new format number. This option must be supported by gatekeeper and VoipSwitch will handle it. After you create the GK/Registrar account you can go to
the main VoipSwitch application, press right mouse button on the gatekeeper in "Gatekeepers" window and choose "Relog" to make VoipSwitch try to register immediately. Properly defined
and configured gatekeeper is marked with blue color. If there is any problem it is marked with red.
After selecting the type of client specified login should be chosen from the list of clients.
http://docs.voipswitch.com:8080/display/VDoc/3.0+Destinations 10/16/2010
3.0 Destinations - VoipSwitch documentation - VoipSwitch Dashboard Page 3 of 5
After the assignment a call coming to this number will be sent to such device or dialer. No matter what IP is used to login or whether a device is logged from behind NAT (SIP protocol only)
the call will be sent properly. Sometimes it is required to modify number sent to client device to change according to rules. On VSPortal client can set "Answering rules". This feature enables
him to define variety of calls redirection rules. Clients are charged for redirection depending on their tariffs. It is possible to charge clients for answering calls sent to them (DID option in GW
Clients settings) and client tariff will be used to calculate cost. For bigger number of clients it is possible to define redirection for all clients using just one entry in dialing plan. Every such client
login should have the same beginning.
1. e164.arpa comprises all PSTN numbers. Lets imagine that Bob has a +48 100 200 300 proper phone number. In the same time he has SIP account at callto.net, which is
sip:bob@callto.net. He added a record to the e164.arpa (usually by Web pages maintained by e164.arpa itself) which contains his PSTN number and his SIP account information. Now
Alice wants to call Bob. She has SIP account sip:alice@haloswiat.pl. But she knows only the number of proper phone of Bob. So she just dials +48 100 200 300. If haloswiat.pl is
capable of enum lookups, it will look up the enum.arpa, finds Bob's SIP URI, and dials to his SIP device, which makes the call costless for Alice. If there is no Bob's record at enum.arpa,
the call should go to his proper phone in a "normal" way.
2. e164.org is responsible eg. for a range of international numbers started from 88. Lets assume Bob asigned 8892 100 100 100 number to his SIP account at callto.net. It could be done on
e164.org Web pages or via Portal. Alice's SIP device is logged to haloswiat.pl, another VoIP provider. If Alice wants to reach Bob, she just dials his 8892 100 100 100 number.
haloswiat.pl search for that number e164.org and finds the Bob SIP account. Then tries to connect to that account. Of course callto.net has to have a guest account to accept the call
from "uknown" haloswiat.pl.
First things first enum route has to be configured in VSM's Enum roots section. There aren't many options to be set here - Description is a name of enum route that will be stored in
database and IP number is an address of enum route.
Secondly Dialing Plan entry has to be added. Enum route can be added with priority 0 so VoipSwitch will try to send call using this entry first and if failed will route it to the gateway
specified with the priority 1.
http://docs.voipswitch.com:8080/display/VDoc/3.0+Destinations 10/16/2010
3.0 Destinations - VoipSwitch documentation - VoipSwitch Dashboard Page 4 of 5
3.5 Lookups
With VoipSwitch version 944 lookup for a number in external Lookup Service Provider has been added. There is a new route type in Dialing Plan - Lookup route. Choosing this route allows
you to set a destination as one of the service providers saved in Lookup table. The Lookup table can be changed only using some sql tools (not directly from config) because lookups are not
commonly used and each one needs a small VoipSwitch's modification.
The first provider we support is RMV3. When the call is directed to the lookup service VoipSwitch sends to the provider via http authorization credentials (from DB) and called number.
Provider sends back new number. Now VoipSwitch applies client's dialing plan prefix to that number (second time in that call, before dialing plan prefix was used to dialed number) and makes
new search in Dialing Plan to find destination for given number. Then VoipSwitch just forwards the call to new destination.
Lookup services are usually used to get information about real provider of a mobile number. The prefix of a number is not longer enough to specify the provider, specially since we are able to
change the operator and save our mobile number.
There is no one standard lookup response so small VoipSwitch's modification is needed before using this feature.
Statement must be entered in the query_string column of lookups table. Returned column name is not important. String "sql://" defines type of lookup (currently two - "http://" and "sql://"
types are allowed).
"#cli#" is a dynamic variable replaced with proper value by the VoipSwitch before statement execution.
Possible dynamic variables are :
"#number#" - full dialing plan number (parsed with client's and dialing plan prefixes)
"#cli#"
"#caller_ip_number#"
"#id_client#"
"#client_type#"
http://docs.voipswitch.com:8080/display/VDoc/3.0+Destinations 10/16/2010
3.0 Destinations - VoipSwitch documentation - VoipSwitch Dashboard Page 5 of 5
Children (7)
Destinations
Destinations - Clients
Destinations - IVR
Enum route
Gatekeepers
Gateways
Lookups
http://docs.voipswitch.com:8080/display/VDoc/3.0+Destinations 10/16/2010
4.0 Dialing plan - VoipSwitch documentation - VoipSwitch Dashboard Page 1 of 11
This part of manual describes rules for creating dialing plan entries and available options.
Modes available for SIP client calling to SIP destination (meaning is the same as for H323 modes):
http://docs.voipswitch.com:8080/display/VDoc/4.0+Dialing+plan 10/16/2010
4.0 Dialing plan - VoipSwitch documentation - VoipSwitch Dashboard Page 2 of 11
Signalling proxy
Modes available for h323 client calling to SIP destination and from SIP to h323 (changing protocol):
Media proxy - VoipSwitch is handling protocol conversion as well as media packets are passing through it.
No media proxy - only protocol conversion is being made by VoipSwitch. Media packets are being sent directly between endpoints.
In case it is desired three gateways to be balanced equally it has to be set 33/33/34 "Balance share" for those gateways. The balance share does not have to be equal for
each entry, but their sum has to be 100.
For better finding entries with defined load balancing all of them are selected in different green color.
http://docs.voipswitch.com:8080/display/VDoc/4.0+Dialing+plan 10/16/2010
4.0 Dialing plan - VoipSwitch documentation - VoipSwitch Dashboard Page 3 of 11
Different "Call strings" are present for different destination protocols (SIP or H323)
This field is complex and allows modifying different call settings last time before the call is sent to the termination gateway.
At the end of this field there is a button with 2 dots. Pressing it will open a window that will guide you through the possible settings for this rule.
Information available to be changed:
Rules definition on how every string is changing are described with details in section prefixes.
http://docs.voipswitch.com:8080/display/VDoc/4.0+Dialing+plan 10/16/2010
4.0 Dialing plan - VoipSwitch documentation - VoipSwitch Dashboard Page 4 of 11
Example:
In the field
t[paid1] <sip:t[paid2]>
OR
t[fm1] <sip:t[fm2]>
can be used ( prefix can be used when at least one token t[] can be created).
t[x] means part x of field defined in the mentioned table
In order to add Privacy:ON to the INVITE with P-Asserted-Identity defined prefix should look like:
Because Privacy is "static" prefix it doesn't need any entry in the field_description table.
http://docs.voipswitch.com:8080/display/VDoc/4.0+Dialing+plan 10/16/2010
4.0 Dialing plan - VoipSwitch documentation - VoipSwitch Dashboard Page 5 of 11
Because Remote-Party-ID mechanism never got an RFC status even we suggest to use P-Asserted-Identity instead.
To adjust From field send from VoipSwitch to external gateways following rule can be used:
From:t[fm3] <sip:t[fm2]>
This rule will take user caller ID prefix to manipulate incoming From parameter from INVITE packet (for Vippie or SIPLink user login is send as caller ID).
If user Destination CallerID prefix is set to "!15672480700" then above rule will cause VoipSwitch to compose From parameter for outgoing INVITE like that:
instead of default:
From: <sip:15672480700@213.218.118.232:5060>;tag=170238101413183785718
All these "Map DNIS to..." features will automatically route the calls to the GK/Registrar, PC2Phone or Common client account having the Login as the dialed
number.
For example, to route calls internally between all your PC2Phone clients all you need to do is to create the PC2Phone accounts with distinct numbers as Login name
and then add a Dialing Plan rule having Map DNIS to PC2Phone accounts enabled.
While creating the Dialing Plan rule the distinct number has to be set in the Number field and the Destination can be set any of the present.
Destination is omitted in this case but has to be set with any value.
http://docs.voipswitch.com:8080/display/VDoc/4.0+Dialing+plan 10/16/2010
4.0 Dialing plan - VoipSwitch documentation - VoipSwitch Dashboard Page 6 of 11
"Map DNIS to..." features can be found under "Connection properties" in Dialing Plan
http://docs.voipswitch.com:8080/display/VDoc/4.0+Dialing+plan 10/16/2010
4.0 Dialing plan - VoipSwitch documentation - VoipSwitch Dashboard Page 7 of 11
Clicking on Export button results in exporting all dialing plan entries into the coma delimited CSV file. System will ask for location, where the file has to be stored, and
it's name and then it will proceed with the operation. CSV file can be opened in Notepad, Excel, OpenOffice Calc or any similar suftware for further modifications.
If the filter is applied only filtered records will be exported.
Exported columns order:
Number Priority Destination Id route Tech prefix Call type Type From day To day From hour To hour Balance share
Number and priority are self-explanatory and the same titles can be found in a form when editing dialing plan position in VSM or VSC.
Destination and id route defines where calls for given number will be send.
Destination description:
7 Lookup lookups
Tech prefix stores value for part defined in VSM as Rules for modifying client's data. This text value has coded conversion rules for the dialed number, caller ID,
H323 ID before sending them to destination from VoipSwitch. It is quite complicated to manipulate directly those values but anyone interested can define some test
entry with valid conversion and later use it in these files (for import purpose). Examples of string manipulations are defined here
Call type value is binary coded and it defines dialing plan mode. Depending on which protocol is using specified route (SIP or H323) this value is differently encoded.
It is not recommended to modify it manually.
Type has coded definition of values defined in VPSconfig as Special properties. It shouldn't be modified directly but rather copied from existing row.
From day, To day, From hour and To hour values are used for defining time spans.
The last value, Balance share, is used for configuring Load balancing in the Dialing Plan.
http://docs.voipswitch.com:8080/display/VDoc/4.0+Dialing+plan 10/16/2010
4.0 Dialing plan - VoipSwitch documentation - VoipSwitch Dashboard Page 8 of 11
Import button
Of course file with export from the dialing plan can be used as import. But there is a feature which allows importing incomplete rows from file. The only one required
field is number. If other fields are empty ( for example '4877',,,,,,,,,,,,) the system will present a form to fill missing values before using file for import. This form is
the same as the one used with adding or editing dialing plan positions. Some parts are hidden or displayed depending which fields are in import file.
Only first row is checked while other rows are imported with values filled using this form.
'4877',0,,,'DN:9889',,,,,,,50,
This row will cause the system to ask about destination device and call type. These values must be picked up in a form. Other rows in this file will have the same
values except columns filled with not empty values like "Number", "Priority", "tech_prefix", "Balance share" where every value will be taken from appropriate row.
Only setting two comas without any character between them will cause asking about missing value. Space character or two apostrophies '' between comas
won't be taken as empty.
http://docs.voipswitch.com:8080/display/VDoc/4.0+Dialing+plan 10/16/2010
4.0 Dialing plan - VoipSwitch documentation - VoipSwitch Dashboard Page 9 of 11
For the same dialling plan numbers and the same priorities the load balancing service is used that requires to enter the percentage of traffic sent to each of the gateways
and the LCR function will not be applied here, as well.
4.9.2 Operation
This function operates by changing the priorities of gateways used in the dialling plan depending on the termination cost. At defined intervals, a special service checks
changes to tariffs assigned to gateways that are used in the dialling plan. The lower the termination cost the more frequently the gateway is used (lower value of the
priority field for this record, 0 is the biggest priority). In order for the LCR function to be used, there should be at least two records with the same number but a
different priority in the dialling plan.
After adding two identical numbers with a different priority those records will appear in the Least Cost Routing menu. You should activate those records by selecting
them and clicking the Active LCR option. If you have more than two identical numbers with a different priority it is possible to activate all records or to leave some of
them inactive - they will be ignored.
All termination gateways used in the dialling plan should have the cost tariffs added, since the priorities are calculated based on them. The lower the rate the higher the
priority for a particular gateway. Gateways without the cost tariffs added should be inactive in the Least Cost Routing menu.
Calculations for LCR are made at certain time intervals, defined in Services -> Least Cost Routing. This module has to be active with the set time range. After making
changes to the cost tariffs, special functions compare the rates and determine a priority for the termination gateway.
http://docs.voipswitch.com:8080/display/VDoc/4.0+Dialing+plan 10/16/2010
4.0 Dialing plan - VoipSwitch documentation - VoipSwitch Dashboard Page 10 of 11
In the future we plan to combine the LCR function with dynamically calculated statistics. This will allow us to combine the price criterion and the quality. It will be
possible to configure the system in such a way that any change of priorities in accordance with the LCR will only apply to gateways for which ASR or ACD have their
values bigger than those defined.
there must be at least 2 same prefixes set to different destination gateways (with calculate cost option enabled) with different priorities (cheapest
gateway must have higher priority - highest priority is 0) - at first time the priorities need to be set manually correctly in order from cheapest to
most expensive
dialing plan -> least cost routing the LCR function need to be activated on those prefixes
VSM->services->least cost routing service must be activated
dialing plan prefix must be equal to the destination cost tariff prefix (ex. dialing plan entry is 1 212 so in cost tariff must be a rate for prefix 1 212)
LCR will work only after change of the rate in cost tariff (ex. GW1 rate for 1212 prefix = 0.015 priority 0, GW2 rate for 1212 prefix = 0.02
priority 1 - after the LCR is activated (priorities are set properly because GW1 is cheaper than GW2 and has higher priority) we change rate in
cost tariff of GW2 to 0.01 then after the VSM->services->least cost routing check interval is passed the priorities should be reorganized for the 1
212 prefix)
Labels
dialing plan import export csv load balancing not jump calling modes
Children (10)
Automatic calls redirection to group of clients
Calling modes
Dialing Plan - Base informations
Dialing Plan - Special properties
Dialing Plan - Time span
Fields rules
Importing and exporting dialing plan data
Least Cost Routing (LCR)
Load balancing
Rules for modifying client's data
Comments (5)
Kind regards,
http://docs.voipswitch.com:8080/display/VDoc/4.0+Dialing+plan 10/16/2010
4.0 Dialing plan - VoipSwitch documentation - VoipSwitch Dashboard Page 11 of 11
Jaroslaw Marek
I had request to have 2 different dialing plan for the same pin
How do I do it? for example 14082222222 calling to USA is routing to premium route while 0014082222222 is routing to LCR.
http://docs.voipswitch.com:8080/display/VDoc/4.0+Dialing+plan 10/16/2010
5.0 Tariffs - VoipSwitch documentation - VoipSwitch Dashboard Page 1 of 10
5.0 Tariffs
Every tariff is defined the same way and only assigning them causes different usage.
A call will be connected only if the prefix of the dialed number exists in the tariff. All the dialed numbers without matching prefixes in tariff
table will be rejected. Prefix must exists in tariff assigned to a client, reseller (if client is assinged to reseller) or in tariff assigned to gateway if
calculating cost is set.
List of defined tariffs can be accessed by clicking Tariffs node in VSM or in VSC.
http://docs.voipswitch.com:8080/display/VDoc/5.0+Tariffs 10/16/2010
5.0 Tariffs - VoipSwitch documentation - VoipSwitch Dashboard Page 2 of 10
5.2.3 Resolution
Every rate assigned to prefix is per one minute. Tariff definition allows to charge clients for shorter periods starting from 1 second to any number of
seconds. Resolution is a parameter which is used for that. Value of resolution is specified in seconds and defines what part of a minute price should be
added to cost of a call. For example when it is set to 6 it means that every 6 seconds one tenth of the minute price will be added to the cost of a call.
Resolution can be set to any value but for clear calculation it should have a value which exactly divides number 60.
http://docs.voipswitch.com:8080/display/VDoc/5.0+Tariffs 10/16/2010
5.0 Tariffs - VoipSwitch documentation - VoipSwitch Dashboard Page 3 of 10
If you would like to setup some rate for hours crossing the midnight (ie 8.00PM - 6:00AM) you shouldn't add this rule in one stage. Insted of
this add two rules (first one: 8:00PM - 12:00PM, and second one: 0:00AM - 6:00AM).
5.2.9 Currency
With this option different currencies can be assigned to the tariff. More informations about currencies can be found here
Prefixes are assigned with rates and descriptions. Tariff can have any number of prefixes defined in it. The same as in dialing plan longer ( more detailed )
prefixes matching dialed number are taken first before shorter.
Examples
Descriptions defined in every prefix should be filled properly because they are used later in detailed billing, on client web CDR page or in Reports. The same
description can be used for different prefixes and later can be used for more general grouping. For example 486 and 485 are Poland mobiles however with
different cost. Later in summary we can see it grouped by description and see how many calls went to polish mobiles.
If price is the same for many similar prefixes it must be considered if it cannot be replaced with one more general prefix. Tariffs with smaller
number of prefixes are easier to manage and with higher traffic can be processed faster.
Examples
For every prefix some parameters can be set to modify calculation of cost. Some parameters are the same as for tariff. If such parameter has value higher
then 0 it will be used instead of the one defined in tariff. It allows to set different value for specific prefixes.
http://docs.voipswitch.com:8080/display/VDoc/5.0+Tariffs 10/16/2010
5.0 Tariffs - VoipSwitch documentation - VoipSwitch Dashboard Page 4 of 10
Prefix properties
5.3.1 Description
In the "Description" field can be put some text that the client will see while calling from one of VoipSwitch's dialers, viewing rates, browsing calls made or
on the billing.
5.3.2 Prefix
Prefix (phone number) that the preferences will be applied to.
5.3.8 Resolution
See resolution defined for tariff.
http://docs.voipswitch.com:8080/display/VDoc/5.0+Tariffs 10/16/2010
5.0 Tariffs - VoipSwitch documentation - VoipSwitch Dashboard Page 5 of 10
Values set there defines when the prefix will be used. It is possible to define from which day of a week to which day and between which hours this prefix
will be valid. Below is an example of how it should be set to have off-peak and on-peak rates.
Example
Prefix, Description, Rate, From Day, To Day, From Hour, To Hour, Grace Period, Minimal Time, Resolution, Rate Addition, Rate Multiplier, Surcharge Time, Surcharge
Amount
Be sure you don't have column names in the text file, and the fields are comma-separated ( , ) or semicolon-seperated ( ; ). The file should not
contain comments or column headers and data should start from the first row.
Usually you can work this rate file in Microsoft Excel or Open Office and save it as CSV.
93,AFGHANISTAN,0.2243,0,6,0,2400,0,0,0,-1,-1,-1,-1.0000
You can also import tariffs from files that had tariffs exported before. Please note that if you are importing Tariff using Web Config the fields
in the CSV must be seperated with semicolon ( ; ), not comma ( , ).
When the file is ready it can be uploaded into the server. Import of such file can be performed in VSM or VSC by pressing the Import button.
You will be asked to select the text file. After pointing the csv file with tariff date the import process will be started. If some fields have been left empty
VSM will ask for filling it and VSC will display Error list screen.
http://docs.voipswitch.com:8080/display/VDoc/5.0+Tariffs 10/16/2010
5.0 Tariffs - VoipSwitch documentation - VoipSwitch Dashboard Page 6 of 10
If the import process fails VSM will interrupt it and display the error message.
The records from the file will be added to the existing records in the tariff. You must remove the existing records before importing if you want to replace
them. There is a Remove all button that will delete all rates in that tariff for your convenience.
because of Caller ID
because of called number
using NPA function
5.5.1 Caller ID
This mode can be used only with IVR clients or common clients working as IVR.
This function is named Tariff to ANI and is used only while providing the calling cards service.
Every reseller can set different rules for his clients on how tariff should be changed depending on the number the call is comming from.
Tariff to ANI function is changing tariff assigned to a client to some other depending on caller ID coming to VoipSwitch. It can be used to differentiate cost
of calls when client is calling from abroad.
Tariff to ANI detailed description
http://docs.voipswitch.com:8080/display/VDoc/5.0+Tariffs 10/16/2010
5.0 Tariffs - VoipSwitch documentation - VoipSwitch Dashboard Page 7 of 10
To add new entries into the table simple CSV file will have to be prepared first. Format of such file looks like below:
NPA Number;Location;
When the file is ready it can be easily imported using the Import... button.
1. The user calls a number that begins with a certain string of numbers.
2. The system checks which Location has such number assigned.
3. After finding the Location the system compares the beginning of the clients Caller ID and if it is assigned to the same Location it
uses the Intrastate Tariff.
4. If there is no match the Interstate Tariff is used.
Definition of Interstate and Intrastate tariff is available on dialog window which appears after checking the Choose tariff according to box and pressing the
Rules button. After clicking it the Tariff rules window will show up where rules for choosing tariffs can be configured.
http://docs.voipswitch.com:8080/display/VDoc/5.0+Tariffs 10/16/2010
5.0 Tariffs - VoipSwitch documentation - VoipSwitch Dashboard Page 8 of 10
Tariff comparer is used to compare 2 tariffs. Working with traffic and clients requires many tariffs, prefixes and rates. Mistake in one rate can cause big loss for
VoipSwitch owner so it is very important to check every tariff before assigning it to the clients. Tariff comparer is one of features available in VSM application.
It is possible to chose two tariffs and define criteria for comparing tariffs. If one tariff should be lower, higher, equal then any rate in the other it can be
chosen in the compare operator combo box. It is possible to define how much bigger or smaller it should be by specifying the percent value by which every rate
from the Tariff 2 will be multiplied while comparing tariffs. Matching prefixes are listed in output window and can be modified. Tariff comparison is more
complex and works in a similar way like finding prefix in tariff made by VoipSwitch. If the prefix in tariff is not the same the best matching entry is taken to
comparison.
Bear in mind that comparing tariffs with many records can take relatively long time.
Example shown in figure above displays only prefixes from tariff TestTariff which are higher than 20% of appropriate prefixes from TestTariffHigh.
Value from Tariff 2 voice rate is used to multiply prefixes from Tariff 2.
Examples
http://docs.voipswitch.com:8080/display/VDoc/5.0+Tariffs 10/16/2010
5.0 Tariffs - VoipSwitch documentation - VoipSwitch Dashboard Page 9 of 10
Effective Rate service needs to be turned on to use Define future changes option in tariffs. Check interval describes how often the service will check future
tariffs entries.
Defined changes will be applied at the time specified in the Time to take effect fields.
http://docs.voipswitch.com:8080/display/VDoc/5.0+Tariffs 10/16/2010
5.0 Tariffs - VoipSwitch documentation - VoipSwitch Dashboard Page 10 of 10
SMS tariffs are managed in the same way as voice tariffs however list of parameters is quite shorter.
Description - description for the prefix - usually name of country and(or) network,
Prefix - prefixes are specified with rates and descriptions. Tariff can have any number of prefixes defined in it. In the same way as in the Dialing Plan
longer (more detailed) prefixes matching the dialed number are taken before shorter ones,
Voice rate - cost of sending one SMS message,
Rate multiplier - client can see his tariff rates and prefixes on the web page after logging. Using this option allows rates visible to a client to be
changed but the client won't be aware of it until he recalculates cost of the SMS manually. Rate multiplier is changing cost of every rate by multiplying
it by this value,
Rate addition - similar to Rate multiplier but instead of multiplying it adds some value to every rate. Rate multiplier is applied before Rate addition when
both enabled,
Disable this prefix - any number which matches this prefix will be blocked from processing. System will reject such SMS message,
Time span - when this option is used it allows to apply different rates for different days or hours.
Labels
tariff prefix rate surcharge multiplier addition resolution minimal grace period day hour caller id clid ani dnis npa import comparer
Children (10)
Changing tariff for clients
Define future changes (Effective rate)
SMS tariffs
Tariff comparer
Tariff import
Tariff parameters
Tariff prefixes
Tariffs - Base informations
Tariff to ANI
Tariff to DNIS
http://docs.voipswitch.com:8080/display/VDoc/5.0+Tariffs 10/16/2010
6.0 Browsing calls, reports, statistics, payments - VoipSwitch documentation - VoipSwitc... Page 1 of 5
6.2 Calls
History of calls connected successfully through VoipSwitch is available in this part. It is possible to filter calls by:
Date and time - it is possible to see calls made only in given time. There are helper periods available as Today, Last week, which allow to define exact date interval,
Called number - destination number dialed by a client,
Caller IP - ip number from which the call was received, starting characters can be used for filtering,
Caller ID - caller id from which the call was made, starting characters can be used for filtering,
Duration - duration of a call, it can be defined with comparison operators like <, > or = to list calls with duration less, greater on equal of the defined value,
Cost - similar to duration but describes revenue calculated for a client,
Tariff - tariff used to calculate revenue for clients,
PDD,
Route - destination used to terminate calls,
Time shift - described below,
Calls/SMS - combo-box which allows to switch between listing calls and SMS messages.
Origin Call ID - sequence of characters representing the call,
Termination Call ID - sequence of characters representing the call.
Working with filters, saving them, sorting columns and context menu are described in section Common UI elements
It is possible to use a few criteria to see only specific calls. After clicking Apply filter button the list of calls will be refreshed with filtering conditions. Below grid with calls summaries are calculated for the filtered
set of calls. Informations available in summary section are:
http://docs.voipswitch.com:8080/display/VDoc/6.0+Browsing+calls%2C+reports%2C+st... 10/16/2010
6.0 Browsing calls, reports, statistics, payments - VoipSwitch documentation - VoipSwitc... Page 2 of 5
6.2.2 Export
Calls displayed in the list can be exported to CSV file. It is coma delimited and can be easily opened in Excel, OpenOffice or Notepad. You may choose columns to export if it suits your needs. After choosing
export file the the window with exported columns selection is displayed. It can be chosen which columns should be exported.
Date and time - it is possible to see calls made only in given time. There are helper periods available as Today, Last week, or from which allows to define exact date interval,
Called number - destination number dialed by a client,
Caller IP - ip number from which call was received, starting characters can be used for filtering,
Caller ID - caller id from which call was made, starting characters can be used for filtering,
PDD,
IE Error, Reason - fields which are displaying the number that represents the cause of the failed connection,
Route - destination used to terminate calls,
Time shift - described below,
Calls/SMS - combo-box which allows to switch between listing calls and SMS messages.
Origin Call ID - sequence of characters representing the call,
Termination Call ID - sequence of characters representing the call.
http://docs.voipswitch.com:8080/display/VDoc/6.0+Browsing+calls%2C+reports%2C+st... 10/16/2010
6.0 Browsing calls, reports, statistics, payments - VoipSwitch documentation - VoipSwitc... Page 3 of 5
Working with filters, saving them, sorting columns, context menu is described in section Common UI elements
Clicking on every row of failed calls loads the form below the list. Values there are similar as in the list but for IE error and reason there are explanations of errors which can be useful for finding issue on
destination gateway.
In the form below additional fields are:
Client login
Client type
Route type
IE Error description
Release complete reason
Origination Call ID
Termination Call ID
6.4 Reports
This section is used to see reports for calls made. It is possible to group and filter depending on different criteria. For grouped record it can calculate:
Grouping allows to see sums for chosen client, period of time and other options. Below is a list of possible grouping:
Clients type and name - when client type is choosen it will show record grouped by logins from the chosen type. Using such report can be helpful to see the most profitable clients. By typing the client's
login in the Login field reports for specific client can be listed. Grouping by client's login can be used only when client's type is selected,
Route type and name - when only type is chosen the system will show how traffic is divided between different destinations. With route name it can be narrowed to the particular destination,
Date - it can be set period for which the reports should be generated,
Period - allows to group reports houry, daily or monthly,
Resellers - when reseller of any level is chosen the system will show how traffic is divided for every one of them,
Group by Country - using this grouping it can be viewed which countries and regions are the most popular. Visualization of this report is available in pie chart,
Group by Prefix - in comparison to country or region reports can be grouped by specific prefix, for example the same region description can have many prefixes so this option will give the more detailed
result,
Time shift - it has been described here.
http://docs.voipswitch.com:8080/display/VDoc/6.0+Browsing+calls%2C+reports%2C+st... 10/16/2010
6.0 Browsing calls, reports, statistics, payments - VoipSwitch documentation - VoipSwitc... Page 4 of 5
Different criteria can be joined together to help generating the desired report.
Example
Choosing many groupings can result in high CPU usage and long operation. It is better to limit time for which such report is being generated and use grouping with caution.
For some reports the charts generation is available. Grouping by country makes it possible to see as pie chart countries chosen by clients. For every reseller level it can be presented on a chart how big the usage of
every reseller in total traffic is.
The "Export" button can be found over the list of reports. Clicking it will display the window where the file name and destination folder can be set. After pressing the "Save" button the user will be prompted
which columns should be included in the exported file. In the next step the export is performed.
6.5 Statistics
In this section informations from calls made and failed are used to calculate statistics. It are useful to check the quality of gateways. Values available are:
ASR,
Number of calls made, calls failed,
Average, total, the shortest, the longest and median of duration,
Best, worst, average and median of PDD.
Statistics screen
Date and time period - except of days it is possible to define period in hours,
GW clients - it can be chosen for which GW Client statistics should be calculated (mostly used in wholesale),
GK/Registrar clients - this option works the same as the above one but is applied to GK/Registrar Clients,
External gateway/gatekeeper - similar to the User filters it can be specified which gateway or gatekeeper should be included in the statistics.
Pressing the "Apply filter" button will fill the list below the filters pane with calls and failed calls according to filters selected. Clicking "Calculate statistics" will trigger the statistics calculation procedures and display
results at the bottom of the "Statistics" window.
http://docs.voipswitch.com:8080/display/VDoc/6.0+Browsing+calls%2C+reports%2C+st... 10/16/2010
6.0 Browsing calls, reports, statistics, payments - VoipSwitch documentation - VoipSwitc... Page 5 of 5
6.6 Payments
This section is used for browsing the clients payments. As usual the result list can be filtered according to requirements. Filters are similar as in other sections and additionally it can be specified whether the
remaining funds, balance and/or credit should be larger, smaller or equal to the specified value.
Children (5)
Reports
Statistics
Statistics - Calls
Statistics - Failed calls
Statistics - Payments
Comments (3)
Could someone please explain what does the new Feature exactly made for ? is it for alerts ?
How can we exports all calls for any client easily? both successful and failed calls.
Why cant I export from statistics screen ? I have to see all calls failed and succesful together
http://docs.voipswitch.com:8080/display/VDoc/6.0+Browsing+calls%2C+reports%2C+st... 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 1 of 17
7.0 Settings
Introduction
7.1 VoipSwitch
7.1.1 Call settings
7.1.2 Authorization
7.1.3 Miscellaneous
7.1.4 Rerouting calls
7.1.5 Ending calls
7.1.6 Settings for saving failed calls
H323
H323 listeners
Other ports
Gatekeeper
Authorization
SIP
SIP listeners
Registrar
Other
PC2Phone
Pc2Phone listeners
Callback
Callback listeners
SMS Callback listeners
Additional settings
Regular Callback
Callshop
Callshop listener
Callshop's web page addres
VoipBox
Listener
Other settings
Time multipliers
Invoices settings
Mail settings
SMTP settings
Custom fields
Introduction
Settings are used to define parameters for VoipSwitch main system and for few modules. After clicking Settings node in VSM application it will expand and show
different sections as shown on figure.
After changing most settings, VoipSwitch should be restared or at least start command Reload VSM data.
7.1 VoipSwitch
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 2 of 17
Settings defined there are used mostly by VoipSwitch, every change there has an influence on VoipSwitch behaviour and efficiency. Any change made here should be
done carefully and with full awareness of possible effects. If not sure ask VoipSwitch support.
Parameters here are divided into 5 sections:
Limit ring time - value given in seconds allows to define when call will be abandoned in case of no answer. It is useful to set some value there to avoid endless
calling and enable calls redirection triggering.
Limit call duration - with this option limited maximum call duration - value in minutes of longest possible call.
Use media timeout - special timeout used to disconnect both sides of conversation when media packets are not coming from one side during this time. It will
work only in full proxy mode when media packets are coming through the VoipSwitch.
Limit number of hops(re-routing policy) - it can be limited how many hops should be tried before ending a call. Normally it is unlimited. If there are
matching prefixes defined in dialing plan, all of them will be tried. This parameter allows to limit it.
Guest account - account used to authorize calls by default is not set to any client. Without this option set all unauthorized calls would be rejected. When it is
set calls will be authorized and billed for this client.
Any option changed before it will be used by VoipSwitch must be saved and settings must be reloaded. It can be done by clicking right mouse button on
Calls window of VoipSwitch and choosing from context menu command Reload settings. After executing this command new settings should be applied
to the running VoipSwitch.
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 3 of 17
7.1.2 Authorization
7.1.3 Miscellaneous
Parameters set in this section turn on and off functions available with VoipSwitch. If any of them is not used it should be unchecked and it can improve VoipSwitch
effciency.
//
Miscellaneous settings
Use common clients - when unchecked common clients will not be able to call through VoipSwitch.
Save active calls in DB - when checked it will save information about connected calls to special database table. It is presented through VSC pages or limited
version for resellers in VSR.
Use load balancing - when checked load balancing is available in dialing plan.
Use resellers - if this is unchecked VoipSwitch will not calculate any cost for reseller of any level. It will also not substract any value from their account. It can
cause some problems if unchecked by mistake because all calls made by resellers clients won't be assigned to resellers.
Use time spans in DP - when checked it is possible to define time span for dialing plan positions.
For some errors specific for VoipSwitch it is possible to define error number sent to SIP and H323 clients.
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 4 of 17
Destination off-line - it can happen when defined gateway is behind firewall or there is a mistake in IP address for such destination.
Number doesn't exists in dialing plan or tariff - it will occur when for dialed number a dialing plan entry or prefix in tariff couldn't be found.
Unauthorized call - VoipSwitch denies call processing because of unauthorized request, IP not added, wrong login and password sent.
Codec problem - codec used by a client doesn't match a list of available codecs in client definition.
Unknown reason
Channels limit - number of allowed channels for client or gateway exceeded.
Second part of these settings is for changing error numbers received from destination and passed to clients. Default behavior is to pass it unchanged but using these
settings it is possible to replace one error number with another.
There are two buttons which allow to chose error number. One is Gateway end reason and number set there will be replaced with End reason sent to client. After
clicking button rule it will be copied to text box on the right and for next calls matching Gateway end reason it will be replaced.
Calls failing because of VoipSwitch misconfiguration are not stored by default in database. It was built in this way to avoid counting such calls for general statistics like
for example ASR. Sometimes in order to have more extended information about such calls it is possible to turn on saving them in failed calls. Every error presented on
screen above can be checked to be saved in database in general failed calls table.
H323
This section deals with setting H323 listeners, ports, gatekeeper and authorization of H323 devices.
H323 listeners
Listeners are needed for clients to connect to server. Server is listening on it's IP (it may be one or more IP addresses, but according to our experience no more than 5)
for clients to connect. You may setup H323 listeners in section shown on Fig.1.
Left box (Available computer addresses) is showing all IP addresses assigned to server network adapters. If you wish to choose one of them to be used for clients to
connect just select one and add to the second box by clicking ">" button between boxes. There is one IP address (79.187.62.139) chosen on example Fig.1.
H323 listener has default port 1720. If you wish to add more ports just choose one and click green "+" (plus) button. Newly added port will be listed above (H323
listener ports list shown on Fig. 1).
If VoipSwitch is unable to start one or more listeners check if some application is not using this port already. Click here to read more
If you add more H323 listener ports, VoipSwitch will listen those ports on every choosen IP address.
After changing listeners IP addresses or ports you have to restart VoipSwitch or at least listeners.
Other ports
This section has only two fields. You may choose starting UDP ports of media and gatekeeper's RAS. Default settings are 6000 for UDP media and 1810 for GK's
RAS and shouldn't be changed without a reason.
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 5 of 17
Gatekeeper
This part of H323 settings allows you to assign IP and port for VoipSwitch Gatekeeper. Choosing IP address and port is similar to H323 listeners. Default gatekeeper
port is 1719.
Authorization
Authorization section allows to turn on or off user login option by H323 ID. H323 login consists of login, password and separator. By default separator is at (@) sign
and H323 login looks like: username@password
H323 user and password separator may be changed in this section. Default settings are shown on Fig.3.
SIP
Whole SIP Settings window is shown on this picture (click to view).
SIP listeners
Listeners are needed for clients to connect to server. Server is listening on it's IP (it may be one or more IP addresses, but according to our experience not more than
5) for clients to connect. You may setup SIP listeners in section shown on fig. below.
Similar to other listeners (H323, PC2Phone, etc.) consider that every VoipSwitch executable file is prepared to operate on fixed IP addresses list (or single IP -
depending on server configuration). Make sure that all server IPs are recorded in our CRM to avoid VoipSwitch failures.
SIP listener has default port 5060. If you wish to add more ports just choose one and click green "+" (plus) button. Newly added port will be listed above (SIP listener
ports list shown on previous fig.).
If VoipSwitch is unable to start one or more listeners, check if some application is not using this port already. Click here to read more
Registrar
This part of SIP settings allows you to assign IP and port for VoipSwitch Registrar. Choosing IP address and port is similar to SIP listeners. Default registrar port is
5060.
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 6 of 17
Other
In this section you can setup Realm and User-agent for SIP protocol.
Default settings (empty) are shown below:
In this situation Realm will be "VoipSwitch" and user-agent will be "VoipSwitch 2.0"
PC2Phone
PC2Phone settings are limited only to listener configuration.
Pc2Phone listeners
Under Settings/PC2Phone Settings
Listener is needed for PC2Phone clients to connect to server. Server is listening on it's IP (it may be one or more IP addresses, but according to our experience not
more than 5) for clients to connect. You may setup PC2Phone listeners in section shown on fig. below.
PC2Phone listener has default port 1800. If you wish to add more ports just choose one and click green "+" (plus) button. Newly added port will be listed at
"PC2Phone listener" section.
Callback
Whole Callback Settings window is shown on this picture.
Callback listeners
Callback listeners are needed for Callback function to work. Server is listening on it's IP (it may be one or more IP addresses, but according to our experience not more
than 5) for Callback trigger informations.
Similar to other listeners (H323, PC2Phone, etc.) consider that every VoipSwitch executeble file is prepared to operate on fixed IP addresses list (or single IP - depends
on server configuration). Make sure that all server IPs are recorded in our CRM to avoid VoipSwitch failures.
Callback listener has default port 1801. If you wish to add more ports just choose one and click green "+" (plus) button. Newly added port will be listed above (SIP
listener ports list shown on previous fig.).
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 7 of 17
SMS Callback listeners are needed for SMS Callback function to work.
SMS Callback listener has default port 1802. If you wish to add more ports just choose one and click green "+" (plus) button. Newly added port will be listed above
(SIP listener ports list shown on previous fig.).
Additional settings
Charge calls only when both legs were connected - if set failed callback calls will not be charged at all. When VoipSwitch owner has to pay for callback call
this may cause money loss and has to be used with care,
Do not ask for number after leg B has ended - if the call is ended using "End call string" (which can be found in VoipBox settings), or if destination ends
the call, the caller won't be asked for choosing another number.
Regular Callback
In the section Callback one sets parameters of Callback listeners. Default values should work fine, so do not change this settings without a reason.
Common,
ANI Callback,
PIN callback
DID callback
Typical configuration
All parameters set here are subsequently used by a twin program which functions as a service in the Windows system and is called "Calls Reader Service".
One should remember that after every change the service "Calls Reader Service" should be re-started (in order to download new settings).
The purpose of the section Common is to determine the settings used by the Service "Calls Reader Service" to connect to VoipSwitch. One should set the IP number
of a server where VoipSwitch functions and the port are used as SMS Callback (by default it is port 1802).
The parameter "Checking interval" determines the frequency - how many seconds the service "Calls Reader Service" checks for new connections with the number
which activates callback. If this parameter is too big, the period of waiting for calling back will be to long; if this parameter is too small, the user may not have enough
time to answer the call or the system may work too slowly.
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 8 of 17
After finding out in the database table "CallsFailed" about an attempt to connect with the number which activates callback, the Service "Calls Reader Service" collects
"Caller ID" and sends the information to VoipSwitch in order to try and execute a connection. The time after which this information is sent is known as "Sending
delay".
At the initial phase of using this service, one may select the option "Make logs". This option enables recording additional information about the
functioning of the service "Calls Reader Service" in the Windows system logs. Later this option may be switched off.
The purpose of the section ANI Callback is to define the number which activates callback and the numbers which the "Caller ID" will be connected with. It is possible
to define one or several numbers. (It is not recommended that more than 5 numbers should be defined as this may slow down the functioning of the system). If more
numbers are defined which activate callback and more than one number in the table 'IVR numbers', the appropriate number of the table 'Numbers' will be connected
with a number in the same position in the table 'IVR numbers'.
A part of ANI Callback is used for the clients who activate callback only from the numbers authorised earlier.
See register option for more information about saving authorised numbers.
Section PIN Callback is used during the execution of callback connections when "Caller ID" is not recognised. This option may be switched on and off with the check
box "Check PIN if ani couldn't be found". Now it is necessary to verify a user who will be used to execute return connections, in the section "Client callback".
It is necessary to select a user in the section PIN Callback from the list "Client callback", but the user will not bear any costs unless the PIN authorisation
is used.
Defining the numbers and the IVR numbers assigned to them is similar to such defining in the case of ANI Callback.
One must remember that a number defined in the table 'IVR numbers' should indicate the PIN action of the system IVR.
Typical configuration of callback should allow client to call did number and receive call asking about pin number. After successfull authorization using pin, caller id
should be added to client account. Next time when client will call from this caller id his call will be authorized without asking about pin.
To configure it in this way 2 DID numbers are required. Both of them should be set to end on not existent gateway or play file scenario. One number will be defined
in ANI section and PIN section of regular callback and point in ANI to IVR scenario asking only about number ( without pin ). The same number should be defined
in PIN section and go to
IVR scenario asking about PIN. Second from DID numbers should be only defined in PIN section and point to number assigned with scenario PIN+Register. Client
will call this number only when he will want to authorize his caller id. When he will finish one card and will want to use new, he will also call second number to get
rewritten his caller id ot new card. All other calls he will do for first number and when caller id is register he wont be asked about pin.
Section DID Callback. This type of callback allows this service to work even when the "Caller ID" is not transferred to the system VoipSwitch. In this type, each client
is assigned a unique number to which the client calls. The call is not connected as in the case of other callback calls but the system, on the basis of this target number,
calls back to a previously defined number assigned to this client. All target numbers defined for clients must start with a common prefix (see Fig. 4, number 2000 in the
"Dialing plan prefix"). In the same location, one defines the number the clients will be connected with (number 777 entered in the dialing plan). This is a number for
the IVR action of the system VoipSwitch. This is an action of the type "Ask for number" because the clients do not require authorisation. Calling a specific target
number triggers the connection of a particular client number with the number assigned to the IVR action.
There is no need to call from specified number (as before), so Client is able to trigger callback call from any phone device, the system will call back to specified
number assigned to this Client .
When adding DID callback prefix use number that is not used in any of existing dialing plans or add dedicated dialing plan entry for this prefix and route
to offline gateway as before
Assigning the activating numbers and the numbers to which the callback will be executed for individual clients may be done in the window which appears after
pressing the button "Clients DID numbers".
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 9 of 17
In the left part of this window, there are the already assigned activating numbers together with relevant users and the numbers which will be used to connect with a
client. In the above image, in the first line there is information that if a call to the number 2000 1 is executed and is not connected, then the system should call back as
the callback client of the login "800123" to the number 800123 and then connect this call with the number 777 defined in the previous window. The numbers DID,
presented here, constitute only the last part of the activating number (in this example just "1" for number "20001").
Callshop
Callshop listener
Default port used for callshop is 1804. Using this part of settings it can be set IP on which listener for callshop will be started and also this default port can be changed
to some other value. It cannot be used for port number already occupied by other application. After changing port or IP of callshop listener VoipSwitch application
must be restarted. This change must be reflected also in callshop.ini file located in callshop working directory. In NETWORK section of this file parameter
SERVER_PORT=1804 should be modified.
http://server.ip/Portal or
http://server.ip/Web/
server.ip should be replaced with the IP address or domain name of the server that has the module installed.
VoipBox
Any parameter used by Voipbox can be set in VSM application after clicking node VoipBox in Settings part.
Parameters defined here are used by VoipBox and in general are taken only when it is starting. Any change made to them requires restarting
VoipBox application. Exception of these parameters are time multipliers where defined parameters can be changed without restarting VoipBox.
Listener
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 10 of 17
VoipBox IP Address and Port - enter here a valid IP number and port number of computer running VoipBox application.
Other settings
Non activity timeout - Determines the time in seconds, after which the VoipBox will send the dtmf selected by a user to the VoipSwitch system. If nothing has been
entered, the system will repeat its request to enter the pin number or the telephone number we wish to be connected to.
Finish key - A person making a call into the IVR system is asked to enter the pin number and then the telephone number which he or she wishes to be connected to.
After entering the pin number or the telephone number, one can press the symbol defined as the finish key in order to make the verification or connection to the
desired number faster. Having received that symbol, the VoipBox will automatically start analysing the entered number. When the user does not press this symbol, the
analysing of the entered pin number or telephone number will start only after the period described as "non activity timeout".
Redial string - It is used to redial the last dialed number. Working for IVR, callback clients. It is working only for numbers dialed during current session. First number
dialed after being connected must be picked up manually or using speed-dial.
End call string - A user may terminate the connection at any moment. In order to do so, a user has to press the symbols described here. The telephone call will
become instantly disconnected and the system will ask the user to enter another telephone number.
Non activity retries - This value defines how many times the system will ask a user to enter the pin number or telephone number. The request will be repeated
according to the defined value only if a user does not enter any digit.
Wrong pin retries - Defines how many times the system will repeat the request to enter the pin number in the event that an incorrect pin has been entered. If the user
fails to enter the correct pin number, he or she will be disconnected.
Time multiplier - This multiplier may be used to change the message about the remaining time of the telephone call, which is communicated to the user. Only the
message will become changed as the actual time depends on a specific tariff and is unchangeable. If we set the multiplier at 1.1, the message will communicate that the
remaining time is increased by o 10% compared to the actual time after which the telephone call will become disconnected.
Time addition - With this variable, it is possible to change the information concerning the remaining time of the telephone call by a certain number of seconds. If this
value equals 10, the user will hear that the remaining time of the telephone call is 10 seconds longer than the actual time.
Round time to minutes - Thanks to this option the information concerning the remaining time of the telephone call will become rounded off to the nearest whole
minute and the number of seconds will not be included in the message.
Silence duration - This parameter is defined in seconds. Each message becomes sent (ask for pin, ask for number, account information) to the client only after this
period of time.
Use client's account to recharge - If the setting Use client's accounts to recharge is set to on, the account can be recharged using the IVR or common client password.
In such case the amount of credit that is present on the account of the users whose password one uses as the PIN number is added to the account of the user who
makes the recharge. The account of the customer that is used to make the recharge is zeroed, and a Return type payment containing the credentials of the user that
made the payment is added.
Import dialable scenarios - This button allows to import saved dialable scenarios. Usually scenarios are located in subfolder \scenarios\dialable in VoipBox directory.
Select language pair - In this field you should enter language names and digits assigned to them, for example: 1-English;2-Spanish. More information in section
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 11 of 17
Save changes - Any saved changes in VoipBox configuration require restarting VoipBox.exe in order to activate them.
Time multipliers
This part of settings is used to define multipliers used for resellers or lots. Values set there are used to modify time announced to clients using IVR services. Value set
for lot will apply to all clients belonging to it and value set for reseller will be used for all clients created by reseller. Value of this parameter is used to multiply rate for
number dialed by client. It is used only to change time being announced.
Invoices settings
In order to modify invoice settings choose the "Settings" menu and next "Invoices". The invoice settings window will appear (Fig.1).
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 12 of 17
You can choose the directory by pressing the button at the right side of a field (Fig.3). A window will appear, in which you select the appropriate directory and press
"OK".
Then we enter a seller's name, address and Tax Identification Number which will be printed in the invoice (Fig.3 ).
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 13 of 17
The following settings concern the invoice (Fig. 4). They are "Terms of payment", "Invoice item", "VAT, PST rate", "Currency symbol", "Decimal places", "Invoice
number" and "Place of making out".
In the name of an invoice item you can use variables which will be changed into appropriate values when generating an invoice. You can use the following variables:
Example
The value "Calls from [FROM_DATE] to [TO_DATE]" when generating an invoice for the period from 2005-12-01 to 2005-12-31 will be
changed into the value "Calls from 2005-12-01 to 2005-12-31".
Variables can be edited manually but you can also use the button on the right side of the field which brings out the list of variables and their description. In
order to enter the appropriate variable you can choose it from the list and press the "OK" button. It will be added at the end of the invoice item name.
Next you have to quote the VAT rate and a currency for the invoice. You can also specify PST rate and number of decimal places for amount.
Example
The value "INV/[NUMBER] with the number 20 will be changed into the value "INV/20" when generating an invoice.
Variables can be entered manually, you can also use the button on the right side of a field, which brings out the list of variables and their description.
Then we specify the way of generating the following invoice number (the "[NUMBER]" variable).
If the number should be reset you have to select "Reset invoice number" and specify if the numeration should be started from the number 1 every month or every
year.
You also have to specify what invoice template you want to use (Fig. 6).
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 14 of 17
There are two templates available - the standard one and the template which does not include the VAT tax.
After pressing the "Edit templates" button you may choose which template you wish to edit and Template Designer will open. There you will be able to edit template.
Template editing is only for advanced users. Use this feature with care!
Then we specify the invoice footer. In the footer (Fig. 6) you can use the same variables like in the invoice field in the same way.
If you want your logo to be printed in the invoice press the "Select logo file" (Fig. 6) button. It brings up the window in which we point an appropriate graphic file
(jpg, gif, bmp).
The section "Summary billing grouping type" (Fig. 7) specifies the way of generating the summary billing. If you select "Tariff prefix and description" the calls are
grouped according to the prefix and tariff description, if you select "Tariff description" the calls are grouped only according to tariff description.
The section "Additional grouping type" (Fig. 7) specifies whether additional monthly, daily grouping should also be created for the summary billing or not.
Send invoice" means that an invoice (and the billing if it is also generated) should be sent to a client by e-mail. "Create detailed billing" means that a detailed billing
(including all calls) should be generated for a client. "Create summary billing" means that summary billing should be generated for a client.
Mail settings
In order to modify settings of sent e-mails choose the "Mail settings" sub-menu from Invoices. It brings out the settings window for e-mails sent to clients together
with invoices.
You have to enter as follows: the address of an e-mail from which you will send messages, title and content of a message. In the title and content of a message you can
use the following variables:
Variables can be edited manually but you can also use the button on the right side of the appropriate fields which brings out the list of available variables.
SMTP settings
The parameters of connection with the SMTP server should be set in the section called "SMTP settings".
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 15 of 17
You have to enter as follows: SMTP server address, if a server requires authorization you have to select "Server requires authorization" and enter a user's name and a
password. You can also check to use SSL protocol checkbox and set port different from standard. After entering the parameters you can press the "Test settings"
button in order to test your settings. A window will appear where you can enter the address to send a test e-mail.
If the settings are incorrect a message window will appear with description of an error.
Otherwise the message will appear like on Fig.10.
Custom fields
This section allows administrator to setup definition of custom fields for personal details. Additional fields will be visible both in VSM and Customer Portal.
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 16 of 17
Text
Numeric
ComboBox
After setting up fields definition administrator is able to edit extended personal details in Client definition.
Custom fields are working for all Customer types.
Labels
vsm voipswitch h323 sip pc2phone callback callshop voipbox invoices listener registrar mail smtp
Children (8)
Callback
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
7.0 Settings - VoipSwitch documentation - VoipSwitch Dashboard Page 17 of 17
H323
Invoices settings
PC2Phone
Regular Callback
Settings - VoipSwitch
SIP
VoipBox settings
http://docs.voipswitch.com:8080/display/VDoc/7.0+Settings 10/16/2010
8.0 Services - VoipSwitch documentation - VoipSwitch Dashboard Page 1 of 10
8.0 Services
33 Added by Jaroslaw Marek, last edited by Jaroslaw Marek on Feb 23, 2009
VoipSwitch ® Services give possibility to automate some cyclic tasks. This section of documentation covers configuratin and how-to-use examples for
VoipSwitch ® Services.
Configuration
Starting and stopping VoipSwitch Service
SMTP settings
Services log
Account state
Account state reseller
Expiration time
Archives
Invoices
Payments
Voice Messages
Least Cost Routing
Effective Rate
Configuration
Starting and stopping VoipSwitch Service
In order to start and stop the service, select accordingly Start or Stop position from the menu which appears after clicking the Configuration leaf in Services
section of VSM.
The buttons "Start" and "Stop" are used to start and stop the service.
Label above buttons indicates the current state of services. It may be either RUNNING (as shown on Fig. 1) or STOPPED.
SMTP settings
Next, you should provide then SMTP server parameters, i.e. server address; if the server requires authorisation, check the box "Server requires authorization"
and enter the user name and the user password. Having done that, if you want to test the parameters, you may press the button "Test settings". You will see a
window where you enter the e-mail address to which you want to send a test e-mail message.
http://docs.voipswitch.com:8080/display/VDoc/8.0+Services 10/16/2010
8.0 Services - VoipSwitch documentation - VoipSwitch Dashboard Page 2 of 10
If the settings are incorrect, the message with the error description will appear (see Fig.3a), otherwise, the message will look as shown on Fig.3b.
a. b.
Having tested the connection parameters and SMTP parameters, save the settings by pressing the button "Save".
SMTP settings are needed for sending emails by Account state, Invoices and Payments modules.
Services log
This is the window with the log of the service operations.
The upper part of the window contains the list of operation types and date fields. Select the starting and ending dates of a period and you will be able to see the
operations executed within this period. Having changed the operation type or dates, press the button "Apply filter" in order to refresh the content of the list. You
may arrange the list according to different criteria by clicking on the appropriate column heading.
Account state
At the "Account state" leaf, you may define how often the system should examine the state of user accounts and send reminding messages by e-mail.
Then, from the selection lists, choose the client type you are interested in and (if "Use lots" above was checked) a relevant "Lots".
http://docs.voipswitch.com:8080/display/VDoc/8.0+Services 10/16/2010
8.0 Services - VoipSwitch documentation - VoipSwitch Dashboard Page 3 of 10
After making the selection in the list below, there will appear a list of messages defined for a client type (or "Lots").
In order to add a new message with the information about the account state, press the button "Add". The message-defining window will appear.
First, enter the account state, at (or below) which the reminding message will be sent.
Then, define the message title and the text of the message.
In case of both the title and the text of the message, you can use the following variables:
The variables may be entered manually or by selecting particular positions from the list of all available variables in the drop-down menu. To open the drop-down
menu (see Fig.10), press the 'upside-down triangle' button to the right of the variable field.
After pressing the button "OK", the selected variable will be entered at the end of a relevant field. The variables will be replaced with appropriate values while the
message is being sent.
Example
When sending a message to a client whose account state equals EUR 1, the message title "Account state: EUR [AMOUNT]" will be changed into
"Account state: EUR 1".
It is also possible to send HTML messages. To do so, check the box "Use HTML", and then select an external, previously defined HTML file (by pressing the
button located to the right of the field "HTML file"). Having completed defining, confirm the new message by pressing "OK".
In order to edit a previously defined message, highlight the relevant position in the list and press the button "Edit" or double click on this position in the list. In
order to remove a message, highlight the message in the list and press "Delete". Remember to press the button "Save settings" after defining is completed (as
shown on Fig.11).
http://docs.voipswitch.com:8080/display/VDoc/8.0+Services 10/16/2010
8.0 Services - VoipSwitch documentation - VoipSwitch Dashboard Page 4 of 10
Expiration time
This service is used to block clients accounts after defined time which passed from first call. Common usage is to set expiration time on 1 month after first call so
user must finish all his funds in a month. After this time even if his account is not 0 he will be blocked from calling.
In the upper part of the tab "Expiration time", you may set the frequency of how often the service should examine the expiration time of user accounts. The
minimum value of expiration is 1 hour. Second time which can be set there is time of checking interval. Minmum value of it is 30 min and it means only how often
service is checking for expired clients. Setting this value higher can spare system resources.
Below, there are checkboxes to define whether the service should use the clients, client types or "Lots" during such examination.
If you choose "Client types", for each client type you must provide the time from the first call after which the user account will be blocked.
If you do not want to have the accounts for some client types blocked, uncheck the box to the left of a relevant type.
If you decide to use Lots, the lower part of window contains the list of "Lots" for which the expiration time will be examined.
http://docs.voipswitch.com:8080/display/VDoc/8.0+Services 10/16/2010
8.0 Services - VoipSwitch documentation - VoipSwitch Dashboard Page 5 of 10
In order to add "lots" select the time from the last call (1.), after which the client account in a selected "Lots" will be blocked; next choose the client type and
desired lot (2.) from "Lots" drop-down list.
After defining is completed, press the button "Add new" (3.). After that new expiriation entry will be added to the list (Fig. 16, green line and elipse)
In order to edit previously chosen Lots, highlight the appropriate position in the list; then change values and press the button "Save".
In order to exclude "lots" from examination, highlight selected "lots" in the list and press the button "Delete".
Account will expire cruelly, with aside of payments and client's account state.
Archives
This service gives possibility to archive old data from calls and failed calls tables to reduce database tables size. Reducing calls and failed calls tables can speed
up calls processing and improve performance of server. Good practice is to keep only last 2 months in main tables and any older records will be moved to
archive tables.
Actually archive tables are not accessbile by clients or even by VoipSwitch owner. We are going to add functionality to browse thru them in near
future. If someone wants to check older records it is possible only directly by accessing database tables.
Checked interval options define a number of days between each archive and exact execute time.
1. older than X months - on execution time the system analyzes calls tables and saves records older than X months to table named "callsarchive_Y", where Y
is number starting from 1
2. when record counts exceed X records - after condition is true (number of records is more or equal X), the oldest records are transferred to archive
http://docs.voipswitch.com:8080/display/VDoc/8.0+Services 10/16/2010
8.0 Services - VoipSwitch documentation - VoipSwitch Dashboard Page 6 of 10
1. contains records from X months - when archive table contains data older than X months a new table is created and archive will be stored in the new table
2. records count exceeds Y records - when archive table contains more than Y records a new table is created and archive will be stored in the new table
Invoices
In the upper part of the tab "Invoices", you should define how often the service should generate invoices. The minimum value is 30 minutes.
In the next step, define the period for which the invoices are to be generated.
Next, choose a destination folder into which the invoices will be generated.
Choose the folder by clicking the button on the right and selecting the appropriate folder.
Below, there are checkboxes to define whether the service should use the client types or Lots while generating invoices.
If you select "Client types", you should define for what client types the invoices will be generated.
If you want the application to generate invoices for a certain client type,
check the box to the left of the relevant type name.
If you have chosen "Use lots", the invoices will be generated for the clients in the "Lots" of the below list.
In order to add "Lots", select a client type and next the "Lots" you are interested in and press the button "Add new".
In order to remove a "Lots" form the list, highlight it in the list and press the button "Delete".
Payments
Payments service is used to charge users accounts with desired amount. Payments are made cyclic on daily, weekly, or monthly basis.
There is a posibility to send notification email to the client at some time before charge.
Notification email is sent only when client account state is lower than scheduled payment.
http://docs.voipswitch.com:8080/display/VDoc/8.0+Services 10/16/2010
8.0 Services - VoipSwitch documentation - VoipSwitch Dashboard Page 7 of 10
You should define whether the service should use the client types, lots or single clients while executing payments.
When you use client types, as shown above, mark client type you want to charge and set parameters up. The parameters are:
1. charge every - set time interval between charges; this may be some number of days, weeks or months.
2. fee - set the amount the client account will be charged.
3. start from - set start date of payments (useful i.e. when client has free of charge trial period).
4. payment desc - set description of this payment.
Examples on Fig.25
Some examples of Payments are visible on Fig.25, especially how to setup weekly, daily and monthly payments to clients.
When use lots is enabled, you have to set up charge settings for every lot you wish to charge clients from. An example is shown here:
http://docs.voipswitch.com:8080/display/VDoc/8.0+Services 10/16/2010
8.0 Services - VoipSwitch documentation - VoipSwitch Dashboard Page 8 of 10
First choose one of client type (1.), next choose lot from Lots list(2.); then set up charge settings (charge interval, fee, start date and description) as in
previous section (3.) and click Add new button(4.). Next, the new entry will appear on defined payments list (5.).
Every defined payment is shown on the list (with short description and client type displayed) and may be edited or deleted.
When use clients is enabled, almost all settings are similar to the previous section. Instead of lots the clients are added to list as shown below:
Using this mode you can schedule more than one payment for Clients. For example Client can be charged monthly with given sum and also weekly with another
sum. It is very usable when different Clients have different services.
Voice Messages
Voice messages service sends an email to the configured user email address when they "miss a call". You may set the frequency of how often the service should
check for new messages. Reminder message template may be edited. An example is shown below:
http://docs.voipswitch.com:8080/display/VDoc/8.0+Services 10/16/2010
8.0 Services - VoipSwitch documentation - VoipSwitch Dashboard Page 9 of 10
Effective Rate
This service is used to apply defined future changes for tariffs.
Labels
service account resseler expiry expiriation archive invoices payments configuration services
Comments (1)
How should I create a remainder mail for a specific customer if there is no lot defined. I configured smtp and eanbled account state.
http://docs.voipswitch.com:8080/display/VDoc/8.0+Services 10/16/2010
8.0 Services - VoipSwitch documentation - VoipSwitch Dashboard Page 10 of 10
http://docs.voipswitch.com:8080/display/VDoc/8.0+Services 10/16/2010
VSM 2 - Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 1 of 6
VSM 2 - Clients
1 Added by Bartek Wrobel, last edited by Bartek Wrobel on Aug 30, 2010
Clients
Base informations
VSM 2 comes with simplified clients system. There are available few types of client accounts, all accessible from the left menu panel.
Wholesale clients
Retail clients
PBX clients
PBX sub-accounts
CallShop clients
Other
CallBack clinets
IVR clients
Except these under the Clients menu are accessible functions for searching the client by his login name and for generating client's lots.
To keep decent security level clients passwords should be chosen carefully. Under no circumstances it should contain his login or any easy-to-guess data, otherwise
such account can be easily hacked causing money loss to the VoipSwitch owner.
Cost of every call is calculated using tariff right after disconnection. When tariff for a client changes in the future, all calls made untill this change won't be changed. The system
will use new tariff only for new calls and old ones will be left unchanged.
http://docs.voipswitch.com:8080/display/VDoc/VSM+2+-+Clients 10/16/2010
VSM 2 - Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 2 of 6
Currency - enables to assign defined currency for the client. If should be the same as currency defined with the tariff;
Remaining funds/Add payment - displays client's remaining funds and enables to manually recharge his account;
Choose tariff according to... Rules - enables to switch tariffs according to called number or/and caller ID. PBX and CallShop clients are disabled from using this option;
Automatic payments - here can be added payments the client will be charged with every fixed period of time;
Tariffs plans - in this box Tariff plans can be added to the client. More about Tariff plans can be found here.
Account state
Client must have some funds in the account to be able to make calls through Voipswitch. One exception is when tariff assigned to a client has 0 cost rates, but this is rather
unusual. In most cases every call is charged and this amount is subtracted from client's account state value. When value reaches 0 the client will be blocked from calling.
Account state value can be modified only by adding payments. Using payment in comparison to direct modification account state value has one big advantage. Every change is
recorded with date and optional description.
The Credit option can be used to allow users to make calls after the account state has reached 0. After that, while calling, the client's account state will go
below 0 till it reaches the Credit value. This feature can be used for postpaid payments but not like adding more credit. If the postpaid system is used it can be
added eg. Credit = 100$ and then, when client finally pay, add normal payment as prepaid. It will be working like postpaid system.
Return credit - this payment decreases available credit for client or removing it. It can't be returned more credit than has been added before.
http://docs.voipswitch.com:8080/display/VDoc/VSM+2+-+Clients 10/16/2010
VSM 2 - Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 3 of 6
The most typical way to increase account state (balance) is to add payment. It can be done by VoipSwitch owner using VSM or VSC or by reseller. Reseller can add funds only to
clients or resellers belonging to him. Clients can see history of payment on the web and recharge accounts in several ways. Methods of recharging are described here.
Prefixes
This is a general name used for manipulating information being sent in a client's call. It is specified as:
First it must be explained how VoipSwitch processes calls coming from a client. After client authorization, VoipSwitch checks the dialed number. It must match the entries defined
in Dialing Plan and in Tariff. Before searching the dialed number in dialing plan it can be modified by Dialing plan prefix. It will not change number used to find prefix in Tariff.
To modify number before searching in tariff tariff prefix must be used. Caller id prefix is used to modify caller ID being sent to VoipSwitch from a client.
Dialing plan prefix and tariff prefix modify the called number seperately for every given client. A rule defined in one place is not used for another.
Every prefix is built from digits or characters. Modifcation of them is described in special section available here
Every callback call consists of two legs, which means that different rules can be set for modyfing number or caller id for every leg.
Codecs
Allows the selection of 9 audio and 3 video codec groups depending on what client device can support. One codec has to be set as primary and it will be the default one.
Voipswitch supports group of codecs, meaning that if the g723.1 is selected, all kind of g723.1 codecs will be allowed, including g723r63 and g723r53. Same thing for other codec
groups.
http://docs.voipswitch.com:8080/display/VDoc/VSM+2+-+Clients 10/16/2010
VSM 2 - Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 4 of 6
After the selection Use client codec option can be enabled letting the VoipSwitch to negotiate the right codec from the list with the client's device. Of course client's device has
to be able to autonegotiate codecs.
VoipSwitch acts differently in "proxy all" mode and in "proxy only signaling" mode. In "proxy all" VoipSwitch does not allow codec negotiation directly between
endpoints and instead will negotiate itself with each endpoint in part. While in "proxy only signaling" endpoints can negotiate codecs directly. It is possible to choose
any codec that both endpoints support, even those that are not listed in VoipSwitch settings.
Codec selection is available for Wholesale clients, Retail clients and PBX sub-accounts.
Active state
Client's account can be active or inactive. Inactive client cannot make calls nor log into VSPortal/PBX Portal.
Personal data
Every client has an option to write extended information about himself. Available fields are presented on figure below.
These informations are used when creating invoices or sending warning emails.
Reseller assignment
Wholesale clients
Those clients are used mostly for carriers and wholesale services. Other popular application is to authorize DID numbers being used to:
activating callback
calling to IVR scenarios
http://docs.voipswitch.com:8080/display/VDoc/VSM+2+-+Clients 10/16/2010
VSM 2 - Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 5 of 6
Recognize by H323 ID option allows sending SIP and H323 traffic without IP authorization.
PIN source option is used for calls made to IVR system. Calling to PIN asking scenario allows to work with calling cards services. Only with this option checked Wholesale client
can be used as an access to PIN-scenario. Such call will be billed in two ways.
SIM Source
Connect client immediately - this option should be enabled only when all calls of a client do not connect to any destination. This will open the media channel immediately after
routing but in most cases will generate also false billing because the calls will be declared answered immediately.
So this feature is for extreme cases only. It shouldn't be used for normal users.
Calls limit - used to limit the calls count running through the Wholesale client. When number of calls is equal to this limit any new calls from this client will be rejected. This is
also checked for calls in progress and connected apiece.
Retail clients
This type of clients account enables the VoipSwitch clients to use its features such as:
calling from different types of dialers: PC2Phone, ATA, WebDialer, Mobile dialer etc.;
using Calling Card service: calling on PIN/PIN-less scenarios;
using callback feature;
log into VSPortal and use their features.
Settings for Retail clients are very simple and were mostly described in the Clients common features chapter. One of new feature here is recognizing the caller by his caller ID. It is
used in PIN scenarios where the client has to send his PIN first to get access to his account. With Recognize by ANI option, if the caller ID is present on the ANI numbers list,
client will not have to enter his PIN. Instead of that he will be recognized by the system automatically and so registered on the proper account.
http://docs.voipswitch.com:8080/display/VDoc/VSM+2+-+Clients 10/16/2010
VSM 2 - Clients - VoipSwitch documentation - VoipSwitch Dashboard Page 6 of 6
There are available special VoipBox scenarios where client's caller ID can be saved automatically or the one where client can add ANI numbers manually.
Another now option is Generate ringback. If checked VoipSwitch will generate ringback tone while calling the client.
Children (3)
Retail clients
VSM 2 - Clients. Clients common features
Wholesale clients
http://docs.voipswitch.com:8080/display/VDoc/VSM+2+-+Clients 10/16/2010
VSR - Resellers - VoipSwitch documentation - VoipSwitch Dashboard Page 1 of 6
VSR - Resellers
General description
Resellers definition
General
Funds & Tariff
Personal data
Client types & permissions
Reseller with parent
General description
Resellers system is built as web application. It allows resellers to create and manage clients of VoipSwitch system. After logging to web
page which is accessible by default under address
http://........./VSR/
they can manage clients, tariffs, check reports or see calls being connected by their clients.
Every reseller has amount of money assigned to him. This amount is used as credit. After every call made by client belonging to reseller
this amount is decreased by cost. Cost is calculated using tariff assinged to reseller. This tariff is named base tariff and it can only be
read by a reseller when he is logged to system.
From web pages available after logging resellers can add and manage their tariff. As mentioned above one tariff cannot be changed and
it is assigned during reseller creation. Other tariffs can be added by resellers and later assigned to clients. These new tariffs should have
higher rates than defined in base tariff. It will give profit for reseller after every call made by clients.
Rates in tariffs created by resellers can be even smaller than in base tariff. The system allows that. It is a reseller's
responsbility to create valid rates
We decided to allow adding lower rates because of marketing reasons. Some countries can be even cheaper than resellers buys and
more popular can be higher so summary will give positive profit.
Having 3 levels allows to built complex models of sales. Resellers hierarchy can be defined as follows:
Reseller of level I can create and manage clients calling through VoipSwitch.
Reseller of level II can create and manipulate resellers of level I created by him.
Reseller of level III can manage resellers of level II created by him.
http://docs.voipswitch.com:8080/display/VDoc/VSR+-+Resellers 10/16/2010
VSR - Resellers - VoipSwitch documentation - VoipSwitch Dashboard Page 2 of 6
Even though resellers of level II and III cannot create clients directly they can add lower levels and use them to create clients. Using
reports part of system they can still see calls being connected by clients belonging to lower levels.
Using resellers with one or more levels makes some additional work with cost calculation. For example if there are 3 levels of resellers
used, after every call 4 costs are calculated. One for client and 3 for every level.
Resellers system is built to give profit for resellers only after making calls by their clients. Normal scenario can be as described below.
1. Reseller account is created with some initial money on his account. This money can be credited to reseller or just money paid by
him.
2. During reseller creation login and password are created which are used to log on web pages.
3. Reseller creates tariff with rates higher than he has in tariff assigned to him.
4. After logging to system reseller creates clients ready to use VoipSwitch system and services available. He can be limited or can
have almost unlimited posibility to add new clients.
5. Reseller sells created clients accounts and they start calling.
6. Clients call using higher tariff so their funds will finish faster than reseller credit and the difference will be a profit available for
reseller. He will collect bigger amount of money than he must pay for his calls.
Resellers system allows to assign different tariffs for different clients belonging to the same reseller.
Reseller can fully manage his own account including tariffs and client management. Reseller is responsible for creating tariffs and
clients.
http://docs.voipswitch.com:8080/display/VDoc/VSR+-+Resellers 10/16/2010
VSR - Resellers - VoipSwitch documentation - VoipSwitch Dashboard Page 3 of 6
Resellers definition
Resellers support must be turned on in VoipSwitch settings. If you don't set this option the cost for resellers won't be
calculated and calls limit value will not be decreased.
New resellers can be added in three ways. It can be done by VoipSwitch owner using VSM or VSC interface or by reseller of higher
level using VSR web pages.
Every reseller must have some fields to fill with valid values. Values are divided into four sections:
General
Funds & Tariff
Personal data
Client types & permissions
General
Login and password - values used to log using VSR pages. After logging a reseller can see his clients, tariffs, reports and calls
going through VoipSwitch.
Identifier - it is short symbol used to identify a reseller. It must be unique for all 3 reseller levels. It is used by a reseller to add
new tariff. This symbol is added in front of tariff name. For example if reseller names his tariff Test and if his shortcut is WJS
tariff will be added with name WJS:Test. Later when VoipSwitch administrator will browse tariffs it will be easy to find tariffs
belonging to one reseller.
Reseller level - it is read-only and is used only to display reseller level. It was prepared for option to change reseller level after
creation but it is not available yet. Reseller level cannot be changed when it is created.
http://docs.voipswitch.com:8080/display/VDoc/VSR+-+Resellers 10/16/2010
VSR - Resellers - VoipSwitch documentation - VoipSwitch Dashboard Page 4 of 6
Parent - this field displays login name of parent for reseller. When it is empty it means that reseller has no parent. Normally
reseller of highest level is created by VoipSwitch administrator and later this reseller will create resellers of lower level. However
using VSM or VSC can add a parent to reseller or change it. Parent of reseller shouldn't be changed when reseller's client has
made some calls. There are some differences with setting option for reseller when he has parent or is unassigned.
Src dialing plan prefix, Src tariff prefix, Dest. dialing plan prefix, Dest tariff prefix - prefixes are used for reseller allowing
them to assign them to clients. For every type a few prefixes can be added and they must be delimited by comas. More about
usage of prefixes is described here. Below prefixes is a button with title Validate prefixes. After changing some prefix,
especially removing one of them it must be validated if this prefixe was not used for one or more clients belonging to a reseller.
Clicking this button will cause this checking and show clients required to be modified. It must be done manually.
Active - if this option is not checked then reseller will not be able to log to VSR pages.
Tariff to DNIS - reseller can be allowed or blocked from using it. More details about this option can be found here.
Report for routes - when this option is unchecked a reseller will not see in reports which gateway was used to terminate calls.
Sometimes it can be useful to show him name of gateway used to terminate calls so he can decide which one is better.
Dis. adding tariffs - checking this option will disable resellers from adding any new tariff. He will be able to use his base tariff
and all tariffs already assigned to him before this option was checked.
Base tariff - tariff assigned to a reseller which is used to calculate his calls. Any calls made by his clients will calcualte cost
for the reseller using this tariff and this cost will be taken from calls limit value. Rates and other values in this tariff cannot be
changed by reseller after logging to VSR pages.
Calls limit - amount of money added to reseller and used for calling. It is added through payments so later the history of
operations can be checked. To return some money to a reseller a special payment must be added of type return. Amount of
money defined with such type of payment will be substracted from calls limit value.
When calls limit value reseller will reach 0 any of his clients will be blocked from calling.
Clients limit - this amount of money is modified directly by editing value. It is used to limit a reseller against adding too much
clients without neccessity. For example if value set there will be 1000 only 10 clients with 100 amount on every of them can be
added. Calls limit value is checked independetly from this limit. It should be set with some high value if you don't want to limit
a reseller.
Maximum clients - value higher then 0 will limit a reseller to create only this number of clients. 0 has special meaning and
allows to create any number of clients.
Personal data
http://docs.voipswitch.com:8080/display/VDoc/VSR+-+Resellers 10/16/2010
VSR - Resellers - VoipSwitch documentation - VoipSwitch Dashboard Page 5 of 6
There is personal information about reseller. Full name , address, city, country can be used for invoicing ( invoicing for reseller is being
developed now ). Email address is used by service which is reminding resellers about low level of calls limit value.
Client types - this place allows to define which types of clients will be available to see by reseller.
Assign permissions - Even if reseller is allowed to see given client type he can be limited from adding new clients. This rule
can be even applied later when he created clients and we will want to block him from adding new.
1. In permissions tab it can be only limited rights. Types and permissions blocked for parent reseller cannot be allowed for child
reseller. Child reseller can only has smaller number of types and persmissions than parent to which he belongs.
2. Child reseller can use only prefixes available for parent reseller. Clicking a button close to prefix will show a list of prefixes
assigned to parent from which those to be assigned to a chilld can be selected.
http://docs.voipswitch.com:8080/display/VDoc/VSR+-+Resellers 10/16/2010
VSR - Resellers - VoipSwitch documentation - VoipSwitch Dashboard Page 6 of 6
For reseller without parent a list of prefixes can be added without limitation.
Children (4)
Changes VSR
Resellers features
Resellers prefixes
Resellers Web pages VSR
http://docs.voipswitch.com:8080/display/VDoc/VSR+-+Resellers 10/16/2010
VoipTunnel - VoipSwitch documentation - VoipSwitch Dashboard Page 1 of 4
VoipTunnel
9 Added by Jaroslaw Marek, last edited by Jaroslaw Marek on Oct 08, 2010
General description
VoipTunnel Server
VoipTunnel Server installed on dedicated host.
VoipTunnelClient
VoipTunnelClient (version built in the SIPLink dialer)
Sample configuration of devices to cooperate with the module VoipTunnelClient
Sipura SPA -2000
General description
The application VoipTunnel has been created in order to enable making VoIP phone calls for users who live in the countries where VoIP traffic is blocked. This
application may also be used in locked computer networks, e.g. in networks where NAT disables correct functioning of SIP . The use of VoipTunnel makes it possible
to reduce the number of ports necessary for VoIP communication to only one. VoipTunnel cooperates with any devices/programs which support SIP , including, of
course, the dialer SIPLink made by VoipSwitch . The application VoipTunnel does not support the protocol H323 .
VoipTunnel Server
The server module receives packets form all clients. This module should be installed on the computer which follows normal principles to communicate with the
VoipSwitch server by the means of SIP . In practice, this is a computer with a public IP address or, in most installation cases, a computer where VoipSwitch has been
installed.
http://docs.voipswitch.com:8080/display/VDoc/VoipTunnel 10/16/2010
VoipTunnel - VoipSwitch documentation - VoipSwitch Dashboard Page 2 of 4
During the first starting of VoipTunnelServer (vts.exe) configuration file tunnel_config.set will be created. The default values will be placed there - the server IP and
ports 1805 and 5600. If you haven't changed the values in VoipSwitch settings nor you haven't ordered dialer for different IP than you don't have to change anything
there.
However if you wish to change the settings of the VoipTunnelServer, please go to servers default installation directory (usually C:/program
files/VoipTunnelServer/) and open to edit file tunnel_config.set. Enter new values
TCP_TUNNEL_LISTENER_IP_ADDRESS=192.168.20.157:1805
UDP_TUNNEL_LISTENER_IP_ADDRESS=192.168.20.157:1805
SIP_SIGNALLING_IP_ADDRESS=192.168.20.157:5060
after making the changes save the file and restart the VoipTunnelServer.
Please remember that the VoipTunnelServer will work only on IP which has be registered with VoipSwitch.
TCP tunnel listener IP number and TCP tunnel listener port - these are, accordingly, the address and the port where VoipTunnelServer awaits the connection
from clients. These connections will be executed in the protocol TCP. Into these parameters, there should be entered the IP address of the computer where the
VoipTunnelServer functions and the port which we would like to use (conventionally it is port 1805).
UDP tunnel listener IP number and UDP tunnel listener port . These parameters are analogous to TCP tunnel listener IP number and TCP tunnel listener port . At the
address and port defined therein, VoipTunnelServer awaits the connections from clients executed by the means of the protocol UDP.
SIP signalling ip number and SIP signalling port - these are, accordingly,
the IP address and port used by the VoipSwitch server to register and receive the SIP clients traffic. If VoipSwitch does not function on the same computer as the
VoipTunnelServer module, its IP address and the appropriate port (by default 5060) should be entered in this place.
For the connections between the client and the VoipTunnelServer module, one may use either TCP or UDP protocols. The server receives packets for both protocols,
but in consideration for the quality and speed it is recommended that the protocol UDP be used. On the other hand, the protocol TCP enables to "pass through"
even the most sophisticated locks.
The properly working VoipTunnelServer should have all listeners started and the value numbers in packet counters should increase as the connections from clients are
received. This is shown in the image below.
You can use command line interface to change the UDP tunnel listener IP address and the SIP signalling IP address.
-tunnel_listener_ip_address=ip_address:port
-sip_signalling_ip_address=ip_address:port
Example: "c:\program files\voiptunnelserver\vts.exe" -tunnel_listener_ip_address=213.77.145.66:1810 -sip_signalling_ip_address=213.77.145.66:5091
http://docs.voipswitch.com:8080/display/VDoc/VoipTunnel 10/16/2010
VoipTunnel - VoipSwitch documentation - VoipSwitch Dashboard Page 3 of 4
VoipTunnelClient
This module should be installed and started on a computer which is located within the locked network. Many IPphones which function in this network and use the
protocol SIP may use this computer in order to register on the VoipSwitch server. Obviously, later they can make connections via this computer. Before starting the
VoipTunnelClient module, one should start VTCconfig and set the appropriate IP addresses and used ports.
Protocol denotes the type of protocol which will be used by this client (recommended UDP).
Tunnel Server IP number and Tunnel Server port are used to determine the IP of the computer where the started VoipTunnelServer is located. Port 1805 is entered here by
default but if in the VoipTunnelServer module another port is used, the appropriate value should be entered here.
Dummy SIP signalling IP number and Dummy SIP signalling port is the local address of the computer where the VoipTunnelClient will be started and where the packets from
clients will be received. In the above image this is a private IP address. This is the correct setting because IPphones which use this module should be in the same
private network.
After pressing the button Savesettings, the module VoipTunnelClient may be started.
After starting, it is possible to use such a computer for registering and calling from IPphones in the created tunnel.
http://docs.voipswitch.com:8080/display/VDoc/VoipTunnel 10/16/2010
VoipTunnel - VoipSwitch documentation - VoipSwitch Dashboard Page 4 of 4
parameter UDP listener port . The dialer is prepared to work on specific ports so if the ports need to be changed it is necessary to create a new installation version of a
dialer and to re-install it on the clients' computers.
If the module VoipTunnelClient with parameters Dummy SIP signalling IP number and Dummy SIP signalling port set accordingly to 192.168.2.9 and 6060 is started on the
computer with the aforementioned address, the device should log in the VoipSwitch system via the application _VoipTunnel._
Labels
tunnel voiptunnel sipura cisco ata outstrip electronic technology gateways shenzhen
http://docs.voipswitch.com:8080/display/VDoc/VoipTunnel 10/16/2010