public function status($phone, $id, $cb, $all = 0)
{
$cb = CallbackWrapper::wrap($cb);
$this->appInstance->httpclient->get(['http://smsc.ru/sys/status.php', 'login' => $this->config->login->value, 'psw' => $this->config->password->value, 'phone' => $phone, 'id' => $id, 'fmt' => 3, 'all' => $all], function ($conn, $success) use($cb) {
call_user_func($cb, json_decode($conn->body, true));
});
}