Re: SMPP throttling

"Bruno David Rodrigues" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <022801c1be76$6e125c80$0200a8c0@davi>
I've done spam^H^H^H^Hmarketing with something like this:

a text file with one msisdn per line

send.pl (which you can cancel and restart at the last number):
#!/usr/bin/perl

$|=1;

$file=shift;
$command=shift;

$last="";
if( -e "$file.lock") {
        open(X, "$file.lock");
        $last=<X>;
        chop($last);
        close(X);
        print "Restarting at $last\n";
        $start=0;
} else {
        $start=1;
}

open(X, "$file");

$i=0;
foreach $line (<X>) {
        $i++;
        chop($line);
        if($start == 0) {
                print "Skipping $i - $line          \r";
                if($line eq $last) {
                        $start=1;
                }
                #sleep(1);
                next;
        }

        print "Sending $i - $line          \r";
        `$command $line`;

        if ( $i % 20 == 0) {
                sleep(1);
        }


        #sleep(1);

        open(X, ">$file.lock");
        print X "$line\n";
        close(X);
}

command:
#!/bin/bash

lynx -source -dump
'http://localhost:13013/sendsms?user=user&pass=pass&from=12345&&text=somethi
ng&to='$1



----- Original Message -----
From: "Matthew Flax" <[email protected]>
To: "Bruno David Rodrigues" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, February 26, 2002 3:17 AM
Subject: Re: SMPP throttling


> Yeah - thanks ... I actually meant 'what is a method to send many requests
> to smsbox all at once to test it'
>
> It seems the utility in gateway/test/test_http is the best for doing this!
>
> On 26 February 2002, Bruno David Rodrigues wrote:
> > Use more than one smsbox if necessary and disable checking malloc
> > to allow the store.lock file to grow if necessary
> >
> > ----- Original Message -----
> > From: "Matthew Flax" <[email protected]>
> > To: "gatewayZgalore" <[email protected]>
> > Sent: Thursday, February 21, 2002 6:46 AM
> > Subject: SMPP throttling
> >
> >
> > > Hello,
> > >
> > > I was wondering do people throttle SMPP using aysnc HTTP requests ?
> > > If so then can smsbox handle this ?
> > >
> > > Also what are the best messages per second bandwidth ? Can it handle
450
> > > SMSs per second ?
> > >
> > > thanks alot
> > > --
> > > Matt
> > >
> > > For electronic musicians ...
> > > Vector Bass          : http://mffmvectorbass.sourceforge.net/
> > > For developers ...
> > > TimeScale Audio Mod  : http://mffmtimescale.sourceforge.net/
> > > Multimedia Time Code : http://mffmtimecode.sourceforge.net/
> > > 3D Audio Library     : http://mffm3daudiolib.sourceforge.net/
> > >
> > >
>
> --
> Matt
>
> For electronic musicians ...
> Vector Bass          : http://mffmvectorbass.sourceforge.net/
> For developers ...
> TimeScale Audio Mod  : http://mffmtimescale.sourceforge.net/
> Multimedia Time Code : http://mffmtimecode.sourceforge.net/
> 3D Audio Library     : http://mffm3daudiolib.sourceforge.net/
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.