public ActionResult ConferenceCreated(ConferenceStatusCallback request) { // Make OutDial request once conference has been created PerCLScript script = new PerCLScript(); Say say = new Say(); say.setText("Please wait while we attempt to connect you to an agent."); script.Add(say); string confId = request.getConferenceId; // implementation of lookupAgentPhoneNumber() is left up to the developer string agentPhoneNumber = lookupAgentPhoneNumber(); // Make OutDial request once conference has been created var outdialActionUrl = AppUrl + $"/voice/OutboundCallMade?conferenceId={confId}"; var outdialConnectedUrl = AppUrl + $"/voice/OutboundCallConnected?conferenceId={confId}"; OutDial outDial = new OutDial(agentPhoneNumber, outdialConnectedUrl); outDial.setCallingNumber(request.getFrom); outDial.setActionUrl(outdialActionUrl); outDial.setIfMachine(com.freeclimb.EIfMachine.Hangup); script.Add(outDial); return(Content(script.toJson(), "application/json")); }