Re: [Asterisk-Users] Timestamps in Console?
[EMAIL PROTECTED] wrote on 11/03/2005 11:49:12 AM: Use 'timestamp=yes' in asterisk.conf instead of -T. This is exactly what I was looking for. Thank you very much! Tim Massey ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
On Thu, Nov 03, 2005 at 09:08:07PM -0500, [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote on 11/03/2005 03:33:06 PM: Might be worth it to read the stuff in /usr/src/asterisk/doc and in particular the README.asterisk.conf file. Lots of other good stuff in that directory as well. (Not much need to read the source now.) Thank you. I don't mind being told to RTFM, if you can point out the FM I'm supposed to R. Sounds like asterisk(8) needs an update. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
Might be worth it to read the stuff in /usr/src/asterisk/doc and in particular the README.asterisk.conf file. Lots of other good stuff in that directory as well. (Not much need to read the source now.) Thank you. I don't mind being told to RTFM, if you can point out the FM I'm supposed to R. There is no FM to read. The above reference is to the directory that comes with cvs-head. If you don't use cvs-head, download it anyway and take a look. You misunderstand. I realized you had *already* told me where the information was located. I wasn't *asking* you to point me to the manual, I was *thanking* you for already pointing me to the manual. But thank you again! :) Ops, sorry. ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
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? ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
Chris Wade wrote: 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. And after adding timestamp=yes to asterisk.conf, don't forget to restart asterisk (not just the console) to make the change take effect. -- Christopher L. Wade, CCNA, CCDA, CQS-CIPTES, CQS-CWLSS ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
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 ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
[EMAIL PROTECTED] wrote on 11/03/2005 11:53:17 AM: Chris Wade wrote: 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. And after adding timestamp=yes to asterisk.conf, don't forget to restart asterisk (not just the console) to make the change take effect. Where should it be added? Mine is a default setup. It has two sections: [directories] and [files]. Tim Massey ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
There's a whole new section called [options] Normal 'commandline' options go in there. Read the source 8-) Brett On 11/3/2005, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote on 11/03/2005 11:53:17 AM: Chris Wade wrote: 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. And after adding timestamp=yes to asterisk.conf, don't forget to restart asterisk (not just the console) to make the change take effect. Where should it be added? Mine is a default setup. It has two sections: [directories] and [files]. Tim Massey ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
Might be worth it to read the stuff in /usr/src/asterisk/doc and in particular the README.asterisk.conf file. Lots of other good stuff in that directory as well. (Not much need to read the source now.) There's a whole new section called [options] Normal 'commandline' options go in there. Read the source 8-) Brett On 11/3/2005, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote on 11/03/2005 11:53:17 AM: Chris Wade wrote: 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. And after adding timestamp=yes to asterisk.conf, don't forget to restart asterisk (not just the console) to make the change take effect. Where should it be added? Mine is a default setup. It has two sections: [directories] and [files]. Tim Massey ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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 ---End of Original Message- ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
[EMAIL PROTECTED] wrote on 11/03/2005 03:33:06 PM: Might be worth it to read the stuff in /usr/src/asterisk/doc and in particular the README.asterisk.conf file. Lots of other good stuff in that directory as well. (Not much need to read the source now.) Thank you. I don't mind being told to RTFM, if you can point out the FM I'm supposed to R. Tim Massey ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
Might be worth it to read the stuff in /usr/src/asterisk/doc and in particular the README.asterisk.conf file. Lots of other good stuff in that directory as well. (Not much need to read the source now.) Thank you. I don't mind being told to RTFM, if you can point out the FM I'm supposed to R. There is no FM to read. The above reference is to the directory that comes with cvs-head. If you don't use cvs-head, download it anyway and take a look. cd /usr/src/asterisk/doc [EMAIL PROTECTED] doc]# ls app_sms.htmlqueuelog.txt README.ices apps.txtREADME.aelREADME.jitterbuffer cdr.txt README.asterisk.conf README.math channel.txt README.backtrace README.misdn CODING-GUIDELINES README.cdrREADME.mp3 CVS README.cliprompt README.mysql extensions.txt README.configuration README.odbcstorage iax.txt README.cygwin README.privacy linkedlists.README README.dundi README.realtime localchannel.txtREADME.enum README.sms manager.txt README.extconfig README.tds model.txt README.externalivrREADME.variables modules.txt README.h323 PEERING README.iax [EMAIL PROTECTED] doc]# [EMAIL PROTECTED] doc]# ls -al README.asterisk.conf -rw-r--r-- 1 root root 2855 Nov 2 08:41 README.asterisk.conf cat README.asterisk.conf [directories] snip [options] snip quiet = yes | no ; Run quietly (-q) timestamp = yes | no ; Force timestamping on log entries to console (-T) snip ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
[EMAIL PROTECTED] wrote on 11/03/2005 09:03:44 PM: Might be worth it to read the stuff in /usr/src/asterisk/doc and in particular the README.asterisk.conf file. Lots of other good stuff in that directory as well. (Not much need to read the source now.) Thank you. I don't mind being told to RTFM, if you can point out the FM I'm supposed to R. There is no FM to read. The above reference is to the directory that comes with cvs-head. If you don't use cvs-head, download it anyway and take a look. You misunderstand. I realized you had *already* told me where the information was located. I wasn't *asking* you to point me to the manual, I was *thanking* you for already pointing me to the manual. But thank you again! :) Tim Massey ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
[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@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
Re: [Asterisk-Users] Timestamps in Console?
On Monday 31 October 2005 09:30, [EMAIL PROTECTED] wrote: 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? Of course it's possible, but you'll be maintaining the patch yourself. :-) Why not just enable logging and watch the logfile? You'll get full timestamps there with each line. -A. ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
On Mon, Oct 31, 2005 at 09:30:58AM -0500, [EMAIL PROTECTED] wrote: 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? tail -f /var/log/asterisk/messages I figure you should play a bit with the settings in logger.conf to create a log file that'll contain exactly what you want. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
[EMAIL PROTECTED] wrote on 10/31/2005 08:53:35 AM: On Monday 31 October 2005 09:30, [EMAIL PROTECTED] wrote: 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? Of course it's possible, but you'll be maintaining the patch yourself. :-) Why not just enable logging and watch the logfile? You'll get full timestamps there with each line. 'Cause I can't do things like show channels? Yeah, yeah, I could have two windows open, I gues... Me? Lazy? Tim Massey ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
RE: [Asterisk-Users] Timestamps in Console?
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Monday, October 31, 2005 9:31 AMTo: asterisk-users@lists.digium.comSubject: [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@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
Re: [Asterisk-Users] Timestamps in Console?
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:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of [EMAIL PROTECTED] *Sent:* Monday, October 31, 2005 9:31 AM *To:* asterisk-users@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@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 ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
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, [EMAIL PROTECTED] 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 ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
On 10/31/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 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? I must say its something I would really like to see on the console too! Mike ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Timestamps in Console?
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, [EMAIL PROTECTED] 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 [EMAIL PROTECTED]:~# asterisk -Trn [Oct 31 14:25:35] Asterisk CVS-HEAD, Copyright (C) 1999 - 2005 Digium. [Oct 31 14:25:35] Written by Mark Spencer [EMAIL PROTECTED] [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 | SystemTechniques | Give me VMS | | NetworkEngineer | 3542 Broken Yoke Dr. | Give me Linux | | [EMAIL PROTECTED] | Billings , MT. 59105 | only on AXP | +--+___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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