-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #247 from Vonage/feature/detail-status-webhooks
adding detail to status-webhooks
- Loading branch information
Showing
3 changed files
with
135 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Vonage.Voice.EventWebhooks | ||
{ | ||
public enum DetailedStatus | ||
{ | ||
/// <summary> | ||
/// no detail provided | ||
/// </summary> | ||
no_detail, | ||
/// <summary> | ||
/// detail provided but not mapped to an enum | ||
/// </summary> | ||
unmapped_detail, | ||
/// <summary> | ||
/// number invalid | ||
/// </summary> | ||
invalid_number, | ||
/// <summary> | ||
/// Rejected by carrier | ||
/// </summary> | ||
restricted, | ||
/// <summary> | ||
/// rejected by callee | ||
/// </summary> | ||
declined, | ||
/// <summary> | ||
/// cannot route to the number | ||
/// </summary> | ||
cannot_route, | ||
/// <summary> | ||
/// Number is not available anymore. | ||
/// </summary> | ||
number_out_of_service, | ||
/// <summary> | ||
/// Server error or failure | ||
/// </summary> | ||
internal_error, | ||
/// <summary> | ||
/// Carrier timed out | ||
/// </summary> | ||
carrier_timeout, | ||
/// <summary> | ||
/// Callee is temorarily unavailable. | ||
/// </summary> | ||
unavailable | ||
} | ||
} |