예제 #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
                ));
 }