Hi,
see http://openser.org/docs/modules/stable/acc.html#AEN239.
regards, bogdan
Norman Brandinger wrote:
Hi,
Below is a little <snip></snip> of my config.
Note that the "define's" are preprocessed by M4. I found that as the config file grows in size, using human readable names in place of numbers greatly enhances productivity.
By the way, did you check out: http://openser.org/docs/modules/stable/acc.html ?
To quote:
1.5.4. |report_cancels| (integer) By default, CANCEL reporting is disabled -- most accounting applications are happy to see INVITE's cancellation status. Turn on if you explicitly want to account CANCEL transactions.
Regards, Norm
... define(`YES', 1) define(`FLAG_ACC', 6) define(`FLAG_ACC_DB', 7) ... modparam("acc", "report_cancels", YES) modparam("acc", "db_flag", FLAG_ACC_DB) modparam("acc", "log_flag", FLAG_ACC) ... #---------------------------------------------------------------- # Setup Accounting #---------------------------------------------------------------- if (is_method("BYE|REFER|CANCEL")) { setflag(FLAG_ACC); setflag(FLAG_ACC_DB); }; ...
D'Addelfio Davide wrote:
Hi to all,
i can’t understand why my openser doesn’t capture the Cancel and doesn’t store it into database, could anyone help me in some way? Please, I’m desperate…!!!
Attached my cfg file.
Thanks
Davide
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.3/374 - Release Date: 6/23/2006
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users