Summary: | ASTERISK-02178: [patch] add call timer on cli show channel and manager status | ||
Reporter: | nicolasg (nicolasg) | Labels: | |
Date Opened: | 2004-08-02 17:48:19 | Date Closed: | 2008-01-15 15:04:39.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) timer_stats.txt | |
Description: | A simple patch to manager.c and cli.c to show the elapsed seconds of the call since cdr start (taken from chan->cdr->start.tv_sec) | ||
Comments: | By: John Todd (jtodd) 2004-08-02 20:09:03 Added, and seems to work OK. ms1*CLI> show channel IAX2/hmb1@hmb1/17 -- General -- Name: IAX2/hmb1@hmb1/17 Type: IAX2 UniqueID: 1091493902.0 Caller ID: "Foo Foofus" <6107150427> DNID Digits: (N/A) State: Up (6) Rings: 0 NativeFormat: 4 WriteFormat: 4 ReadFormat: 4 1st File Descriptor: -1 Frames in: 11245 Frames out: 22526 Time to Hangup: 0 Elapsed Seconds: 227 -- PBX -- Context: local Extension: 2203 Priority: 2 Call Group: 0 Pickup Group: 0 Application: Dial Data: SIP/2203|30|t Stack: 0 Blocking in: ast_waitfor_nandfds ms1*CLI> By: Mark Spencer (markster) 2004-08-03 09:30:26 Nicolas, do you already have a disclaimer on file? Thanks! By: nicolasg (nicolasg) 2004-08-03 12:44:53 Hi Mark. Yes, I sent it back on January for bug number 773. By: Mark Spencer (markster) 2004-08-03 14:03:14 Added to CVS By: Digium Subversion (svnbot) 2008-01-15 15:04:39.000-0600 Repository: asterisk Revision: 3575 U trunk/cli.c U trunk/manager.c ------------------------------------------------------------------------ r3575 | markster | 2008-01-15 15:04:39 -0600 (Tue, 15 Jan 2008) | 2 lines Merge nicolasg's manager/cli patch (bug ASTERISK-2178) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=3575 |