public function reject()
    {
      $url = URIResource::Make($this->path, array($this->id));
      $data = new DataPacket(array("state" => CALL_STATES::rejected));
      $this->client->post($url, $data->get());

      return Constructor::Make($this, $data->get());
    }
public function reject()
    {
      $url = URIResource::Make($this->path, array($this->id));
      $data = new DataPacket(array("state" => CALL_STATES::rejected));
      $this->client->post($url, $data->get());

      return Constructor::Make($this, $data->get());
    }
public function reject ( ) { $ url = URIResource :: Make ( $ this -> path , array ( $ this -> id ) ) ; $ data = new DataPacket ( array ( "state" => CALL_STATES :: rejected ) ) ; $ this -> client -> post ( $ url , $ data -> get ( ) ) ; return Constructor :: Make ( $ this , $ data -> get ( ) ) ; }
Reject an incoming call. Call id must already be passed

@return void
Reject an incoming call . Call id must already be passed