This extension app adds a button to user profiles and 1-to-1 IMs to integrate with third-party telephony systems
- Go to AC Portal > App Management
- Add Custom App
- Fill in details and note the APP ID for later
- Generate RSA key pair and fill in public key
- Go to AC Portal > App Settings
- Find the newly-created app and enable it, then make it visible
- Replace
appId
value withAPP ID
from step 3 - Replace private key path/name with location of generated key pair from step 4
{
// ...
"appId": "click-to-call",
"appPrivateKeyPath": "rsa/",
"appPrivateKeyName": "rsa-private.pem"
}
- Replace
id
value withAPP ID
from step 3
{
"applications": [
{
// ...
"id": "click-to-call",
// ...
}
]
}
- Replace
appId
value withAPP ID
from step 3
{ appId: 'click-to-call', tokenA: appToken }
- Refresh maven dependencies and run/debug the Spring Boot project
- Head to https://[your-pod].symphony.com/client/index.html?bundle=https://localhost:4000/bundle.json
- Go to Symphony Market and install Click to Call
- Note that you will see 2 entries as 1 of them is the one installed in the pod, which is used for app authentication, and the other one is the one injected by the bundle in step 2 above
- You might need to remove/add from Symphony Market in between code changes. To avoid this, you can rename the app name and id in your project's
bundle.json
temporarily during development time.
- Open
src/main/resources/static/js/controller.js
- Replace the line below this
TODO
with your own implementation// TODO: Implement integration with third-party telephony API here