17 Feb
2012
17 Feb
'12
9:05 a.m.
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.