[Freeswitch-users] How create customize CDR in free-Switch .

Nyamul Hassan nyamul at gmail.com
Thu Jun 20 11:44:18 MSD 2013


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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130620/3c626518/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list