IncomingPhoneNumber.php 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?php
  2. /**
  3. * An object representing a single phone number. For more
  4. * information, see the `IncomingPhoneNumber Instance Resource
  5. * <http://www.twilio.com/docs/api/rest/incoming-phone-numbers#instance>`_
  6. * documentation.
  7. *
  8. * .. php:attr:: sid
  9. *
  10. * A 34 character string that uniquely idetifies this resource.
  11. *
  12. * .. php:attr:: date_created
  13. *
  14. * The date that this resource was created, given as GMT RFC 2822 format.
  15. *
  16. * .. php:attr:: date_updated
  17. *
  18. * The date that this resource was last updated, given as GMT RFC 2822 format.
  19. *
  20. * .. php:attr:: friendly_name
  21. *
  22. * A human readable descriptive text for this resource, up to 64
  23. * characters long. By default, the FriendlyName is a nicely formatted
  24. * version of the phone number.
  25. *
  26. * .. php:attr:: account_sid
  27. *
  28. * The unique id of the Account responsible for this phone number.
  29. *
  30. * .. php:attr:: phone_number
  31. *
  32. * The incoming phone number. e.g., +16175551212 (E.164 format)
  33. *
  34. * .. php:attr:: api_version
  35. *
  36. * Calls to this phone number will start a new TwiML session with this
  37. * API version.
  38. *
  39. * .. php:attr:: voice_caller_id_lookup
  40. *
  41. * Look up the caller's caller-ID name from the CNAM database (additional charges apply). Either true or false.
  42. *
  43. * .. php:attr:: voice_url
  44. *
  45. * The URL Twilio will request when this phone number receives a call.
  46. *
  47. * .. php:attr:: voice_method
  48. *
  49. * The HTTP method Twilio will use when requesting the above Url. Either GET or POST.
  50. *
  51. * .. php:attr:: voice_fallback_url
  52. *
  53. * The URL that Twilio will request if an error occurs retrieving or executing the TwiML requested by Url.
  54. *
  55. * .. php:attr:: voice_fallback_method
  56. *
  57. * The HTTP method Twilio will use when requesting the VoiceFallbackUrl. Either GET or POST.
  58. *
  59. * .. php:attr:: status_callback
  60. *
  61. * The URL that Twilio will request to pass status parameters (such as call ended) to your application.
  62. *
  63. * .. php:attr:: status_callback_method
  64. *
  65. * The HTTP method Twilio will use to make requests to the StatusCallback URL. Either GET or POST.
  66. *
  67. * .. php:attr:: sms_url
  68. *
  69. * The URL Twilio will request when receiving an incoming SMS message to this number.
  70. *
  71. * .. php:attr:: sms_method
  72. *
  73. * The HTTP method Twilio will use when making requests to the SmsUrl. Either GET or POST.
  74. *
  75. * .. php:attr:: sms_fallback_url
  76. *
  77. * The URL that Twilio will request if an error occurs retrieving or executing the TwiML from SmsUrl.
  78. *
  79. * .. php:attr:: sms_fallback_method
  80. *
  81. * The HTTP method Twilio will use when requesting the above URL. Either GET or POST.
  82. *
  83. * .. php:attr:: uri
  84. *
  85. * The URI for this resource, relative to https://api.twilio.com.
  86. */
  87. class Services_Twilio_Rest_IncomingPhoneNumber
  88. extends Services_Twilio_InstanceResource
  89. {
  90. }