<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>First, thanks for your help</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Ok, i going to do a script and call ot with only
one 'System' (cf Gordon Henderson) and take a look to 'incron' (T
Cohen)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Just need some explanations:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1) If the call file 'failed', an 'exitstatus' is
happend....Good </FONT></DIV>
<DIV><FONT face=Arial size=2>How to check/get these $ and put in in an * $ ? (of
course, the call file have to have archive= yes and go to
'outgoing-done')</FONT></DIV>
<DIV><FONT face=Arial size=2>sorry, i'm not a linux guru and it's not a pure
Asterisk pb..... Anyway, could someone show me the complete exact way and syntax
to do this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>????Using something as: $ egrep -vw "(^#|^)" file |
awk -F " " '{ print $2 }' (or some use of awk)<BR></FONT><FONT face=Arial
size=2><FONT face=Arial size=2></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>2) From my first post, are
these lines OK or wrong? (syntax error?)</FONT></DIV></FONT>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial"><FONT face=Arial><FONT face=Arial size=2>tmsp =
the delay in future.. say 100 seconds</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
size=2><FONT color=#000000>exten=> ra,n,System(NOW=’date
%S’)<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
size=2><FONT color=#000000>exten=> ra,n,System(let
NOW=$NOW+$tmsp)<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
size=2><FONT color=#000000>exten=> ra,n,System(TOUCH_TMSP=’date –d
“1970-01-01 $NOW sec GMT+1” +%Y%m%d%H%M. %S) <STRONG>< NOTE THE
'M. %S'</STRONG></FONT></FONT></SPAN></P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"> </P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
size=2><FONT color=#000000>*********<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
color=#000000 size=2>or this way ?</FONT></SPAN></P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><o:p><FONT
face="Courier New" size=2></FONT></o:p></SPAN> </P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
size=2><FONT color=#000000>exten=> ra,n,Set(touchtime=$[${EPOCH} +
${tmsp}])<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
size=2><FONT color=#000000>exten=>
ra,n,Set(TOUCH_TMSP=${STRFM(${touchtime},GMT+1,%C%y%m%d%H%M%S)<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
color=#000000 size=2>*********</FONT></SPAN></FONT> </P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><FONT
face="Courier New"
size=2></FONT> </P></DIV></DIV></BLOCKQUOTE></BODY></HTML>