diff --git a/src/Sipit/Sipit.php b/src/Sipit/Sipit.php index 4e7f360..ee4d0cf 100644 --- a/src/Sipit/Sipit.php +++ b/src/Sipit/Sipit.php @@ -307,6 +307,12 @@ public function getResponse() $response['response_concat'] = $this->responseConcat; $response['response_full'] = $parsedResponse; + if (empty($this->response)) { + $response['success'] = false; + } else { + $response['success'] = true; + } + return $response; } }