exten 456,1,Background(Please-set-time-mmddhhmm) exten _.,1,System (date ${EXTEN})
If I dial 456 I get the message, so I type 04021305 (2nd April, 13:05).
On the console Asterisk reports the command Dial 04021305 exits non-zero.
You need 'Read' instead of 'Background'.
No, because his next line is _.,1 so it will actually use the extension.
His problem is just one of permissions. Maybe he should use a suid prog to set the date.
-- Cheers,
Matt Riddell _______________________________________________
http://www.sineapps.com/news.php (Daily Asterisk News - html) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss) _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
