I believe that if you do the analysis xml_cdr file you can find the cause. For example, when make attendant transfer then destinational number is present in b-leg file On Mon, Mar 16, 2015, 15:28 Alexander Baldeck <alex.bldck@gmail.com> wrote:
Hello,
we are using Freeswitch 1.5.12b+git~20140324T234505Z~4dd0a5848f~64bit interfacing it with Plivo and experience an issue where our call detail records list the destination_number twice when someone picks up a call like so:
"Outbound Call","99901637777777","99901637777777","default","2015-02-28 13:15:00","2015-02-28 13:15:08","2015-02-28 13:16:32","92","84","NORMAL_CLEARING","24fdbb20-32a3-11e4- b883-e58f73531fe4","","","PCMA","PCMA"
If the call isn't picked up upon though, everything is alright and caller_id_number is logged alongside destination_number like so:
"","0123456789","99901637777777","default","2015-02-28 13:11:00","","2015-02-28 13:12:00","60","0","NO_ANSWER","95b050f4-32a2-11e4-b87f- e58f73531fe4","","","",""
The used template in cdr_csv.xml looks like this and I made sure it is being used:
<template name="example">"${caller_id_name}","${caller_id_number}"," ${destination_number}","${context}","${start_stamp}","${ answer_stamp}","${end_stamp}","${duration}","${billsec}","${ hangup_cause}","${uuid}","${bleg_uuid}","${accountcode}"," ${read_codec}","${write_codec}"</template>
I'm at a loss what's going on here, has anyone got insight on where to look?
Best, Alex
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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