Skip to content

Instantly share code, notes, and snippets.

@belmer
Forked from lesterjude/direct_call
Last active August 29, 2015 13:55
Show Gist options
  • Save belmer/8748764 to your computer and use it in GitHub Desktop.
Save belmer/8748764 to your computer and use it in GitHub Desktop.
Direct Call Logic

##Direct Call Logic

Description:

  1. Caller calls a drumbi phone number.
  2. Controller requests for WS to check if Caller ID has called before or first time.
  3. If Caller ID called first time :
    - Check if Drumbi phone is from Web App, play busy recording then update session to spam.
    - Check if Drumbi phone is from other app, then play the connected_caller event recording.
  4. If Caller ID has called before : 
    - Play the connected_caller event recording.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment