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
  http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

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@external.domain1 sip:+23456@external.domain2 sip:+23456@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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

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

Reply via email to