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

Ross McKillop ross at ossiantelecom.co.uk
Thu Sep 23 04:56:29 PDT 2010


On 23 Sep 2010, at 12:29, covici at ccs.covici.com 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?

Have you considered mod_xml_cdr and having it call a perl script
that inserts the CDR immediately into your database (this is what I
do, but with PHP)

Ross






More information about the FreeSWITCH-users mailing list