<div dir="ltr">There are many ways to do the billing. In my case, I use mod_nibblebill only to monitor to cut the call if they run out of credit and I interact with mod_xml_cdr to bill when the call has just finished.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Luis Daniel Lucio Quiroz<br>CISSP, CISM, CISA<br>Linux, VoIP and much more fun<br><a href="http://www.okay.com.mx" target="_blank">www.okay.com.mx</a><br><br>Need LCR? Check out LCR for FusionPBX with FreeSWITCH<br>Need Billing? Check out Billing for FusionPBX with FreeSWITCH</div></div>
<br><div class="gmail_quote">2015-03-04 17:17 GMT-05:00 jorgemariodlc <span dir="ltr">&lt;<a href="mailto:jorgemariodlc@gmail.com" target="_blank">jorgemariodlc@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I actually working in it, I found it yesterday you need to add those lines<br>
(/autoload_configs/lua.conf.xml):<br>
<br>
&lt;configuration name=&quot;lua.conf&quot; description=&quot;LUA Configuration&quot;&gt;<br>
  &lt;settings&gt;<br>
<br>
    &lt;hook event=&quot;CHANNEL_ANSWER&quot; script=&quot;answer.lua&quot;/&gt;<br>
    &lt;hook event=&quot;CHANNEL_HANGUP_COMPLETE&quot; script=&quot;hangup.lua&quot;/&gt;<br>
<br>
  &lt;/settings&gt;<br>
&lt;/configuration&gt;<br>
<br>
Check this link to know what information is in each event, because it&#39;s<br>
important to handle the direction-call (Outbound, Inbound)<br>
<a href="https://wiki.freeswitch.org/wiki/Event_List" target="_blank">https://wiki.freeswitch.org/wiki/Event_List</a><br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Real-time-billing-application-for-the-FreeSWITCH-mod-lua-mod-perl-or-ESL-tp7593788p7596150.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Real-time-billing-application-for-the-FreeSWITCH-mod-lua-mod-perl-or-ESL-tp7593788p7596150.html</a><br>
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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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>
</blockquote></div><br></div>