You can always have your lua script fire a custom event on api_hangup...this will only send the data you specify in your event.<br><br><div class="gmail_quote">On Sat, May 2, 2009 at 1:36 PM, Nik Middleton <span dir="ltr">&lt;<a href="mailto:nik.middleton@noblesolutions.co.uk">nik.middleton@noblesolutions.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">










<div lang="EN-US" link="blue" vlink="purple">

<div>

<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Hi Guys,</span></font></p>

<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Is there an alternative to the hang-up event that doesn’t
send quite as much data?  This event is HUGE! </span></font></p>

<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">All I’m looking for this the result of the call,
duration, dialed number and the ability to pass variables.  The hang-up
event does all of this I know, but I also get everything including the stock market reports (just kidding)</span></font></p>

<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Right now I’m using custom events for successful calls
and the BACKGROUND_JOB for call fails as my application is running an lua
script on call answer, but this doesn’t get called if the call fails</span></font></p>

<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Regards</span></font></p>

<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

</div>

</div>


<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>
<br></blockquote></div><br>