IBSng ReleaseNotes B1.31

از ویکی پارس پویش
پرش به: ناوبری, جستجو

محتویات

New Features

VoIP Provider and Routing

VoIP Routing is the subsystem, that performs VoIP routing decisions based on selected algorithm. The entities in this subsystem are

VoIP Provider
Terminating endpoints, with an IP address, outgoing prefix and mapped user that is used for determining cost of each destination and call
VoIP Routes
Performs routing decisions between attached VoIP providers and has an routing algorithm, prefix list and priority. Routes with higher priority are considered first by checking if they can handle the needed destination. If so, the routing algorithm with apply to all attached providers for example to find the least cost provider.
Route profile
Compound of multiple VoIP routes. The route profile will attach to a charge rule and ultimately to an user
Routing Algorithm
The algorithm used to determine which provider to use. Currently Least Cost and Quality algorithms are implemented

The subsystem collects ASR and ACD for both VoIP Routes and Providers. Both VoIP routes and routes can be blocked, and it's easy to route specific destinations to specific providers. Currently this subsystem only supports MVTS and Cisco ras.

User Importer

User Importer subsystem can be used to import bulk of users, from CSV files. CSV files can be uploaded via web interface, or put into linux filesystem by any other method(scp or ftp). Most user attributes are supported and There are reports of successful/failed users and failed reasons.
For more information, you can see User_Import_From_CSV_File

Asterisk Integration

IBSng now can integrate with asterisk, by using asterisk real-time. IBSng assigns an extension to the user, and setup rules for SIP/IAX connections. It also uses the IBSng dial AGI to bill calls of users. It's possible to bill both inter-user calls as well as external calls. Here's a summary of what should be done in asterisk

        INSTALL:
        1- Make sure your asterisk has res_config_pgsql module
        2- Install asterisk.sql into database
        3- Specify res_pgsql.conf parameters
        4- extconfig.conf sample:
        sipusers => pgsql,IBSng,asterisk.sip_buddies
        sippeers => pgsql,IBSng,asterisk.sip_buddies

        iaxusers => pgsql,IBSng,asterisk.iax_buddies
        iaxpeers => pgsql,IBSng,asterisk.iax_buddies

        extensions => pgsql,IBSng,asterisk.extensions

        5- extensions.conf sample:
        [ibs_users]
        switch => Realtime/ibs_users
        exten => _XXXXXXXXXX,1,DeadAGI(dial/ibs_agi_starter.py|SIP/${EXTEN}@outbound)

Online Payment

IBSng now supports online payment with gateways

  • Saman
  • Parsian
  • Eghtesad Novin

It's highly modular and new gateways will be added in future releases. Online payment can be done for renew, recharge or arbitrary amount of money based on administrator preference on per group basis.

New Telephony Support Subsystem

A new telephony support subsystem has been introduced by using asterisk PBX software. The features are

  • Caller ID (ANI) based authentication
  • Allow authentication by Internet Username, VoIP Username, Serial and User ID
  • Announce user credit
  • Announce user expiration date
  • Announce user last connection
  • Announce the reason why user can not user the service
  • Record a message and e-mail the administrator
  • Allow admin to upload user voice file, and say user name on login
  • Explains Microsoft windows error codes( ex. 619 or 900)

User Status

Now each user has an status. Available Status are

Package
User bought a package, and still is using his package credit
Recharged
User is recharged, either by recharge action or change credit.
Temporary Extend
User temporarily extended
Negative Credit
Postpaid user that entered negative credit

There is also a charge rule effectiveness attribute that limits the charge rule to specified states. This means you can have different Charge per Minute or Megabyte for each state. For more informations see طرز_تعریف_سرویس_های_مختلف_در_نرم_افزار

Recharge And Auto Recharge

Recharge action has been implemented, in addition to renew, to handle users that finished their credit (mostly traffic quota) before end of their subscription. Recharge credit will be defined in group, and adds that amount of credit to the user. It also changes user state to RECHARGED, so different charge rule can be applied after recharge. For example, if recharge credit is set to 3000 Units, on each recharge, user credit will be increased by 3000 Units, and also user status change. This means that Recharge users can have different charging options, from the initial package credit. Auto Recharge, same as Auto renew, if enabled will check for user deposit, and if enough deposit exists, with automatically renew user, when his credit is finished.

User Temporary Extend

This new feature, is aimed for broad band service providers, that wants to extend user account, temporarily for an specific amount of time. Example usage of this feature is the scenario that an user accounts expires on afternoon of a holiday. By calling the service provider, operator can extend him for just few hours, without messing with financial data.


Renew Next Group

Changing service for a broadband users has always been a little problematic. By using this feature, the group change can be done during next renew of user. It means user can use this service until the end, and on next renew, he'll be on his new service.


In Ras Bandwidth Limit

A new method of bandwidth limiting has been introduced in this version. By this feature, IBSng commands the ras, to limit bandwidth of user, dynamically and per user basis. This is done by introducing new charge rule attribute "in ras bw", that let administrator to apply bandwidth based on different criteria (ex. login time of user) This feature does the bandwidth shaping in ras and does not need traffic to pass through IBSng bandwidth manager.It is tested with Cisco VPDN and Mikrotik ras.

Charge Rule Maximum Usage

This Charge Rule attribute, limits effectiveness of a charge rule, to maximum amount of usage. For example you can define a charge rule between hours 2:00 to 8:00 that is only effective for 200 Units of credit. Example usage of this feature is defining prepaid cards, that has especial free gift for off-peek hours.

Limit Usage Days

Limit Usage days, limits an account to be valid for specified non-sequential days. For example if an account has 30 usage day limit, it can be used for 30 days, regardless of days being sequential or not. It's differs from expiration date that the days user doesn't login, does not count in usage days.

Charge Rule Priority

Now each charge rule has a priority. Charge rule with higher priority will be checked for being effective on user. This greatly simplify defining charge rule in many situations. For example a charge can be defined for hours 2:00 to 8:00 with priority 8, and another rule with hours 0:00 to 24:00 (all hours) with priority 7. Because the first rule has a higher priority, it will be choosed whenever it can be(during 2:00 to 8:00)

Assign DNS and Route

IBSng now supports assigning DNS on per user and group basis. It's now also possible to route specific range of ip address, to a user. For example for user we can assign

  • Assign IP: 172.16.10.1
  • Assign Netmask: 255.255.255.255
  • Assign Route IP: 217.219.219.0/24
  • Assign DNS: 172.1.1.1, 4.2.2.4

Caller ID and Mac Blacklist

The blacklist sub-system can be used to not allow specific Caller IDs or Mac Addresses from logging in by any account in the system. The format is a simple regular expression that will be checked with both Caller ID and Mac address.


Caller ID Usage Report

This new reports, shows credit and duration usages, based on caller ID. This is useful to find caller ids with most usage, or have a list of caller id and usages for an specific period.

Enhancements

Performance Enhancements

Connection Log and Charges performanced has been greatly enhanced in this release. Also IBSng threadpool now supports priority and it automatically gives more priority to radius packet dispatcher threads.

Connection Log E-mail

Because getting long reports from IBSng might take so much time, a new view type has been introduced to connection log, named E-mail. It can be used to send the whole report, regardless of result per page(rpp) to an e-mail address.

Delete Ras

Delete ras action has been implemented. Before this release, ras could only become disabled and delete was not possible.

Connection Log Redundant Checker

This new feature from previous release, collects redundant and unnecessary connection log data into one record. The performance of this operation has been greatly improved by using an in-memory cache.

MVTS Codec logging

MVTS ras now logs available voice codecs of incoming and outgoing peers

Cisco Ras Re-Online

Cisco Ras now supports re-online operation. Re-online gathers users data from cisco device, and check them with IBSng online users. If there are users on ras and not on IBSng, they are Re-Onlined.

Mikrotik Mac and PPTP

Mikrotik ras now collects user mac address for pptp sessions.

Hour, Charge Rule plugin

Hour charge rule plugin may now cross a day. Ex. it's now possible to define a rule from 22:00 to 5:00 that crosses a day.

Multiple Persistent lan per user

This release allows multiple persistent lan, for a single user.

System Load Checking

IBSng now checks system loads, and on high server pressure, prevent web interface from performing heavy actions. Most Reports, clean report will be disabled when server is under pressure. The threshold for system load can be defined in advanced configuration section of settings.

Bandwidth Manager Host support

IBSng now support multiple bandwidth manager hosts per installations. It means that it can have more than one bandwidth managers attached to it. The installation is now mostly automatic.

Credit Change Log, Before Credit

Credit Change log now stores the amount of user credit before and after the change. Group of user is also stored and showed in the report.

Native Excel Support

IBSng Reports now support View Type of Native Excel. It's suitable especially for reports containing non-ascii characters.

IN Report

A new report has been added under url IBSng/IN_user that can be used for IN users to see their usage reports. Also another Caller ID usage report is introduced that can be used for service providers to acquire a list of caller-id, usage on specific period.

Port Charge Rule Attribute

This can be used to limit a charge rule, to specific ports of a ras.

Never Expires user search condition

The new search condition can be used to find users, without any expiration date.

Bind On Next Login For Group

Bind on next login is a subsystem that binds a value on next login of user. Now it's possible to set bind on next login
ابزارهای شخصی

گویش‌ها
فضاهای نام
عملکردها
گشتن
جعبه‌ابزار