public static Task UpdateTerminationSettings(string siteId, string id, SipPeerTerminationSettings settings) { return(UpdateTerminationSettings(Client.GetInstance(), siteId, id, settings)); }
public static async Task <SipPeerTerminationSettingsResponse> SetTerminationSettingsResponse(string siteId, string id, SipPeerTerminationSettings settings) { return(await SetTerminationSettings(Client.GetInstance(), siteId, id, settings)); }
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 )); }
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 )); }