Hi Paul!
Try to set failed_transactions.
from acc/README: 1.3.5. failed_transactions (integer)
Should be failed transactions (status>=300) accounted too ?
Default value is 0 (no).
Example 1-5. failed_transactions example modparam("acc", "failed_transactions", 1)
regards, klaus
Java Rockx wrote:
Hi All.
How do I get SER to account for failed INVITE messages? For example, if someone attempts to call a PSTN number and they do not have the free-pstn ACL, then our server replies with a 503 Service Unavailable.
I'd like to see this appear in the MySQL acc table.
Do I just use the setflag() function in the failure route for INVITEs?
For example:
route {
t_on_failure("1"); if (!t_relay()) { sl_reply_error(); break; }
}
faillure_route[1] { if (method=="INVITE") { setflag(1); } }
Regards, Paul
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers