asterisk

Create Conference using AMI – PHP – Web App

  • by

$port = 5038; // Replace with your username. You can find it in /etc/asterisk/manager.conf. // If unsure look for a user with “originate” permissions, or create one as // shown at http://www.voip-info.org/wiki/view/Asterisk+config+manager.conf. $username = “sam”; // Replace with your password (refered to as “secret” in /etc/asterisk/manager.conf) $password = “samconf”; // Internal phone line to call from $internalPhoneline = “101”; // Context for outbound calls. See /etc/asterisk/extensions.conf if unsure. $context =… Read More »Create Conference using AMI – PHP – Web App

RES_ODBC Configuration

  • by

[asterisk] ; ; Permit disabling sections without needing to comment them out. ; If not specified, it is assumed the section is enabled. enabled => yes ; ; This value should match an entry in /etc/odbc.ini ; (or /usr/local/etc/odbc.ini, on FreeBSD and similar systems). dsn => asterisk-connect ; ; Username for connecting to the database. The user defaults to the context name if unspecified. username => user1 ; ; Password… Read More »RES_ODBC Configuration

ASTERISK-INSTALLATION-16-8-ON-CENTOS-7

  • by

yum update -y yum install wget wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz tar -zxvf asterisk-16-current.tar.gz yum install bzip2 rdate unzip make patch gcc gcc-c++ subversion php php-devel php-gd gd-devel php-mbstring php-mcrypt php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel httpd libpcap libpcap-devel libnet ncurses ncurses-devel screen mysql-server mysql-devel ntp kernel* mutt glibc.i686 conntrack-tools telnet glibc-devel openssl-devel zlib-devel libedit.i686 libedit-devel.i686 libedit-devel uuid-dev epel-release dmidecode gcc-c++ ncurses-devel wget openssl-devel newt-devel kernel-devel… Read More »ASTERISK-INSTALLATION-16-8-ON-CENTOS-7

ODBC INI Configuration

  • by

[asterisk-connect] Description = MySQL ODBC Driver = MySQL Socket = /var/lib/mysql/mysql.sock Server = localhost User = root Password = Database = dbname Option = 3