--- Stipe Tolj <[EMAIL PROTECTED]> wrote: > "Kita B. Ndara" wrote: > > > > Is there any good reason why the kannel sms part > does > > not incorporate some kind of billing support? What > I > > have in mind is: > > - Before a message is sent to the SMSC, a script > is > > run by bearerbox. If it returns zero, the message > is > > sent. This is for balance checking > > - When the SMSC accepts the message, another > command > > is run. > > Both commands would be specified in the SMSC > group of > > the conf file, and %P, %i, etc are allowed. > > what do you mean with %P, %i, etc is allowed? What I mean is to allow a config file element (in SMSC group) that is a command that is called by bearerbox before it inserts the msg into the smsc specific queue, and another command in the conf file that is run after the SMSC accepts the message. Both comamnd specs allow substitution of %P, %p (sender, recipient) and others. > > > > Any thoughts? > > Kannel's scope of function is beyond billing. In > other words, billing > should be done by software component entities that > are *not* part of > Kannel. > > To make it short and simple. It's more or less a > religious question if > you incorporate billing facilities to Kannels > functional scope. Most > of us decided not to do this, because billing (in > that SMS traffic > sense) is not standardized in any way and hence we > would implement > properietary things, which open source developer > don't like :)
Ok, but in this case kannel would merely leave it up to external commands to provide this functionality -- just as we do for content. That is, only if the pre-submit comamnd returns TRUE do we put the msg on the smsc-specific queue, and after it is accepted, we run the post-submit command. The first one is like a balance check, the latter the real billing command. Does this still violate the goodness of OS? > Stipe > > [EMAIL PROTECTED] > ------------------------------------------------------------------- > Wapme Systems AG > > Vogelsanger Weg 80 > 40470 D�sseldorf > > Tel: +49-211-74845-0 > Fax: +49-211-74845-299 > > E-Mail: [EMAIL PROTECTED] > Internet: http://www.wapme-systems.de > ------------------------------------------------------------------- > wapme.net - wherever you are __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
