Hi, I have tested the procedure from versions 2.0 and for me it is working.
This is what I have in cdrs table: +---------+---------------------+----------+---------+---------+------------+-------------+--------------------+----------------------------------------------+-----------+---------------------+----------+----------------+-----------+-----------+-------+----------+----------+ | cdr_id | call_start_time | duration | src_uri | dst_uri | leg_status | sip_call_id | sip_from_tag | sip_to_tag | cdr_rated | created | leg_type | leg_transition | caller_id | callee_id | in_gw | cdr_cost | cdr_type | +---------+---------------------+----------+---------+---------+------------+-------------+--------------------+----------------------------------------------+-----------+---------------------+----------+----------------+-----------+-----------+-------+----------+----------+ | 3240992 | 2008-03-11 09:15:31 | 1278 | | | | 0 | 3414215730-225296 | as15c30224 | 0 | 2009-06-01 15:51:15 | | | | | | 0 | 0 | | 3240993 | 2008-03-11 09:15:31 | 1278 | | | | 0 | 3414215730-225296 | as15c30224 | 0 | 2009-06-01 15:51:17 | | | | | | 0 | 0 | | 3240994 | 2008-03-11 09:15:45 | 329 | | | | 0 | 3414215744-697133 | as397715d1 | 0 | 2009-06-01 15:51:18 | | | | | | 0 | 0 | | 3240995 | 2008-03-11 09:15:48 | 130 | | | | 0 | 3414215738-738846 | gj-2k5-47a1d722-00005d2e-0000bb0eR4c53b64c.b | 0 | 2009-06-01 15:51:20 | | | | | | 0 | 0 | ...Have you added in acc table the cdr_id field, have you set it on 0 before running the procedure? Regards, Iulia Цэвээндорж ЖиМэйл wrote: > Hello, > > I have the following values in the ACC table. > > 4 INVITE bf619b38 8455d33f > OTQxNTllZjdkYTBiNjg4NjJhOTYzNjdhZTFiM2YzNWY. 200 OK 2009-05-29 > 20:45:40 /NULL/ > > 5 ACK bf619b38 8455d33f > OTQxNTllZjdkYTBiNjg4NjJhOTYzNjdhZTFiM2YzNWY. 200 OK 2009-05-29 > 20:45:40 /NULL/ > > 6 BYE 8455d33f bf619b38 > OTQxNTllZjdkYTBiNjg4NjJhOTYzNjdhZTFiM2YzNWY. 200 OK 2009-05-29 > 20:52:40 /NULL/ > > > > Sincerely, > Tseveen. > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
