Category : Asterisk Tips
Is it possible to make Asterisk jump into action and play a sound file as soon as a handset is lifted, instead of providing a Dial Tone and waiting for the user to dial an extension.With analog phones (chan_dahdi) – you just have to set ‘immedi..
__sync_fetch_and_add is just a built in function (you dont have to include anything to use them) for managing atomic variables when developing multithread applications in C++. There are several functions for working with atomic variables.An atomic varia..
I am trying to configure the meetme conference (asterisk 1.8) to play a random sound file from a specific directory prior to it dropping the caller into the conference itself. i am able to successfully get it to play a specific file prior to enter..
In order to know the current call details you can follow one of the following suggestions that were discussed on the Asterisk Users mailing list:Parse the output of core show channels verbose. Remember that the field Channel should be unique, in ..
Is echo cancellation automatically disabled upon recognition of CNG tone? Does faxdetect=incoming sends a call to fax extension when CNG tone is detected? Whats the purpose of faxdetect=ou..
Asterisk is able to handle video calls in the core infrastructure. Under the hood, what we really have is one (1) video and one (1) audio stream in the same call. There are channel drivers and applications that support video, but not all.The follow..
You can store the Dahdi configuration using Realtime Static using the new chan_dahdi.conf notation without any problems. Here is the table configuration ..
sudo /etc/init.d/asterisk restart Write a script to do “asterisk -r -x ‘core show channels’”, parse the output and do “asterisk -r -x ‘channel request hangup ${CHANNEL_NAME}” for each channel. Write a script to do #2 ..
What is Astcanary?, basically, it is a little application that provides assurance to Asterisk that there are no threads that have gone into runaway mode, thus hogging the CPU, and making the Asterisk machine seem to be unr..