--- apps/app_sayunixtime.c.orig 2003-11-20 13:36:57.000000000 -0600 +++ apps/app_sayunixtime.c 2003-11-20 13:36:32.000000000 -0600 @@ -82,6 +82,10 @@ } } + if (chan->_state != AST_STATE_UP) { + res = ast_answer(chan); /* Answer the channel if it wasn't already answered */ + } + res = ast_say_date_with_format(chan, unixtime, AST_DIGIT_ANY, chan->language, format, zone); LOCAL_USER_REMOVE(u);