On Apr 5, 2005 12:45 AM, Mike Sander
<[EMAIL PROTECTED]> wrote:
> I have installed Asterisk using the [EMAIL PROTECTED] image for a client that
> is
> VoIP-a-phobic.
>
> Hence the system cannot be connected to their LAN at all - don't ask why!
>
> I have tested the clock at my installation lab, and all is fine, but they
> might want to set/check it.
>
> I know there is the SayUnixTime command, and it works fine to say the time.
>
> Is there a good dialplan command to test it? Best I've come across is
> System, but this exits non-zero. Any ideas?
>
> 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'.
Peter
--
Peter Bowyer
Email: [EMAIL PROTECTED]
Tel: +44 1296 768003
VoIP: sip:[EMAIL PROTECTED]
_______________________________________________
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