[GH-ISSUE #240] Send device phone number/configuration to sync url #177

Open
opened 2026-02-28 01:23:33 +03:00 by kerem · 1 comment
Owner

Originally created by @ghost on GitHub (Jan 27, 2015).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/240

It would be nice to have a way to query the device phone number and configuration from a webserver. One nice solution would be to POST the configuration back to the sync URLs on first load and whenever it changes.

A sample use case:
Sending status messages from the device to the device to verify network status. This would require knowing the device phone number before receiving a message.

Another use case:
Changing server behavior depending on whether the Message Results API is enabled.

Originally created by @ghost on GitHub (Jan 27, 2015). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/240 It would be nice to have a way to query the device phone number and configuration from a webserver. One nice solution would be to POST the configuration back to the sync URLs on first load and whenever it changes. A sample use case: Sending status messages from the device to the device to verify network status. This would require knowing the device phone number before receiving a message. Another use case: Changing server behavior depending on whether the Message Results API is enabled.
Author
Owner

@eyedol commented on GitHub (Sep 28, 2015):

@ghost, I'm trying to look into this but the use case isn't motivating enough for me to spend time on it. I think you could use the secret key and the device_id to validate messages that comes to the server from the device

<!-- gh-comment-id:143757691 --> @eyedol commented on GitHub (Sep 28, 2015): @ghost, I'm trying to look into this but the use case isn't motivating enough for me to spend time on it. I think you could use the secret key and the device_id to validate messages that comes to the server from the device
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SMSSync#177
No description provided.