[Freeswitch-users] show channels command with duration - patch included

2009-07-16 Thread freeswitch-users
Hi, I usually find it very useful when I can retrieve a list of the currents calls along with durations. I noticed that the 'show channels' format does not include the duration (or the answered timestamp - so that one can extract it from there). So, I made a patch that includes the answered

Re: [Freeswitch-users] show channels command with duration - patch included

2009-07-16 Thread Anthony Minessale
I'm ok with the idea as long as it's thoroughly tested. If there is any more info you want to save from those events you should consider it now while we are modifying it. On Thu, Jul 16, 2009 at 9:02 AM, freeswitch-users@lists.freeswitch.orgwrote: Hi, I usually find it very useful when I can

Re: [Freeswitch-users] show channels command with duration - patch included

2009-07-16 Thread Peter P GMX
Well, that's very useful for us in order to have this info in our FS Operator panel. Best regards Peter freeswitch-users@lists.freeswitch.org schrieb: Hi, I usually find it very useful when I can retrieve a list of the currents calls along with durations. I noticed that the 'show channels'

Re: [Freeswitch-users] show channels command with duration - patch included

2009-07-16 Thread Apostolos Pantsiopoulos
Now that I come to think of it... It would be useful if we had the timestamp (and epoch) of the events PROGRESS and PROGRESS WITH MEDIA so that we can extract the PDD (Post Dial Delay) which is a very useful statistic. Adding the user's (for the incoming) and the gateway's (for the outbound)

Re: [Freeswitch-users] show channels command with duration - patch included

2009-07-16 Thread Anthony Minessale
I wasn't planning on implementing it but I was just mentioning that if you were going to do your patch, consider if there is any other info to store while the patient is on the operating table. The line we should not cross is to store all the info in the table since, really, you could be

Re: [Freeswitch-users] show channels command with duration - patch included

2009-07-16 Thread Michael S Collins
I wonder if it would make sense to create a separate sub-command like show channels stats or something. That way we could put all sorts of nifty info there without breaking the existing command. Thoughts? -MC Sent from my iPhone On Jul 16, 2009, at 7:37 AM, Apostolos Pantsiopoulos

Re: [Freeswitch-users] show channels command with duration - patch included

2009-07-16 Thread Anthony Minessale
it doesn't really break anything to add more fields besides the ability to read it but it's already fairly wide as it is. Thats why we have show channels as xml On Thu, Jul 16, 2009 at 9:50 AM, Michael S Collins m...@freeswitch.orgwrote: I wonder if it would make sense to create a separate

Re: [Freeswitch-users] show channels command with duration - patch included

2009-07-16 Thread Apostolos Pantsiopoulos
OK I 'll start implementing the progress timestamp field. The only reason I mentioned the user/gateway id field is that FS admins gain a lot by looking at a row of show channels result and be able to see who is the caller and who is the callee. Anthony Minessale wrote: it doesn't really break

Re: [Freeswitch-users] show channels command with duration - patch included

2009-07-16 Thread Mathieu Rene
] show channels command with duration - patch included OK I 'll start implementing the progress timestamp field. The only reason I mentioned the user/gateway id field is that FS admins gain a lot by looking at a row of show channels result and be able to see who is the caller and who

Re: [Freeswitch-users] show channels command with duration - patch included

2009-07-16 Thread Saeed Ahmed
@lists.freeswitch.org Subject: Re: [Freeswitch-users] show channels command with duration - patch included OK I 'll start implementing the progress timestamp field. The only reason I mentioned the user/gateway id field is that FS admins gain a lot by looking at a row of show channels result and be able

Re: [Freeswitch-users] show channels command with duration - patch included

2009-07-16 Thread Apostolos Pantsiopoulos
On a second thought... I am starting to agree with Michael. Nobody really collects stats about PDD from the 'show channels' command. This is usually done by using the cdrs. So, forget about the second request. The patch I sent earlier covers my needs (and I hope everybody else's too.) Apostolos