public static Task UpdateOriginationSettings(string siteId, string id, SipPeerOriginationSettings settings)
 {
     return(UpdateOriginationSettings(Client.GetInstance(), siteId, id, settings));
 }
 public static async Task <SipPeerOriginationSettingsResponse> SetOriginationSettings(string siteId, string id, SipPeerOriginationSettings settings)
 {
     return(await SetOriginationSettings(Client.GetInstance(), siteId, id, settings));
 }
 public static Task UpdateOriginationSettings(Client client, string siteId, string id, SipPeerOriginationSettings settings)
 {
     return(client.MakePutRequest(
                client.ConcatAccountPath($"/sites/{siteId}/sippeers/{id}/{PRODUCTS}/{ORIGINATION}/{SETTINGS}"),
                settings,
                true
                ));
 }
 public static async Task <SipPeerOriginationSettingsResponse> SetOriginationSettings(Client client, string siteId, string id, SipPeerOriginationSettings settings)
 {
     return(await client.MakePostRequest <SipPeerOriginationSettingsResponse>(
                client.ConcatAccountPath($"/sites/{siteId}/sippeers/{id}/{PRODUCTS}/{ORIGINATION}/{SETTINGS}"),
                settings
                ));
 }