Displaying 2 results from an estimated 2 matches for "touchtim".
Did you mean:
touchtime
2009 Jan 17
2
Call file in the future
...work ?)
tmsp = the delay in future.. say 100 seconds
exten=> ra,n,System(NOW='date %S')
exten=> ra,n,System(let NOW=$NOW+$tmsp)
exten=> ra,n,System(TOUCH_TMSP='date -d "1970-01-01 $NOW sec GMT+1" +%Y%m%d%H%M. %S)
*********
or this way ?
exten=> ra,n,Set(touchtime=$[${EPOCH} + ${tmsp}])
exten=> ra,n,Set(TOUCH_TMSP=${STRFM(${touchtime},GMT+1,%C%y%m%d%H%M%S)
*********
next step:
exten=> ra,n,System(touch -t $TOUCH_TMSP /tmp/${idclient}.call))
exten=> ra,n,System(mv /tmp/${idclient}.call /var/spool/asterisk/outgoing)
Thanks for your attent...
2009 Jan 30
4
modules not processing in order
Hello there
I''m just testing a module (see merging directories) and it is quite
involved, in that it:
__generic__
1) creates a user
2) creates a base directory
3) copies generic files (directory with recursion)
4) generate a configuration file from a template
5) creates a symlink
__os specific__
6) copies os specific files (in my scenario two folders, and an init
script)
7)