Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "_id" : ObjectId("600f900b1c9e57000718c86f"),
- "phone" : "89625328332",
- "campaign" : "5f578002f0c12b5263b58462",
- "state" : "PERFORMED",
- "lastCallRequestTimestamp" : NumberLong(1611632651648),
- "callAnsweredTimestamp" : NumberLong(0),
- "calls" : [],
- "outgoingCalls" : [],
- "incomingCall" : {
- "phone" : "89625328332",
- "callUuid" : "bc101c1e-c422-4dde-8fd5-2158c68f0bff",
- "channelData" : {}
- },
- "parameters" : {},
- "nextAttemptTimestamp" : NumberLong(0),
- "results" : {},
- "ringingMillis" : NumberLong(0),
- "talkMillis" : NumberLong(328207),
- "reportParameters" : {},
- "created" : NumberLong(0),
- "reported" : false,
- "testing" : false,
- "performedTimestamp" : NumberLong(1611632979),
- "sumConsume" : 0.0,
- "processingEvents" : [
- {
- "timestampSecUtc" : NumberLong(1611632979),
- "dateTimeFormatted" : "26.01.21 03:49",
- "author" : "SCENARIO_RESULT",
- "event" : "transition to PERFORMED on call answered"
- },
- {
- "timestampSecUtc" : NumberLong(1612140032),
- "dateTimeFormatted" : "01.02.21 00:40",
- "author" : "tech.ivoice.platform.billing.core.service.impl.CallTaskBillingServiceImpl",
- "event" : "BILLING",
- "parameters" : {
- "vendorsBill" : {
- "AMAZON_TTS_EASY" : {
- "vendor" : "AMAZON_TTS_EASY",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "AMAZON_TTS" : {
- "vendor" : "AMAZON_TTS",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "AMAZON_TTS_PREMIUM" : {
- "vendor" : "AMAZON_TTS_PREMIUM",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "GOOGLE_ASR" : {
- "vendor" : "GOOGLE_ASR",
- "amount" : NumberLong(3),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "GOOGLE_TTS_EASY" : {
- "vendor" : "GOOGLE_TTS_EASY",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "NLAB_ASR" : {
- "vendor" : "NLAB_ASR",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "AZURE_TTS_EASY" : {
- "vendor" : "AZURE_TTS_EASY",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "AZURE_TTS_PREMIUM" : {
- "vendor" : "AZURE_TTS_PREMIUM",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "IVOICE_SMS_SERVICE" : {
- "vendor" : "IVOICE_SMS_SERVICE",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "YANDEX_TTS" : {
- "vendor" : "YANDEX_TTS",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "IVOICE_AMD" : {
- "vendor" : "IVOICE_AMD",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "YANDEX_TTS_EASY" : {
- "vendor" : "YANDEX_TTS_EASY",
- "amount" : NumberLong(58),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "AZURE_TTS" : {
- "vendor" : "AZURE_TTS",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "YANDEX_TTS_PREMIUM" : {
- "vendor" : "YANDEX_TTS_PREMIUM",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "GOOGLE_TTS_PREMIUM" : {
- "vendor" : "GOOGLE_TTS_PREMIUM",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "IVOICE_DTMF" : {
- "vendor" : "IVOICE_DTMF",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "YANDEX_GEOCODE" : {
- "vendor" : "YANDEX_GEOCODE",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "YANDEX_ASR" : {
- "vendor" : "YANDEX_ASR",
- "amount" : NumberLong(14),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- },
- "GOOGLE_TTS" : {
- "vendor" : "GOOGLE_TTS",
- "amount" : NumberLong(0),
- "vendorDetails" : [],
- "_class" : "tech.ivoice.common.model.billing.v2.VendorDetailsContainer"
- }
- },
- "phoneBill" : {
- "resource" : "DialogTime",
- "spent" : NumberLong(329),
- "cost" : NumberLong(0),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "scenarioBill" : {
- "AsrSlotGoogle" : {
- "resource" : "AsrSlotGoogle",
- "spent" : NumberLong(1),
- "cost" : NumberLong(70),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "AsrSlotYandex" : {
- "resource" : "AsrSlotYandex",
- "spent" : NumberLong(1),
- "cost" : NumberLong(70),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "TtsSymbolsGeneratedAmazonPremium" : {
- "resource" : "TtsSymbolsGeneratedAmazonPremium",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "TtsSymbolsGeneratedYandexEasy" : {
- "resource" : "TtsSymbolsGeneratedYandexEasy",
- "spent" : NumberLong(58),
- "cost" : NumberLong(58),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "Amd" : {
- "resource" : "Amd",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "TtsSymbolsGeneratedYandexPremium" : {
- "resource" : "TtsSymbolsGeneratedYandexPremium",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "TtsSymbolsGeneratedGoogleEasy" : {
- "resource" : "TtsSymbolsGeneratedGoogleEasy",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "AsrSlotNlab" : {
- "resource" : "AsrSlotNlab",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "TtsSymbolsGeneratedAmazonEasy" : {
- "resource" : "TtsSymbolsGeneratedAmazonEasy",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "Sms" : {
- "resource" : "Sms",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "TtsSymbolsGenerated" : {
- "resource" : "TtsSymbolsGenerated",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "TtsSymbolsGeneratedGooglePremium" : {
- "resource" : "TtsSymbolsGeneratedGooglePremium",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "TtsSymbolsGeneratedAzureEasy" : {
- "resource" : "TtsSymbolsGeneratedAzureEasy",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- },
- "TtsSymbolsGeneratedAzurePremium" : {
- "resource" : "TtsSymbolsGeneratedAzurePremium",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0),
- "_class" : "tech.ivoice.common.model.billing.ResourceBill"
- }
- }
- }
- }
- ],
- "fullCost" : NumberLong(198),
- "fullBilling" : true,
- "_class" : "tech.ivoice.common.model.calls.CallTask",
- "scenarioResult" : {
- "time" : ISODate("2021-01-26T03:49:39.896Z"),
- "items" : [
- {
- "time" : ISODate("2021-01-26T03:44:11.689Z"),
- "name" : "params",
- "value" : "gazprom-ufa",
- "details" : {
- "demoPhone" : "9026150405",
- "phone" : "89625328332",
- "campaignId" : "5f578002f0c12b5263b58462",
- "callTaskId" : "600f900b1c9e57000718c86f",
- "solutionName" : "gazprom-ufa",
- "scenarioResultTopic" : "scenario_result_sdk_v2_apps9",
- "callTaskServicePort" : "8101",
- "scenarioId" : "5f577faef0c12b5263b352ae",
- "callUuid" : "bc101c1e-c422-4dde-8fd5-2158c68f0bff",
- "callTaskServiceHost" : "small-apps9-back"
- }
- },
- {
- "time" : ISODate("2021-01-26T03:44:30.935Z"),
- "name" : "хотите передать показания",
- "value" : "да",
- "details" : {}
- },
- {
- "time" : ISODate("2021-01-26T03:44:52.253Z"),
- "name" : "показания счетчика",
- "value" : "3044-30-44 так 31 99",
- "details" : {}
- },
- {
- "time" : ISODate("2021-01-26T03:49:39.896Z"),
- "name" : "hangup",
- "value" : "user",
- "details" : {}
- }
- ],
- "log" : [
- {
- "time" : ISODate("2021-01-26T03:44:22.024Z"),
- "text" : "getAccount",
- "context" : {
- "response" : "GetAccountResponse{accountIds=[26003776], error='', succeed=true, failReason='null'}"
- }
- },
- {
- "time" : ISODate("2021-01-26T03:44:22.024Z"),
- "text" : "start requesting option (no, yes)",
- "context" : {
- "sid" : "85f5cf26-1915-4f24-9ba9-088059b06915",
- "question" : "хотите передать показания"
- }
- },
- {
- "time" : ISODate("2021-01-26T03:44:30.931Z"),
- "text" : "recognise option(yes) on asr",
- "context" : {
- "sid" : "85f5cf26-1915-4f24-9ba9-088059b06915",
- "question" : "хотите передать показания",
- "recognition" : [
- {
- "text" : "да",
- "confidence" : 0.0
- }
- ]
- }
- },
- {
- "time" : ISODate("2021-01-26T03:44:31.551Z"),
- "text" : "getMeterReadings",
- "context" : {
- "response" : "GetMeterReadingsResponse{meterList=[Meter{counterCod='900398840', counterNumber='6555215', prefix='24', lastValues='3044', additionalWork='ДатаОчереднойПоверки', additionalWorkDeadline='2029-01-01 00:00:00', error='', handled=false}], succeed=true, failReason='null'}"
- }
- },
- {
- "time" : ISODate("2021-01-26T03:44:52.253Z"),
- "text" : "recognise text on asr",
- "context" : {
- "sid" : "31cd3dd0-d222-40cf-9599-18c58eee2045",
- "question" : "показания счетчика",
- "recognition" : [
- {
- "text" : "3044-30-44 так 31 99",
- "confidence" : 1.0
- }
- ]
- }
- }
- ],
- "callId" : "bc101c1e-c422-4dde-8fd5-2158c68f0bff",
- "taskId" : "600f900b1c9e57000718c86f",
- "resourceSpentEvents" : [
- {
- "amount" : {
- "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
- },
- "properties" : {
- "TTS_SERVICE_KEY" : []
- }
- },
- {
- "vendor" : "YANDEX_TTS_EASY",
- "amount" : {
- "SYNTHESIS_CHAR_COUNT" : NumberLong(15)
- },
- "properties" : {
- "TTS_SERVICE_KEY" : [
- {
- "vendor" : "YANDEX_TTS",
- "vendorType" : "TTS",
- "service" : "TTS_YANDEX_V3",
- "serviceKeyName" : "YANDEX_API_KEY_ID",
- "serviceKeyValue" : "aje3e7p63o8t6qs5mjad",
- "properties" : null
- }
- ]
- }
- },
- {
- "vendor" : "GOOGLE_ASR",
- "amount" : {
- "SPEECH_TIME" : NumberLong(2773),
- "SPEECH_CHAR_COUNT" : NumberLong(2),
- "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
- "SPEECH_DTMF_DIGIT_TIME" : NumberLong(2773)
- },
- "properties" : {
- "asrVendorServiceKey" : [
- {
- "vendor" : "GOOGLE_ASR",
- "vendorType" : "ASR",
- "service" : "MS9",
- "serviceKeyName" : "GOOGLE_API_KEY_ID",
- "serviceKeyValue" : "32e93a5bf57e4c2fc381646c1d6cab3ccb959774",
- "properties" : null
- }
- ]
- }
- },
- {
- "vendor" : "YANDEX_TTS_EASY",
- "amount" : {
- "SYNTHESIS_CHAR_COUNT" : NumberLong(43)
- },
- "properties" : {
- "TTS_SERVICE_KEY" : [
- {
- "vendor" : "YANDEX_TTS",
- "vendorType" : "TTS",
- "service" : "TTS_YANDEX_V3",
- "serviceKeyName" : "YANDEX_API_KEY_ID",
- "serviceKeyValue" : "aje3e7p63o8t6qs5mjad",
- "properties" : null
- }
- ]
- }
- },
- {
- "vendor" : "YANDEX_ASR",
- "amount" : {
- "SPEECH_TIME" : NumberLong(13906),
- "SPEECH_CHAR_COUNT" : NumberLong(20),
- "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
- "SPEECH_DTMF_DIGIT_TIME" : NumberLong(13906)
- },
- "properties" : {
- "asrVendorServiceKey" : [
- {
- "vendor" : "YANDEX_ASR",
- "vendorType" : "ASR",
- "service" : "MS9",
- "serviceKeyName" : "YANDEX_API_KEY_ID",
- "serviceKeyValue" : "ajer2q7css5ndopscoc6",
- "properties" : null
- }
- ]
- }
- }
- ]
- },
- "phoneBill" : {
- "resource" : "DialogTime",
- "spent" : NumberLong(329),
- "cost" : NumberLong(0)
- },
- "scenarioBill" : {
- "AsrSlotGoogle" : {
- "resource" : "AsrSlotGoogle",
- "spent" : NumberLong(1),
- "cost" : NumberLong(70)
- },
- "AsrSlotYandex" : {
- "resource" : "AsrSlotYandex",
- "spent" : NumberLong(1),
- "cost" : NumberLong(70)
- },
- "TtsSymbolsGeneratedAmazonPremium" : {
- "resource" : "TtsSymbolsGeneratedAmazonPremium",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0)
- },
- "TtsSymbolsGeneratedYandexEasy" : {
- "resource" : "TtsSymbolsGeneratedYandexEasy",
- "spent" : NumberLong(58),
- "cost" : NumberLong(58)
- },
- "Amd" : {
- "resource" : "Amd",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0)
- },
- "TtsSymbolsGeneratedYandexPremium" : {
- "resource" : "TtsSymbolsGeneratedYandexPremium",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0)
- },
- "TtsSymbolsGeneratedGoogleEasy" : {
- "resource" : "TtsSymbolsGeneratedGoogleEasy",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0)
- },
- "AsrSlotNlab" : {
- "resource" : "AsrSlotNlab",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0)
- },
- "TtsSymbolsGeneratedAmazonEasy" : {
- "resource" : "TtsSymbolsGeneratedAmazonEasy",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0)
- },
- "Sms" : {
- "resource" : "Sms",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0)
- },
- "TtsSymbolsGenerated" : {
- "resource" : "TtsSymbolsGenerated",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0)
- },
- "TtsSymbolsGeneratedGooglePremium" : {
- "resource" : "TtsSymbolsGeneratedGooglePremium",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0)
- },
- "TtsSymbolsGeneratedAzureEasy" : {
- "resource" : "TtsSymbolsGeneratedAzureEasy",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0)
- },
- "TtsSymbolsGeneratedAzurePremium" : {
- "resource" : "TtsSymbolsGeneratedAzurePremium",
- "spent" : NumberLong(0),
- "cost" : NumberLong(0)
- }
- },
- "vendorsBill" : {
- "AMAZON_TTS_EASY" : {
- "vendor" : "AMAZON_TTS_EASY",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "AMAZON_TTS" : {
- "vendor" : "AMAZON_TTS",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "AMAZON_TTS_PREMIUM" : {
- "vendor" : "AMAZON_TTS_PREMIUM",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "GOOGLE_ASR" : {
- "vendor" : "GOOGLE_ASR",
- "amount" : NumberLong(3),
- "vendorDetails" : []
- },
- "GOOGLE_TTS_EASY" : {
- "vendor" : "GOOGLE_TTS_EASY",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "NLAB_ASR" : {
- "vendor" : "NLAB_ASR",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "AZURE_TTS_EASY" : {
- "vendor" : "AZURE_TTS_EASY",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "AZURE_TTS_PREMIUM" : {
- "vendor" : "AZURE_TTS_PREMIUM",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "IVOICE_SMS_SERVICE" : {
- "vendor" : "IVOICE_SMS_SERVICE",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "YANDEX_TTS" : {
- "vendor" : "YANDEX_TTS",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "IVOICE_AMD" : {
- "vendor" : "IVOICE_AMD",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "YANDEX_TTS_EASY" : {
- "vendor" : "YANDEX_TTS_EASY",
- "amount" : NumberLong(58),
- "vendorDetails" : []
- },
- "AZURE_TTS" : {
- "vendor" : "AZURE_TTS",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "YANDEX_TTS_PREMIUM" : {
- "vendor" : "YANDEX_TTS_PREMIUM",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "GOOGLE_TTS_PREMIUM" : {
- "vendor" : "GOOGLE_TTS_PREMIUM",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "IVOICE_DTMF" : {
- "vendor" : "IVOICE_DTMF",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "YANDEX_GEOCODE" : {
- "vendor" : "YANDEX_GEOCODE",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- },
- "YANDEX_ASR" : {
- "vendor" : "YANDEX_ASR",
- "amount" : NumberLong(14),
- "vendorDetails" : []
- },
- "GOOGLE_TTS" : {
- "vendor" : "GOOGLE_TTS",
- "amount" : NumberLong(0),
- "vendorDetails" : []
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement