[Freeswitch-users] FreeSWITCH load CDR CSV to Mysql, theoretical problem?
Henrik Aagaard Sørensen
henrikaagaardsorensen at gmail.com
Wed Jan 25 22:28:36 MSK 2012
Should __DATA__ be at the very very end, after exit 0;
So:
exit 0;
__DATA__
On Wed, Jan 25, 2012 at 8:07 PM, Paul Cupis <paul at cupis.co.uk> wrote:
> On 25/01/12 19:06, Paul Cupis wrote:
>> unless (flock(DATA, LOCK_EX|LOCK_NB)) {
>> exit;
>> print "$0 is already running. Exiting.\n";
>> exit(1);
>> }
>
> Er. editing the commands inside the braces above to suit. :)
>
> Regards,
>
> _________________________________________________________________________
> 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
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list