<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><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>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2> I read a thread on the asterisk dev list
(call file handling suggestion)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>May i have some comment/opinion on these two ways
below to place a call file in the future ? (from the wiki and the asterisk book
but added typos and stupidity come from me)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The best is ? (and should work
?)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>tmsp = the delay in future.. say 100
seconds</FONT></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’)<?xml:namespace
prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><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)<o:p></o:p></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></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
face="Courier New" size=2></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
color=#000000 size=2>next step:</FONT></o:p></SPAN></P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
size=2>exten=> ra,n,System(touch –t $TOUCH_TMSP
/tmp/${idclient}.call))<o:p></o:p></FONT></SPAN></P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
size=2>exten=> ra,n,System(mv /tmp/${idclient}.call
/var/spool/asterisk/outgoing)</FONT></SPAN></P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
size=2></FONT></SPAN> </P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"></SPAN><SPAN
lang=EN-GB
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"></SPAN><SPAN
lang=EN-GB
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
size=2></FONT></SPAN> </P>
<P class=MsoListContinue2 style="MARGIN: 0cm -7.85pt 0pt 0cm"><SPAN lang=EN-GB
style="FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB"><FONT
size=2>Thanks for your attention, happy 2009..... and perhaps a reply
?</FONT></SPAN></P></DIV></FONT></DIV></BODY></HTML>