[Freeswitch-users] cdr_csv.conf.xml

Miha Zoubek miha at softnet.si
Fri Feb 17 12:05:27 MSK 2012


Hi,

I can see this insert in .xml file:

<template name="sql">INSERT INTO cdr VALUES 
("${caller_id_name}","${caller_id_number}","${destination_number}","${context}","${start_stamp}","${answer_stamp}","${end_stamp}","${duration}","${billsec}","${hangup_cause}","${uuid}","${bleg_uuid}", 
"${accountcode}");</template>

For outgoing calls I am getting right cdr-s. Problems the is bothering 
me is, how can I change caller_id_name and caller_id_number when 302 
redirect happens beacuse caller_id_name and caller_id_number are wrong 
(inbound caller_id_name and caller_id_number , this values should be 
from phone, that has 302 set).

Thanks!

Miha

-- 
Best regards / Lep Pozdrav
Miha Zoubek
Softnet d.o.o.




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list