<p>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.</p>
<div class="gmail_quote">On Nov 15, 2011 8:21 PM, "Nick Khamis" <<a href="mailto:symack@gmail.com">symack@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Everyone,<br>
<br>
We are configuring opensips to handle permissions, and accounting on<br>
the database.<br>
As for the permissions, I am reciving the following error however, not<br>
clear on if they<br>
need to exist?<br>
<br>
file not found: /usr/local/etc/opensips/permissions.allow<br>
Nov 15 21:11:32 [1579] INFO:permissions:mod_init: default allow file<br>
(/usr/local/etc/opensips/permissions.allow) not found => empty rule<br>
set<br>
<br>
In respect to accounting, we have everything configured:<br>
<br>
<br>
# ----- acc params -----<br>
/* what sepcial events should be accounted ? */<br>
modparam("acc", "early_media", 1)<br>
# modparam("acc", "report_ack", 1)<br>
modparam("acc", "report_cancels", 1)<br>
modparam("acc", "detect_direction", 0)<br>
/* account triggers (flags) */<br>
modparam("acc", "failed_transaction_flag", 3)<br>
modparam("acc", "log_flag", 1)<br>
modparam("acc", "log_missed_flag", 2)<br>
/* uncomment the following lines to enable DB accounting also */<br>
modparam("acc", "db_flag", 1)<br>
modparam("acc", "db_missed_flag", 2)<br>
modparam("acc", "db_url", "mysql://<a href="http://user:pass@db.test.com/opensips" target="_blank">user:pass@db.test.com/opensips</a>")<br>
modparam("acc", "db_extra", "from_uri=$fu; to_uri=$tu")<br>
modparam("acc", "db_extra", "caller_id=$fu; calee_id=$tu")<br>
<br>
The database interaction is fine with everything else. Oh, and "report_ack"<br>
is no longer valid?<br>
<br>
Thanks in Advance,<br>
<br>
Nick.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>