[Asterisk-Users] Timestamps in Console?

Mr. James W. Laferriere babydr at baby-dragons.com
Mon Oct 31 14:29:14 MST 2005


	Hello Jorge & All ,

On Mon, 31 Oct 2005, Jorge Merlino wrote:
> There is the -T option when running the CLI but I think it only works in 1.2
> 
> Regards
> 	Jorge
> 
> El Lun 31 Oct 2005 12:30, tmassey at obscorp.com escribió:
> > 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
	As you can see below this option does not put time stamps on the reports 
	from actions in the dialplan .  Can this option be extended to the 
	operations within the dialplan ?  Tia ,  JimL

root at asterisk-1:~# asterisk -Trn
[Oct 31 14:25:35] Asterisk CVS-HEAD, Copyright (C) 1999 - 2005 Digium.
[Oct 31 14:25:35] Written by Mark Spencer <markster at digium.com>
[Oct 31 14:25:35] =========================================================================
[Oct 31 14:25:35] Connected to Asterisk CVS-HEAD currently running on asterisk-1 (pid = 240)
Verbosity is at least 3
    -- Remote UNIX connection
    -- Executing Macro("SIP/2701-51eb", "calluser|2702|30") in new stack
    -- Executing Dial("SIP/2701-51eb", "SIP/2702|30|Tt") in new stack
    -- Called 2702
    -- SIP/2702-21d9 is ringing
asterisk-1*CLI>        

-- 
+------------------------------------------------------------------+
| James   W.   Laferriere | System    Techniques | Give me VMS     |
| Network        Engineer | 3542 Broken Yoke Dr. |  Give me Linux  |
| babydr at baby-dragons.com | Billings , MT. 59105 |   only  on  AXP |
+------------------------------------------------------------------+


More information about the asterisk-users mailing list