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.
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{type: <sub_type>, payload: {JSON payload}} |
sub_type | depends on the type of the notification | c2d: sub_types | Create a call (deprecated)|
---|---|---|---|
inbound: sub_types | Receive a call | ||
cdr: sub_types | cdr (end of call) |