I've partially figured it out:<br>
<br>
The <a href="http://voip-info.org">voip-info.org</a> wiki for SayUnixTime suggests that if you don't specify the 3rd parameter, it will default to:<br>
&nbsp; <font face="courier">ABdY&nbsp;'digits/at'&nbsp;IMp</font><br>
<br>
For some reason, for my setup, the default wasn't working when I left
the parameter blank. When I specified the format in the extensions
line, it works fine:<br>
&nbsp; exten =&gt; 400,n,SayUnixTime(,EST5EDT,ABdY \'digits/at\' IMp )<br>
<br>
<br>
I looked at the code and it seems to attempt to set the default format
string based on chan-&gt;language ... maybe my language isn't set up
correctly.<br>
<br>
Anyway, hope that may be useful to someone.<br>
<br>
<br><div><span class="gmail_quote">On 9/22/05, <b class="gmail_sendername">Brian McEntire</b> &lt;<a href="mailto:brian.mcentire@gmail.com">brian.mcentire@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Can anyone tell me what I missed? I'm trying to setup a simple
extension (400) that reports the time when it is dialed. I searched the
threads and it seems like this should work...<br>
<br>
Here's what's in my extensions.conf:<br>
<br>
exten =&gt; 400,1,Answer()<br>
exten =&gt; 400,n,Wait,1<br>
exten =&gt; 400,n,SayUnixTime(,EST5EDT,)<br>
exten =&gt; 400,n,Playback(tt-weasels)<br>
<br>
<br>
[BTW, tt-weasels is hillarious!&nbsp; ;-)&nbsp; Props to whoever made that. ]<br>
<br>
<br>
When I call the extension, it answers and immediately falls through to
tt-weasels, which I hear fine. It's like SayUnixTime gets jumped over
or returns nothing (very quickly.) I checked and the &quot;at&quot; sound which
is used by the default SayUnixTime format string is in place. Also,
SayDigits and SayNumber seem to work okay.<br>
<br>
When asterisk starts up in verbose mode, it looks like SayUnixTime gets loaded okay:<br>
<br>
[app_sayunixtime.so]Sep 23 03:24:04 VERBOSE[3854] logger.c:&nbsp; [app_sayunixtime.so] =&gt; (Say time)<br>
&nbsp;== Registered application 'SayUnixTime'<br>
&nbsp;== Registered application 'DateTime'<br>
<br>
<br>
This is what is output from asterisk -vvv when I dial 400:<br>
<br>
&nbsp;&nbsp;&nbsp; -- Starting simple switch on 'Zap/1-1'<br>
&nbsp;&nbsp;&nbsp; -- Executing Answer(&quot;Zap/1-1&quot;, &quot;&quot;) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing Wait(&quot;Zap/1-1&quot;, &quot;1&quot;) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing SayUnixTime(&quot;Zap/1-1&quot;, &quot;|EST5EDT|&quot;) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing Playback(&quot;Zap/1-1&quot;, &quot;tt-weasels&quot;) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Playing 'tt-weasels' (language 'en')<br>
&nbsp;&nbsp;&nbsp; -- Executing Wait(&quot;Zap/1-1&quot;, &quot;5&quot;) in new stack<br>
<br>
<br>
Any ideas?<br>

</blockquote></div><br>