[asterisk-users] Database Access from dialplan.

Matt Riddell lists at venturevoip.com
Thu Aug 13 06:47:47 CDT 2009


On 13/08/09 8:33 PM, Unni wrote:
> Summary: Is it possible to append to a user-defined text file from the
> dialplan without using AGI  ?

You could use inotify to watch a directory owned by your webserver, then 
when you add a new rate to it cause it to run a script that updates the 
dialplan and reloads it - depends what info you're trying to get in 
there - alternatively if the process changing the rates has access to 
the root file system (i.e. not a web server) just do it from there - 
you'd need to pay attention to what happens when the dialplan is 
reloaded under heavy load.

-- 
Cheers,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)



More information about the asterisk-users mailing list