[Home]

Summary:ASTERISK-00659: [request] add date/timestamp to show channels command
Reporter:Andrew Kohlsmith (akohlsmith)Labels:
Date Opened:2003-12-12 08:08:56.000-0600Date Closed:2011-06-07 14:05:30
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Just a nicety so that you can tell when the channels became inuse...  it'd be nice for date/timestamps in the console logging too
Comments:By: jjanzer (jjanzer) 2003-12-15 12:44:54.000-0600

Want to specify a mock-up of how the output would look... I'm having a hard time seeing the purpose of this, but if it look usefull...

By: Andrew Kohlsmith (akohlsmith) 2003-12-15 14:24:57.000-0600

sure.

*CLI> iax2 show channels
Went Active           Peer             Username    ID (Lo/Rem)  Seq (Tx/Rx)  Lag      Jitter  Format
20031215.15:09:00 66.234.228.132   zqP54ZKZ29  00004/00025  00003/00008  00000ms  0020ms  GSM
1 active IAX channel(s)

or

*CLI> zap show channel 1
Channel: 1
File Descriptor: 14
Span: 1
Extension:
Context: fxs
Caller ID string: "FIRST LAST" <(900) 555-1212>
Destroy: 0
Signalling Type: FXO Kewlstart
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 32 taps unless TDM bridged, currently OFF
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Time Opened: 20031215.15:10:08

Something like that.

Or in general:
20031215.15:10:08
   -- Starting simple switch on 'Zap/2-1'
   -- Executing SetCallerID("Zap/2-1", ""Benshaw Canada" <(519) 291-5112>") in new stack
   -- Executing Dial("Zap/2-1", "IAX2/USERNAME@gw5.voicepulse.com/19005551212@VPWS|90|Tr") in new stack
   -- Called USERNAME@gw5.voicepulse.com/19005551212@VPWS
   -- Call accepted by 66.234.228.132 (format GSM)
   -- Format for call is GSM
   -- IAX2[voicepulse]/4 stopped sounds
   -- IAX2[voicepulse]/4 is ringing
   -- IAX2[voicepulse]/4 stopped sounds
   -- IAX2[voicepulse]/4 stopped sounds
   -- IAX2[voicepulse]/4 answered Zap/2-1
20031215.15:10:30
   -- Hungup 'IAX2[voicepulse]/4'
 == Spawn extension (fxs, 14124920943, 2) exited non-zero on 'Zap/2-1'
   -- Executing Hangup("Zap/2-1", "") in new stack
 == Spawn extension (fxs, h, 1) exited non-zero on 'Zap/2-1'
   -- Hungup 'Zap/2-1'

Where the date/timestamp lines would only be spit out when there was a significant (configurable in asterisk.conf!) jump in time from one log line to the next (say 5 seconds default?)

By: Brian West (bkw918) 2004-04-18 01:47:25

If you are still intrested in this feature request please respond and indicate that.

Thanks,
House Keeping