<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
Thanks for the quick response.<BR>
<BR>
Yes, the events will be collected from the CDR(caller details records) files. We will decode the CDR files and store in a database. So the Rule Engine should be able to process these events to identify who are the candidate winners. This winner selection criteria can be defined as a Rule. (Pls check the examples Rules specified in the mail). Rules need to fire with a scheduler basis not real time and winners will be notified at the end of the promotion period.<BR>
<BR>
So I would like to know the feasibility of Drools for this kind of an application.<BR>
<BR>
Thanks,<BR>
Thilina<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
</TD>
</TR>
</TABLE>
<BR>
On Thu, 2009-06-18 at 15:35 +0200, Wolfgang Laun wrote:
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">I've been doing similar things in an ESME (direct SMSC connection) but without rules, as the conditions were much simpler, and just handling SMS messages themselves.</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">&nbsp;</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">I guess you'll base your decision on billing records, possibly in connection with subscriber data. Billing records might be a bit bulky; and the class(es) representing them s.b. well structured (bean style). But I have seen telecommunication provider solutions where the data (from the subscriber DB) hat to be accessed using property keys, which would not be so nice for writing rules (with any such system, probably).</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">&nbsp;</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">Also, do you need to distribute your goodies in real time (so that a caller is informed right away - marketing will love that for obvious reasons) or can you do it after time 'Y'? The former is a little more intricate, especially distributing on a fractional rate (and not by &quot;every n-th&quot;).</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">&nbsp;</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">-W</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
    <FONT COLOR="#000000">&nbsp;</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">On 6/18/09, </FONT><FONT COLOR="#000000"><B>Thilina Anjitha</B></FONT><FONT COLOR="#000000"> &lt;<A HREF="mailto:thilina@hsenidmobile.com">thilina@hsenidmobile.com</A>&gt; wrote: </FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <FONT COLOR="#000000">Hi,</FONT><BR>
        <BR>
        <FONT COLOR="#000000">I'm planning to use drools to define rules and execute promotions for telecommunication events such as voice call, SMS, MMS, etc.. events. So we can expect very large amount of events per day.</FONT><BR>
        <BR>
        <FONT COLOR="#000000">We need to define different business rules to provide promotions, bonuses to the subscribers. Some of the example promotions are listed here.</FONT><BR>
        <BR>
        <FONT COLOR="#000000">1. During the period of X-Y, every 10th MMS sender gets $ 2.00 worth of free SMS. And the winners will be notified via SMS.</FONT><BR>
        <FONT COLOR="#000000">2. During the period of X-Y, random 100 calls to Japan of the CHAT tariff plan get free movie tickets. And the winners will be notified via SMS. The same subscriber will not be selected as winner again and again.</FONT><BR>
        <FONT COLOR="#000000">3. During the period of X-Y, any subscribers have usage for voice call or SMS get bonuses as follows :</FONT><BR>
        <FONT COLOR="#000000">$ 10 - 20 : get 20% as bonus of free SMS</FONT><BR>
        <FONT COLOR="#000000">$ 20 - 50 : get 50% as bonus of free air time</FONT><BR>
        <FONT COLOR="#000000">$ 50 - 70 : get 70% as bonus of free IDD</FONT><BR>
        <BR>
        <FONT COLOR="#000000">I'm in the evaluation period of the Drools for the system. If anybody give recommendations or flexibilities/limitations of the drools for our application.</FONT><BR>
        <BR>
        <FONT COLOR="#000000">Thanks,</FONT><BR>
        <FONT COLOR="#000000">Thilina</FONT><BR>
        <OL TYPE=1>
            <BR>
        </OL>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <BR>
        <FONT COLOR="#000000">_______________________________________________</FONT><BR>
        <FONT COLOR="#000000">rules-users mailing list</FONT><BR>
        <FONT COLOR="#000000"><A HREF="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A></FONT><BR>
        <FONT COLOR="#000000"><A HREF="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</A></FONT><BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
<PRE>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">rules-users mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A></FONT>
<FONT COLOR="#000000"><A HREF="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>