/
home
/
desid573
/
book.familycab.com.au
/
pdd
/
app
/
Vendor
/
Services
/
Twilio
/
Rest
/
/home/desid573/book.familycab.com.au/pdd/app/Vendor/Services/Twilio/Rest
mkdir
upload
Name
Size
Mode
Actions
IPMessaging/
-
0755
rm
Lookups/
-
0755
rm
Monitor/
-
0755
rm
Pricing/
-
0755
rm
TaskRouter/
-
0755
rm
Trunking/
-
0755
rm
Account.php
934
0644
edit
dl
rm
Accounts.php
732
0644
edit
dl
rm
Address.php
427
0644
edit
dl
rm
Addresses.php
670
0644
edit
dl
rm
Application.php
95
0644
edit
dl
rm
Applications.php
259
0644
edit
dl
rm
AuthorizedConnectApp.php
104
0644
edit
dl
rm
AuthorizedConnectApps.php
228
0644
edit
dl
rm
AvailablePhoneNumber.php
105
0644
edit
dl
rm
AvailablePhoneNumbers.php
1695
0644
edit
dl
rm
Call.php
3535
0644
edit
dl
rm
Calls.php
1946
0644
edit
dl
rm
Conference.php
221
0644
edit
dl
rm
Conferences.php
91
0644
edit
dl
rm
ConnectApp.php
94
0644
edit
dl
rm
ConnectApps.php
219
0644
edit
dl
rm
Credential.php
586
0644
edit
dl
rm
CredentialList.php
850
0644
edit
dl
rm
CredentialListMapping.php
715
0644
edit
dl
rm
CredentialListMappings.php
798
0644
edit
dl
rm
CredentialLists.php
695
0644
edit
dl
rm
Credentials.php
875
0644
edit
dl
rm
DependentPhoneNumber.php
104
0644
edit
dl
rm
DependentPhoneNumbers.php
101
0644
edit
dl
rm
Domain.php
1486
0644
edit
dl
rm
Domains.php
831
0644
edit
dl
rm
Feedback.php
882
0644
edit
dl
rm
FeedbackSummary.php
901
0644
edit
dl
rm
IncomingPhoneNumber.php
2977
0644
edit
dl
rm
IncomingPhoneNumbers.php
1871
0644
edit
dl
rm
IpAccessControlList.php
901
0644
edit
dl
rm
IpAccessControlListMapping.php
726
0644
edit
dl
rm
IpAccessControlListMappings.php
857
0644
edit
dl
rm
IpAccessControlLists.php
825
0644
edit
dl
rm
IpAddress.php
662
0644
edit
dl
rm
IpAddresses.php
1063
0644
edit
dl
rm
Key.php
83
0644
edit
dl
rm
Keys.php
568
0644
edit
dl
rm
Media.php
949
0644
edit
dl
rm
MediaInstance.php
908
0644
edit
dl
rm
Member.php
583
0644
edit
dl
rm
Members.php
877
0644
edit
dl
rm
Message.php
1365
0644
edit
dl
rm
Messages.php
2708
0644
edit
dl
rm
Notification.php
96
0644
edit
dl
rm
Notifications.php
93
0644
edit
dl
rm
OutgoingCallerId.php
100
0644
edit
dl
rm
OutgoingCallerIds.php
278
0644
edit
dl
rm
Participant.php
174
0644
edit
dl
rm
Participants.php
293
0644
edit
dl
rm
Queue.php
187
0644
edit
dl
rm
Queues.php
506
0644
edit
dl
rm
Recording.php
196
0644
edit
dl
rm
Recordings.php
90
0644
edit
dl
rm
Sandbox.php
91
0644
edit
dl
rm
ShortCode.php
93
0644
edit
dl
rm
ShortCodes.php
258
0644
edit
dl
rm
Sip.php
505
0644
edit
dl
rm
SmsMessage.php
94
0644
edit
dl
rm
SmsMessages.php
473
0644
edit
dl
rm
Token.php
86
0644
edit
dl
rm
Tokens.php
539
0644
edit
dl
rm
Transcription.php
97
0644
edit
dl
rm
Transcriptions.php
94
0644
edit
dl
rm
UsageRecord.php
92
0644
edit
dl
rm
UsageRecords.php
1020
0644
edit
dl
rm
UsageTrigger.php
97
0644
edit
dl
rm
UsageTriggers.php
1233
0644
edit
dl
rm
Edit:
/home/desid573/book.familycab.com.au/pdd/app/Vendor/Services/Twilio/Rest/Call.php
(3535B)
<?php /** * For more information, see the `Call Instance Resource <http://www.twilio.com/docs/api/rest/call#instance>`_ documentation. * * .. php:attr:: sid * * A 34 character string that uniquely identifies this resource. * * .. php:attr:: parent_call_sid * * A 34 character string that uniquely identifies the call that created this leg. * * .. php:attr:: date_created * * The date that this resource was created, given as GMT in RFC 2822 format. * * .. php:attr:: date_updated * * The date that this resource was last updated, given as GMT in RFC 2822 format. * * .. php:attr:: account_sid * * The unique id of the Account responsible for creating this call. * * .. php:attr:: to * * The phone number that received this call. e.g., +16175551212 (E.164 format) * * .. php:attr:: from * * The phone number that made this call. e.g., +16175551212 (E.164 format) * * .. php:attr:: phone_number_sid * * If the call was inbound, this is the Sid of the IncomingPhoneNumber that * received the call. If the call was outbound, it is the Sid of the * OutgoingCallerId from which the call was placed. * * .. php:attr:: status * * A string representing the status of the call. May be `QUEUED`, `RINGING`, * `IN-PROGRESS`, `COMPLETED`, `FAILED`, `BUSY` or `NO_ANSWER`. * * .. php:attr:: start_time * * The start time of the call, given as GMT in RFC 2822 format. Empty if the call has not yet been dialed. * * .. php:attr:: end_time * * The end time of the call, given as GMT in RFC 2822 format. Empty if the call did not complete successfully. * * .. php:attr:: duration * * The length of the call in seconds. This value is empty for busy, failed, unanswered or ongoing calls. * * .. php:attr:: price * * The charge for this call in USD. Populated after the call is completed. May not be immediately available. * * .. php:attr:: direction * * A string describing the direction of the call. inbound for inbound * calls, outbound-api for calls initiated via the REST API or * outbound-dial for calls initiated by a <Dial> verb. * * .. php:attr:: answered_by * * If this call was initiated with answering machine detection, either human or machine. Empty otherwise. * * .. php:attr:: forwarded_from * * If this call was an incoming call forwarded from another number, the * forwarding phone number (depends on carrier supporting forwarding). * Empty otherwise. * * .. php:attr:: caller_name * * If this call was an incoming call from a phone number with Caller ID Lookup enabled, the caller's name. Empty otherwise. */ class Services_Twilio_Rest_Call extends Services_Twilio_InstanceResource { /** * Hang up the call */ public function hangup() { $this->update('Status', 'completed'); } /** * Redirect the call to a new URL * * :param string $url: the new URL to retrieve call flow from. */ public function route($url) { $this->update('Url', $url); } protected function init($client, $uri) { $this->setupSubresources( 'notifications', 'recordings', 'feedback' ); } /** * Make a request to delete the specified resource. * * :rtype: boolean */ public function delete() { return $this->client->deleteData($this->uri); } }
Save
cmd:
run