[Asterisk-Users] Timestamps in Console?
Mark Hulber
asterisk-admin at hulber.com
Mon Oct 31 10:10:34 MST 2005
Yes, or this for example:
[macro-rhangup]
exten => s,1,NoOp(DIALSTATUS=${DIALSTATUS})
exten => s,n,NoOp(TIME=${DATETIME})
exten => s,n,Hangup
I also output the date and time prior to dialing out.
MARK.
Sherwood McGowan wrote:
> You could always just add some
>
> exten = NUM,PRIO,VERBOSE(LEVEL|${DATETIME} -- THIS EVENT HAPPENED)
>
> type commands in your dialplan to force output of the date time, and
> you can even reduce the amount of verbosity to the CLI by using it
> liberally to signify events, so you don't have to watch EVERYTHING.
>
> Sherwod
>
> ------------------------------------------------------------------------
> *From:* asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of
> *tmassey at obscorp.com
> *Sent:* Monday, October 31, 2005 9:31 AM
> *To:* asterisk-users at lists.digium.com
> *Subject:* [Asterisk-Users] Timestamps in Console?
>
>
> Hello!
>
> Lately, I've been keeping a close eye on an Asterisk box by
> staying logged into the console for long periods of time.
> However, it can be very difficult to know how long a telephone
> call lasts when this is all you see:
>
> -- Executing Dial("SIP/SIP105-8e34", "Zap/g2/<Number>|60|t") in
> new stack
> -- Called g2/<Number>
> -- Zap/5-1 answered SIP/SIP105-8e34
> -- Hungup 'Zap/5-1'
>
> Did that telephone call last only a few seconds because there was
> a problem, or a few minutes because there wasn't? It's impossible
> to tell.
>
> Is there a way to add timestamps to each line in the console so
> you know exactly how long a call took? Or is there another way of
> telling directly within the console?
>
> Thank you very much!
>
> Tim Massey
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list