Re: [SR-Users] [sr-dev] Missing accounting events in ACC table

2015-01-07 Thread Daniel-Constantin Mierla
On 07/01/15 09:21, Muhammad Shahzad wrote: > Finally i have found the problem and fixed it. I was creating new > transaction for initial invite request too early (immediately after > authentication and checking for re-transmits of initial requests), e.g. > > ... > # request with no Username in

Re: [SR-Users] [sr-dev] Missing accounting events in ACC table

2015-01-07 Thread Muhammad Shahzad
Finally i have found the problem and fixed it. I was creating new transaction for initial invite request too early (immediately after authentication and checking for re-transmits of initial requests), e.g. ... # request with no Username in RURI if ($rU==$null) { sl_send_reply("484"

Re: [SR-Users] [sr-dev] Missing accounting events in ACC table

2015-01-05 Thread Muhammad Shahzad
OK, finally back at office after holidays. I have done extensive testing of various kamailio revisions (backwards up to November) and it seems that problem is not related to any change in native code. It is somehow related to kamailio.cfg, which is very strange, since only changes in previous depl

Re: [SR-Users] [sr-dev] Missing accounting events in ACC table

2014-12-29 Thread Muhammad Shahzad
OK, i will run some tests and get back to you. Thank you. On Sat, Dec 27, 2014 at 10:22 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > I did a basic test (acc with parameters as in default kamailio.cfg) and > invite is accounted ok. I used master branch, but there is no difference >

Re: [SR-Users] [sr-dev] Missing accounting events in ACC table

2014-12-27 Thread Daniel-Constantin Mierla
I did a basic test (acc with parameters as in default kamailio.cfg) and invite is accounted ok. I used master branch, but there is no difference with acc from 4.2. Can you run with debug=3 and see all the log messages, maybe you get a further hint from there. Also, you can try with clone_msg para

Re: [SR-Users] [sr-dev] Missing accounting events in ACC table

2014-12-24 Thread Muhammad Shahzad
After upgrade to version 4.2.1-a2aa22, result is same. Thank you. On Wed, Dec 24, 2014 at 1:32 PM, Muhammad Shahzad wrote: > Looking at log level 3 logs, i see when INVITE has been authenticated ACC > module creates the dialog, > > -- > DEBUG: acc [acc_cdr.c:726]: cdr_on_create(): dialog '0xa

Re: [SR-Users] [sr-dev] Missing accounting events in ACC table

2014-12-24 Thread Muhammad Shahzad
Looking at log level 3 logs, i see when INVITE has been authenticated ACC module creates the dialog, -- DEBUG: acc [acc_cdr.c:726]: cdr_on_create(): dialog '0xa5936e70' created! -- But acc callback is only triggered AFTER 200 OK of BYE request, -- DEBUG: acc [acc_logic.c:644]: tmcb_func(): acc c

Re: [SR-Users] [sr-dev] Missing accounting events in ACC table

2014-12-24 Thread Muhammad Shahzad
See attached SIP trace. Note, i have obfuscated source and destination number and IPs etc. due to privacy reasons. Thank you. On Wed, Dec 24, 2014 at 10:36 AM, Muhammad Shahzad wrote: > OK, i will upgrade my staging server and do some testing. > > The acc module does not post records anywher

Re: [SR-Users] [sr-dev] Missing accounting events in ACC table

2014-12-24 Thread Muhammad Shahzad
OK, i will upgrade my staging server and do some testing. The acc module does not post records anywhere, neither syslog nor db. The problem is happening to all calls (not any specific call). Regarding the FROM header, the only change done is to add "+" to callerid (after replacing 00 if present),

Re: [SR-Users] [sr-dev] Missing accounting events in ACC table

2014-12-23 Thread Daniel-Constantin Mierla
Hello, you can try with latest git branch 4.2 and see the results. At a quick look between the version you reported to work and the new version you run, I couldn't spot a commit that could be the reason. Do you get the acc record in syslog for INVITE? How do you set the values for replacing Fro