Hi Bruno,

Am Donnerstag, 19. Juni 2003 16:03 schrieb Bruno Rodrigues:
> Stipe Tolj <[EMAIL PROTECTED]> wrote:
> > Bruno Rodrigues wrote:
> >> You need to "sleep" right after sending the message for it to work.
> >> We can have configuration code in smsccon abstraction and only that
> >> "usleep" inside smsc_* modules.
> >
> > why not having the whole throttling mechanism inside the abstracted
> > layer?
> >
> > This would also help in AT2 module, because most GSM modems don't like
> > be hit by 100 msg/sec. ;)
>
> If I'm not mistaken, EMI has a list feed by SMSConn or something and
> smsc_emi reads it and feeds it into smsc, so you can't sleep before
> filling that list, you have to sleep right after sending the message (in
> emi case, sleep AFTER receives ack) to take in consideration received
> messages and  other particularities.
>
> As I told, sleep is one line, just copy/paste it into every module in
> the right place and move microsecond calculation and config file
> processing to smscconn.

hmm, sleep is very bad (imho). In this sleep time you can maybe handle 100 
delivery receipts instead just sleeping. It would be great to add abstracted 
bandwidth calculation code to kannel and then send only if bandwidth allow 
this.

-- 
Best regards / Mit besten Grüßen aus Köln

Dipl.-Ing.
Alexander Malysh
___________________________________

Centrium GmbH
Ehrenstrasse 2
50672 Köln

Fon: +49 (0221) 277 49 240
Fax: +49 (0221) 277 49 109

email: a.malysh at centrium.de
web: http://www.centrium.de
msn: olek2002 at hotmail.com
___________________________________________

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


Reply via email to