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 1

 

Introduction. 2

Astrad 001. 2

Astrad 002. 3

Astrad 003. 3

Astrad 004. 3

Astrad 005. 4

Astrad 006. 5

Astrad 007. 5

Astrad 008. 5

Astrad 009. 5

Astrad 010. 6

Astrad 011. 6

Astrad 012. 7

Astrad 013. 7

Astrad 013-1. 7

Astrad 014. 8

 

 

 

Introduction

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 001

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

data1/110126,1047,astrad,001.zip

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/

Astrad 002

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

data1/110127,1035,astrad,002.zip

Size

2.3 MB

Md5

773c2a13291e08fd9244793e00befe96

Astrad 003

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

data1/110128,1853,astrad,003.zip

Size

2.3 MB

Md5

efac8468782f47b679a5307d0d11cf76

 

Astrad 004

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

data1/110325,1750,astrad,004.zip

Size

2.3 MB

Md5

44a0683325e6806e669ddf6d13583f0b

Astrad 005

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

data1/110405,1450,astrad,005.zip

Size

2.3 MB

Md5

2716e784f8e05e8de0bc3d3d23671012

Astrad 006

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

110506,1225,astrad,006.zip

Size

2.3 MB

Md5

a96907f8acb1f6a0346960adee148111

 

Wish list:

http://switzernet.com/3/public/110523-astrad-wish-list/

Astrad 007

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

110606,1750,astrad,007.zip

Size

2.3 MB

Md5

56c68fa5503b1e1b39caee92a772db20

Astrad 008

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

110725,1522,astrad,008.zip

Size

2.3 MB

Md5

701d14e94af0a0eddc303de6b9943f40

 

Astrad 009

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

111005,0849,astrad,009.zip

Size

2.3 MB

Author(s)

André Guimarães

Release date

2011-09-15

In production

2011-09-20

Md5

fe006ef28cc26a3dc20b888cce5916f5

 

Astrad 010

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

111128,1536,astrad,010.zip

Size

2.3 MB

Author(s)

André Guimarães

Release date

2011-11-28

In production

2011-11-30

Md5

30a2aacc7406eec5b4855452fdfbf3d2

 

Astrad 011

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

120308,1205,astrad,011.zip

Size

2.3 MB

Author(s)

André Guimarães

Release date

2012-03-08

In production

2012-03-13

Md5

d708fd744129d68f36952df57c201507

 

Astrad 012

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

120328,1126,astrad,012.zip

Size

138 MB

Author(s)

André Guimarães

Release date

2012-03-28

In production

-

Md5

cc3a459bb00df1b239fa8355e8367b54

 

Astrad 013

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

120411,1029,astrad,013.zip

Size

56 MB

Author(s)

André Guimarães

Release date

2012-05-07

In production

2012-04-19

Md5

275bcb7eefa54bce471c391c86becbbd

 

Astrad 013-1

Minor Astrad version that corrects some errors detected in Astrad v13 in the messages sent by Billing.

 

Version

Astrad v 013-1

File

120525,1431,astrad,013-1.zip

Size

60 MB

Author(s)

André Guimarães

Release date

2012-05-25

In production

2012-05-25

Md5

8ee4491c120340f22ae40971d789511d

 

Astrad 014

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

120822,1427,astrad,014.zip

Size

56 MB

Author(s)

André Guimarães

Nicolas Bondier

Release date

2012-07-17

In production

2012-08-15

Md5

9458ae4f3fde4893825354cdc5be17c9

 

 

 

 

* * *