[Users] current calls

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Aug 2 14:18:21 CEST 2005


Hi guys,

Klaus Darilion wrote:

> Ozan Blotter wrote:
>
>> dear list,
>>  
>> i'm still working on the billing system... there'r a few things left 
>> like active calls and active registers...
>>  
>> from openser database, in "location" table i can read current 
>> registered users, and it's easy to make a PHP from there to show 
>> "active registers" from a web page. but in addition to it, i wan to 
>> see active calls, is there a specific way to do it from ser.cfg or 
>> database ?
>
>
> No. openser is not call statefull. Thus, openser does not know which 
> calls are currently opened. If you use accounting, you can query the 
> accounting table for INVITEs without a corresponding BYE message. But 
> if there never was a BYE message you also might see dead calls.

that's totally true.

>
> If you enforce mediaproxy for all calls, I think there is a way to 
> retrive the current calls from the mediaproxy (take a look at 
> ag-projects CDT tools).

I wouldn't recommend this. if you keep account of the current based on 
media and do accounting based on signalling, you may get into 
trouble.... also, forcing all the media to go through your proxy is 
something to avoid as much as possible....

regards,
bogdan




More information about the sr-users mailing list