Re: smsc_smpp.c - reconnection/enquiry timings
Alan McNatty <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <1021323102.21195.158.camel@euclid> |
Sounds like a plan - will submit a quick patch shortly. Cheers, Alan On Mon, 2002-05-13 at 23:54, Alex Judd wrote: > These values are currently hardwire in and it would be easy to export them > out to the configuration level if need be. Reasonable idea in my opinion > as I'm never a fan of hard wire values. > > I would suggest we do a 'if defined in config file use that value else use > a default value of x' so that only the users that need this ability have > to define it. > > Alex > > On Fri, 10 May 2002, Aarno Syvänen wrote: > > > Can you use configuration variables instead ? > > > > Aarno > > ----- Original Message ----- > > From: "Alan McNatty" <[email protected]> > > To: "Kannel Dev" <[email protected]> > > Sent: Monday, May 13, 2002 7:58 AM > > Subject: smsc_smpp.c - reconnection/enquiry timings > > > > > > > Hello, > > > > > > Our local friendly telco who alow us to smpp to their smsc are > > > interested in being able to control the kannel <-> smsc > > > reconnection/enquiry timings (mainly in testing environment which can be > > > up and down). > > > > > > Consequently I would like to be able to specify the SMPP_ constants > > > (below) via the smpp config options (default as below obviously). Does > > > this sound like a resonable thing to do? If so I'm happy to work towards > > > supplying a patch (post to list or to xyz?). > > > > > > <snip smsc_smpp.c> > > > > > > #define SMPP_ENQUIRE_LINK_INTERVAL 30.0 > > > #define SMPP_MAX_PENDING_SUBMITS 10 > > > #define SMPP_RECONNECT_DELAY 10.0 > > > > > > Cheers, > > > Alan > > > > > > -- > > > Alan McNatty -- Catalyst IT Ltd -- http://www.catalyst.net.nz > > > Level 2, 150-154 Willis St, PO Box 11-053, Wellington, NZ > > > Mob: +64 21-312136, DDI: +64 4 9167203, Office: +64 4 4992267 > > > > > > ... error accessing whit > > > Segmentation fault (core dumped) > > > > > > > > > > > > -- > Alex Judd > http://www.skywire.co.uk > -- Alan McNatty -- Catalyst IT Ltd -- http://www.catalyst.net.nz Level 2, 150-154 Willis St, PO Box 11-053, Wellington, NZ Mob: +64 21-312136, DDI: +64 4 9167203, Office: +64 4 4992267 ... error accessing whit Segmentation fault (core dumped)