Gary G. Hendershot wrote:
> In the long run, I suspect that a link should be implemented at
> /stat/var/lib/asterisk/agi-bin that points "agi-custom" into
> /mnt/kd/agi-custom (the read/write configuration storage location) so that
> you can easily edit your custom agi scripts and have the edit survive a
> reboot ...
>   
Or you should be able to call your agi script with the full path.
> >From a design standpoint, Astlinux wants everything on the CF boot media to
> be read only to save excessive wear and tear on the media ... The suggestion
> is that you use a cheap USB flash drive as your "key disk" which is mounted
> read/write .. The key disk is used to store your config files and such ...
> Through the use of links and redirects, the normal locations of many
> resources are modified to point into this key disk ... 
>   
Doesn't have to be a usb flash drive, but it's nice if it's a second 
device so your key disk doesn't need to be re-created when the OS is 
updated.
> In a best case scenario, your "custom" pieces should be located on the key
> disk so when you replace your CF boot media, all your custom items remain
> available ... The intent is to keep the CF media generic so you can easily
> upgrade the base system without loosing your config and customizations ...
>
> I ran into this with the many custom sound files I use ... One of the big
> brains here, a guy named Derrick, got me on the right track ... The way to
> do it is to just create a link called custom-sounds in
> /stat/var/lib/asterisk/sounds that points to /mnt/kd/custom-sounds ... Then
> put your custom sound files in /mnt/kd/custom-sounds ... Worked like a charm
>   
I don't know that I would call myself a "big brain", but I am one of the 
developers.  I don't have time this week to look into it.  I don't see a 
reason why we couldn't create something similar for custom-agi though 
(if some other process doesn't already exist--Kristian would know).

> When you first look at Astlinux, it can be a bit of a puzzle ... Don't give
> up on it too quickly ... It is certainly not perfect but when you get used
> to its oddities, starts to make a certain amount of sense ...
>   
It's not perfect, but feedback from users helps improve it.  (see my 
additional notes below regarding SAIL)
> I am new to Astlinux, and have just started playing with it. However, I am
> unable to execute the SAIL agi. When I try and run it I get the message: "No
> such file or directory" even though the file exists. Any ideas?
>   
What permissions are set on the file?  Also note that Astlinux contains 
a stripped down version of php so depending on how SAIL is written, it 
may or may not work without significant modification.

Darrick

-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

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

Reply via email to