Vi – Linux file editor

vi-editor

Vi – Linux file editor If you find that vi is hard to use, there is some good news: RHEL uses a user-friendly version of vi called vim, for “vi improved.” To start vim, just use the vi command. In this section, I will provide you with the bare essentials that are needed to work … Read more

Goto Keyword in c Program

c prgram avoid goto

Goto Keyword in c Program In a difficult programming situation it seems so easy to use a goto to take the control where you want. However, almost always, there is a more elegant way of writing the same program using if, for, while and switch. These constructs are far more logical and easy to understand. … Read more

SIP.conf – General option in SIP.conf

sip configuration asterisk

SIP.conf – General option in SIP.conf SIP Configuration – general The [general] section of sip.conf includes the following variables: allowsubscribe = yes|no : Allow or Ignore Subscribe requests allow = <codec> : Allow codecs in order of preference (Use DISALLOW=ALL first, before allowing other codecs) disallow = all : Disallow all codecs (global configuration) allowexternaldomains = yes|no : Enable/Disable … Read more

download asterisk 13 dahdi and libpri

install asterisk 13

download asterisk 13 dahdi and libpri Asterisk is an open source framework for building communications applications. Asterisk turns an ordinary computer into a communications server. Asterisk powers IP PBX systems, VoIP gateways, conference servers and other custom solutions. It is used by small businesses, large businesses, call centers, carriers and government agencies, worldwide. Asterisk is … Read more

dahdi You do not appear to have the sources for the kernel installed

asterisk

dahdi You do not appear to have the sources for the kernel installed It is important that the kernel version being used match exactly that of the kernel source being installed. You can use uname -a to verify the currently running kernel version: CentOS: sudo yum install kernel-devel-uname -r Ubuntu: sudo apt-get install linux-headers-`uname -r … Read more

Uninstall the old dahdi drivers asterisk

asterisk

Uninstall the old dahdi drivers asterisk ssh the server via putty First check the dahdi modules installed by running below command lsmod | grep dahdi   Now uninstall all the modules which shown from above command like this. modprobe -r wctc4xxp wctdm24xxp wcte12xp xpp dahdi_transcode wcb4xxp modprobe -r wctdm wcfxo wctdm24xxp wcte11xp wct1xxp wcte12xp modprobe … Read more

Configure Allo 3rd gen PRI Card in VICIdial, Goautodial and Asterisk

allo-2nd-gen-4-port-pri-e1-t1-card

Configure Allo 3rd gen PRI Card in VICIdial, Goautodial and Asterisk based system Steps: 1. Uninstalling the existing Dahdi driver 2. Allo card Licensing 3. Installing the Allo patched Dahdi driver 4. configuring the Card Step 1: Uninstall the old dahdi drivers ssh the server via putty First check the dahdi modules installed by running … Read more

RAND : Asterisk function to choose a random number

asterisk

RAND : Asterisk function to choose a random number rand function is use to choose a random number in a range.  Range has to be set between minimum and maximum number. This would be useful in many scenario based on implementation logic. some of the examples are : Setting  of random caller id Setting of … Read more

how to set random caller ids on Asterisk based system

asterisk

Setting random caller IDs on an Asterisk-based system involves modifying the dial plan and potentially using an external script or function to generate random caller IDs. Here’s how you can achieve this: Read more How to save audio stream from Asterisk to a file via WebSocket How to set random caller IDs on the Asterisk-based … Read more