Asterisk RealTime database Architecture

Asterisk dial command

Terminology/Files Driver – A compiled module containing database specific code that accepts the generalized function calls that RealTime makes. As of this writing, only ODBC, MySQL (via asterisk-addons) and LDAP (see http://free.oxymium.net/Asterisk/ and http://bugs.digium.com/view.php?id=5768) drivers are available. Family – A name associated with a RealTime call. Examples: sippeers, sipusers, voicemail. extconfig.conf – The configuration file … Read more

Clear the soft phone ID – Request Hungup channel

 Request Hungup channel:- soft hangup:  Request a hangup on a given channel  “channel request hangup SIP/100 -1231” To close all active channels: channel request hangup all

Free G729 codec for asterisk

free g729 codec for asterisk

Installing Free g729 codec in asterisk 1. Download the appropriate codec from the below link http://asterisk.hosting.lv/ Check your asterisk version  —  asterisk –rx “core show version” check whether 32bit or 64 bit —  uname -a For asterisk 1.4 version and 32 bit Pentium based server (like intelxeon ,p4, dualcore core2duo0 http://asterisk.hosting.lv/bin/codec_g729-ast14-gcc4-glibc-pentium4.so For asterisk 1.4 and 64bit … Read more

Watch active calls/channels in Asterisk server from CLI

To Watch number of active channels watch “asterisk -vvvvvrx ‘show channels’ | grep channels” To Watch number of active calls watch “asterisk -vvvvvrx ‘show channels’ | grep calls” To Watch active channels watch “asterisk -vvvvvrx ‘show channels verbose’” To Watch active channels in Asterisk watch “asterisk -vvvvvrx ‘core show channels verbose’”

Asterisk – best practice to play multiple sound files in .call files

If you want to play multiple sound file with .call then you can send it like this: Setvar: file_max=2 Setvar: file1=custom/1_message Setvar: file2=custom/2_message After that use asterisk’s dialplan to play files one-by-one. For example like this: exten => 123,3,Set(i=0); exten => 123,n(loop),Set(i=$[ ${i} + 1 ]) exten => 123,n,GotoIF($[ $i > ${file_max} ]?exit) exten => … Read more

Asterisk Play a file while calling for curl

In my dialplan I need to call a php file like below: exten => 6666,n,Set(foo=${CURL(http://reports.cr.mrgroup.in/IVR/sp.php?tid=${tid})}) it gives reponse after 1 min or 2min , I want to play a music file in these times. please give me some idea how to achieve this and if there any other option.

Virtual Receptionist / Virtual Assistant

What is Virtual Receptionist ? Stay in touch with customers when the office is closed or staff members are out of the office by using Virtual Office. Incoming phone calls will be answered by one of our trained remote receptionists. The receptionist will then ask the caller who he or she is trying to reach … Read more

what you need to know, before you deploy the VoIP in your organization : QoS (Quality of Service) for VoIP

The organization(s) that migrate from legacy PABX system (traditional phone system) to IP based PBX (Private Branch eXchange), they require a very carefully planning before they deploy the VoIP. They need to ensure the QoS (Quality of Service) for VoIP in your organization. Step 1 Analyze your existing LAN (Local Area Network) and find if … Read more

Asterisk Server Consultant

Sample DAHDI installation After compiling and installing of dahdi and asterisk, you have to perform some further steps to use your hardware. This example will show you a few steps how to get asterisk and two Digium cards enabled: 1.) Detect your hardware   # (this will generate /etc/dahdi/system.conf and  /etc/asterisk/dahdi-channels.conf)  linux:~# dahdi_genconf 2.) Read … Read more