0

twilio API を使用して、php アプリケーションから SMS を送信します。「to」番号の形式が正しくない場合 (無効な市外局番、無効な数字など)、twilio は正常に動作し、例外が発生します。

私の問題は、適切な形式の番号に送信しようとしたときに、存在しないことです。「送信済み」と表示され、例外はありません。コールバック オプションも試しました。

array('StatusCallback' => 'http://uncurler.heroku.com/v1/<some code >').

ここでレポートを表示しても、「送信済み」と表示されます。

メッセージが配信されたかどうかを実際に知る方法はありますか? それとももっと重要なことに、それが配達されなかった場合はどうなりますか? そうでない場合、他の API から可能ですか?

4

1 に答える 1

1

Twilio evangelist here.

So currently the Status value does not reflect anything beyond our ability to deliver the message to the carrier. It does not reflect any information about whether or not the carrier was able to deliver the message or not.

If the carrier accepts the message from us, we mark the message as Sent.

Hope that helps.

于 2013-08-01T15:59:14.377 に答える