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 like to use some simple php scripts to generate the
> configuration files. But for this I need a rewrite rule, because the
> aastra phones (like all others that I know) use static URLs like
> 
> http://192.168.0.1/phoneprov/0011223344.cfg
> 
> I would rewrite this to something like this
> 
> http://192.168.0.1/phoneprov.php?mac=0011223344
> 
> Which a php script can use to generate the configuration file.

Question, why not run your PHP script that would generate .cfg files for *all* 
phones in static files where the phones expect ?

Lonnie


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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 
pay...@krisk.org.

Reply via email to