[OpenSER-Users] CDRTool: How to avoid invoices for answered calls of duration 0

Adrian Georgescu ag at ag-projects.com
Sat Jun 7 20:47:16 CEST 2008


If the call has 0 seconds duration, CDRTool does not calculate a cost,  
it is zero. The connection fee applies only if the call has a positive  
duration.
Adrian
 >>>>>>>>>>>>
Hi, RFC3261 says that a UAC should send inmediately a BYE after a 2XX  
response
if the offer in the 2xx response is not acceptable (when the INVITE  
has no
body). So this will generate an answered call of duration 0 (probably).

But if the CDRTool rate has "connect" fixed amount then this invalid  
call will
have cost. I think this shouldn't have cost since it's a SIP protocol  
issue
(accepting a call and sending a BYE inmediately) but not an human  
decision.

Opinions?





More information about the Users mailing list