summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2008-01-09 21:37:26 +0000
committerTerry Wilson <twilson@digium.com>2008-01-09 21:37:26 +0000
commit3570ad103d9f37f60f2f1ac0e21bab02bd1051e7 (patch)
treea60d56d18dfd1b80f57e5bc99e3b1fc1c2999bfe /Makefile
parent46f4c8946f54f5ab04921c1d08dd5b4c808bccff (diff)
Added a new module, res_phoneprov, which allows auto-provisioning of phones
based on configuration templates that use Asterisk dialplan function and variable substitution. It should be possible to create phone profiles and templates that work for the majority of phones provisioned over http. It is currently only intended to provision a single user account per phone. An example profile and set of templates for Polycom phones is provided. NOTE: Polycom firmware is not included, but should be placed in AST_DATA_DIR/phoneprov/configs to match up with the included templates. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97634 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e1b96ad14..19c385e8c 100644
--- a/Makefile
+++ b/Makefile
@@ -450,6 +450,10 @@ datafiles: _all
# Should static HTTP be installed during make samples or even with its own target ala
# webvoicemail? There are portions here that *could* be customized but might also be
# improved a lot. I'll put it here for now.
+ mkdir -p $(DESTDIR)$(ASTDATADIR)/phoneprov
+ for x in phoneprov/*; do \
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/phoneprov ; \
+ done
mkdir -p $(DESTDIR)$(ASTDATADIR)/static-http
for x in static-http/*; do \
$(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \