vicidial-sdk
v1.0.2
Published
Sdk for vicidial with nodejs
Readme
Vicidial API Javascript WRAPPER
Elegant and simple Implementation to integrate Vicidial API
DISCLAIMER: VICIdial is a registered trademark of the Vicidial Group which i am not related in anyway.
VICIDIAL is a software suite that is designed to interact with the Asterisk Open-Source PBX Phone system to act as a complete inbound/outbound contact center suite with inbound email support as well.
Install
npm i vicidial-sdkHow to use it
Example remote agent login:
import vicidial from 'vicidial-sdk';
vicidial().login(vicidialAdminUrl, agentUser, agentPass, remoteAgentId, numberOfLines, extension);Example remote agent logout:
import vicidial from 'vicidial-sdk';
vicidial().logout(vicidialAdminUrl, agentUser, agentPass, remoteAgentId, numberOfLines, extension);Example remote agent hanup
import vicidial from 'vicidial-sdk';
vicidial().vicidialApi(vicidialAgentApi, apiUser, apiPassword).remoteAgent.remoteAgentHangup(
callid,
agentUser,
ingroupChoices,
phoneNumber,
status
)