VOIP tarieven naar Indonesia

De tarieven om via VOIP naar Indonesia te bellen verschillen sterk per provider, afhankelijk van de bestemming in Indonesia.

  • 26.05.2011: Naar aanleiding van de forse tariefsverhoging van xs4all in 4/2011 is het overzicht nu aangepast.
Tel.nr. Bestemming xs4all lowratevoip voipwise voipcheap
0… Vast NL 3.0 0 0
06… Mobiel NL 15.5 16.1 13.8 11.5
00628.. Mobiel ID 12.0 10.4 6,3 7.5
006221.. Vast Jakarta 12.0 4.6 4.6 5.8
0062… Vast ID 12.0 4.6 4.6 5.8

Hierop gebaseerd kan eenvoudig een Asterisk dialplan ingesteld worden, zodat automatisch de gunstigste provider gekozen wordt.

Ook zijn er tegenwoordig wat alternatieve methoden dan VOIP om via bijvoorbeeld een applet op een smartphone te bellen tegen soms opmerkelijk interessante tarieven (per 14.08.2011):

    Fring Skype Google Voice  
0… Vast NL 1.2 2.2 2.4  
06… Mobiel NL 8.4 25.5 13.1  
00628… Mobiel ID 4.8 14.6 9.5  
006221… Vast Jakarta 3.4 4.0 3.6  
0062… Vast ID 3.4 9.0 6.0  

In ‘extensions.conf’:

exten => _06X.     ,1,Macro(trunkdial,SIP/voipcheap/${EXTEN})   ;mobiel NL
exten => _08X.     ,1,Macro(trunkdial,SIP/xs4all/${EXTEN})      ;08xx nrs
exten => _09X.     ,1,Macro(trunkdial,SIP/xs4all/${EXTEN})      ;09xx nrs
exten => _1X.      ,1,Macro(trunkdial,SIP/xs4all/${EXTEN})      ;112, en zo
exten => _006221X. ,1,Macro(trunkdial,SIP/xs4all/${EXTEN})      ;Jakarta
exten => _00628X.  ,1,Macro(trunkdial,SIP/voipcheap/${EXTEN})   ;mobiel ID
exten => _0X.      ,1,Macro(trunkdial,SIP/lowratevoip/${EXTEN}) ;overig

Bovendien moeten de bijpassende login-gegevens gedefinieerd worden in sip.conf voor de verschillende accounts ‘xs4all’, ‘voipcheap’ en ‘lowratevoip’.

Favourite additional packages for Ubuntu

The standard Ubuntu installation comes already with a pretty complete set of software packages. Next to the standard set of packages I install on my desktop/laptop:

  • ubuntu-restricted-extras: allerlei extra fonts, video codecs, etc.
  • default-jre: installeer de java JRE
  • geany: my favourite editor, very usefull for php, html, css, etc.
  • meld: an easy diff program which also enables melding differences per line
  • mozplugger: show PDF’s inside a tab of Firefox
  • compizconfig-settings-manager: tune je desktop effecten
    • schakel de “Ring wisselaar” aan, zet daarbij “Volgende venster (alle werkruimten)” op toets Alt-Tab

And a bit of tuning:

  • For 9.04 following command prohibits the pop-under of the upgrade program. It returns to the previous policy showing a notification icon:
    gconftool -s –type bool /apps/update-notifier/auto_launch false

Installing awstats on Debian system

To see who is visiting your website there is a nice opensource package available called awstats. After installing awstats by the usual command a few extra actions are required. I’ll explain in the rest of these post the required steps for a simple configuration.

Continue Reading →

Sudo command from php

I wanted to have an easy button in a webpage to restart some process that requires sudo rights. After quite some Google searches I combined a few techniques that made this work.

Although this method only grants very limited rights to the webserver, granting superrights to a web process might open up some security issues somehow. However family or co-workers simply pressing the on/off button on the server when something is not working and I’m not around is a worse problem in my opionion.

Continue Reading →

Asterisk warning message removed

Allready for months I got my asterisk log-file filled with a message every 10 seconds:

WARNING[6511] chan_sip.c: Bad request protocol Packet

Turns out this messsage is some issue with an incompatible protocol with the XS4All account and it can be solved with:

sudo iptables -A INPUT -p udp -m udp –dport 5060 -m string –algo=bm –string KeepAlive -j DROP

Note: instead of the long dash before dport, algo and string you should type a double -. Some formatting issue of WordPress.

Met dank aan deze forum-post op tweakers.net .

Asterisk working!

In the past months I’ve tried to get Asterisk working a couple of times, but most of the time I had to give up because of the overwelming number of configuration files. Finally I got everything up and running. Especially this post was helpfull.

Now I can make calls through several providers (xs4all, lowratevoip) based on dialing rules. Incoming calls also are working already and I just filed for the transfer of my old ISDN phoneline number to an xs4all voip account.

One of these days I’ll document my settings here, so it might help somebody somehow.

Saldo opvragen

Voor Hi-Prepaid telefoon: type *101# [zend]

Opwaarderen: ga naar KPN

Testing the browser

Usefull links for testing your browser:


Favourite extensions for Firefox

Tab Mix Plus
Especially handy: set in Tools / Tab Mix Plus Options / Mouse / Mouse Clicking:

  • Double-click / on a tab: ‘Move the tab to a new window’
  • Ctrl-click / on a tab: ‘Duplicates the tab’

Dictionary Switcher
If you fill in forms in several languages and appreciate the spell-check feature of Firefox this simple extension is a must have!

Foxmarks Bookmark Synchronizer
Use your bookmarks on any computer!

Google Kladblok
Easely make notes that you can access on any computer.

Favourite extensions for Thunderbird

Display Mail User Agent Extension

Maybe not very useful, but still nice to see: an icon of the program used by the writer shows next to the header data.

Dictionary Switcher
If you compose messages in several languages this simple extension is a must have!

An integrated calendar and tasklist for Thunderbird.

Provider voor Google Agenda
Synchronize Lightning with Google Calendar

Synchronize contacts with Google Gmail.