[Asterisk-Users] Timestamps in Console?

Chris Wade clwade at sparco.com
Thu Nov 3 09:49:12 MST 2005


Kevin Bockman wrote:
> Yes, there is -T but it doesn't timestamp everything.  All that the OP 
> posted would not be timestamped.
> 
> Kevin
> 
> Jorge Merlino wrote:
>> There is the -T option when running the CLI but I think it only works 
>> in 1.2
>>>   -- 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'
>>>
>>> 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?

Use 'timestamp=yes' in asterisk.conf instead of -T.

-T only affects messages generated by THIS connection (ie asterisk -RT 
generated messages... not server generated messages.

'timestamp=yes' affects all messages generated.

-- 
Christopher L. Wade, CCNA, CCDA, CQS-CIPTES, CQS-CWLSS




More information about the asterisk-users mailing list