← Back to team overview

dhis2-users team mailing list archive

Re: DHIS 2.16 Upgrade - Failure of Importing Incoming SMS

 

Hi Sam,

Could you please do the following step:

- Go to the SMS Command page and check if your Alert command is still there.
- If it's still there, open that command and review all configuration to
see if it's still the same. Then click the "Save" or "Ok" button to persist
the command in the db.
- Test again

Please let me know if the above step work.

Long



On Fri, Sep 5, 2014 at 4:00 PM, Sam Kasozi <kasozis@xxxxxxxxx> wrote:

> Dear all,
>
> I recently updated my database from DHIS 2.15 to DHIS2 2.16; revision:
> 16400 (2014-09-02 22:39).
>
> The HTTP gateway is configured and outgoing messages are successfully
> sent; however Incoming messages for the keyword 'Alert', forwarded to the
> upgraded instance seem to be failing to be imported into the system. I have
> tried to review the log files, however I cannot see any problem.
>
> I sent out 3 messages with one, directly from a phone (256717...) through
> the text aggregator and 2 from the web using the Aggregator's forwarding
> URL.
> i.e.
>
> --- Catalina ---
> INFO: ALERT handling this SMS: Alert Test message from web
> Sep 05, 2014 10:31:01 AM
> org.hisp.dhis.smsin.controller.SMSIncomingController helloIndex
> INFO: Trying SMS Handler:ALERT
> Sep 05, 2014 10:31:01 AM org.hisp.dhis.smsin.beans.SMSServiceBean accept
> INFO: ALERT handling this SMS: Alert Test message from web
>
>
> --- localhost_access_log ---
> (From Mobile)
> 10.0.0.25 - - [05/Sep/2014:08:05:54 +0300] "POST
> /dhis/sms/smsinput.action?sender=256717315427&message=Alert+test+message
> HTTP/1.1" 200 355
> 217.148.90.95 - - [05/Sep/2014:08:05:54 +0300] "GET
> /sms/sms?message=Alert+test+message&sender=256717315427&shortcode=8282
> HTTP/1.0" 200 61
>
> (From WEB)
> 25 - - [05/Sep/2014:10:31:01 +0300] "POST
> /dhis/sms/smsinput.action?sender=+256757662752&message=Alert+Test+message+from+web
> HTTP/1.1" 200 355
> 10.0.0.25 - - [05/Sep/2014:10:31:01 +0300] "GET
> /sms/sms?message=Alert%20Test%20message%20from%20web&sender=+256757662752&shortcode=8282
> HTTP/1.1" 200 61
>
>
> The third message from the web missing the keyword "Alert" was delivered
> to the system
>
> [image: Inline image 1]
>
> However for the rest, nothing seems to be happening. I am attaching the
> last updated log files as of this morning
>
>
> regards,
>
> Sam Kasozi
> Information Systems Consultant
> HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
> +256 757 662752 | +256 788 993565 | kasozis@xxxxxxxxx | Skype:
> sam.kasoziug
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
*Ngo Thanh Long*long.hispvietnam@xxxxxxxxx+84935084665

PNG image


Follow ups

References