...
Note |
---|
If the browser page is refreshed after establishing a session, the Webphone will disconnect. You will have to log the user out and restart the below steps. |
Register Webphone
Launch Open the browser window with the TForge-OmniSense-Webphone.html file and the required necessary URL parameters. If successful, the below following information will be displayed in the browser window. If the phone is not registered, no information will be displayedshown. Use Check the console log to identify troubleshoot any issues.
...
From Retrieve the value of the WebRTC Phone Extension from the browser page or console log , get the value of the Webrtc Phone Extension and and temporarily store it for the respective corresponding agent profile.
...
User Login
When using the User Login API, login log in the respective user with the previously stored phone extension you previously saved.
...
If the user login User Login API request is a successsuccessful, the browser page will prompt for microphone access. Allow microphone Grant the access, and the Webphone will establish a connection to the agent profile.
...
Use the User Logout API to log out the agent out and hang up end the Webphone session.
...