Re: [Astlinux-users] Alternate Web Interface

2008-04-13 Thread Lonnie Abelbeck
On Apr 13, 2008, at 6:16 PM, Darrick Hartman (lists) wrote: > Kristian Kielhofner wrote: >> On Sat, Apr 12, 2008 at 4:22 PM, Lonnie Abelbeck >> <[EMAIL PROTECTED]> wrote: >> >> ..snip.. >> >>> 4) In the Network tab, PPPoE can now have Static IP entries, >>> previously I was clearing these fields

Re: [Astlinux-users] Alternate Web Interface

2008-04-13 Thread Darrick Hartman (lists)
Kristian Kielhofner wrote: > On Sat, Apr 12, 2008 at 4:22 PM, Lonnie Abelbeck > <[EMAIL PROTECTED]> wrote: > > ..snip.. > >> 4) In the Network tab, PPPoE can now have Static IP entries, >> previously I was clearing these fields when PPPoE is chosen. >> > > Lonnie, > > I don't think this is

Re: [Astlinux-users] Alternate Web Interface

2008-04-13 Thread Kristian Kielhofner
On Sat, Apr 12, 2008 at 4:22 PM, Lonnie Abelbeck <[EMAIL PROTECTED]> wrote: ..snip.. > > 4) In the Network tab, PPPoE can now have Static IP entries, > previously I was clearing these fields when PPPoE is chosen. > Lonnie, I don't think this is valid... PPPoE (at least ours) will always us

Re: [Astlinux-users] Alternate Web Interface

2008-04-13 Thread Guy Neale
Info, TOk Thanks for the Sysdial prefix (I'd hate to see you under pressure, to quick) Regards Guy -Original Message- From: [EMAIL PROTECTED] on behalf of Lonnie Abelbeck Sent: Sun 4/13/2008 6:22 AM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Alternate Web Inter

Re: [Astlinux-users] Alternate Web Interface - CDR

2008-04-13 Thread Lonnie Abelbeck
On Apr 13, 2008, at 2:54 PM, Michael Keuter wrote: >> On Apr 13, 2008, at 6:06 AM, Michael Keuter wrote: Example regex allowing 3 to 18 numbers >> ^[0-9]{3,18}$ > > Great, indeed very flexible, works too - when you know where to > look to :-). > I'm learning a lot. I changed it to > > ^[0-9

Re: [Astlinux-users] Alternate Web Interface - CDR

2008-04-13 Thread Michael Keuter
>On Apr 13, 2008, at 6:06 AM, Michael Keuter wrote: >>> Thanks to all the great suggestions, I have another update of my >>> Alternate Web Interface. >>> >>> 3) I added a new Whitelist tab (hidden by default, but can be enabled >>> via the Prefs tab). This behaves very similar to the Blacklist

Re: [Astlinux-users] Alternate Web Interface - CDR

2008-04-13 Thread Lonnie Abelbeck
On Apr 13, 2008, at 6:06 AM, Michael Keuter wrote: >> Thanks to all the great suggestions, I have another update of my >> Alternate Web Interface. >> >> 3) I added a new Whitelist tab (hidden by default, but can be enabled >> via the Prefs tab). This behaves very similar to the Blacklist tab, > >

Re: [Astlinux-users] Alternate Web Interface - Speeddial

2008-04-13 Thread Michael Keuter
>Thanks to all the great suggestions, I have another update of my >Alternate Web Interface. > >3) I added a new Whitelist tab (hidden by default, but can be enabled >via the Prefs tab). This behaves very similar to the Blacklist tab, Hi Lonnie, another suggestion: Here in Germany we have variab

Re: [Astlinux-users] Alternate Web Interface - CDR

2008-04-13 Thread Michael Keuter
>Thanks to all the great suggestions, I have another update of my >Alternate Web Interface. > >3) I added a new Whitelist tab (hidden by default, but can be enabled >via the Prefs tab). This behaves very similar to the Blacklist tab, Hi Lonnie, thanks for adding the whitelist. The CDR-Log shows

Re: [Astlinux-users] Alternate Web Interface

2008-04-12 Thread Lonnie Abelbeck
Thanks to all the great suggestions, I have another update of my Alternate Web Interface. 1) Status tab now shows "PPPoE Connections Status", also a [Restart PPPoE] button should do just that. I need help testing this (Guy ?) since I have no access to PPPoE. As a fail-safe, this new featur

Re: [Astlinux-users] Alternate Web Interface

2008-04-12 Thread Lonnie Abelbeck
On Apr 12, 2008, at 7:04 AM, Michael Keuter wrote: > Hi Lonnie, > > I use for my company number a time controlled voice menu. But I have > some VIP customers, who can reach me all the time. So I use a > whitelist. It is exactly like your blacklist but without the Action. > (the command is: "databa

Re: [Astlinux-users] Alternate Web Interface

2008-04-12 Thread Michael Keuter
Hi Lonnie, I use for my company number a time controlled voice menu. But I have some VIP customers, who can reach me all the time. So I use a whitelist. It is exactly like your blacklist but without the Action. (the command is: "database put whitelist <0+number> 1", the leading zero is from t

Re: [Astlinux-users] Alternate Web Interface

2008-04-12 Thread Lonnie Abelbeck
On Apr 12, 2008, at 6:37 AM, Michael Keuter wrote: > Hi Lonnie, > > still using Astlinux 0.4.8. How can I use your Alternate Interface > and the original together? > > If I use this config: > > ##Secondary HTTP only server > HTTPDIR="/mnt/kd/altweb" > HTTPUSER="nobody" > HTTPCGI="yes" > > ##HTTPS

Re: [Astlinux-users] Alternate Web Interface

2008-04-12 Thread Michael Keuter
Hi Lonnie, >still using Astlinux 0.4.8. How can I use your Alternate Interface >and the original together? > >If I use this config: > >##Secondary HTTP only server >HTTPDIR="/mnt/kd/altweb" >HTTPUSER="nobody" >HTTPCGI="yes" > >##HTTPS Variables >HTTPSDIR="/stat/var/www" # Define the location to s

Re: [Astlinux-users] Alternate Web Interface

2008-04-12 Thread Michael Keuter
Hi Lonnie, still using Astlinux 0.4.8. How can I use your Alternate Interface and the original together? If I use this config: ##Secondary HTTP only server HTTPDIR="/mnt/kd/altweb" HTTPUSER="nobody" HTTPCGI="yes" ##HTTPS Variables HTTPSDIR="/stat/var/www" # Define the location to serve HTTPS f

Re: [Astlinux-users] Alternate Web Interface

2008-04-11 Thread Guy Neale
Abelbeck Sent: Friday, 11 April 2008 11:58 AM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Alternate Web Interface I have another update of my Alternate Web Interface. 1) Added "View System Files:" to the System tab for selected important files. If the file is larger than

Re: [Astlinux-users] Alternate Web Interface

2008-04-10 Thread Lonnie Abelbeck
I have another update of my Alternate Web Interface. 1) Added "View System Files:" to the System tab for selected important files. If the file is larger than 250K, the 'tail' 250K will be shown. Note that view.php tightly limits what directories/ files can be viewed. 2) Added "Title Name"

Re: [Astlinux-users] Alternate Web Interface

2008-04-09 Thread Lonnie Abelbeck
EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Lonnie Abelbeck > Sent: Wednesday, 9 April 2008 3:36 PM > To: AstLinux Users Mailing List > Subject: Re: [Astlinux-users] Alternate Web Interface > > I have another update of my Alternate Web Interface. > > 1) I added 1

Re: [Astlinux-users] Alternate Web Interface

2008-04-09 Thread Guy Neale
s Regards Guy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lonnie Abelbeck Sent: Wednesday, 9 April 2008 3:36 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Alternate Web Interface I have another update of my Alternate Web Interf

Re: [Astlinux-users] Alternate Web Interface

2008-04-08 Thread Lonnie Abelbeck
I have another update of my Alternate Web Interface. 1) I added 10 more variables to the Network tab, for a total of 35 variables. On all my AstLinux boxes, the gui.network.conf file now completely defines my configuration. I removed my previous user.conf file in the rc.conf.d/ directory s

Re: [Astlinux-users] Alternate Web Interface

2008-04-07 Thread Guy Neale
:48 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Alternate Web Interface I have another update of my Alternate Web Interface. I added a "Prefs" tab that allows display options within the management interface. A prefs.txt file is created to save the configurati

Re: [Astlinux-users] Alternate Web Interface

2008-04-06 Thread Guy Neale
ist Subject: Re: [Astlinux-users] Alternate Web Interface Hi Lonnie Had to change your regular expression in ciname.php to suit Australian CLI Eg 0X(STD code) + (Local number) = 0XX (national number CLI) Changed from if (preg_match('/^[2-9][0-9][0-9][2-9][0-9][0-9][0-9][0-9][

Re: [Astlinux-users] Alternate Web Interface

2008-04-06 Thread Lonnie Abelbeck
I have another update of my Alternate Web Interface. I added a "Prefs" tab that allows display options within the management interface. A prefs.txt file is created to save the configuration when "Save/Apply Preferences" is clicked within the Prefs tab. 1) IAX2 options for the Status tab.

Re: [Astlinux-users] Alternate Web Interface

2008-04-06 Thread Lonnie Abelbeck
On Apr 6, 2008, at 8:48 AM, Darrick Hartman (lists) wrote: > >> I may have found a problem when using config files in /mnt/kd/ >> rc.conf.d >> >> Problem >> >> On every reboot /mnt/kd/rc.conf.d/gui.network.conf is re-written >> to /mnt/kd/rc.conf (/mnt/kd/rc.conf grows in size on every reboot)

Re: [Astlinux-users] Alternate Web Interface

2008-04-06 Thread Darrick Hartman (lists)
Just a few notes inline Guy Neale wrote: > Lonnie > > Q1 Are there any other variables that should be added? > A1 Wish List >1. A way to dynamically add NAT forwarding, eg read and write to > /mnt/kd/arno-iptables-filewall.conf or rc.conf variable equivalents and > restart arno when changes

Re: [Astlinux-users] Alternate Web Interface

2008-04-06 Thread Lonnie Abelbeck
Guy, Yes, that and reloading asterisk are using asterisk 1.4 commands... I need to make some adjustment for that. I also want to add some global preferences to set status display options and number formats. I appreciate the PPPoE feedback since I don't have access to that. Regards, Lonnie

Re: [Astlinux-users] Alternate Web Interface

2008-04-06 Thread Guy Neale
Hi Lonnie Are you considering support for multiple versions of AstLinux/Asterisk eg I'm currently using AstLinux 0.5/Asterisk 1.2 and "core show channels" is not a valid CLI command. You may need to consider adding some version checking or multiple versions of your web interface in the future.

Re: [Astlinux-users] Alternate Web Interface

2008-04-05 Thread Guy Neale
mailto:[EMAIL PROTECTED] On Behalf Of Lonnie Abelbeck Sent: Sunday, 6 April 2008 1:10 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Alternate Web Interface Guy, Thanks much for the feedback. I am happy you were able to easily tweak the PHP to suit your needs, but I understand ho

Re: [Astlinux-users] Alternate Web Interface

2008-04-05 Thread Lonnie Abelbeck
sider adding iax2 > status to > your core distribution? > > Regards Guy > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Lonnie Abelbeck > Sent: Saturday, 5 April 2008 1:19 PM > To: AstLinux Users Mailing Lis

Re: [Astlinux-users] Alternate Web Interface

2008-04-05 Thread Guy Neale
Hi Lonnie Had to change your regular expression in ciname.php to suit Australian CLI Eg 0X(STD code) + (Local number) = 0XX (national number CLI) Changed from if (preg_match('/^[2-9][0-9][0-9][2-9][0-9][0-9][0-9][0-9][0-9][0-9]/', $cidnum)) to if (preg_match('/^[0][0-9][0-9][0-9]

Re: [Astlinux-users] Alternate Web Interface

2008-04-05 Thread Guy Neale
ds Guy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lonnie Abelbeck Sent: Saturday, 5 April 2008 1:19 PM To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Alternate Web Interface Thanks George, Could it be your browser's cache is re

Re: [Astlinux-users] Alternate Web Interface

2008-04-04 Thread Lonnie Abelbeck
Thanks George, Could it be your browser's cache is remembering the previous index.html file? Doesn't seem likely, but a hunch. In your case, https://astlinux/index.php should redirect to the status.php. Also, if you don't use http, you can configure the base of that at / mnt/kd/altweb/http

Re: [Astlinux-users] Alternate Web Interface

2008-04-04 Thread George Masgras
This looks really good! I have one question however. I uploaded all the files from the archive to /mnt/kd/altweb/ then reconfigured HTTPSDIR="/mnt/kd/altweb" but after restart, if I go to https://astlinux/ it tries to redirect me to https://astlinux/admin/ which at this point does not exist. I coul

Re: [Astlinux-users] Alternate Web Interface

2008-04-04 Thread Lonnie Abelbeck
Update, I have another update of my Alternate Web Interface. I added a "Network" tab that allows 25 of the most popular variables to be defined in a gui. Source found here: http://lonnie.abelbeck.com/share/altweb.tar.gz Please let me know if I mishandled any of your favorite variables. I als

Re: [Astlinux-users] Alternate Web Interface

2008-04-02 Thread Lonnie Abelbeck
Greetings, I made a few additions to my Alternate Web Interface. Source found here: http://lonnie.abelbeck.com/share/altweb.tar.gz Note: No ".htpasswd" file is included, so be sure to click the "System" tab and set the password. The System tab now displays all the defined rc.conf variables and

Re: [Astlinux-users] Alternate Web Interface

2008-03-30 Thread Darrick Hartman (lists)
For clarification, if you want to use this (or any other alternative web interface) on astlinux, create a directory in /mnt/kd and change the following variable in /etc/rc.conf ##HTTPS Variables HTTPSDIR="/mnt/kd/altweb" Place the files into that directory, and reboot. Darrick Lonnie Abelbe

Re: [Astlinux-users] Alternate Web Interface

2008-03-30 Thread Lonnie Abelbeck
Larry, Thanks for testing the code, and providing any feedback. I am using an asterisk 1.4.18 image, but the PHP should work with PHP4 or the current PHP5, so that should work with the 0.4.X branch and newer. I have only tried it with current builds. Lonnie On Mar 30, 2008, at 11:18 AM, La

Re: [Astlinux-users] Alternate Web Interface

2008-03-30 Thread Larry Shields
Lonnie, This look really interesting. If I can make some time to setup a test image I will give it a try. Is there a minimum version AstLinux to run it on? Thanks, Larry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lonnie Abelbeck Sent: 03/29/2008

Re: [Astlinux-users] Alternate Web Interface

2008-03-29 Thread Kristian Kielhofner
On 3/29/08, Lonnie Abelbeck <[EMAIL PROTECTED]> wrote: > Greetings, > > I have made an attempt at an alternate web interface to AstLinux. > > My design goals: > 1) Modular PHP design to easily add/delete tabs for different > applications. The PHP scripts can be used as templates for > additio