Astrad Versioning
Updated on 2012-08-22 by André Guimarães
Updated on 2012-05-07 by André Guimarães
Updated on 2012-03-28 by André Guimarães
Updated on 2011-12-13 by André Guimarães
Updated on 2011-07-25 by Oussama Hammami
Updated on 2011-06-06 by Oussama Hammami
Updated on 2011-05-09 by Oussama Hammami
Updated on 2011-04-05 by Oussama Hammami
Updated on 2011-03-28 by Yannick Vaucher
Updated on 2011-01-28 by Oussama Hammami
Updated on 2011-01-27 by Oussama Hammami
Created on 2011-01-26 by Yannick Vaucher
At the time this document was created, Switzernet is running about twenty SIP servers in production environment. These servers emulate the behavior of a Porta-SIP server. The aim of this replacement was to be able to configure the servers as we need instead of being limited by the Porta-SIP’s limitations like the lack of configuration possibilities. For example, in order to ban some IP addresses, it is needed to reboot the server after modifying the configuration file of OpenSer in Porta-SIP. All Porta-SIPs were replaced by Astrads.
To ease the deployment of new servers, a system installation and configuration manager was installed. The tool chosen for this task was Puppet [doc]. It provides a way of automated installation and/or configuration of all servers and makes the process of updating to newer versions easier. This is also done automatically. Each Astrad version is a module that can be installed in an empty machine or on a machine with a previous version installed.
Here is the version evolution record of our astrad configuration. :
Astrad is the name for ASTerisk and RADius
An Astrad server is an Asterisk server on which we included the RADIUS protocol to communicate with our Porta-Billing.
This first version includes an automated installation of the first version [doc] of the manual installation.
Plus the two following updates:
- Update of management of vocal messages [doc]
- Update of calls billing with Asterisk and Porta-Billing [doc]
Version |
Astrad v 001 |
File |
|
Size |
3.81 MB |
Md5 |
ad6b84cd7a1290f13b8cfe6922dbaf9b |
References
http://switzernet.com/public/100520-install-asterisk/
http://switzernet.com/2/public/100719-asterisk-update/
http://switzernet.com/2/public/100726-patch-mysql-radius/
In this release we have updated all perl scripts for use a single config file ‘switzer.conf’ and assuring the connection with asterisk manager.
All conf files and scripts are located in the ‘/etc/astrad-V2’ and ‘/etc/asterisk’.
We’ve added a possibility to restart all services: ‘/etc/init.d/astrad restart’.
Version |
Astrad v 002 |
File |
|
Size |
2.3 MB |
Md5 |
773c2a13291e08fd9244793e00befe96 |
In this release we have removed the encryption of ‘db-peer.conf’ that contains md5 of sip passwords.
The shell script of sip registration per DNS is updated.
Version |
Astrad v 003 |
File |
|
Size |
2.3 MB |
Md5 |
efac8468782f47b679a5307d0d11cf76 |
This release provides an alternative way of authentication for call initiation. This alternative is used when the Master server is unavailable.
The replication server db2 is used.
Here are the details on the script used:
http://www.switzernet.com/3/public/110328-astrad-alternative-radius-auth
Other changes and corrections:
- ast-resend-lost.pl
o Error in date formats
The function format_date_gmt is rewritten and is renamed to format_date_sql_2_gmt.
The issue was:
This function formatting dates in ast-resend-lost.pl was using dates extracted from MySQL as if it was at GMT time zone.
But dates in MySQL are at local time zone. It was creating wrong packets with bad hours in all time parameters.
o Incomplete H323-conf-id parameter
Radius packets had an error in one of its parameters.
The name missing 'h323-conf-id=' has been added in front of H323 conf id value.
The Porta-Billing was unable to match messages sent by this script with standard ones.
o Transmission Delay
Acct-Delay-Time has been added in Radius requests from this script.
- agi-rad-auth.pl + extensions.conf
o Missing remote IP address parameter
Radius requests were generated without including source ip address.
It has been added.
Version |
Astrad v 004 |
File |
|
Size |
2.3 MB |
Md5 |
44a0683325e6806e669ddf6d13583f0b |
In this release we have added the Realtime module, the local database of asterisk is used to allow outgoing calls (sipusers table) or incoming calls (sippeers table).
These tables are replicated from the master server MySQL-Astrad DB3 [http://switzernet.com/3/public/110405-db3]
The updating of registrations on the master-billing is carried through federated tables ‘location2’ in Astrad and ‘location’ in db3.
With this update you need only two Perl script (daemon) for accounting (start-stop) and for resend lost packets.
Version |
Astrad v 005 |
File |
|
Size |
2.3 MB |
Md5 |
2716e784f8e05e8de0bc3d3d23671012 |
In this release we have removed the federated table (location2) in asterisk data base and we added the perl script 'ast-registration, which deals with the integration of registration received in location2 in db3. [http://switzernet.com/3/public/110509-astrad-correction].
Version |
Astrad v 006 |
File |
|
Size |
2.3 MB |
Md5 |
a96907f8acb1f6a0346960adee148111 |
Wish list:
http://switzernet.com/3/public/110523-astrad-wish-list/
In this version we added the ability to hide the call identifier
You can find more information in this document [http://switzernet.com/3/public/110530-astradV7/].
Version |
Astrad v 007 |
File |
|
Size |
2.3 MB |
Md5 |
56c68fa5503b1e1b39caee92a772db20 |
In this version we added the ability to receive calls on multiple phones that use the same SIP account.
Now, Astrad send UDP packets (empty or SIP NOTIFY) to keep alive the port in the NAT router. We also changed the structure of the table location3
You can find more information in this document [http://switzernet.com/3/public/110724-astrad-V8/].
Version |
Astrad v 008 |
File |
|
Size |
2.3 MB |
Md5 |
701d14e94af0a0eddc303de6b9943f40 |
In this version only minor corrections were made.
You can find more information in this document [http://switzernet.com/3/public/111004-astrad-V9/].
Version |
Astrad v 009 |
File |
|
Size |
2.3 MB |
Author(s) |
André Guimarães |
Release date |
2011-09-15 |
In production |
2011-09-20 |
Md5 |
fe006ef28cc26a3dc20b888cce5916f5 |
In this version we added the ability to select the language of asterisk messages from Billing.
There is increased support for autonomy from Master, when Master is unavailable.
Calls made to a number which is registered in several servers now appear correctly in Billing.
Some of the problems found in previous versions were corrected.
You can find more information in this document [http://switzernet.com/3/public/111129-astrad-V10/].
Version |
Astrad v 010 |
File |
|
Size |
2.3 MB |
Author(s) |
André Guimarães |
Release date |
2011-11-28 |
In production |
2011-11-30 |
Md5 |
30a2aacc7406eec5b4855452fdfbf3d2 |
In this version asterisk can be set to run in another port different from the default one.
It solves a follow me problem when the user was set as multiple_ua.
You can find more information in this document [http://www.switzernet.com/3/public/120308-astrad-V11].
Version |
Astrad v 011 |
File |
|
Size |
2.3 MB |
Author(s) |
André Guimarães |
Release date |
2012-03-08 |
In production |
2012-03-13 |
Md5 |
d708fd744129d68f36952df57c201507 |
Upgrade to Asterisk 1.8.7. Now it is possible to see User Agent from an Astrad in Billing. Support for new codecs. Replacement of tables sippeers and sipusers by sipdevices. Other problems solved.
You can find more information in this document [http://www.switzernet.com/3/public/120106-astrad-V12].
Version |
Astrad v 012 |
File |
|
Size |
138 MB |
Author(s) |
André Guimarães |
Release date |
2012-03-28 |
In production |
- |
Md5 |
cc3a459bb00df1b239fa8355e8367b54 |
As Lenny in now in EOL, all repositories have been changed to Debian archive repositories.
Puppet configuration was changed to have now 2 classes for asterisk: installation and configuration. This allows a faster update of configurations as it is the installation module that takes much more time (220 seconds vs. 15 seconds).
Spanish and Portuguese languages added.
Asterisk version changed to Asterisk 1.8.12.
You can find more information in this document [http://www.switzernet.com/3/public/120427-astrad-V13].
Version |
Astrad v 013 |
File |
|
Size |
56 MB |
Author(s) |
André Guimarães |
Release date |
2012-05-07 |
In production |
2012-04-19 |
Md5 |
275bcb7eefa54bce471c391c86becbbd |
Minor Astrad version that corrects some errors detected in Astrad v13 in the messages sent by Billing.
Version |
Astrad v 013-1 |
File |
|
Size |
60 MB |
Author(s) |
André Guimarães |
Release date |
2012-05-25 |
In production |
2012-05-25 |
Md5 |
8ee4491c120340f22ae40971d789511d |
This version introduces the support of Multi-Billing. Radius messages’ code was rewritten to cope with the two Billings and to correct some known bugs (with Follow me for instance). The keep alive scripts were replaced by one that sends by default empty packets, but also Notifys or Options if we ever need to track the answers.
You can find more information in this document [to be published].
Version |
Astrad v 013 |
File |
|
Size |
56 MB |
Author(s) |
André Guimarães Nicolas Bondier |
Release date |
2012-07-17 |
In production |
2012-08-15 |
Md5 |
9458ae4f3fde4893825354cdc5be17c9 |
* * *