[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can't get value from Gnokii Command
From: |
Pin~1.com.my |
Subject: |
Can't get value from Gnokii Command |
Date: |
Sat, 16 Nov 2002 19:14:01 +0800 |
Dear All,
I have setup my Gnokii SMS sending queue system with Perl. I am using gnokii
0.4.3
There is a problem where I can't get the value from the output of the
command.
The script I have is :
....
$reply = `echo 'message' | gnokii --sendsms 10234812`;
chomp($reply);
if($reply eq "Send succeeded!") {
....
The $reply return no value... I had tested it whole day.... Really hope
someone can give me some light... thanks a lot.
Cheers,
Earnpin Lee
----- Original Message -----
From: "Leos Tovarek, Ph.D." <address@hidden>
To: <address@hidden>
Sent: Saturday, November 16, 2002 3:05 PM
Subject: Re: Sending SMS faster
> Hi Niels,
>
>
> I am afraid that gnokii is not a tool developed for your kind of
application
> with sending thousands SMS in a short time. I believe you should rather
> contact your operator and agree using their SMS gateway.
>
> I have used gnokii for alerts about operation problems in ISP technology
> for a long time. It has worked fine but there are only a few messages
> needed to be sent.
>
> The only problem is that SMS delivering has a delay (hours) sometimes.
>
> I hope that my experience can be usefull for you.
>
> Best regards,
>
>
> Leos.
>
>
>
> ----- Original Message -----
> From: Niels Andersen <address@hidden>
> To: <address@hidden>
> Sent: Nov 16 2002 10:59
> Subject: Sending SMS faster
>
>
> > When I send an SMS it is sent in about 4 seconds. But after the SMS is
sent,
> > at takes about 10 seconds before the program returns.
> >
> > This delay is a huge problem, since the project I'm working on has to be
able
> > to send thousands of SMSs over a short period of time.
> >
> > Does anybody know why I see this delay? Or more important, how can I
avoid it?
> >
> > From gnokkiirc:
> >
> > port = /dev/ttyS1
> > model = 3210
> > initlength = 1
> > connection = serial
> >
> > With an initlength of 1 in stead of default, gnokii connects much faster
to
> > the phone.
> >
> > I'm currently testing with a Nokia 3210, it is not yet decided what
model we
> > will use. Maybe we will buy some GSM-modems designed for services like
this,
> > and maybe we will just buy the cheapest Nokia 3?10. :)
> >
> > --
> > Niels Andersen
> >
> >
> > _______________________________________________
> > gnokii-users mailing list
> > address@hidden
> > http://mail.nongnu.org/mailman/listinfo/gnokii-users
>
>
>
> _______________________________________________
> gnokii-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/gnokii-users
>