git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
2c79f67
)
Add LASTCALL_DIR to globals section if there is a DEST set.
author
Michael Geddes
<redacted>
Sat, 17 Jan 2009 11:08:40 +0000
(11:08 +0000)
committer
Michael Geddes
<redacted>
Sat, 17 Jan 2009 11:08:40 +0000
(11:08 +0000)
contrib/package/asterisk-xip/files/uci/lastcall
patch
|
blob
|
history
diff --git
a/contrib/package/asterisk-xip/files/uci/lastcall
b/contrib/package/asterisk-xip/files/uci/lastcall
index f101bfedf62eda5159d2fccf68fd6a90a5b88250..1a29c1d4be1cbe3822d3fc188c90e01718b12056 100755
(executable)
--- 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
git clone https://git.99rst.org/PROJECT