예제 #1
0
 public static Task UpdateOriginationSettings(string siteId, string id, SipPeerOriginationSettings settings)
 {
     return(UpdateOriginationSettings(Client.GetInstance(), siteId, id, settings));
 }
예제 #2
0
 public static async Task <SipPeerOriginationSettingsResponse> SetOriginationSettings(string siteId, string id, SipPeerOriginationSettings settings)
 {
     return(await SetOriginationSettings(Client.GetInstance(), siteId, id, settings));
 }
예제 #3
0
 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
                ));
 }
예제 #4
0
 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
                ));
 }