Re: [BUG] smsc stop start

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
> mm.. not sure.. we use the smsc-ids for routing (done external to
> kannel), then within Kannel multiple links with the same smsc-id are
> "balanced" by Kannel, or are failovers of each other (connections to
> the same provider on different ips) -

we do the same. But we do it this way:

unique smsc-ids for every smsc link. To allow to address a group of
smsc-ids logicaly simply add a global referer to accept-smsc-id, i.e.

  group = smsc
  ...
  accept-smsc-id = "smpp_ourlink_1;smpp_ourlink"

so we have a couple of smsc groups named "smpp_ourlink_1-10" and use
/sendsms?...&smsc=smpp_ourlink via smsbox interface to balance.

BTW, it's not really a balancing, because the smsc2_rout() routine
jumps into the smsc link by random, but does sequential search in case
the jumped in point is now allowed to route. So you end in having the
most traffic on the first smsc-id that has the grouped referer in it.

Stipe

[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
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.