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 => 400,1,Answer()<br>
exten => 400,n,Wait,1<br>
exten => 400,n,SayUnixTime(,EST5EDT,)<br>
exten => 400,n,Playback(tt-weasels)<br>
<br>
<br>
[BTW, tt-weasels is hillarious! ;-) 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 "at" 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: [app_sayunixtime.so] => (Say time)<br>
== Registered application 'SayUnixTime'<br>
== Registered application 'DateTime'<br>
<br>
<br>
This is what is output from asterisk -vvv when I dial 400:<br>
<br>
-- Starting simple switch on 'Zap/1-1'<br>
-- Executing Answer("Zap/1-1", "") in new stack<br>
-- Executing Wait("Zap/1-1", "1") in new stack<br>
-- Executing SayUnixTime("Zap/1-1", "|EST5EDT|") in new stack<br>
-- Executing Playback("Zap/1-1", "tt-weasels") in new stack<br>
-- Playing 'tt-weasels' (language 'en')<br>
-- Executing Wait("Zap/1-1", "5") in new stack<br>
<br>
<br>
Any ideas?<br>