summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/package/asterisk-xip/files/uci/lastcall2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/package/asterisk-xip/files/uci/lastcall b/contrib/package/asterisk-xip/files/uci/lastcall
index f101bfedf..1a29c1d4b 100755
--- a/contrib/package/asterisk-xip/files/uci/lastcall
+++ b/contrib/package/asterisk-xip/files/uci/lastcall
@@ -105,7 +105,9 @@ add_dialplan_lastcall(){
enable_lastcall() {
if [ "${dialplan_do_add_lastcall}" != "1" ] ; then
logdebug 2 "Enabling lastcall"
+
append dialplan_globals "LASTCALLZONE=\"${asterisk_zone}\"" "$N"
+ [ -z "${DEST}" ] || append dialplan_globals "LASTCALL_DIR=${DEST}/etc/asterisk/directory" "$N"
append_include "macros/lastcall.conf"
dialplan_do_add_lastcall=1
enable_module app_macro