JavaScript Return info after Twilio client outgoing call

Im trying to find a way to return information when placing an outgoing call through the twilio softphone in the browser.

When I place an outgoing call my application invites the remote party to a conference room throught the rest api, and the agent is invited to that same conference room through the returned twiml, so its not really a direct call.

I need a way to let the person in the soft phone know the reason why the call got disconnected like because the remote was busy, his number was disconnected, its a non US number, etc.

I dont want to save temp messages and retrieve them from the server to the softphone through a heartbeat or similar, so I want to know if there is a way to pass this information trough twilio itself or what other option I could use.

I'm using php and https://static.twilio.com/libs/twiliojs/1.2/twilio.min.js

Answer:1

I'm a bit new with JavaScript (learning from CodeCademy), and I was wondering why this was happening: function Person(job, married) { this.job = job; this.married = married; // add a "...

I'm a bit new with JavaScript (learning from CodeCademy), and I was wondering why this was happening: function Person(job, married) { this.job = job; this.married = married; // add a "...

  1. javascript sort different results
  2. javascript regex different results

Here's a script I'm using. $(window).load(function() { $('#edifici, #artistici, #industriale, #fotovoltaico, #veterinaria, #architettonici').hide(); if (!!window.location.hash) { var hash = ...

Here's a script I'm using. $(window).load(function() { $('#edifici, #artistici, #industriale, #fotovoltaico, #veterinaria, #architettonici').hide(); if (!!window.location.hash) { var hash = ...

Google have introduced a stock chart to their results which highlights "After hours": I've had a hunt around the documentation and I can't see anything obvious that would suggest how to achieve a ...

Google have introduced a stock chart to their results which highlights "After hours": I've had a hunt around the documentation and I can't see anything obvious that would suggest how to achieve a ...

  1. custom background google chrome
  2. custom background google docs
  3. custom background google homepage
  4. custom background google
  5. custom background google slides
  6. custom background google form
  7. custom google background extension
  8. custom google background image
  9. custom google background maker
  10. custom google background firefox
  11. custom google background not working
  12. custom google background options
  13. custom google background safari
  14. flavr - custom google background

Any basic addition, subtraction, multiplication and division equation can be entered in the console or set to a variable: var solve = (3 + 7) + 2 * 8 / 2 // 18 and correctly solved. My code is not ...

Any basic addition, subtraction, multiplication and division equation can be entered in the console or set to a variable: var solve = (3 + 7) + 2 * 8 / 2 // 18 and correctly solved. My code is not ...

  1. solving equations like terms calculator
  2. solving equations like terms
  3. solving equations like terms worksheet
  4. solving equations like bases
  5. solve line equations
  6. solve equations involving like terms calculator
  7. solve equations involving like terms
  8. solve equations combine like terms worksheet
  9. solve equations using like terms calculator
  10. solve equations involving like terms worksheet
  11. solve equations using like terms
  12. solve equations combine like terms with fractions
  13. solving equations combining like terms and distributive property worksheet
  14. solving equations with like terms worksheet answers
  15. solving equations combining like terms
  16. solving equations having like terms and parentheses
  17. solving equations combining like terms calculator
  18. solving equations combining like terms #2
  19. solving equations collecting like terms joke #19 answer key
  20. solving equations with like terms and parentheses worksheets