Easy to use, obvious? :-) Ahahaha! This is Kamailio, come on.
But seriously, xlog() is the logging feature, and it is easy to use:
route {
xlog("L_INFO", "$ci: Message $rm $ru received from
$si:$sp\n");
}
onreply_route {
xlog("L_INFO", "Reply '$rs $rr' ($rm) from $si:$sp
seen\n");
}
The problem is that you were under the misapprehension that the 'acc'
module is the logging facility, when in fact it is the accounting module
designed to generate CDRs--of a sort.
The fact that this distinction was not obvious is in no way your fault.
It's just the trials and tribulations of Kamailio documentation.
Hopefully the new book will remedy that.
-- Alex
On 01/26/2015 07:31 PM, Ryan Brindley wrote:
Because that solution, which now sounds easy and
great, was not openly
obvious to me when searching through the docs and trying to determine
the best way to log all transactions.
I naturally assume that the logging features in a product are relatively
easy to use and configure.
xlog it is. ty.
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web:
http://www.evaristesys.com/,
http://www.alexbalashov.com/