public function removeApp(Request $request, $id) { $inputs['id'] = $id; $params[0] = $id; $ossbss = new Ossbss(); $result = $ossbss->deleteInfo('serverApps.removeApp', $inputs, $params); return json_encode($result); }
/** * remove the Ip Access from trunk * @param Request $request * @param string $sipTrunkId * @param string $sipTrunkIpId * @return string */ public function removeIpAccess(Request $request, $sipTrunkId, $sipTrunkIpId) { $inputs['sipTrunkId'] = $sipTrunkId; $inputs['sipTrunkIpId'] = $sipTrunkIpId; $params[0] = $sipTrunkId; $params[1] = $sipTrunkIpId; $ossbss = new Ossbss(); $result = $ossbss->deleteInfo("trunks.removeIpAccess", array(), $params); $result = unsetParam($result, "paging", "data"); return json_encode($result); }