You&#39;re welcome Abdullah!<div><br></div><div>I do not trigger my PHP script from within FreeSWITCH.  I run it every minute from Linuxx cron through a bash wrapper.  The wrapper serves an important purpose --- finding out if there is already an instance of the script running.</div>

<div><br></div><div>This method does result in a delay (max 1 min) from the time the CDR file was created, to when it was posted in the DB.  But, we accept this delay for our use case, as it provides other benefits related to reliability, load distribution, etc.</div>

<div><br></div><div>Regards</div><div>HASSAN</div><div><br></div><div><br><br><div class="gmail_quote">On Fri, Jun 21, 2013 at 11:59 AM, 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">THANKS HASSAN,<br>
<br>
i have write my own Perl script for CDR purpose . so tell me how i can call<br>
this script on call hangup of free-switch .<br>
<br>
i asterisk we can call that script on h extension . but in free-switch i am<br>
little bit confused ??<br>
<br>
Thanks again .<br>
<br>
regards<br>
<br>
Abdullah<br>
<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-tp7591980p7592028.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/How-create-customize-CDR-in-free-Switch-tp7591980p7592028.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>