Пример #1
0
 public function testRefresh()
 {
     $params = new Catapult\Parameters();
     $params->setFrom(new Catapult\PhoneNumber(__DEFAULT_SENDER__));
     $params->setTo(new Catapult\PhoneNumber(__DEFAULT_RECEIVER__));
     $call = new Catapult\Call();
     $call->create($params);
     $call->wait();
     /* wait 5 seconds then
      * refresh
      */
     $call->refresh();
 }