[Freeswitch-users] Real-time billing application for the FreeSWITCH (mod_lua, mod_perl or ESL)

jorgemariodlc jorgemariodlc at gmail.com
Thu Mar 5 01:17:47 MSK 2015


I actually working in it, I found it yesterday you need to add those lines
(/autoload_configs/lua.conf.xml):

<configuration name="lua.conf" description="LUA Configuration">
  <settings>
    
    <hook event="CHANNEL_ANSWER" script="answer.lua"/>
    <hook event="CHANNEL_HANGUP_COMPLETE" script="hangup.lua"/>

  </settings>
</configuration>

Check this link to know what information is in each event, because it's
important to handle the direction-call (Outbound, Inbound) 
https://wiki.freeswitch.org/wiki/Event_List 



--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Real-time-billing-application-for-the-FreeSWITCH-mod-lua-mod-perl-or-ESL-tp7593788p7596150.html
Sent from the freeswitch-users mailing list archive at Nabble.com.



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list