diff options
author | Michael Geddes <openwrt@frog.wheelycreek.net> | 2009-03-30 05:07:34 +0000 |
---|---|---|
committer | Michael Geddes <openwrt@frog.wheelycreek.net> | 2009-03-30 05:07:34 +0000 |
commit | 63a2723de7c87ded6a961a7d0f62b94a25ff86c1 (patch) | |
tree | 7171de7e70963a20634230c2241f8a42a17a09ba | |
parent | 333458f06c3de0b9cea9c3059133f6d6cc9485c2 (diff) |
Can't have globals in includes
-rw-r--r-- | contrib/package/asterisk-xip/files/macros/lastcall.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/package/asterisk-xip/files/macros/lastcall.conf b/contrib/package/asterisk-xip/files/macros/lastcall.conf index dd2c8514f..172fd5e77 100644 --- a/contrib/package/asterisk-xip/files/macros/lastcall.conf +++ b/contrib/package/asterisk-xip/files/macros/lastcall.conf @@ -4,8 +4,8 @@ ; depends: app_macro app_system app_record func_callerid ; app_sayunixtime app_playback func_db ; format_gsm codec_gsm -[globals] -LASTCALL_DIR=/opt/etc/asterisk/directory +;[globals] +;LASTCALL_DIR=/etc/asterisk/directory [macro-lastcallstore] ; (Number , EntryType, BufferSize) exten => s,1,set(lcsName=lastcall) @@ -78,7 +78,7 @@ exten => 6,1,GotoIf($[$[${lcsPointer} = ${lcsCount}] | $["${lcsLastDate}" = ""]] exten => 6,n,Set(lcsPointer=$[${lcsPointer} + 1]) exten => 4,1,GotoIf($[${lcsPointer}=1]?sayn) exten => 4,n,Set(lcsPointer=$[${lcsPointer} - 1]) -exten => _[46],n(sayn),saynumber(${lcsPointer}) +exten => _[46],n(sayn),Background(h-${lcsPointer}) exten => _[46],n,goto(s|again) exten => 7,1,GotoIf($["${lcsLastNum}" = ""]?noinfo]) exten => 7,2,macro(tagnumber,${lcsLastNum},${LASTCALL_DIR}) |