We have an issue where we sending calls to the BrowserSDK. To do this successfully, we need to first check the status of the agent using the RestClient Endpoint method and then run our PHLO app.
For some reason we are unable to do this as the PhloRestClient refuses to work after using the RestClient. Things we have tried:
`require $code_path.'/plivo/vendor/autoload.php';
use Plivo\XML\Response;
use Plivo\RestClient;
$response = new Response();
$auth_id = '';
$auth_token = '';
$api = new RestClient($auth_id, $auth_token);
use Plivo\Resources\PHLO\PhloRestClient;
use Plivo\Exceptions\PlivoRestException;
$client = new PhloRestClient($auth_id, $auth_token);
We have an issue where we sending calls to the BrowserSDK. To do this successfully, we need to first check the status of the agent using the RestClient Endpoint method and then run our PHLO app.
For some reason we are unable to do this as the PhloRestClient refuses to work after using the RestClient. Things we have tried:
`require $code_path.'/plivo/vendor/autoload.php'; use Plivo\XML\Response; use Plivo\RestClient; $response = new Response(); $auth_id = ''; $auth_token = ''; $api = new RestClient($auth_id, $auth_token); use Plivo\Resources\PHLO\PhloRestClient; use Plivo\Exceptions\PlivoRestException; $client = new PhloRestClient($auth_id, $auth_token);
Any help will be appreciated.