[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 ============ 2 Caller Ids 3 ============ 4 5 Validate a Phone Number 6 ======================= 7 Adding a new phone number to your validated numbers is quick and easy: 8 9 .. code-block:: php 10 11 $client = new Services_Twilio('AC123', '123'); 12 $response = $client->account->outgoing_caller_ids->create('+15554441234'); 13 print $response->validation_code; 14 15 Twilio will call the provided number and for the validation code to be entered. 16 17 Listing all Validated Phone Numbers 18 =================================== 19 20 Show all the current caller_ids: 21 22 .. code-block:: php 23 24 $client = new Services_Twilio('AC123', '123'); 25 foreach ($client->account->outgoing_caller_ids as $caller_id) { 26 print $caller_id->friendly_name; 27 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |