[Freeswitch-users] cdr_csv.conf.xml

Miha Zoubek miha at softnet.si
Fri Feb 17 13:30:29 MSK 2012


On 2/17/2012 10:05 AM, Miha Zoubek wrote:
> 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
>
Here is also my pastebin :http://pastebin.freeswitch.org/18425

caller-id is wrong (0038618100100 should be 018108500 )

Thanks!

-- 
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