[OpenSIPS-Users] Permissions and Accounting

Duane Larson duane.larson at gmail.com
Wed Nov 16 05:25:41 CET 2011


Report_ack is obsolete.   Read the last section of the ACC module in the
documentation.  Your permissions warning isn't an issue if you are using a
database to place your permissions.  You could use a file if you wishes.
On Nov 15, 2011 8:21 PM, "Nick Khamis" <symack at gmail.com> wrote:

> Hello Everyone,
>
> We are configuring opensips to handle permissions, and accounting on
> the database.
> As for the permissions, I am reciving the following error however, not
> clear on if they
> need to exist?
>
> file not found: /usr/local/etc/opensips/permissions.allow
> Nov 15 21:11:32 [1579] INFO:permissions:mod_init: default allow file
> (/usr/local/etc/opensips/permissions.allow) not found => empty rule
> set
>
> In respect to accounting, we have everything configured:
>
>
> # ----- acc params -----
> /* what sepcial events should be accounted ? */
> modparam("acc", "early_media", 1)
> # modparam("acc", "report_ack", 1)
> modparam("acc", "report_cancels", 1)
> modparam("acc", "detect_direction", 0)
> /* account triggers (flags) */
> modparam("acc", "failed_transaction_flag", 3)
> modparam("acc", "log_flag", 1)
> modparam("acc", "log_missed_flag", 2)
> /* uncomment the following lines to enable DB accounting also */
> modparam("acc", "db_flag", 1)
> modparam("acc", "db_missed_flag", 2)
> modparam("acc", "db_url", "mysql://user:pass@db.test.com/opensips")
> modparam("acc", "db_extra", "from_uri=$fu; to_uri=$tu")
> modparam("acc", "db_extra", "caller_id=$fu; calee_id=$tu")
>
> The database interaction is fine with everything else. Oh, and "report_ack"
> is no longer valid?
>
> Thanks in Advance,
>
> Nick.
>
> _______________________________________________
> 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/20111115/130ff918/attachment-0001.htm>


More information about the Users mailing list