PHPackages                             soulhunter/freeswitch-curl - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. soulhunter/freeswitch-curl

ActiveLibrary

soulhunter/freeswitch-curl
==========================

A PHP module to generate and serve FreeSwitch configuration via mod\_curl

1.0(10y ago)4893[1 issues](https://github.com/soulhunter1987/freeswitch-curl/issues)PHPPHP &gt;=5.6.0

Since Jan 31Pushed 8y ago5 watchersCompare

[ Source](https://github.com/soulhunter1987/freeswitch-curl)[ Packagist](https://packagist.org/packages/soulhunter/freeswitch-curl)[ RSS](/packages/soulhunter-freeswitch-curl/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Users and dialplan use Mysql Database using XML\_curl using "intralanman" contrib
---------------------------------------------------------------------------------

[](#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 ....  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
-----------------------------------------------------------

[](#copying-the-source-intralanman-to-web-server-root-directory)

cp -R contrib/intralanman/PHP/fs\_curl /var/www

Creating the database in Mysql
------------------------------

[](#creating-the-database-in-mysql)

create database "freeswitch"

populate the tables in to freeswitch database
---------------------------------------------

[](#populate-the-tables-in-to-freeswitch-database)

mysql -u root -p &lt; /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

/\*\*

- Defines the default dsn for the FS\_PDO class */ define('DEFAULT\_DSN', 'mysql:dbname=freeswitch;host=localhost'); /*\*
- Defines the default dsn login for the PDO class */ define('DEFAULT\_DSN\_LOGIN', 'root'); /*\*
- Defines the default dsn password for the PDOclass */ define('DEFAULT\_DSN\_PASSWORD', 'password'); /*\*

save the file

Configuring the XML\_CURL Module
--------------------------------

[](#configuring-the-xml_curl-module)

cd /usr/local/freeswitch/conf/autoload\_configs

vi modules.conf.xml

add line

example below

```

```

save files

Configuring the xml\_curl to take users and dialplan information from Database
------------------------------------------------------------------------------

[](#configuring-the-xml_curl-to-take-users-and-dialplan-information-from-database)

vi xml\_curl.conf.xml

add this line "&lt;param name="gateway-url" value="[http://localhost/fs\_curl/index.php](http://localhost/fs_curl/index.php) bindings="dialplan|directory"/&gt;

example looks like this

save the file

move or remove all userfile from directory/default
--------------------------------------------------

[](#move-or-remove-all-userfile-from-directorydefault)

example :

mv /usr/local/freeswitch/conf/directory/deafult/1000.xml to /usr/local/freeswitch/conf/directory/deafult/1000.xml.noload

Restaring the Services
----------------------

[](#restaring-the-services)

stop the freeswitch

start the freeswitch

restart apache

TESTING
-------

[](#testing)

[http://ipaddress/fs\_curl/index.php?section=directory&amp;user=1000&amp;domain=domain.com](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](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)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3754d ago

### Community

---

Top Contributors

[![ekzobrain](https://avatars.githubusercontent.com/u/2089893?v=4)](https://github.com/ekzobrain "ekzobrain (47 commits)")

### Embed Badge

![Health badge](/badges/soulhunter-freeswitch-curl/health.svg)

```
[![Health](https://phpackages.com/badges/soulhunter-freeswitch-curl/health.svg)](https://phpackages.com/packages/soulhunter-freeswitch-curl)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
