Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. - User opens app (socket is opened)
  2. - User is prompted to input his phone number
  3. - Application starts
  4. - The user is prompted to call a number
  5. - External phone api provider calls app's url to signal that the user called
  6. - The application updates the associated user session based on the phone number provided by
  7. the external vendor.
  8. - The socket process that is watching for the session change emits the event to the browser
  9. - The app's url used by the external vendor also concludes with a reply so that the user
  10. can hear a message on the phone.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement