...
...
...
...
Why Redis?
The Click2Dial and dialer uses Redis to send information back to the 3rd party application. In order to make a robust messaging system we make use of a Redis data/messaging structure to ensure critical information is sent correctly. We make use of Redis Lists for all our messaging between the Click2Dial and the 3rd party application.
...
Info | ||
---|---|---|
| ||
Redis runs on port 6379 |
Notification Structure
Keys which are used to communicate information back to 3rd party applications.
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{type: <sub_type>, payload: {JSON payload}} |
sub_type | depends on the type of the notification |
---|---|
c2d: sub_types | Create a call |
inbound: sub_types | Receive a call |
cdr: sub_types | cdr (end of call) |