[OpenSIPS-Users] Accounting B2BUA market scenario

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Mar 22 16:49:57 EDT 2017

Hi Andreas,

To account both the UAC and UAS type request, you should also use the 
local route - to give you access (and accounting) for the outbound call 
legs generated by the B2B.

Best regards,

Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer

OpenSIPS Summit May 2017 Amsterdam

On 03/07/2017 02:48 PM, Andreas Bøckmann wrote:
> Hello,
> I am trying to generate acc records for the marketing scenario example 
> (B2BUA) and execute it as such:
> opensipsctl fifo b2b_trigger_scenario marketing 
> sip:+12345 at external.domain1 sip:+23456 at external.domain2 
> sip:+23456 at external.domain1
> The only records I get in the database on the OpenSIPS-B2BUA is "BYE" 
> records; without an initial INVITE so there is no duration etc.
> How do you properly handle accounting for the B2B-module; and in my 
> specific case how do I generate records on UAC generated INVITE in 
> OpenSIPS?
> route[b2b_request] {
>    do_accounting("db");
>    #do_accounting("db|log", "cdr|missed", "acc");
> }
> //Andy
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170322/bac919ce/attachment.html>

More information about the Users mailing list