Download the PHP package soulhunter/freeswitch-curl without Composer

On this page you can find all versions of the php package soulhunter/freeswitch-curl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package freeswitch-curl

Users and dialplan use Mysql Database using XML_curl using "intralanman" contrib

Source available /usr/src/freeswitch.trunk/contrib/intralanman # /usr/src ( is the path where i have downloaded the trunk)

This README. created by Balaji BHR .... [email protected] IRC : ramindia

REQUIREMENTS:

apt-get install mysql-server libmysqlclient15-dev

apt-get install php5 php5-common libapache2-mod-php5 php5-gd php5-dev curl libcurl3 libcurl3-dev php5-curl

apt-get install php-pear

pecl install pdo

pecl install pdo_mysql

updatedb

vi /etc/php5/apache2/php.ini

add below lines

extension=pdo.so extension=pdo_mysql.so

Copying the Source intralanman to web server root directory

cp -R contrib/intralanman/PHP/fs_curl /var/www

Creating the database in Mysql

create database "freeswitch"

populate the tables in to freeswitch database

mysql -u root -p < /var/www/fs_curl/sql/mysql-5.0-with-samples.sql

cd /var/www/fs_curl

vi global_defines.php

change the below settings according to your setup

/**

save the file

Configuring the XML_CURL Module

cd /usr/local/freeswitch/conf/autoload_configs

vi modules.conf.xml

add line

example below

<load module="mod_console"/>
<load module="mod_xml_curl"/>
<load module="mod_logfile"/>
<!-- <load module="mod_syslog"/> -->

save files

Configuring the xml_curl to take users and dialplan information from Database

vi xml_curl.conf.xml

add this line "<param name="gateway-url" value="http://localhost/fs_curl/index.php bindings="dialplan|directory"/>

example looks like this

save the file move or remove all userfile from directory/default -------------------------------------------------- example : mv /usr/local/freeswitch/conf/directory/deafult/1000.xml to /usr/local/freeswitch/conf/directory/deafult/1000.xml.noload Restaring the Services ---------------------- stop the freeswitch start the freeswitch restart apache TESTING ------- http://ipaddress/fs_curl/index.php?section=directory&user=1000&domain=domain.com you see this results - -
- - - - -
- - - - - -
CONGRADULATIONS... XML_CURL with intralan contrib working now its your own, how you like to do next Good luck try login using username and password as show below document http://wiki.freeswitch.org/wiki/Getting_Started_Guide#Some_stuff_to_try_out.21 try calling 5000 - demo IVR (requires sounds and music files to be installed) 9995 - five second delay echo test 9996 - standard echo test 9999 - music on hold (requires music files to be installed)

All versions of freeswitch-curl with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package soulhunter/freeswitch-curl contains the following files

Loading the files please wait ....