Coder Social home page Coder Social logo

ooooooo-q / tel-sms-responder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twilioforkwc/tel-sms-responder

0.0 2.0 0.0 87 KB

Twilio電話番号に着信があったときに、発信者にSMSを送り返すPHPスクリプトです。

PHP 100.00%

tel-sms-responder's Introduction

Tel-SMS-repsonder

Twilio電話番号に着信があったときに、発信者にSMSを送り返すPHPスクリプトです。

050の番号に電話を掛けるだけで URL をSMSで通知できます。 今までのQRコードを電話番号に置き換えることが可能です。

##利用イメージ 1.利用者がTwilioの日本の番号(050/0120/0800)に携帯電話から発信 2.アナウンスが流れたあと電話が切断 3.発信者の番号にSMSが送信される。中にURLが記載されている

##セットアップ手順 1.Twilioのアカウントをサインアップ・取得(http://twilio.kddi-web.com/) 2.クレジットカードでポイントを購入(最低2000円から) 3.Twilioの日本の番号(050/0120/0800)とアメリカの番号(+1)の番号を購入 4.スクリプト中の以下の部分を修正 18-22行目 携帯電話からかかってきた時のアナウンス を変更 23行目 +1XXXXXXXXXX を取得したアメリカ番号に変更 24行目 「URLをお送りしております。 twilio.kddi-web.com」をお好きな文に変更 http/s をつけるとauに送信の際弾かれます。文字数制限にご注意ください 31-34行目 「携帯電話以外からかかってきた時のアナウンス」 を変更 5.PHPの利用できるサーバー・PaaS上にスクリプトを設置 6.日本の番号(050/0120/0800)番号の「RequestURL」にファイルのURLを設定 7.完了

##役に立つリソース -Twilio for KDDI Web Communications SMS および 注意事項 http://twilio.kddi-web.com/function/sms/

tel-sms-responder's People

Contributors

twilioforkwc avatar ooooooo-q avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.