<p dir="ltr">The requirement looks pretty basic.</p>
<p dir="ltr">I would personally do as follows:<br>
1. Choose XML CDR<br>
2. Write a script (my choice would be in PHP) that would:<br>
a) get list of files in XML CDR folder<br>
b) parse each of the XML files to extract the fields you mentioned<br>
c) add 1444 in front of caller-id<br>
d) write to database<br>
e) move the XML file to a backup folder</p>
<p dir="ltr">Regards<br>
HASSAN</p>
<div class="gmail_quote">On Jun 20, 2013 1:32 PM, &quot;Abdullah&quot; &lt;<a href="mailto:abdullah@smonte.com">abdullah@smonte.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi ,<br>
<br>
basically i want to store data of Call on A-Leg,<br>
like following Field , caller-id ,context ,channel ,trunk information ,<br>
duration , status (answer,hangup etc) ,Extension append with any<br>
international code if call come from USA DID number to my FS  like 444XXXXX.<br>
i want to store caller_id with 1444xxxxx .<br>
<br>
<br>
ANY IDEA ??<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/How-create-customize-CDR-in-free-Switch-tp7591980p7591992.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/How-create-customize-CDR-in-free-Switch-tp7591980p7591992.html</a><br>

Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div>