Skip to content

TechIOltd/app_mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

app_mongodb
===========

MongoDB Interface for Asterisk PBX
Author: Sokratis Galiatsis <sokratis@techio.com>

BUILDING

1) Download, build and install mongo-c-driver: http://github.com/mongodb/mongo-c-driver
2) make

INSTALLING

1) copy build/app_mongodb.so into Asterisk modules folder (lib/asterisk/modules)

USAGE

1) Create a config file. See samples/app_mongodb.conf
2) Setup a new mongoDB db/collection. See samples/sample_schema.json
3) Add app_mongodb() in your dialplan prior the Dial() priority. eg:
[macro-dial]
exten => s,1,app_mongodb()
exten => s,n,Dial(${ARG1})
exten => s,n,Hangup
4) Add: load => app_mongodb.so in the modules.conf asterisk file

LICENSING

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License v2 as published
by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

MongoDB Interface for Asterisk PBX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages