Re: [SR-Users] Logging All Transactions

2015-01-26 Thread Ryan Brindley
Any help on trying to figure out what's wrong here would be greatly appreciated. Ryan Brindley Software Development Officer Stratics Networks, Inc. 1.866.635.6918 x108 On Mon, Jan 26, 2015 at 1:40 PM, Ryan Brindley wrote: > acc_db_request did log to the log file, but it didn't provide the resp

Re: [SR-Users] Logging All Transactions

2015-01-26 Thread Ryan Brindley
acc_db_request did log to the log file, but it didn't provide the resp code and message (first line is a properly working log, 2nd line is the result of acc_db_request): INVITE|16||16-15065@173.192.77.66|420|Request Failure|1422031914| INVITE|2||2-9800@173.192.77.66||Some comme

Re: [SR-Users] Logging All Transactions

2015-01-26 Thread Ryan Brindley
Yea, confirmed that added t_newtran(); above my setflag(FLT_ACC); line (and t_release() after the send_reply() line) did not produce a log entry. Ryan Brindley Software Development Officer Stratics Networks, Inc. 1.866.635.6918 x108 On Mon, Jan 26, 2015 at 11:33 AM, Ryan Brindley wrote: > Thank

Re: [SR-Users] Logging All Transactions

2015-01-26 Thread Ryan Brindley
Thanks Daniel. Ive tried with t_newtran (just before the setflag calls) and i don't remember it working. I will try again as well as explicitly calling the requests. Is there any (major) performance hit by calling the requests explicitly? On Jan 26, 2015 11:25 AM, "Daniel-Constantin Mierla" wro

Re: [SR-Users] Logging All Transactions

2015-01-26 Thread Daniel-Constantin Mierla
The accounting with flags is relying on transaction states, so you have to create it. Either use acc_db_request() and acc_log_request() in the config (they work without creating the transaction in your example) or t_newtran() before send_reply(). Cheers, Daniel On 26/01/15 18:08, Ryan Brindley

[SR-Users] Logging All Transactions

2015-01-26 Thread Ryan Brindley
I've been working to try to get kamailio (4.1) to log every transaction to file, but can't seem to do it -- or even get it to reliably log. What the heck am i missing? It seems Kamailio logs the first time i try it on a day, but then won't do it again no matter what variation of configs I try. Is