
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
exotel-node
Advanced tools
A NodeJs wrapper for Exotel APIs. Converts Exotel XML response to Javascript object.
npm install exotel-node
var Exotel = require('exotel-node');
Exotel.init(SID, TOKEN, EXOPHONE);
Exotel.sendSMS(TO_NUMBER, MESSAGE, function(error, response) {
if (!error) {
console.log(response);
}
});
Exotel.connectCall(AGENT_NUMBER, CUSTOMER_NUMBER, function(error, response) {
if (!error) {
console.log(response);
}
});
Exotel.getCallDetails(CALL_SID, function(error, response) {
if (!error) {
console.log(response);
console.log(response.DateCreated); // Date created
console.log(response.DateUpdated); // Date updated
console.log(response.AccountSid); // Account SID used to create the call
console.log(response.To); // Customer number/2nd number in API call
console.log(response.From); // Agent number/1st number in API call
console.log(response.Status); // Call status
console.log(response.StartTime); // Call start time
console.log(response.EndTime); // Call end time
console.log(response.Duration); // Call duration
console.log(response.Price); // Call cost
console.log(response.RecordingUrl); // Call recording url
}
});
You can raise an issue in this repo or mail me at sidhant@hashexclude.com
FAQs
A NodeJs wrapper for Exotel APIs
The npm package exotel-node receives a total of 12 weekly downloads. As such, exotel-node popularity was classified as not popular.
We found that exotel-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.