Bill Brigden wrote:
> 
> With the CVS version (and maybe 1.3.1), it allows you to set the
> service-type for a connection. Is it possible to change to so that you can
> set it per message with a CGI / Kannel header variable - as we use Kannel to
> connect to an operator that gives one username and password different
> profile ID's (service-type's) to route different ways, and having it set per
> connection makes it a bit useless...
> 
> I am not a C coder, so I wouldn't know where to start - that's why I asked
> here :)

ok, this can be considered as *general* problem. As with TON/NPI for
SMPP (ie.) it's desirable to set SMPP parameters specifically on
message basis. But we don't want to "overload" smsbox interface with
smsc specific parameter handling. (btw, Kannel's msg structure is
anyway not designed for this purpose).

So we have to resolve issues down on the smsc specific layer.

Suggestion:

we can have vsmsc (or smsc-alias) groups which acts as follows:

  group = smsc
  smsc = smpp
  smsc-id = "real_A"
  service-type = "VMA"
  <parameters>

  group = smsc-alias
  smsc-id = "virtual_1_A"
  real-smsc-id = "real_A"
  service-type = "WAP"
  ...

so Kannel would create an entry in it's smsc holding strucutre for the
alias smsc "smpp_a_alias_1" and users can address it via it's smsc-ids
from smsbox (or other boxes connected to bearerbox).

When passing to the smsc specific layer, we need to see that this is a
"virtual" smsc connection that simply mapps the configured parameters
(overloading) the ones in the real smsc connection.

IMO, this is a good approach to have multi-configuration setting with
single real smsc conncetions. So you can adress via smsbox smsc-id
parameter which parameters should be set on per message basis.

Any comments on this?

[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

Reply via email to