Re: [PATCH] smpp suspend fix
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Wapme Systems AG |
| Message-ID | <[email protected]> |
> Sorry ... Here is sum up of the problem. > If bearerbox will be suspended/isolated then smscconn_stop set is_stopped flag > in SMSCConn to 1. But unfortunally SMPP never check this flag and do not > implement stop callback function (defined in SMSCConn). Also SMPP will > allways receive messages and suspend does't work... Suspend require that > SMSCConn do not receive any messages , but can send. My patch check if > is_stopped flag is set and then set command_status in deliver_sm_resp to ESME > Receiver Temporary App Error Code so SMSC will try again. sounds reasonable. Any votes for the patch?! 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