What MC meant was mod_xml_cdr, not mod_xml_curl. Just to avoid confusions.

JM

On Tue, Dec 1, 2009 at 3:31 PM, Michael Collins <msc@freeswitch.org> wrote:


On Sun, Nov 29, 2009 at 10:06 AM, Puskás Zsolt <errotan@gmail.com> wrote:
Hi Guys!

I'm using the latest svn (15711) with the default xml config. Only modified
cdr_csv.conf.xml the line <param name="legs" value="a"/> to <param name="legs"
value="ab"/>

Here is what i do:

1. 1000 calls 1001 (1001 answers the call)
2. 1001 do blind transfer to 1002 (using *1)
3. 1001 hangs up
4. 1002 answers the call
5. 1002 and 1000 hangs up

3 cdr records are generated (simplified):

from,to,start,duration
"1000" "1001" "2009-11-29 15:21:53" "53" "50"
"1000" "1002" "2009-11-29 15:21:53" "79" "76"
"1000" "1002" "2009-11-29 15:22:46" "26" "23"

As you can see the second cdr is incorrect because 1000 doesn't speak with
1002 for 76 second.

Is this a normal ? Is it possible to make only 2 record ?

You may want to turn on mod_xml_curl and look at XML CDRs, comparing them to the corresponding CSV files. That should help you figure out why the values in the CSV are what they are.
-MC


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org