[Asterisk-Dev] Missing in action: call timer stats?

James Golovich james at wwnet.net
Sun Jul 11 13:11:15 MST 2004


On Sun, 11 Jul 2004, John Todd wrote:

> 
> In the "show channel" output of a particular channel, there is no 
> indication on how long that particular channel has existed (in 
> seconds.)  Am I just missing something here, or does this value not 
> make itself visible anywhere?   There is an unchanging value called 
> "Time to Hangup", but it doesn't seem to have much bearing on reality.
> 
> So, this leaves two items for discussion:
> 
> 1) Does a counter of "channel existence" seconds seem like a good 
> value to request as a feature addition in the "show channel" summary?

It's pretty trivial to add, but when do we set this value.  When a channel
is created with ast_channel_alloc?  Somehow making the cdr info available
would provide access to the "billable" time info.

> 
> 2) Is the unchanging nature of "Time to Hangup" a bug, or can someone 
> describe more fully what this is supposed to indicate?

The "Time to Hangup" is when to hangup the channel if an absolutetimeout
is set.

James




More information about the asterisk-dev mailing list