title: Twilio - twilio/sdk PHP Status Callback for messages
body: <p>I am attempting to set a StatusCallback on outgoing SMS messages using <code>twilio/sdk</code> - see <a href="https://github.com/twilio/twilio-php" rel="nofollow">https://github.com/twilio/twilio-php</a></p>
  
  <p>The problem I'm running into is that it would appear that the StatusCallback option should be included in an array after the Body, like so:</p>
  
  <pre><code>$this-&gt;twilio-&gt;account-&gt;messages-&gt;sendMessage(
                      "+{$this-&gt;client-&gt;number}",
                      "+{$phone-&gt;number}",
                      $outgoing,
                      array('StatusCallback' =&gt; 'http://foo.bar/status')
                  );
  </code></pre>
  
  <p>.. but Twilio now supports MMS messaging and seems to be considering this a reference to media. What am I missing? How can I use the Status Callback with this helper library?</p>
  
  <p>Thanks!</p>