Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Chris Abnett
If I change buttons on phones I run a generation script that creates new configs for phones and then also sends the changes on-the-fly to the phones via the configuration change XML object.. This works great for buttons, or other preference settings that arent part of the network or SIP stack...

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Neuer User
Am 24.02.2012 22:03, schrieb Michael Keuter: > Just for curiosity: how many phones do you use with your Astlinux box? > > Michael I am preparing this for a client who has some 10-20 phones in use. So, still pretty doable. Don't know, if an installation with 400 phones (and thus 400 configuration

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Michael Keuter
Am 24.02.2012 um 21:53 schrieb Neuer User: > Am 24.02.2012 18:20, schrieb Chris Abnett: >> Here is an example[...] > > Thanks for sharing. I was planning to do more or less exactly the same. > > Maybe, except that I wouldn't ask for the extension number on the phone, > but require that the exte

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Neuer User
Am 24.02.2012 18:20, schrieb Chris Abnett: > Here is an example[...] Thanks for sharing. I was planning to do more or less exactly the same. Maybe, except that I wouldn't ask for the extension number on the phone, but require that the extensions are pre-setup on asterisk with the special addition

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Chris Abnett
You are correct I hadnt done this on any of my astlinux boxes.. But I was thinking you had dhcpd in the build stream.. Although I havent looked at build options in a while... Buildroot broke for me a bit back when I upgraded the fedora on my dev server.. Not sure why I thought it was there(dhcpd)

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Neuer User
Am 24.02.2012 17:49, schrieb Lonnie Abelbeck: > Question, why not run your PHP script that would generate .cfg files for > *all* phones in static files where the phones expect ? > > Lonnie > Nice idea. The only issue I might have with this is that as soon as you want to change something you wou

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Michael Keuter
Am 24.02.2012 um 19:52 schrieb Lonnie Abelbeck: > Hi Chris, > > Thanks for sharing! > > But to be clear, you are not doing this on AstLinux, correct? > > While almost everything in your system would work in AstLinux, the missing > piece is setting "option tftp-server-name" special for Aastra

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Lonnie Abelbeck
Hi Chris, Thanks for sharing! But to be clear, you are not doing this on AstLinux, correct? While almost everything in your system would work in AstLinux, the missing piece is setting "option tftp-server-name" special for Aastra MAC addresses. We use dnsmasq and I'm not sure if our "/mnt/kd/d

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Chris Abnett
I do exactly this.. I wrote a script that when a new phone enters the system.. The static aastra.cfg file tells the phone to go grab a default PHP script that basically makes the phone say "enter you extension"... You type the extension and hit OK.. This calls my phone register script sending th

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Lonnie Abelbeck
On Feb 24, 2012, at 8:18 AM, Neuer User wrote: > > I want to provision some aastra phones. The asterisk provisioning system > is not very well documented, but from what I understand it does not > allow for more diverse configuration files, e.g. different softkeys per > phone. > > So, I would lik

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Neuer User
Am 24.02.2012 15:41, schrieb Michael Keuter: > You can do the same rewrite in Asterisk phoneprov.conf. I did that already > for Yealink phones: > > [yealink2x] > ${MAC}.cfg => yealink/yealink_t2x-mac.cfg > staticdir => yealink/ > static_file => y.cfg > > You need to change the dnsma

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Michael Keuter
Am 24.02.2012 um 15:18 schrieb Neuer User: >> I gave it a try, and both pcre and lighttpd w/pcre builds properly. I > did not test mod_rewrite functionality though. >> >> May I ask what you need mod_rewrite for ? Would it be of general > interest ? > > I want to provision some aastra phones.

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Tom Chadwin
issue for us. I just haven't found the time, and am not sure I shall. Tom -Original Message- From: Neuer User [mailto:[email protected]] Sent: 24 February 2012 14:18 To: [email protected] Subject: Re: [Astlinux-users] mod_rewrite for lighttpd > I gave it a

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Neuer User
> I gave it a try, and both pcre and lighttpd w/pcre builds properly. I did not test mod_rewrite functionality though. > > May I ask what you need mod_rewrite for ? Would it be of general interest ? I want to provision some aastra phones. The asterisk provisioning system is not very well documen

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Lonnie Abelbeck
On Feb 24, 2012, at 7:39 AM, Michael Keuter wrote: > > Am 24.02.2012 um 13:16 schrieb Neuer User: > >> Hi everbody >> >> I need a rewrite rule for one of my php applications. mod_rewrite is >> included in astlinux, but it says >> >> (mod_rewrite.c.206) pcre support is missing, please install

Re: [Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Michael Keuter
Am 24.02.2012 um 13:16 schrieb Neuer User: > Hi everbody > > I need a rewrite rule for one of my php applications. mod_rewrite is > included in astlinux, but it says > > (mod_rewrite.c.206) pcre support is missing, please install libpcre and > the headers > > I tried copying libpcre and libpcr

[Astlinux-users] mod_rewrite for lighttpd

2012-02-24 Thread Neuer User
Hi everbody I need a rewrite rule for one of my php applications. mod_rewrite is included in astlinux, but it says (mod_rewrite.c.206) pcre support is missing, please install libpcre and the headers I tried copying libpcre and libpcreposix from a debian i386 package, but that does not make a dif