Advertisement
Guest User

Untitled

a guest
Apr 15th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. [
  2. {
  3. "id": "conf-now-unmuted",
  4. "text": "The conference is now unmuted.",
  5. "formats": [
  6. {
  7. "language": "en",
  8. "format": "gsm"
  9. }
  10. ]
  11. },
  12. {
  13. "id": "vm-nomore",
  14. "text": "No more messages.",
  15. "formats": [
  16. {
  17. "language": "en",
  18. "format": "gsm"
  19. }
  20. ]
  21. },
  22. {
  23. "id": "vm-review",
  24. "text": "press 1 to accept this recording press 2 to listen to it press 3 to rerecord your message",
  25. "formats": [
  26. {
  27. "language": "en",
  28. "format": "gsm"
  29. }
  30. ]
  31. },
  32. {
  33. "id": "demo-echodone",
  34. "text": "The echo test has been completed.",
  35. "formats": [
  36. {
  37. "language": "en",
  38. "format": "gsm"
  39. }
  40. ]
  41. },
  42. {
  43. "id": "confbridge-rest-talk-vol-out",
  44. "text": "...to reset your speaking volume to the default level.",
  45. "formats": [
  46. {
  47. "language": "en",
  48. "format": "gsm"
  49. }
  50. ]
  51. }, ...... etc etc
  52.  
  53. ...
  54. var logger = require('morgan');
  55. var client = require('ari-client');
  56. var url = 'https://192.168.46.122:8088/ari/sounds';
  57. var username = 'correct_username';
  58. var password = 'correct_password';
  59.  
  60. client.connect(url, username, password, function (err, ari) {
  61. console.log('HELLLLLLOOOOO!!');
  62. });
  63. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement