[Freeswitch-users] where to put perl code to add cdr info

Darren Wiebe darren at aleph-com.net
Thu Sep 23 13:46:29 PDT 2010


  When I get back in the office I'll get a link to the script I use for 
that if you're interested.

Darren Wiebe

On 23/09/2010 1:04 PM, covici at ccs.covici.com wrote:
> I am sure you are correct, but I don't need to keep track of all that
> and I don't have a way to insert into a database using that module -- or
> at least I am not sure how to do this, whereas I have this nice Perl
> code which works fine.
>
> Nyamul Hassan<mnhassan at usa.net>  wrote:
>
>> And mod_xml_cdr is by far the most flexible CDR module on any
>> switching platform I have seen to date. It has complete record of what
>> went in the call, including details of applications that ran, the
>> arguments that were passed, and the SDP headers.
>>
>> FreeSWITCH rocks!
>>
>> Regards
>> HASSAN
>>
>>
>> On 2010-09-23, Sergey Okhapkin<sos at sokhapkin.dyndns.org>  wrote:
>>> You can have both mod_xml_cdr and mod_cdr_csv loaded.
>>>
>>> On Thursday 23 September 2010, covici at ccs.covici.com wrote:
>>>> Because I do not have a cgi script and have not looked at mod_xml_cdr
>>>> yet, and I found this nice simple perl program.  Also, I do want to keep
>>>> the plain text csv file, it comes in handy.
>>>>
>>>> Darren Wiebe<darren at aleph-com.net>  wrote:
>>>>> Why not do it using mod_xml_cdr and posting to a cgi script.&nbsp;That
>>>>> sure makes it flexible.
>>>>>
>>>>> -- Darren Wiebe
>>>>> Sent from my Palm Pre
>>>>> On 23 Sep 2010 5:36 a.m., covici at ccs.covici.com
>>>>> &lt;covici at ccs.covici.com&gt; wrote:
>>>>>
>>>>> I would like to  insert the cdr information when the call hangsup,
>>>>>
>>>>> rather than some kron job or something -- is there a way I can use
>>>>>
>>>>> hangup_api_hook to execute the perl code, or is this too early for
>>>>>
>>>>> cdr_csv to have populated the variables?
>>>>>
>>>>>
>>>>>
>>>>> Thanks.
>>>
>>> _______________________________________________
>>> 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
>>>
>> -- 
>> Sent from my mobile device
>>
>> _______________________________________________
>> 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