RingCentral Webinar: TCR - Registering Your Business to Send and Receive Text Messages
How might we mark a voicemail as read (or any type of message for that matter)?Currently, the light still blinks on my desk phone until I either read it on an app, online, or delete the message.
When I get the active calls for a user, it has calls that are not still active. For example, a call that finished a few minutes ago might still be on it. Any idea why this might be?Thanks :)
To handle possible access or authentication exceptions that may occur while the application is running (after the user has successfully logged in), you can provide a handler for the accessViolation platform event.platform.on(platform.events.accessViolation, function(e){ // do something });A recommended way to handle access or authentication exceptions is to direct the user to the login page or UI. The login page may attempt to automatically re-authenticate the user using stored authentication data (see below).
To log in to RingCentral, get the Platform object and call its authorize method, providing valid username, extension, and password values. Enter your phone number in E.164 format for username. The + may be omitted.A Promise is returned, and you can use its then method to specify your continuation function, and its catch method to specify an error handling function.var platform = rcsdk.getPlatform();platform.authorize({ username: '+18001234567', // your phone number in E.164 format extension: '101', // leave blank if direct number is used password: 'yourpassword' }).then(function(ajax) { // your code here }).catch(function(e) { alert(e.message || 'Server cannot authorize user'); });
You may want to know the status of a call while it's in progress. Here is an example of how to do that:function update(next, delay) { if (!rcsdk.getRingoutHelper().isInProgress(ringout)) return; platform.apiCall(rcsdk.getRingoutHelper().loadRequest(prevRingoutData)) .then(function(ajax) { // also save ajax.data as, for example, prevRingoutData console.log(ajax.data); // updated status of ringout timeout = next(delay); // you can increase delay here }) .catch(handleError); } var timeout = rcsdk.getUtils().poll(update, 3000); // stay in RPS limits To stop polling: rcsdk.getUtils().stopPolling(timeout);
We can’t know everything, but we can help point you in the right direction with these resources:
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.