[Freeswitch-users] CDR logs - adding a custom field

Michael Collins msc at freeswitch.org
Fri Dec 12 12:32:44 PST 2008


I don't know about "good" examples. I just hacked together a perl
script to extract the very specific elements for my application. If
anyone out there has a sample XML-to-db parser that would be very
welcomed...
-MC

On Fri, Dec 12, 2008 at 12:28 PM, Shelby Ramsey <sicfslist at gmail.com> wrote:
> Are there any good examples floating around of XML parsers for this to dump
> to MySQL?
>
> On Fri, Dec 12, 2008 at 2:22 PM, Michael Collins <msc at freeswitch.org> wrote:
>>
>> On Fri, Dec 12, 2008 at 12:14 PM, Alexandru Nedelcu <alex at sinapticode.ro>
>> wrote:
>> > Thanks Michael,
>> >
>> > I'm going to use XML, since I don't really know what variables I want.
>> > Another problem with CSV is that many people parse them with regular
>> > expressions and scripts break when you add a new column.
>> >
>>
>> This is true. If you build a proper parser for your XML it will easily
>> be able to handle new channel variables.
>> -MC
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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
>
>




More information about the FreeSWITCH-users mailing list