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

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

      return Constructor::Make($this, $data->get());
    }
public function accept ( ) { $ url = URIResource :: Make ( $ this -> path , array ( $ this -> id ) ) ; $ data = new DataPacket ( array ( "state" => CALL_STATES :: active ) ) ; $ id = Locator :: Find ( $ this -> client -> post ( $ url , $ data -> get ( ) ) ) ; $ data -> add ( "id" , $ id ) ; return Constructor :: Make ( $ this , $ data -> get ( ) ) ; }
Accept an incoming
call.

@return void
Accept an incoming call .