public function telephonyCallManager($phone, $details)
    {
        if (!isset($phone)) {
            throw new \InvalidArgumentException('Phone number must be set');
        }

        $parameters['phone'] = $phone;
        $parameters['details'] = isset($details) ? $details : 0;

        /* @noinspection PhpUndefinedMethodInspection */
        return $this->client->makeRequest(
            '/telephony/manager',
            "GET",
            $parameters
        );
    }
public function telephonyCallManager($phone, $details)
    {
        if (!isset($phone)) {
            throw new \InvalidArgumentException('Phone number must be set');
        }

        $parameters['phone'] = $phone;
        $parameters['details'] = isset($details) ? $details : 0;

        /* @noinspection PhpUndefinedMethodInspection */
        return $this->client->makeRequest(
            '/telephony/manager',
            "GET",
            $parameters
        );
    }
public function telephonyCallManager ( $ phone , $ details ) { if ( ! isset ( $ phone ) ) { throw new \ InvalidArgumentException ( 'Phone number must be set' ) ; } $ parameters [ 'phone' ] = $ phone ; $ parameters [ 'details' ] = isset ( $ details ) ? $ details : 0 ; /* @noinspection PhpUndefinedMethodInspection */ return $ this -> client -> makeRequest ( '/telephony/manager' , "GET" , $ parameters ) ; }
Get call manager

@param string $phone   phone number
@param bool   $details detailed information

@throws \InvalidArgumentException
@throws \RetailCrm\Exception\CurlException
@throws \RetailCrm\Exception\InvalidJsonException

@return \RetailCrm\Response\ApiResponse
Get call manager