Skip to content

Commit

Permalink
call_center: deploy scenario file at install
Browse files Browse the repository at this point in the history
Deploy the scenario_callcenter.xml b2b scenario file at install.

Thanks go to cleberb on GitHub for reporting this!
Close #1464

(cherry picked from commit a6d681c)
  • Loading branch information
razvancrainea committed Sep 20, 2018
1 parent c11c96a commit 6ddf2c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/call_center/Makefile
Expand Up @@ -7,3 +7,10 @@ NAME=call_center.so
LIBS=

include ../../Makefile.modules

CALL_CENTER_SCENARIO ?= scenario_callcenter.xml

install_module_custom:
mkdir -p $(cfg_prefix)/$(cfg_dir); \
$(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/`basename $(CALL_CENTER_SCENARIO)`; \
$(INSTALL_CFG) $(CALL_CENTER_SCENARIO) $(cfg_prefix)/$(cfg_dir)/`basename $(CALL_CENTER_SCENARIO)`; \

0 comments on commit 6ddf2c6

Please sign in to comment.