Upgrade 3CX to v18 and get it hosted free!

SER module acc

Author image

acc module is used to report on transactions to syslog, SQL and Radius.

To report on a transaction using syslog, use “setflag” to mark a transaction you are interested in with a flag, load accounting module and set its “log_flag” to the same flag number. The acc module will then report on completed transaction to syslog. A typical usage of the module takes no acc-specific script command — the functionality binds invisibly through transaction processing. Script writers just need to mark the transaction for accounting with proper setflag.

What is printed depends on module’s “log_fmt” parameter. It’s a string with characters specifying which parts of request should be printed:

  • c = Call-Id
  • d = To tag (Dst)
  • f = From
  • i = Inbound Request-URI
  • m = Method
  • o = Outbound Request-URI
  • r = fRom
  • s = Status
  • t = To
  • u = digest Username
  • p = username Part of inbound Request-URI

If a value is not present in request, “n/a” is accounted instead.

You need to enable support for SQL or RADIUS by recompiling the module with properly set defines. Uncomment the SQL_ACC and RAD_ACC lines in modules/acc/Makefile.

Dependencies

The ACC modules depends on


Back to SIP Express Router


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.