Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-10968 Mass SMS - Quick Fixes for 4.2
  3. CRM-10945

Make SMS callback handler also handle status-updates / callbacks in addition to inbounds / replies

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.3
    • Fix Version/s: 4.2.3
    • Component/s: None
    • Labels:
      None

      Description

      The callback url - Ex: http://www.example.com/sites/all/modules/civicrm/extern/sms.php only handles inbound / replies at the moment, and doesn't do status updates / callbacks.

      Parameters during a callback are : apiMsgId, cliMsgId, to, timestamp, from, status and charge.

      Presence of status parameter for example should be enough to determine that its a callback and should be forwarded to callback method of CRM/SMS/Provider/Clickatell.php. Flow goes to inbound() otherwise.

        Attachments

          Activity

            People

            • Assignee:
              pratik.joshi Pratik Joshi
              Reporter:
              deepak Deepak Srivastava
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: