Re: [asterisk-users] Custom PHP for Call Files

2015-12-28 Thread Dale Noll
On Mon, Dec 28, 2015 at 7:42 AM, Eherr wrote: > Thanks Dale! > > I will try your method in the one web directory. > > Also while I was waiting for a response, I decided to start from scratch > in a different web directory and rewrite my code for a database based > system. > > I am writing so that

Re: [asterisk-users] Custom PHP for Call Files

2015-12-28 Thread Eherr
Thanks Dale! I will try your method in the one web directory. Also while I was waiting for a response, I decided to start from scratch in a different web directory and rewrite my code for a database based system. I am writing so that the system inserts into table the extension and time of ca

Re: [asterisk-users] Custom PHP for Call Files

2015-12-28 Thread Scott Griepentrog
I happen to have some old crufty code in PHP that generates a call file to trigger an AGI. Look at function callagi() in https://github.com/stgnet/stgagi/blob/master/stgagi.php This works in a FreePBX environment where the Asterisk process is running as user "asterisk". There are several other h

Re: [asterisk-users] Custom PHP for Call Files

2015-12-28 Thread Dale Noll
1. The 'Total' line that is displayed with the 'ls -l' command output is NOT the total number of files, it is the total number of system blocks used by the files in the directory. 2. In order to truly understand the situation you need to understand the Linux file system permissions.,,, Every file

[asterisk-users] Custom PHP for Call Files

2015-12-27 Thread er ic
I am hoping to get some help here with building custom PHP to manage a 'wake up call' system. I have the script where the user can set the schedule for an extension wake up call. It appears to write to the /var/spool/asterisk/outgoing/ directory. My two issues: 1 - when the files do get moved o