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

pointer example program in C

pointer c program example

pointer example program in C What would be the output of following pointer program written in c   main( ) { int a = 10, b = 20 ; swapr ( &a, &b ) ; printf ( “\na = %d b = %d”, a, b ) ; } swapr( int *x, int *y ) { … Read more

Introduction to Pointers in C

understanding c pointers

Introduction to Pointers in C Pointer Notation Consider the declaration, int i = 3 ; This declaration tells the C compiler to: Reserve space in memory to hold the integer value. Associate the name i with this memory location. Store the value 3 at this location. We may represent i’s location in memory by the … Read more

SELinux : Introduction to SELinux

understanding selinux

SELinux : Introduction to SELinux SELinux, or Security-Enhanced Linux, is a part of the Linux security kernel that acts as a protective agent on servers. In the Linux kernel, SELinux relies on mandatory access controls (MAC) that restrict users to rules and policies set by the system administrator. MAC is a higher level of access … Read more

Install mysql on centos linux

mysql 5.7

Install mysql on centos linux Reference : https://blog.eduguru.in/linux-2/install-lamp-server-apache-mysql-php-on-rhel-centos-scientific-linux-6-56-4 Install MySQL MySQL is an enterprise class, open source, world’s second most used database. MySQL is a popular choice of database for use in web applications, and is a central component of the widely used LAMP open source web application software stack. To install MySQL, enter the following … Read more

MySQL conditional expression CASE

MySQL Cluster

MySQL conditional expression CASE MySQL CASE expression is a conditional expression that allows you to construct conditions inside a query such as SELECT or WHERE clause.   CASE WHEN condition_1 THEN result_1 WHEN condition_2 THEN result_2 … ELSE result END The CASE expression returns the result such as result_1, result_2, etc., if the condition is true. If all conditions are false, then the result in the ELSE part … Read more