Outbound Voice with Ozonetel

Updated 

Agent First Dialers

1. Agent invokes Dial API to initiate a manual call.
2. Sprinkler pushes this call to kookoo API which puts it in the queue
3. CPS outbound dialer reads dial data from queue.
4. CPS initiate call to WebRTC server.
5. After agent answer call, CPS will send an API Request to Kookoo API (GCP) to get the details of the web hook configured - Sprinklr Url
6. WebRTC server initiates call to agent webrtc endpoint.
7. Based on the call flow, if the agent dials customer number, Sprinklr webhook will send an dial request to CPS. 
8. CPS Will initiate the Dial (Invite) to the SBC server
9. SBC server sends INVITE request to trunk to connect dialed number.
10. Agent can send HOLD / MUTE / Transfer the call actions, Care console send the request to Sprinklr server, 
11. Sprinklr server will send an call control API Request to Kookoo API and KooKoo API will send the controls to CPS Server
12. After completion of the call, CPS Server will send the recordings to APS Server
13. End of the day APS will send the recordings to GCP Storage
14. GCP Recording Storage 

Customer First Dialers

1. Agent invokes Dial API to initiate a manual call.
2. Sprinkler pushes this call to kookoo API which puts it in the queue
3. CPS outbound dialer reads dial data from queue.
4. CPS initiate call to WebRTC server.
5. After agent answer call, CPS will send an API Request to Kookoo API (GCP) to get the details of the web hook configured - Sprinklr Url
6. WebRTC server initiates call to agent webrtc endpoint.
7. Based on the call flow, if the agent dials customer number, Sprinklr webhook will send an dial request to CPS. 
8. CPS Will initiate the Dial (Invite) to the SBC server
9. SBC server sends INVITE request to trunk to connect dialed number.
10. Agent can send HOLD / MUTE / Transfer the call actions, Care console send the request to Sprinklr server, 
11. Sprinklr server will send an call control API Request to Kookoo API and KooKoo API will send the controls to CPS Server
12. After completion of the call, CPS Server will send the recordings to APS Server
13. End of the day APS will send the recordings to GCP Storage
14. GCP Recording Storage