Sample IVR to say IP address using CURL in Asterisk

asterisk

Sample IVR to say IP address using CURL in Asterisk Installing the cURL Module Installing cURL is easy. If it was not on your system when you last compiled Asterisk, after installing it you’ll need to recompile Asterisk so that it can locate the cURL dependencies and compile the func_curl.so module. On CentOS: $ sudo … Read more

asterisk CURL function

asterisk

asterisk CURL function Asterisk’s ability to retrieve and store data to realtime backends is most commonly associated with relational databases. One of the lesser-known realtime backends available in Asterisk is cURL. Using this realtime backend makes Asterisk use HTTP GET and POST requests in order to retrieve data from and store data to an HTTP server. … Read more

Asterisk Internal Database

asterisk

Asterisk Internal Database Asterisk comes with a database that is used internally and made available for Asterisk programmers and administrators to use as they see fit. Asterisk versions up to 1.8 used the Berkeley DB, and in version 10 the project moved to the SQLite3 database What is the Purpose of the internal database in Asterisk The database really … Read more

SPEECH RECOGNITION WITH GOOGLE CLOUD API ON ASTERISK 15

asterisk

SPEECH RECOGNITION WITH GOOGLE CLOUD API ON ASTERISK 15 In this article, we will try to explain the implementation of Google Speech Recognition with asterisk 15.  We will start from installation of Asterisk 15.   The first step we must to do, is install the Development Packages : # yum -y groupinstall ‘Development Tools’ The next … Read more

Asterisk file and directory structure

asterisk

Asterisk file and directory structure The directories used by Asterisk can be configured in the asterisk.conf configuration file. Here we’ll describe what each directory is used for, and what sub-directories Asterisk will place in each by default. Below each heading you can also see the correlating configuration line in asterisk.conf. Asterisk Configuration Files astetcdir => /etc/asterisk This location … Read more

PJSIP installation in asterisk 13 is now easier

install asterisk 13

PJSIP installation in asterisk 13 is now easier   Asterisk 13.8.0 will come with a new option for enabling PJSIP functionality. This functionality is called bundling and comes courtesy of a community member, George Joseph, who you can also thank for such PJSIP additions as wizards for configuration and the PJSIP_HEADER dialplan function. Before we talk … Read more

Application Modules in Asterisk

install asterisk 13

Application Modules in Asterisk Dialplan applications are used in extensions.conf to define the various actions that can be applied to a call. The Dial() application, for example, is responsible for making outgoing connections to external resources and is arguably the most important dialplan application. Name Purpose Popularity/Status app_adsiprog Loads Analog Display Services Interface (ADSI) scripts into compatible analog phones … Read more

modules in asterisk

install asterisk 13

modules in asterisk Asterisk is built on modules. A module is a loadable component that provides a specific functionality, such as a channel driver (for example, chan_sip.so), or a resource that allows connection to an external technology (such as func_odbc.so). Asterisk modules are loaded based on the /etc/asterisk/modules.conf file. It is actually possible to start Asterisk without any modules at … Read more

comparison operator between in mysql

mysql between

comparison operator between in mysql General Syntax – mostly used SELECT column_name(s) FROM table_name WHERE column_name BETWEEN value1 AND value2; expr BETWEEN min AND max If expr is greater than or equal to min and expr is less than or equal to max, BETWEEN returns 1, otherwise it returns 0. This is equivalent to the expression (min <= expr AND expr <= … Read more