-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating merge to fix the test cases
- Loading branch information
1 parent
9dcbf94
commit 3c160c1
Showing
5 changed files
with
48 additions
and
47 deletions.
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
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 |
---|---|---|
|
@@ -24,11 +24,13 @@ public class Endpoint | |
/// <summary> | ||
/// The phone number to connect to in E.164 format. | ||
/// </summary> | ||
public string number { get; set; } | ||
[JsonProperty("number")] | ||
public string Number { get; set; } | ||
/// <summary> | ||
/// Set the digits that are sent to the user as soon as the Call is answered. The * and # digits are respected. You create pauses using p. Each pause is 500ms. | ||
/// </summary> | ||
public string dtmfAnswer { get; set; } | ||
[JsonProperty("dtmfAnswer")] | ||
public string DtmfAnswer { get; set; } | ||
|
||
// websocket/sip: | ||
|
||
|
@@ -37,20 +39,22 @@ public class Endpoint | |
/// OR | ||
/// The SIP URI to the endpoint you are connecting to in the format sip:[email protected]. | ||
/// </summary> | ||
public string uri { get; set; } | ||
[JsonProperty("uri")] | ||
public string Uri { get; set; } | ||
|
||
// websocket: | ||
|
||
/// <summary> | ||
/// The internet media type for the audio you are streaming.Possible values are: audio/l16; rate=16000 | ||
/// </summary> | ||
[JsonProperty("content-type")] | ||
public string contentType { get; set; } | ||
public string ContentType { get; set; } | ||
|
||
/// <summary> | ||
/// A JSON object containing any metadata you want. | ||
/// </summary> | ||
public object headers { get; set; } | ||
[JsonProperty("headers")] | ||
public object Headers { get; set; } | ||
} | ||
|
||
[JsonConverter(typeof(CallCommandConverter))] | ||
|