RE: global-sender on a smsc basis ?

"Angel Fradejas" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
I'm working on this, just wanted to point out that this way, one _must_ set
global-sender to whatever value, even knowing that bearerbox will change it.
If not, smsbox will reject the message with a "Sender missing and no global
set, rejected" reason.

An example config would be:

  group = smsbox
  global-sender = 1111 (or whatever)

  group = smsc
  smsc-id = A
  default-sender = 1111

  group = smsc
  smsc-id = B
  default-sender = 2222

And then, the sendsms requests from the applications without a &from=, to
let bearerbox select the appropiate one.

Agree?

Angel Fradejas.



-----Mensaje original-----
De: [email protected] [mailto:[email protected]]En
nombre de Andreas Fink
Enviado el: martes 29 de enero de 2002 16:47
Para: Angel Fradejas
CC: [email protected]
Asunto: RE: global-sender on a smsc basis ?


>Ok, I could rework my patch to take this into account.
>
>So we'd have
>
>smsbox       global-sender
>sms-service  faked-sender
>smsc         default-sender
>And of course an optional &from= in every message.
>
>And bearerbox behaviour would be
>
>&from=            never overrideable by smsc default-sender
>global-sender     overrideable by smsc default-sender (only if applied by
>smsbox)
>faked-sender      overrideable by smsc default-sender (only if applied by
>smsbox)
>an empty sender   overrideable by smsc default-sender
>
>I do not know the impact of having message in bearerbox with an empty
>sender. Will any driver complain about that?
>
>Before going any further with this implementation, I would like to hear
what
>to do if a message goes all the way to bearerbox with an empty sender and
>there's not default-sender.

you can set the default sender in smsbox but have a flag indicate
that it can be overriden by a more specific default (smsc specific
one).

--

Andreas Fink
Fink-Consulting

------------------------------------------------------------------
Tel: +41-61-6932730 Fax: +41-61-6932729  Mobile: +41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail:  [email protected]  Homepage: http://www.finkconsulting.com
------------------------------------------------------------------
Something urgent? Try http://www.smsrelay.com/  Nickname afink
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.