public function __construct($request, $response) 
 {/*{{{*/
     $request->callbacktype = CallCenterApiFaculty::SPTYPE_TINET;
     parent::__construct($request, $response);
     $ioFaculty = new IOFaculty();
     $this->ioLogRecorder = new IOLogRecorder($this->logFileName, $ioFaculty->run(IOFaculty::TYPE_JSON));
 }/*}}}*/
 public function __construct($request, $response) 
 {/*{{{*/
     $confLogPath = PhoneConferenceClient::getInstance()->getConfLogPath();
     $this->logFileName = $confLogPath."huaweiconfcallback-".XDateTime::now()->toStringByFormat('Ymd').".log";
     $ioFaculty = new IOFaculty();
     $this->ioLogRecorder = new IOLogRecorder($this->logFileName, $ioFaculty->run(IOFaculty::TYPE_XML));
 }/*}}}*/
    public function __construct($request, $response)
    {/*{{{*/
        $ioFaculty = new IOFaculty();
        $this->IOConverter = $ioFaculty->run(self::IO_TYPE); 
        $this->logFileName = "/tmp/voipcallback-".XDateTime::now()->toStringByFormat('Ymd').".log";
        $this->logTxt = "-------------------------------------------------------------- \n";
        $this->logTxt .= XDateTime::now()->toString()."<---\n".print_r($request, true);

        $this->voipApi = new CloopenVoipApi();
    }/*}}}*/
    public function __construct($request, $response) 
    {/*{{{*/
        $ioFaculty = new IOFaculty();
        $this->IOConverter = $ioFaculty->run(IOFaculty::TYPE_XML); 
        $response->confLogPath = PhoneConferenceClient::getInstance()->getConfLogPath();

        $items = '';
        if ($request instanceof Request && CallCenterApiFaculty::SPTYPE_CLOUD != $request->callbacktype)
        {
            $arr = $request->getAllRequest();
            $items = $this->getLogStr($arr);
        }
        else
        {
            $items =  file_get_contents("php://input");
            $items = preg_replace("/<S.* \/>/","",$items);
            $items = $this->getLogStr(XString::xmlToArray($items));
        }
        $this->logTxt .= XDateTime::now()->toString().$items."\n";
        $this->setCallBack($request->callbacktype, $response);
    }/*}}}*/