At 3:32 PM +0200 on 3/17/05, Calin Serbanescu wrote:>Hello,
>
>I need some help setting up statistics per call. I need to store in a
>database call quality details such as jitter, packets lost and other
>informations. Is there any way to do this?
>
>I'd really appreciate some links or any other kind of info on this.
>
>Thanks,
>Calin.
If you're using Cisco 79xx devices with reasonably new SIP images,
or VOIP Inc. devices, you might have some luck since both of those
support the Tx and Rx header stats out of SIP BYE packets.
http://lists.digium.com/pipermail/asterisk-dev/2004-May/004174.html
Since that post, there are now built-in routines to extract SIP
headers in the dialplan - see "show application SIPGetHeader". You
may be able to get that to work instead of making your own patches.
There is also now some stuff in the IAX2 statistics area (as of
yesterday?) but I don't know if it's reference-able from the dialplan
or anywhere else. Maybe someone can fill me in on that?
You're on your own for making a database of the information, though. My
JT