irockasterisk: How to set the concurrent calls limit on SIP trunk in Asterisk?

Method2 (preferred): Looking at cons of using call-limit, I decided not to use it even though I found it to be really easy implementation. Similar goal can be achieved via the use of GROUP() and GROUP-COUNT() functions available in Asterisk Dialplan. You don’t have to make any adjustments on SIP Trunk configuration for call limit […]

Using ODBC in the core – FreeSWITCH Wiki

2. Install the unixODBC driver You will need to obtain the ODBC for your chosen database. Instructions for obtaining the drivers for MySQL or PostgreSQL are provided below. For MySQL: sudo apt-get install libmyodbc For PostgreSQL sudo apt-get install odbc-postgresql 3. Configure /etc/odbc.ini & /etc/odbcinst.ini Add the following with the correct information into your odbc.ini […]

cirpack et asterisk / Freephonie

Remarque très constructive de Ludovic L. « Le message Cirpack n’est pas un bug, mais un message de keepalive pour le nat upd des routeurs des internautes (maintien de l’entrée nat entre votre poste et le serveur free). Bref … pour asterisk le patch est ceci : éditer le fichier :  ./channels/chan_sip.c … e = ast_skip_nonblanks(e); […]

» Configuration Asterisk pour Freephonie en SIP – Le Comptoir de Sinhaladweepa

Après quelques tâtonnements, voici la configuration contenue dans /etc/asterisk/sip.conf permettant à Asterisk d’accéder au service SIP offert par Freephonie : [general] defaultexpiry=1800 register => 0951727841:monsecret9@freephonie.net dtmfmode=auto [freephonie-out] type=peer host=freephonie.net qualify=yes username=0951727841 fromuser=0951727841 secret=monsecret disallow=all allow=alaw Le codec G711 alaw est ma préférence personnelle : la qualité sonore avant tout en attendant G722. D’autes préférerons le […]

Protection asterisk avec fail2ban « Admin6

Protection asterisk avec fail2ban Dans un précédent article j’ai présenté comment protéger son serveur des attaques bruteforce avec l’aide de fail2ban. Comme décrit dans cet article de nos jours, il est très important de se protéger de ce type d’attaque et c’est pourquoi dans ce billet je vais vous montrer comment protéger un serveur asterisk […]

Installation de Asterisk 1.4 sous Debian Etch | Sébastien Couture

Installation de Asterisk 1.4 sous Debian Etch Accueil Published by sebastien on mai 31st, 2008 in VoIP, Asterisk Ce tutoriel relate l’installation du logiciel de téléphonie PBX libre Asterisk, ainsi que les pilotes d’interfaces téléphoniques Zaptel; plus particulièrement le pilote ztdummy qui nous permet d’avoir une source de synchronisation temporelle (timing) pour les conférences (meetme) […]

» Blocking Asterisk hacking/scanning attempts with fail2ban

Warning – if you follow these instructions fail2ban will, by default, be protecting you against other scans such as ssh attempts. This means though that if you get your IP blocked you will not be able to connect to your server from that IP. Ensure that you whitelist your IP by following the instructions at […]

Streaming MOH – KlavoWiki

Streaming MOH with Asterisk mpg123 is the application to be used to stream internet radio into Asterisk. Installing mpg123 The first thing we need to do is to download the application mpg123. Go to the source forge site for the latest version. http://sourceforge.net/project/showfiles.php?group_id=135704 I’ll use mpg123 Version 1.7.3 as an example. cd /tmp wget http://internode.dl.sourceforge.net/sourceforge/mpg123/mpg123-1.7.3.tar.bz2 […]

Asterisk Gui

Not sure if your like me, but command line is all good, but gui is alot faster. Here is a list of procedures to install Asterisk-Gui on a running clean install of Asterisk. You can also check out my other HowTo for installing FreePBX v2.7 + Asterisk 1.6.2 on a fresh Linux CentOS 5.4 Dated April […]