2016-10-05 10 views
-3

私は匿名の電話番号を使用して乗客と運転者の間の呼び出しを作成したいと思います。どちらも自分のnoを見ていません。それは実際にTwilioがnoを割り当てるのを見ます。どのように私はカスタムPHPで統合することができますまた私に仕事の流れを教えてください。あなたのgitリンクを共有する必要があるコードがある場合どのように統合マスキング電話番号を呼び出すtwilio api php

+1

ないものが挙げられます。 – Epodax

+0

話題が多すぎて、話題になっていない、あなたは何の努力もしていないようだ。 – Drone

答えて

0

これは、多くの共有経済プラットフォームでの古典的な使用例です。 TwilioのWebサイトとドキュメントには、これを構築するのに十分な詳細があります。コード付きチュートリアルも利用できます。

stepstutorialを確認してください。

手順は、何かをあなた自身の研究を行い、独自のコードを記述する「必要があります」(これは直接Twilioのウェブサイトからコピーされます)

STEP ONE 
PROVISION TWILIO PHONE NUMBERSPurchase a pool of phone numbers from the Twilio 
self-service portal or the Twilio phone number API. You can search for phone 
numbers with a specific country and area code. 

STEP TWO 
MAP TWILIO PHONE NUMBERS TO USERSImplement the mapping between the provisioned 
Twilio phone numbers and your users. In this example, xxx-xxxx is associated 
to Arya and Bran's personal phone numbers for the duration of their business 
relationship. 

STEP THREE 
ARYA CALLS TWILIO NUMBER XXX-XXXXWhen Arya calls xxx-xxxx, Twilio receives the 
call and makes an HTTP request to your web server. 

STEP FOUR 
YOUR WEB SERVER RETURNS BRAN'S PRIVATE NUMBERYour web server looks up the 
private phone number of Bran associated to xxx-xxxx and returns a TwiML <Dial> 
to Bran's number. 

STEP FIVE 
THE CALL IS CONNECTEDTwilio connects the call between Arya and Bran. Bran sees 
the call coming in from xxx-xxxx. 

enter image description here

関連する問題