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.
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).
regards, klaus