public function NotifyXcdrRecord($msgHeader, $format, $type, $cdr)
    {
        $this->msgHeader = $msgHeader;
        $this->registrationID = $msgHeader->registrationID;
        $this->transactionID = $msgHeader->transactionID;
        $this->cdrFormat = $format;
        $this->cdrType = $type;
        $this->cdrRecord = $cdr;

        $response = $this->listener->processRecord($this, null);

        if (!$this->isValid()) return;
        return $response;
    }
public function NotifyXcdrRecord($msgHeader, $format, $type, $cdr)
    {
        $this->msgHeader = $msgHeader;
        $this->registrationID = $msgHeader->registrationID;
        $this->transactionID = $msgHeader->transactionID;
        $this->cdrFormat = $format;
        $this->cdrType = $type;
        $this->cdrRecord = $cdr;

        $response = $this->listener->processRecord($this, null);

        if (!$this->isValid()) return;
        return $response;
    }
public function NotifyXcdrRecord ( $ msgHeader , $ format , $ type , $ cdr ) { $ this -> msgHeader = $ msgHeader ; $ this -> registrationID = $ msgHeader -> registrationID ; $ this -> transactionID = $ msgHeader -> transactionID ; $ this -> cdrFormat = $ format ; $ this -> cdrType = $ type ; $ this -> cdrRecord = $ cdr ; $ response = $ this -> listener -> processRecord ( $ this , null ) ; if ( ! $ this -> isValid ( ) ) return ; return $ response ; }
Parse and save wsapi cdr record.
Parse and save wsapi cdr record .