This matter has been discussed throughly on the list, more than once. Do a search on "BYE accounting" and I'm sure you get plenty of hits. http://iptel.org/listsearch g-)
Andreas Wernitz wrote:
Ricardo Carvalho wrote:
Meanwhile I was making my scripts for management of the accounting, I realized and after some call has been answered if the called party simply has a power failure or network failure, no BYE message ever gets returned to the other party, what results in the acc table in one ACK message and after that no more messages belonging to that call-id. This can mean erroneously that the call is still in progress eternally, resulting in an enormous billing to the caller!! This is a very serious issue! How can I protect my system from this kind of problems?
if you are billing onnet calls, you're lost. if you bill calls to the PSTN, you can try to correlate your accounting data with accounting data provided by the gateway.
perhaps your gateway provider does offer Session Timer ?
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers