Skip to content

Instantly share code, notes, and snippets.

@dtolb
Created January 22, 2016 21:48
Show Gist options
  • Save dtolb/2d072277164f0471943c to your computer and use it in GitHub Desktop.
Save dtolb/2d072277164f0471943c to your computer and use it in GitHub Desktop.
Create Bridge
private async Task ProcessCatapultToEvent(AnswerEvent ev)
{
//"to" number answered a call. Making a bridge with "from" number's call
var b = await Bridge.Create(Client, new[] {ev.CallId, ev.Tag}, true);
Debug.WriteLine(string.Format("BridgeId is {0}", b.Id));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment