4.7.1 • Published 3 years ago

@ringcentral/engage-voice-agent-softphone v4.7.1

Weekly downloads
56
License
MIT
Repository
-
Last release
3 years ago

AgentSoftPhone Software Development Kit (SDK)

This project is expected to be used as a library to link client agent controls to the Engage Voice system. The AgentSoftphone describes all SIP functionality. Documentation can be found in the '/doc' folder

Initialization of the softphone sdk

Argument: Object Return: SoftPhone Object Instance Description: Creating an instance for invoking all SIP related methods.

// add to your project
yarn add @ringcentral/engage-voice-agent-softphone;

// then import and initalize
import SoftphoneService from '@ringcentral/engage-voice-agent-softphone';

const config = {
    authToken, // required paramerter and it is a jwt token for authentication and it is used by softphone service for fetching webrtc information.
    agentId, // required parameters and it would be pass while initializing the softphone service
    dialDest, // @optional parameters
    callbacks, // @optional and it may pass to call client function
    UIModel, // @optional and it may pass from agent-js
};

var serviceInstance = new SoftphoneService(config);

// then initialize your softphone instance
serviceInstance.sipInitAndRegister(config);
4.7.1

3 years ago

4.7.0

3 years ago

4.6.0

3 years ago

4.3.1

3 years ago

4.2.1-rc.2

3 years ago

4.2.1-rc.0

3 years ago