[GH-ISSUE #277] SMSSync not sending SMS when Message Result API is enabled #202

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

Originally created by @anuragsn7 on GitHub (Jun 15, 2015).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/277

I have setup SMSSync with my local server with following configuration:

  1. SMS Delivery Report check
  2. Get Reply from Server check
  3. Enable Auto Sync check, frequency 1
  4. Enable Task Checking check, frequency 1
  5. Enable Message Result API check

In this configuration, SMSSync successfully poll the server link for tasks (?task=send), for which I am returning

{
    "payload": {
        "task":"send",
        "secret":"107",
        "messages":
        [
             { 
               "to":"+91<some phone number>",
               "message":"SMSSycn modified test message - 01",
               "uuid":"4ee5667d-6a1d-860c-54d4"
            }
        ]
    }
}

the uuid is randomly generated on server. SMSSync is also accessing ?task=sent and returning following info

{"queued_messages":["4ee5667d-6a1d-860c-54d4"]}

However, SMSSync is not sending this SMS at all. When ?task=result is accessed by SMSSync it returns empty data

{"message_result":"[]"}

But when I uncheck Message Result API, SMSSync starts sending SMS. Is there an issue with my configuration? I want to have the SMS delivery report working.

Originally created by @anuragsn7 on GitHub (Jun 15, 2015). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/277 I have setup SMSSync with my local server with following configuration: 1. SMS Delivery Report `check` 2. Get Reply from Server `check` 3. Enable Auto Sync `check`, frequency `1` 4. Enable Task Checking `check`, frequency `1` 5. Enable Message Result API `check` In this configuration, SMSSync successfully poll the server link for tasks (`?task=send`), for which I am returning ``` { "payload": { "task":"send", "secret":"107", "messages": [ { "to":"+91<some phone number>", "message":"SMSSycn modified test message - 01", "uuid":"4ee5667d-6a1d-860c-54d4" } ] } } ``` the uuid is randomly generated on server. SMSSync is also accessing `?task=sent` and returning following info ``` {"queued_messages":["4ee5667d-6a1d-860c-54d4"]} ``` However, SMSSync is not sending this SMS at all. When `?task=result` is accessed by SMSSync it returns empty data ``` {"message_result":"[]"} ``` But when I uncheck `Message Result API`, SMSSync starts sending SMS. Is there an issue with my configuration? I want to have the SMS delivery report working.
kerem 2026-02-28 01:23:40 +03:00
Author
Owner

@eyedol commented on GitHub (Jun 16, 2015):

Does the log say anything interesting?

<!-- gh-comment-id:112285956 --> @eyedol commented on GitHub (Jun 16, 2015): Does the log say anything interesting?
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#202
No description provided.