<div dir="ltr">Hi All'<div><br></div><div>can i set multiple sql template in cdr_csv_conf.xml??? </div><div><br></div><div>like this:</div><div><br></div><div><configuration name="cdr_csv.conf" description="CDR CSV Format"></div><div> <settings></div><div> <!-- 'cdr-csv' will always be appended to log-base --></div><div> <!--<param name="log-base" value="/var/log"/>--></div><div> <!--<param name="default-template" value="example"/>--></div><div> <param name = "default-template" value = "sql" /></div><div> <!-- This is like the info app but after the call is hung up --></div><div> <!--<param name="debug" value="true"/>--></div><div> <param name="rotate-on-hup" value="true"/></div><div> <!-- may be a b or ab --></div><div> <param name="legs" value="a"/></div><div> <!-- Only log in Master.csv --></div><div> <!-- <param name="master-file-only" value="true"/> --></div><div> </settings></div><div> <templates></div><div> <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></div><div><br></div><div> <template name="sql">INSERT INTO csv VALUES ('${client_id}', '${user_id}','${destination_number}','${caller_id_number}', '${start_stamp}','${end_stamp}','${answer_stamp}','${duration}','${ivr_duration}','${transfer_duration}', '${first_dtmf}', '${vmrecuri}', '${callrecording_file}', '${action}', '${agent}', '${project_id}', '${level}', '${ruleid}', '${sticky_flag}', 'NORMAL'</template></div><div> </configuration> </div><div> <br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Warm regards<div>Chandra Adhikari</div><div>+91 8377939169</div></div></div></div>
</div></div>