<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Lloyd, if you need to run different Lua scripts depending on some
variables (or entirely skip the cdr), try my implementation.<br>
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
<a class="moz-txt-link-freetext" href="http://nazim@svn.freeswitch.org/svn/freeswitch/trunk/contrib/nazim">http://nazim@svn.freeswitch.org/svn/freeswitch/trunk/contrib/nazim</a><br>
<br>
Regards,<br>
Nazim<br>
<br>
<br>
On 03/16/2010 01:38 AM, Aloysius Lloyd wrote:
<blockquote
cite="mid:8a19bf2e1003151438t532b522lb9f98462d744317@mail.gmail.com"
type="cite">I would like to do some Database insert and update
operations , Not for all the calls only the calls originating from a
particular script.
<div><br>
</div>
<div><br>
</div>
<div><br>
<div><br>
</div>
<div><br>
<br>
<br>
<div class="gmail_quote">On Mon, Mar 15, 2010 at 5:15 PM, Michael
Collins <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
<div class="gmail_quote">
<div class="im">On Mon, Mar 15, 2010 at 10:50 AM, Aloysius Lloyd <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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..
<div><br>
</div>
<div>Thanks</div>
<div>Lloyd</div>
</blockquote>
</div>
<div><br>
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.<br>
-MC<br>
</div>
</div>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>