Re: [PATCH] 'group = smsc' directive 'instances = x' to multiply the runtime instances
Alexander Malysh <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Stipe, don’t know why we need this? If you need some amount of equal smsc connections then: 1) create file with smsc config: e.g. smsc.conf 2) in the global config: include smsc.conf include smsc.conf include smsc.conf include smsc.conf include smsc.conf ... I know this is a workaround, but we have just toooo much config variable and I just trying to avoid to produce more of them. Alex > Am 30.10.2014 um 18:46 schrieb Stipe Tolj <[email protected]>: > > Hi list, > > typically we have one config group towards an SMSC that we copy-and-paste to create a number of same connection to it. The attached patch allows to define this multiplication via the config directive > > group = smsc > ... > instances = <number> > ... > > The patchset is a feature add and a NLC. > > BTW, it does NOT work for 'smsc = http' since the MO/DLR side HTTP port will be bound already by the previous incarnation of the group, but I think this is anyway not the type of SMSC group you would use the multiplier for. > > Please review and vote. > Stipe > > -- > ------------------------------------------------------------------- > Kölner Landstrasse 419 > 40589 Düsseldorf, NRW, Germany > > Kannel Foundation tolj.org system architecture > http://www.kannel.org/ http://www.tolj.org/ > > mailto:stolj_{at}_kannel.org mailto:st_{at}_tolj.org > ------------------------------------------------------------------- > <gateway-smsc-instances.diff>