You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**currentCallQueueSize** | **number** | The number of calls currently enqueued. | [optional][default to undefined]
9
+
**maxCallQueueSize** | **number** | The maximum size of the queue before outgoing calls start being rejected. | [optional][default to undefined]
10
+
11
+
## Example
12
+
13
+
```typescript
14
+
import { AccountStatistics } from'bandwidth-sdk';
15
+
16
+
const instance:AccountStatistics= {
17
+
currentCallQueueSize,
18
+
maxCallQueueSize,
19
+
};
20
+
```
21
+
22
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**name** | **string** | The name of the business using the toll-free number. | [default to undefined]
9
+
**addr1** | **string** | The address of the business using the toll-free number. | [default to undefined]
10
+
**addr2** | **string** | The address of the business using the toll-free number. | [optional][default to undefined]
11
+
**city** | **string** | The city of the business using the toll-free number. | [default to undefined]
12
+
**state** | **string** | The state of the business using the toll-free number. | [default to undefined]
13
+
**zip** | **string** | The zip of the business using the toll-free number. | [default to undefined]
14
+
**url** | **string** | The website of the business using the toll-free number. | [default to undefined]
15
+
16
+
## Example
17
+
18
+
```typescript
19
+
import { Address } from'bandwidth-sdk';
20
+
21
+
const instance:Address= {
22
+
name,
23
+
addr1,
24
+
addr2,
25
+
city,
26
+
state,
27
+
zip,
28
+
url,
29
+
};
30
+
```
31
+
32
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**eventType** | **string** | The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect. | [optional][default to undefined]
10
+
**eventTime** | **string** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional][default to undefined]
11
+
**accountId** | **string** | The user account associated with the call. | [optional][default to undefined]
12
+
**applicationId** | **string** | The id of the application associated with the call. | [optional][default to undefined]
13
+
**from** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional][default to undefined]
14
+
**to** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional][default to undefined]
15
+
**direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional][default to undefined]
16
+
**callId** | **string** | The call id associated with the event. | [optional][default to undefined]
17
+
**callUrl** | **string** | The URL of the call associated with the event. | [optional][default to undefined]
18
+
**enqueuedTime** | **string** | (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format. | [optional][default to undefined]
19
+
**startTime** | **string** | Time the call was started, in ISO 8601 format. | [optional][default to undefined]
20
+
**answerTime** | **string** | Time the call was answered, in ISO 8601 format. | [optional][default to undefined]
21
+
**tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional][default to undefined]
22
+
**machineDetectionResult** | [**MachineDetectionResult**](MachineDetectionResult.md) | | [optional][default to undefined]
23
+
24
+
## Example
25
+
26
+
```typescript
27
+
import { AnswerCallback } from'bandwidth-sdk';
28
+
29
+
const instance:AnswerCallback= {
30
+
eventType,
31
+
eventTime,
32
+
accountId,
33
+
applicationId,
34
+
from,
35
+
to,
36
+
direction,
37
+
callId,
38
+
callUrl,
39
+
enqueuedTime,
40
+
startTime,
41
+
answerTime,
42
+
tag,
43
+
machineDetectionResult,
44
+
};
45
+
```
46
+
47
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
If the target call leaves the <Bridge>, then this callback is sent to the bridgeCompleteUrl, and the BXML returned in it is executed on the call. If this webhook is sent, the Bridge Target Complete webhook is NOT sent. This callback is also sent if any problem occurs that prevents the calls to be bridged.
**eventType** | **string** | The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect. | [optional][default to undefined]
10
+
**eventTime** | **string** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional][default to undefined]
11
+
**accountId** | **string** | The user account associated with the call. | [optional][default to undefined]
12
+
**applicationId** | **string** | The id of the application associated with the call. | [optional][default to undefined]
13
+
**from** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional][default to undefined]
14
+
**to** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional][default to undefined]
15
+
**direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional][default to undefined]
16
+
**callId** | **string** | The call id associated with the event. | [optional][default to undefined]
17
+
**callUrl** | **string** | The URL of the call associated with the event. | [optional][default to undefined]
18
+
**enqueuedTime** | **string** | (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format. | [optional][default to undefined]
19
+
**startTime** | **string** | Time the call was started, in ISO 8601 format. | [optional][default to undefined]
20
+
**answerTime** | **string** | Time the call was answered, in ISO 8601 format. | [optional][default to undefined]
21
+
**tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional][default to undefined]
22
+
**cause** | **string** | Reason the call failed - hangup, busy, timeout, cancel, rejected, callback-error, invalid-bxml, application-error, account-limit, node-capacity-exceeded, error, or unknown. | [optional][default to undefined]
23
+
**errorMessage** | **string** | Text explaining the reason that caused the call to fail in case of errors. | [optional][default to undefined]
24
+
**errorId** | **string** | Bandwidth\'s internal id that references the error event. | [optional][default to undefined]
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
If the originating call leaves the <Bridge>, then this callback is sent to the bridgeTargetCompleteUrl, and the BXML returned in it is executed on the target call. If this webhook is sent, the Bridge Complete webhook is NOT sent.
**eventType** | **string** | The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect. | [optional][default to undefined]
10
+
**eventTime** | **string** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional][default to undefined]
11
+
**accountId** | **string** | The user account associated with the call. | [optional][default to undefined]
12
+
**applicationId** | **string** | The id of the application associated with the call. | [optional][default to undefined]
13
+
**from** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional][default to undefined]
14
+
**to** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional][default to undefined]
15
+
**direction** | [**CallDirectionEnum**](CallDirectionEnum.md) | | [optional][default to undefined]
16
+
**callId** | **string** | The call id associated with the event. | [optional][default to undefined]
17
+
**callUrl** | **string** | The URL of the call associated with the event. | [optional][default to undefined]
18
+
**enqueuedTime** | **string** | (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format. | [optional][default to undefined]
19
+
**startTime** | **string** | Time the call was started, in ISO 8601 format. | [optional][default to undefined]
20
+
**answerTime** | **string** | Time the call was answered, in ISO 8601 format. | [optional][default to undefined]
21
+
**tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional][default to undefined]
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments