Iscriviti   Guestbook   Immagini   Forum   Download   Mappa   493 utenti on line 
Italiano
MENU
CONFIGURAZIONI
RISORSE
INFO
Login

DOWNLOAD
Device
Suggerimenti

 

res_config


NB This is not yet available in the main release distribution.

A very flexible way of storing configuration information (e.g. users in sip.conf) in an ODBC database (e.g. MySQL).
It does, however, require the server to be reloaded to make changes appear.

Download/Install:
export CVSROOT=:pserver:cvs@asterisk.graphicalspectrum.com:/var/cvsroot
cvs login
(Password: anoncvs)
cvs checkout res_config
cd res_config
vi Makefile
PERL = /usr/bin/perl
ASTSRC = /path/to/asterisk
If running as non-root:
ASTVARRUNDIR=$(INSTALL_PREFIX)/var/run/asterisk
make install
cd ../asterisk
make

check asterisk/res/config/* for info
http://asterisk.bkw.org/import.txt (cache) to import your configs

res_config is the thing that allows you to hijack the configs
res_odbc is the res to have reusable db handles, globally accessible across multiple apps
res_config_odbc is the part that does the slurping



 

Valid CSS!