/// <summary> /// Simultaniously dial multiple phone numbers. The first of these calls to answer will be connected to the current caller, while the rest of the connection attempts are canceled. /// </summary> /// <param name="numbers">An array of phone numbers to dial</param> /// <returns></returns> public TwilioResponse DialNumbers(params string[] numbers) { BeginDial(); var dial = new Dial(); foreach (var number in numbers) { Add(new Number(number)); } return EndDial(); }
public TwilioResponse DialClients(params string[] clients) { BeginDial(); var dial = new Dial(); foreach (var client in clients) { Add(new Client(client)); } return EndDial(); }