Skip to content

Commit ee2d9b6

Browse files
committed
VAPI-3163
1 parent a636a69 commit ee2d9b6

3 files changed

Lines changed: 41 additions & 46 deletions

File tree

api/openapi.yaml

Lines changed: 14 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13481,30 +13481,23 @@ components:
1348113481
example: exampleTag
1348213482
nullable: true
1348313483
type: string
13484-
sipResponseCode:
13485-
description: "The SIP response code from the REFER request, indicating the\
13486-
\ outcome of the operation (e.g., 200 for success, 404 for not found)."
13487-
example: 200
13484+
referCallStatus:
13485+
description: "The outcome of the REFER operation. Either \"success\" or\
13486+
\ \"failure\"."
13487+
example: success
13488+
type: string
13489+
referSipResponseCode:
13490+
description: "The SIP response code returned for the REFER request itself\
13491+
\ (e.g. 202, 405, 603)."
13492+
example: 202
1348813493
nullable: true
1348913494
type: integer
13490-
cause:
13491-
description: "Reason the call failed - hangup, busy, timeout, cancel, rejected,\
13492-
\ callback-error, invalid-bxml, application-error, account-limit, node-capacity-exceeded,\
13493-
\ error, or unknown."
13494-
example: busy
13495-
type: string
13496-
errorMessage:
13497-
description: Text explaining the reason that caused the call to fail in
13498-
case of errors.
13499-
example: Call c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f is already
13500-
bridged with another call
13501-
nullable: true
13502-
type: string
13503-
errorId:
13504-
description: Bandwidth's internal id that references the error event.
13505-
example: 4642074b-7b58-478b-96e4-3a60955c6765
13495+
notifySipResponseCode:
13496+
description: "The final SIP response code reported via NOTIFY. Present only\
13497+
\ when the caller's endpoint sent a final NOTIFY."
13498+
example: 200
1350613499
nullable: true
13507-
type: string
13500+
type: integer
1350813501
type: object
1350913502
transcriptionAvailableCallback:
1351013503
description: The Transcription Available event is sent when the recording transcription
@@ -14089,12 +14082,6 @@ components:
1408914082
example: 4642074b-7b58-478b-96e4-3a60955c6765
1409014083
nullable: true
1409114084
type: string
14092-
sipResponseCode:
14093-
description: "The SIP response code from the REFER request, indicating the outcome\
14094-
\ of the operation (e.g., 200 for success, 404 for not found)."
14095-
example: 200
14096-
nullable: true
14097-
type: integer
1409814085
machineDetectionResult:
1409914086
description: "(optional) if machine detection was requested in sync mode, the\
1410014087
\ result will be specified here. Possible values are the same as the async\

bandwidth.yml

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5080,14 +5080,12 @@ components:
50805080
$ref: '#/components/schemas/answerTime'
50815081
tag:
50825082
$ref: '#/components/schemas/tag1'
5083-
sipResponseCode:
5084-
$ref: '#/components/schemas/sipResponseCode'
5085-
cause:
5086-
$ref: '#/components/schemas/cause'
5087-
errorMessage:
5088-
$ref: '#/components/schemas/errorMessage'
5089-
errorId:
5090-
$ref: '#/components/schemas/errorId'
5083+
referCallStatus:
5084+
$ref: '#/components/schemas/referCallStatus'
5085+
referSipResponseCode:
5086+
$ref: '#/components/schemas/referSipResponseCode'
5087+
notifySipResponseCode:
5088+
$ref: '#/components/schemas/notifySipResponseCode'
50915089
transcriptionAvailableCallback:
50925090
type: object
50935091
description: >-
@@ -5433,6 +5431,24 @@ components:
54335431
or it was previously cleared, this field will not be present.
54345432
example: exampleTag
54355433
nullable: true
5434+
referCallStatus:
5435+
type: string
5436+
description: The outcome of the REFER operation. Either "success" or "failure".
5437+
example: success
5438+
referSipResponseCode:
5439+
type: integer
5440+
description: >-
5441+
The SIP response code returned for the REFER request itself (e.g. 202,
5442+
405, 603).
5443+
example: 202
5444+
nullable: true
5445+
notifySipResponseCode:
5446+
type: integer
5447+
description: >-
5448+
The final SIP response code reported via NOTIFY. Present only when the
5449+
caller's endpoint sent a final NOTIFY.
5450+
example: 200
5451+
nullable: true
54365452
cause:
54375453
type: string
54385454
description: >-
@@ -5454,13 +5470,6 @@ components:
54545470
description: Bandwidth's internal id that references the error event.
54555471
example: 4642074b-7b58-478b-96e4-3a60955c6765
54565472
nullable: true
5457-
sipResponseCode:
5458-
type: integer
5459-
description: >-
5460-
The SIP response code from the REFER request, indicating the outcome
5461-
of the operation (e.g., 200 for success, 404 for not found).
5462-
example: 200
5463-
nullable: true
54645473
machineDetectionResult:
54655474
type: object
54665475
description: >-

docs/ReferCompleteCallback.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ Name | Type | Description | Notes
1818
**StartTime** | **DateTime** | Time the call was started, in ISO 8601 format. | [optional]
1919
**AnswerTime** | **DateTime?** | Time the call was answered, in ISO 8601 format. | [optional]
2020
**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]
21-
**SipResponseCode** | **int?** | The SIP response code from the REFER request, indicating the outcome of the operation (e.g., 200 for success, 404 for not found). | [optional]
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]
23-
**ErrorMessage** | **string** | Text explaining the reason that caused the call to fail in case of errors. | [optional]
24-
**ErrorId** | **string** | Bandwidth's internal id that references the error event. | [optional]
21+
**ReferCallStatus** | **string** | The outcome of the REFER operation. Either "success" or "failure". | [optional]
22+
**ReferSipResponseCode** | **int?** | The SIP response code returned for the REFER request itself (e.g. 202, 405, 603). | [optional]
23+
**NotifySipResponseCode** | **int?** | The final SIP response code reported via NOTIFY. Present only when the caller's endpoint sent a final NOTIFY. | [optional]
2524

2625
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2726

0 commit comments

Comments
 (0)