[Asterisk-Dev] Missing in action: call timer stats?
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Sun Jul 11 14:22:56 MST 2004
On Sunday 11 July 2004 15:29, 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?
Sure; you could probably pull it out of the CDR structure
(chan->cdr->start.tv_sec).
> 2) Is the unchanging nature of "Time to Hangup" a bug, or can
> someone describe more fully what this is supposed to indicate?
It's the AbsoluteTimeout value. Internally, its value is the exact
unixtime at which the AbsoluteTimeout should be considered to be
expired (and thus trigger a hangup).
--
Tilghman
More information about the asterisk-dev
mailing list