From miconda@gmail.com Tue Dec 23 22:10:11 2014 From: Daniel-Constantin Mierla To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] [sr-dev] Missing accounting events in ACC table Date: Tue, 23 Dec 2014 22:10:03 +0100 Message-ID: <5499DA2B.7060200@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0016122693==" --===============0016122693== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 From header? If you load from database, be sure the values are valid. I see the uac module complains about restoring operation. It might be the reason for the issues -- config could be ok, but the subscriber data wrong. You should save the traffic for a while and check the packets for missing records -- you can use tools such as tcpdump, sipgrep, ngrep to store the traffic in a file for later analysis. When you find a missing record, search in the file with the sip traffic and see if something is broken there. Cheers, Daniel On 23/12/14 21:45, Muhammad Shahzad wrote: > Hi, > > About 3 weeks ago i upgraded one of my production server with latest > stable kamailio version 4.2.1-fad00a. Now i am getting a lot of > complaints about missing CDR events in ACC table. I observe following > problems, > > 1. There are only BYE records in acc table, no record for INVITE or ACK. > 2. In kamailio logs when ACK is received against 200 OK response for > INVITE, i see following errors, > > -- > ERROR: [parser/parse_from.c:113]: parse_from_uri(): failed to > parse From uri > ERROR: pv [pv_core.c:434]: pv_get_xto_attr(): cannot parse From URI > NOTICE: