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 Abelbeck wrote:
> 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, Larry Shields wrote:
>> 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 10:40 PM
>> To: AstLinux Users Mailing List
>> Subject: [Astlinux-users] Alternate Web Interface
>>
>> 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
>> additional tabs.
>>
>> 2) Most of the interface is Asterisk centric, tied to my dialplan,
>> but example snippets should make them fairly generic.  The header of
>> the PHP scripts have snippets of dialplan examples.
>>
>> 3) No rc.conf configuration was attempted at this point.
>>
>> 4) This is the beginning, not the end, hopefully.
>>
>> Sample Sneak Peek Image:
>> http://lonnie.abelbeck.com/share/altweb.jpg
>>
>> Defined Tabs:
>> 1) Status (status.php)
>> An at-a-glance status page with system, openvpn, and asterisk
>> information.  The default page.
>>
>> 2) Caller*ID (cidname.php)
>> Add and delete astdb
>> /cidname/2223334444 "John Doe"
>> entries.
>>
>> 3) Speed Dial (sysdial.php)
>> Add and delete astdb
>> /sysdial/49 "SIP/[EMAIL PROTECTED]"
>> entries.
>>
>> My dialplan looks something like this...
>> exten => _11[01234]X,1,Macro(dial-sysdial,${EXTEN:2:2}) ; DB: sysdial/
>> 00-49
>>
>> 4) Blacklist (blacklist.php)
>> Add and delete astdb
>> /blacklist/2223334444 "1"
>> entries.
>>
>> 5) CDR Log (cdrlog.php)
>> Display cdr_custom.conf Master.csv file.  The format must be defined
>> properly to work, see the header of cdrlog.php for more info.
>>
>> 6) System (system.php)
>> Change management password, backup /mnt/kd/, reload asterisk and
>> reboot system.
>>
>> 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.
>>
>> $ tar xzvf altweb.tar.gz
>> ../
>> ../status.php
>> ../index.php
>> ../common/
>> ../common/footer.php
>> ../common/functions.php
>> ../common/header.php
>> ../common/result.php
>> ../common/tabright.gif
>> ../common/tableft.gif
>> ../sysdial.php
>> ../cidname.php
>> ../blacklist.php
>> ../cdrlog.php
>> ../php.ini
>> ../favicon.ico
>> ../system.php
>>
>> I encourage you to play with this on a TEST system, your asterisk
>> astdb can be written to, so be careful.
>>
>> The end of "common/header.php" controls what tabs are displayed and
>> what scripts they point to.
>>
>> Possibly AstLinux could ship with an example extensions.conf that
>> implemented some of these functions.
>>
>> All comments welcome.
>>
>> Enjoy,
>>
>> Lonnie
>>
>>
>> ---------------------------------------------------------------------- 
>> ---
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/ 
>> marketplace
>> _______________________________________________
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to
>> [EMAIL PROTECTED]
>>
>>
>> ---------------------------------------------------------------------- 
>> ---
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/ 
>> marketplace
>> _______________________________________________
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to  
>> [EMAIL PROTECTED]
>>
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
> PROTECTED]

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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

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

Reply via email to