Now we are getting to the main goal of this tutorial series, adapting the example.py which does user authentication to change it and make it work with a real system, in this case a FreePBX example. Andriy explains the configuration changes to the code step by step.
Timecodes:
00:00 An example of connecting the WebTrit connector code and the FreePBX graphQL API in python.
Authenticate a User using data in FreePBX. Retrieve a User’s SIP credentials and return a list of other configured extensions.
03:25 WebTrit HTTP API module for easy connection to various VoIP systems
07:27 Specific functions to GraphQL API for WebTrit to retrieve voicemail password.
09:50 Other methods: get capabilities, authenticate, etc.
12:00 freepbx_to_webtrit_obj: important function with most of the business logic and user information
13:25 Show starting the application, then next step in the video series is testing
Useful links:
*Signup for free WebTrit account: https://bit.ly/signup-webtrit
*More info https://webtrit.com/
If you have any more questions or are interested in learning more - contact us at: https://webtrit.com/#contact
Subscribe to our WebTrit YouTube channel to see new videos about our products and serviсes: / @portadialer
Visit us at:
LinkedIn - / webtrit
Facebook - / webtrit
Reddit - / webtritofficial
GitHub - https://github.com/WebTrit
iOS Reference App - https://bit.ly/WebTritDemoIphone
Android Reference App: https://bit.ly/WebTritDemoAndroid