Lloyd, if you need to run different Lua scripts depending on some variables (or entirely skip the cdr), try my implementation. Documentation is in very embryonic state. You could get the overview from blog.buta-tech.com. Warning! all code snapshots on that page are obsolete! Latetest svn trunk is at http://nazim@svn.freeswitch.org/svn/freeswitch/trunk/contrib/nazim Regards, Nazim On 03/16/2010 01:38 AM, Aloysius Lloyd wrote:
I would like to do some Database insert and update operations , Not for all the calls only the calls originating from a particular script.
On Mon, Mar 15, 2010 at 5:15 PM, Michael Collins <msc@freeswitch.org <mailto:msc@freeswitch.org>> wrote:
On Mon, Mar 15, 2010 at 10:50 AM, Aloysius Lloyd <lloyd.aloysius@gmail.com <mailto:lloyd.aloysius@gmail.com>> wrote:
How to control the default-template. I do not want to run all the time when call hangup. I want only when I need for some hangup information..
Thanks Lloyd
I don't know that you can selectively run or not run a script at hangup time. However, since Lua is so lightweight it probably would be fine just to run it at each hangup. -MC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org