Creating a production level standard for voice calling & sip endpoints. The design patterns here should be what we want our customers to implement, as they WILL copy the patterns for their production applications.
- Create New Users
- Handle incoming/outgoing calls
- WebRTC for each user
- Mobile app registration / log-in
- Single Domain for entire application - should include random string to prevent duplication
- Single Catapult Application for entire voice ref app - should include random string to prevent duplication
One-ClickDeploy to Heroku/Azure- Environment Variables to prompt:
- Catapult User-id
- Catapult Secret
- Catapult Token
- Desired domain name
- User enters username
- User then can search & order phone number
- Once user has ordered phone number, that user is persisted in the database refreshing the page here should NOT create another user
- Assign phone-number to defined catapult-application
- User has WebRTC dialpad and can create call to telnetwork from their ordered phone-number
- Do we want to use and update and maintain our SDK or JsSip
- User can specifiy any reasonable format for phone number (don't require
+1) - User can view their SIP creds (for use with softphone)
- User can log in with JUST a username
- If username does not exist, re-direct to create an account. Don't Auto-create
- User MUST CREATE username on site first
- User can log-in to their account
- Mobile-app can send recieve phone calls
- Look up SIP endpoint in database based on
tonumber - Use the
transferringfunctionality to call the SIP endpoint -
IF WE DECIDE TO USE BRIDGES INSTEAD OF
TRANSFERRINGBE SURE TO FOLLOW OUR BEST PRACTICES
- Use SIP Headers to specifiy the outbound caller-id -OR- look up the SIP address in the database to determine outbound caller-id??
- Use the
transferringfunctionality to call the desired number (if we use bridges note the above headline)
- Java Voice Ref Should also be moved to Bexamples Github
- C# Voice Ref
- Ruby Voice Ref
- Node Voice Ref Should use v2.x and add functionality as needed
- PHP Voice Ref
- Android App
- iOS App