[Freeswitch-users] How create customize CDR in free-Switch .
Nyamul Hassan
nyamul at gmail.com
Thu Jun 20 19:12:37 MSD 2013
Which method of output in XML_CDR did you implement? There are two:
1. Writing to a file on disk and then parsing the file
2. Writing to HTTP / HTTPS via POST and handle the parsing on the web
server side
As in the earlier suggested solution from myself, I prefer #1. An added
advantage of this is, I can see the content of the XML file in a simple
text file reader, and modify my parsing script accordingly.
Usually the "sip_from_user" variable carries the "caller id". If that is
true for your case, then in PHP it would be something like (assuming
$sip_from_user is initiated with the corresponding XML value):
$sip_from_user = "1444" . $sip_from_user;
Regards
HASSAN
On Thu, Jun 20, 2013 at 8:20 PM, Abdullah <abdullah at smonte.com> wrote:
> HI ALL,
>
>
> I have used *"XML-CDR"* in free-switch .
>
> I have successfully created Cdr IN TABLE OF cdr with default pattern .
>
> I want to change that field name and data with append some digit on its
> caller_id .
>
>
>
> any Idea,
>
> THANKS
>
>
>
> --
> View this message in context:
> http://freeswitch-users.2379917.n2.nabble.com/How-create-customize-CDR-in-free-Switch-tp7591980p7592004.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/77240449/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list