Sam: I am not 100% sure as I have not actually tried using any custom AGI scripting ... one of the smart fellows here may provide you with a better solution to your problem so stay tuned ... But I think you can work around it like this ...
Under Astlinux, the PHYSICAL location of your AGI-BIN folder is /stat/var/lib/asterisk/agi-bin ... Not the /var/lib/asterisk/agi-bin you are accustomed to ... So you might want to try calling your custom agi script from its actual physical location, or perhaps re-mount your boot media in read/write and create a link that will make it look like it is in the traditional location ... Either should work ... Under Astlinux, the /stat folder and everything beyond it are considered to be in storage ... required files are copied on boot to a temp file system in ram disk for operational use ... It may be that the boot scripts that perform this tasks neglected custom files in the agi-bin folder and nobody caught it until you came along ... 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 ... I hope this works for you ... And if not I hope one of the fellows with big brains who hang out here might provide you with a better alternative ... >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 ... 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 ... Something similar should probably be done to support your custom agi scripts ... And of course the scripts that copy stuff into the ram disk for operation should also be looked at ... 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 ... Besides, I very much like the Sail web gui interface ... Far superior to FreePBX from my point of view ... If you can get that baby working under Astlinux, I want to know how you did it so I can do it also ... I am assuming that getting the custom agi scripting to work is perhaps a prelude to such an effort ??? Hope this at least gets you headed in the right direction ... Keep in mind that my IQ is about equal to my shoe size so there may be better ways to get to where you want to be ... I hope I was at least able to put the pieces of the puzzle into some logical order for you to assemble ... Regards G.Hendershot ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sam Sent: Wednesday, December 06, 2006 4:57 AM To: [EMAIL PROTECTED] Subject: [Astlinux-users] Sail AGI Hi, 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? Regards, Sam @ Selintra _______________________________________________ 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]
