Call Transcription

Call Transcription Configuration steps:

Entry required in CloudServiceSubscription:

INSERT INTO CloudServiceSubscription (alias,account_accountID,status_statusID)  VALUES ('Microsoft CallTranscription',<accountID>,<status>);

 

Entry required in MicrosoftCloudServiceSubscription:

INSERT INTO MicrosoftCloudServiceSubscription (accessKey,accessKeyID,credentials,region,cloudServiceSubscriptionID)  VALUES ('<subscriptionKey>','<subscriptionKey>',1,'<region>',66);

 

Entry required in CallTranscriptionPlanMaster:

Generally 15 sec = 1 unit, this entry is there in DB with id = 1. We can use same entry no differance in per unit rate or create your own entry in db. INSERT INTO CallTranscriptionPlanMaster (createdTimestamp,planName,pulseOfSecs,ratePerPulse,serviceCategory,serviceChargeType) VALUES (now(),'<CallTranscriptionServicename>',<seconds>,<ratePerPulse>,'258’','Pulse');

 

Entry required to update in DIDRateMaster based on didID of DIDmaster:

 

Entry required in KeyWordMaster:

 

Entry required in TagMaster:

 

Entry required in TagKeywordMappingForAccount:

 

Configure API at the flow level using the webhook widget:

 

Call Transcription API details:

Request Parameters:

URL

https://central.phonon.io/kairos-utils/callTranscription/fromLocalFile

Method

POST

Body

JSON

Headers

Content-Type: application/json

Auth

None

Payload Schema:

 

Sample Payload

 

Request Parameters Explanation:

  1. callRecordingPath: S3 recording public URL. Use variable : $call.agent.recordingUri

  2. flow-id Get the 8 characters alphanumeric Flow ID from the ‘Edit Flow’ page of any Outbound/Inbound/Dialer Flow

  3. agentKey Value of AgentKey. Use variable: $flow.syskey.agentKey

  4. agentNumber Value of Agent Number. Use variable: $call.agent.dnis

  5. customerNumber Value of customer number. Use variable: Inbound =  $call.cli , OBD =  $call.dnis , Dialer= $call.dnis

  6. agentConnected Value true if the agent is connected and false if not connected. Use variable: $call.agent.connect

  7. isCallFromCentralService Value true if API invokes from any central internal service otherwise false.

  8. languageCode Value language code eg. en-IN, hi-IN

  9. phonon-uuid: Unique Identifier for each call. Use varible: $flow.syskey.phonon_uuid

  10. transcriptionServiceProvider: Service provider name. eg.Microsoft or goggle.

  11. tagNames Tag names anyone can add multiple tag names with “,” separated or you can add “All” to validate all tags.

  12. did The Number use to make calls to customers and agents. Entries are done in DIDMaster tables. Use variable: $call.dnis.number

  13. autoDetectSourceLanguages List of Languages can be supplied to identify

Response:

  1. Successful Response:
    Status Code: 202

Note: HTTP request accepted by API server.

This document has been developed by Phonon.io for the sole and exclusive use of the customer / prospective customer with whom this document is being shared. Further, this document has been provided by Phonon.io to the recipient in good faith and based on request from the recipient for the same. This document is a confidential document and contains confidential product technology, workflow and commercial details that are for the sole usage of the intended recipients of this document. Recipients are advised not to share this document with any third party that is not the intended recipient of this document and neither to bring this document in full or parts into the public domain. Any unauthorized access may be brought to Phonon.io’s notice immediately. Phonon.io is free to take any legal action it deems necessary against any person or entity that violates this confidentiality agreement. Phonon.io is bound and governed by the rules of the state of Gujarat in India. In case you are not in agreement with the terms set in this clause or are not an intended recipient of this document, please destroy the document and intimate us of the same at info@phonon.io.