Fred wrote:
> At 12:10 18/02/2008 +0000, Julian Lyndon-Smith wrote:
>> I use #exec in the dialplan, or in fact, whichever .conf file allows for 
>> this (sip.conf etc). The #exec retrieves it's information using curl. I am 
>> also using realtime curl to run voicemail and queues.
> 
> This looks interesting. Can you tell us more about this?

it allows you to retrieve the flatfile information from a url rather 
than a file. For example, my [snipped] extensions.conf looks like this:

[general]

static=yes
writeprotect=no
clearglobalvars=yes

[globals]

CONSOLE => Console/dsp
QTIMEOUT => 120

#exec /usr/bin/curl -s http://myserver.co.uk/asterisk/getdialplan

my sip.conf looks like this:

[general]
...
#exec /usr/bin/curl -s http://myserver.co.uk/asterisk/GetSipInfo

etc etc

I am using a 1.4 backport of res_config_curl to allow me to use curl for 
realtime voicemail and queues / queue members.

All this means that the vast majority of the config files can be 
obtained at startup, or via realtime without having to have odbc drivers 
or any other "heavy" dependencies

Julian.



> 
> Thanks.
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
> PROTECTED]
> 
> ______________________________________________________________________
> This email for dotr.com has been scanned by MessageLabs
> ______________________________________________________________________
> 
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to