Open chai-lmis opened 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
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?)
spoke with Egwuma. need to investigate what the SMS synch is doing currently, and why the data isn't showing up on the server.
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
Egwuma, can you ask HISP to confirm whether SMS commands (as noted by Jeff above) are enabled and properly created for each data item?
Egwuma has requested that we install DHIS2 locally, set up SMS endpoints (using Selenium?) and do E2E testing locally.
egwuma to test from nigeria, given the short code may only work in Nigeria.