Asterisk : Basic SOHO environment VoIP PABX configuration

Asterisk is a free telephony software. I’m posting here sample commented configuration files for reference purposes, hoping they will help you get kickstarted if needed.

This config sets up :

  • SIP phones (for softphones or harware phones with SIP capabilities)
  • Voice mails
  • A few test phone numbers
  • Forwarding of calls to a SIP provider for outbound and incoming calls (from/to PSTN)

That should be plenty already for a SOHO environment !

Note to French readers : Si votre FAI est Free, cette configuration fonctionne pour passer / recevoir des appels via le SIP de Free (Freephonie).

Continue reading Asterisk : Basic SOHO environment VoIP PABX configuration

Gentoo + OpenVPN : getting things started in the correct order

I’m running an OpenVPN server, configured in bridging mode.

I had quite a bit of trouble getting OpenVPN to start after networking is up, but before the the bridge is setup so that the tap0 device, which is created by OpenVPN can be added to the bridge.

The solution is simpler : let the tap0 be automatically created and added to the bridge by Gentoo Linux, then start OpenVPN with a config file instructing to use the already created tap0 device.

This post shows the configuration snippets to get things started in the right order on Gentoo.
Continue reading Gentoo + OpenVPN : getting things started in the correct order

Linux / Unix : Disk usage and identifying biggest files

When working as a systems administrator, you’ll always end up having to solve a file system full error in a hurry. Here are a few commands and hints to help you get out of it quickly on a UNIX like system.
Continue reading Linux / Unix : Disk usage and identifying biggest files

Monitoring batches in IT environment : efficiently using emails

Sometimes automatically running scripts in production environments are simply monitored by emails. Those scripts may run on schedule or be triggered by events and they send an email (for example to the technical support level 1) upon completion of the job. The content of the email will then give information about the outcome of the execution of the script.

This posts lists a few ideas that you might find useful to implement when in such an environment.

Continue reading Monitoring batches in IT environment : efficiently using emails