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 is created, Switzernet is running a dozen of SIP server using a replication of porta-sip using asterisk and an old version of OpenSer. The advantage of OpenSer was that it includes RADIUS as it is designed to works with Porta-One and its porta-billing. However, porta-sip server suffers from a lack of configuration. For example, in order to ban some IP addresses, it is needed to reboot the server after having modified the config file of openser.
Those OpenSer servers might also be responsible of some quality issues we are experiencing.
In order to replace those OpenSer servers by Astrad servers, we set up a system of configuration management. The tool used is Puppet. [doc] This tool provides us a way to do an automated installation of our configuration.
On puppet, we are using modules as versions of our servers.
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 |
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 |
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 |
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 |
Md5 |
cc3a459bb00df1b239fa8355e8367b54 |
* * *