[Serusers] Idea for concurrent calls statistics?

Greger V. Teigre greger at teigre.com
Tue Dec 12 12:14:53 CET 2006


In a good way, not unless you are willing to do quite some programming.
In a bad way: Use avpops (in 0.9.x) or the new db_ops module (in 
Ottendorf), use the src ip address as key and increase a value, do the 
same for dst ip.
On BYE, decrease the values of both.
This will mostly (not) work, because its costly in terms of db write, 
and you will often get wrong values if you miss a BYE (same issue as for 
accounting).
If you want to do some programming, you can use pike module is 
inspiration and create an in memory table keeping tabs of things. and 
then use management interface to pull out data ex. using xmlrpc. Awful 
lot of work for not very reliable data, though...
g-)

Tobias Lindgren wrote:
> Hi all,
>
> I'd like to somehow count concurrent outgoing calls through my SER from
> my customers, based on the source ip-address in the SIP-request. I'm
> running with the TM-module.
>
> Does anyone have an idea on how this could be done?
>
> Br,
> Tobias
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>   



More information about the sr-users mailing list