private JObject TransferCall(HttpContext context) { JObject responseJObj = new JObject(); GT.BusinessLogicLayer.V_1_5.GroupCall groupsObj = new GT.BusinessLogicLayer.V_1_5.GroupCall(); responseJObj = groupsObj.TransferCall(MyConf.MyConnectionString, JObject.Parse(context.Request["privateUnPrivateObj"].ToString()), Convert.ToInt32(context.Session["UserID"])); return(responseJObj); }
private JObject HangUp(HttpContext context) { JObject responseJObj = new JObject(); GT.BusinessLogicLayer.V_1_5.GroupCall groupCallObj = new GT.BusinessLogicLayer.V_1_5.GroupCall(); responseJObj = groupCallObj.ValidateHangUpAction(MyConf.MyConnectionString, JObject.Parse(context.Request["hangUpObj"].ToString()), Convert.ToInt32(context.Request["UserID"])); return(responseJObj); }
private JObject Dial(System.Web.HttpContext context) { GT.BusinessLogicLayer.V_1_5.GroupCall groupCallObj = new GT.BusinessLogicLayer.V_1_5.GroupCall(); JObject dialResponseJobj = new JObject(); JObject dialObj = new JObject(); dialObj = JObject.Parse(context.Request["dialObj"].ToString()); string grpCallCallBackUrl = System.Configuration.ConfigurationManager.AppSettings["grpCallCallBackUrl"].ToString(); dialResponseJobj = groupCallObj.ValidateGrpCallDial(MyConf.MyConnectionString, dialObj, Convert.ToInt32(context.Session["UserId"] ), grpCallCallBackUrl, 1); Logger.TraceLog("DIal In handlers web" + dialObj.ToString()); return(dialResponseJobj); }