What I use is this:<div><br></div><div>=== start of file ===</div><div><div><font face="courier new, monospace">#!/bin/sh</font></div><div><span style="font-family:&#39;courier new&#39;,monospace">FILETORUN=&quot;/data/fs/cdr.php&quot;</span></div>

<div><font face="courier new, monospace">if ps -ef | grep -v grep | grep ${FILETORUN} ; then</font></div><div><font face="courier new, monospace">        exit 0</font></div><div><font face="courier new, monospace">fi</font></div>

<div><span style="font-family:&#39;courier new&#39;,monospace">/usr/bin/php ${FILETORUN}</span></div><div>=== end of file ===</div><div><br></div><div>Regards</div><div>HASSAN</div><div><br></div><br><div class="gmail_quote">

On Fri, Jun 21, 2013 at 12:27 PM, Abdullah <span dir="ltr">&lt;<a href="mailto:abdullah@smonte.com" target="_blank">abdullah@smonte.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

hi ,<br>
<br>
thanks again ,,<br>
<br>
can you provide me the example . ??<br>
<br>
regards.<br>
<br>
<br>
Abdullah<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/How-create-customize-CDR-in-free-Switch-tp7591980p7592032.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/How-create-customize-CDR-in-free-Switch-tp7591980p7592032.html</a><br>


<div class="HOEnZb"><div class="h5">Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>