The requirement looks pretty basic.

I would personally do as follows:
1. Choose XML CDR
2. Write a script (my choice would be in PHP) that would:
a) get list of files in XML CDR folder
b) parse each of the XML files to extract the fields you mentioned
c) add 1444 in front of caller-id
d) write to database
e) move the XML file to a backup folder

Regards
HASSAN

On Jun 20, 2013 1:32 PM, "Abdullah" <abdullah@smonte.com> wrote:
hi ,

basically i want to store data of Call on A-Leg,
like following Field , caller-id ,context ,channel ,trunk information ,
duration , status (answer,hangup etc) ,Extension append with any
international code if call come from USA DID number to my FS  like 444XXXXX.
i want to store caller_id with 1444xxxxx .


ANY IDEA ??




--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-create-customize-CDR-in-free-Switch-tp7591980p7591992.html
Sent from the freeswitch-users mailing list archive at Nabble.com.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org