On Sun, 20 Aug 2006 16:29:34 +0200
 Stipe Tolj <[EMAIL PROTECTED]> wrote:
Denis V. Gudtsov wrote:

On Sat, 19 Aug 2006 21:58:28 +0200
 Stipe Tolj <[EMAIL PROTECTED]> wrote:

Denis V. Gudtsov wrote:

Can kannel 1.4.0 sends PDU Enquire_link only when there are no activity in SMPP connection, not every 30 seconds, e.g. without analyze traffic?


the enquire_link PDUs are send within an own thread, AFAIR, so there is no "analyze" of traffic. If the 30 sec delay is to fast for you, you can use a config directive to define the delay time, see user's guide, section for SMPP specific parameters of group smsc.


the thing is that our operator requires to PDU Enquire_link when other PDUs has been sended/received in 60 sec period. So, I need to send Enquire_link only when no any traffic during 60 sec.

My be it possible to rewrite handler which send keep-alive packets?

Hi Denis,

ok, I still didn't get the point very well.

The operator requiures:

a) to send a enquire_link PDU after sending/receiving a SMS within 60 sec.
b) to send a enquire_link PDU if NO SMS is flowing within 60 sec.

?
the second is right


Is't it enough to modify the delay time via config directive to garantee that every 50 sec. an enquire_link is send?

no, didn't. as i understand from sources, kannel can update timestamp during every operation with any PDU (send/recv). then if curr_time>last_timestamp we need to send enquire_link. nowdays enquire_link will be sends every XXX seconds as defined in config file or by default = 30sec.

i'm planing to rewrite code for this feature. is it interesting for devel@ ?

--

Reply via email to