Re: Notice of issue in SMPP Driver

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Michael Mulcahy wrote:
> 
> Hi All,
> 
> There is a bug in the current SMPP driver that stops the driver from
> accepting messages to be submitted to the SMSC.
> 
> Scenario:
> SMPP SMSC configured as receiver and transmitter, transmitter and
> receiver connected and bound successfully.
> 1) Receiver SMPP connection disconnects
> 2) SMPP SMSC status changed to SMSCCONN_RECONNECTING
> 3) Receiver SMPP connection reconnects to SMSC after reconnect delay
>    and sends bind_receiver pdu
> 4) In handling of bind_receiver_resp the status is incorrectly set to
>    SMSCCONN_ACTIVE_RECV as the previous status was SMSCCONN_RECONNECTING
>    (This does not take into account that the transmitter is still
> successfully
>    connected)
> 5) Now the driver cannot receive any messages for submission to SMSC
>    as status is not SMSCCONN_ACTIVE.

yep, agreed.

The if condition at line 984 is hence useless, right?!

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.