コード例 #1
0
 public static Task UpdateTerminationSettings(string siteId, string id, SipPeerTerminationSettings settings)
 {
     return(UpdateTerminationSettings(Client.GetInstance(), siteId, id, settings));
 }
コード例 #2
0
 public static async Task <SipPeerTerminationSettingsResponse> SetTerminationSettingsResponse(string siteId, string id, SipPeerTerminationSettings settings)
 {
     return(await SetTerminationSettings(Client.GetInstance(), siteId, id, settings));
 }
コード例 #3
0
 public static Task UpdateTerminationSettings(Client client, string siteId, string id, SipPeerTerminationSettings settings)
 {
     return(client.MakePutRequest(
                client.ConcatAccountPath($"/sites/{siteId}/sippeers/{id}/{PRODUCTS}/{TERMINATION}/{SETTINGS}"),
                settings,
                true
                ));
 }
コード例 #4
0
 public static async Task <SipPeerTerminationSettingsResponse> SetTerminationSettings(Client client, string siteId, string id, SipPeerTerminationSettings settings)
 {
     return(await client.MakePostRequest <SipPeerTerminationSettingsResponse>(
                client.ConcatAccountPath($"/sites/{siteId}/sippeers/{id}/{PRODUCTS}/{TERMINATION}/{SETTINGS}"),
                settings
                ));
 }