[OpenSIPS-Users] Accounting script rejected calls

2011-12-01 Thread Ryan Bullock
I am using accounting opensips with cdr accounting and the
failed_transaction_flag set.
I was wondering if anyone knows a way to get calls that we reject from
within our script (e.g. send_reply(503), etc) to be accounted into
missed_calls? These don't currently seem to be recorded anywhere and
we would like to keep them for statistical reasons.

Regards,

Ryan

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Accounting script rejected calls

2011-12-01 Thread Bogdan-Andrei Iancu

Hi Ryan,

The accounting module catches only calls that are proxy-ed (forwarded). 
If the call is locally completed, it is not automatically accounted, but 
you can still do it manually via the acc_db_request() function from acc 
module:

http://www.opensips.org/html/docs/modules/1.7.x/acc.html#id293961

Regards,
Bogdan

On 12/01/2011 07:32 PM, Ryan Bullock wrote:

I am using accounting opensips with cdr accounting and the
failed_transaction_flag set.
I was wondering if anyone knows a way to get calls that we reject from
within our script (e.g. send_reply(503), etc) to be accounted into
missed_calls? These don't currently seem to be recorded anywhere and
we would like to keep them for statistical reasons.

Regards,

Ryan

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and know-how


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users