clintonhealthaccess / chailmis-android

Android Tablet Application for Logistics Management in the DHIS2 Platform
Other
7 stars 6 forks source link

Test the sms sync feature using the toll free number to 38121; message must be pre-fixed with CHAI L #173

Open chai-lmis opened 9 years ago

karloskalcium commented 9 years ago

egwuma to test from nigeria, given the short code may only work in Nigeria.

chai-lmis commented 9 years ago

Tested this by deactivating the internet and dispensing data, data not found on the server; however data entered during the same period using wifi was seen on the server

karloskalcium commented 9 years ago

So Egwuma - to be clear - are you saying this didn't work? Can you give more details of the use case, and the expected behavior? Are you sure that the 38121 message is tied to the server you were looking at? Is there a "development" number (vs production?)

karloskalcium commented 9 years ago

spoke with Egwuma. need to investigate what the SMS synch is doing currently, and why the data isn't showing up on the server.

karloskalcium commented 9 years ago

From Jeff Xiong: The SMS sync feature is supposed to encode all Snapshotable data into SMS, and send them to DHIS2 through its SMS data receiving interface, which can be configured at "Mobile Configuration": http://lmisdev.dhis2nigeria.org.ng/dhis-web-maintenance-mobile/index.action

The idea is we create an SMS command ( http://lmisdev.dhis2nigeria.org.ng/dhis-web-maintenance-mobile/SMSCommands.action ) in DHIS for each DataElement we want to upload. There is a Selenium script to create those SMS commands automatically. There is no such SMS command exist in this DHIS instance. It could be the reason why SMS sync is not working.

To debug this feature, we need: check the configure page, ensure SMS commands are created properly for each DataItem try to send a manual SMS to the gateway, ensure DHIS can receive SMS through gateway check the mobile app, ensure it sends SMS out properly test it end-to-end, which requires a device can send SMS to a Nigeria number

karloskalcium commented 9 years ago

Egwuma, can you ask HISP to confirm whether SMS commands (as noted by Jeff above) are enabled and properly created for each data item?

karloskalcium commented 9 years ago

Egwuma has requested that we install DHIS2 locally, set up SMS endpoints (using Selenium?) and do E2E testing locally.