Advertisement
Bobrovozka

Untitled

Oct 5th, 2021
1,117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 8.79 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("615afaea25234e00087e6bd4"),
  3.     "phone" : "89080674290",
  4.     "campaign" : "5e6f44d63554309633ff04fb",
  5.     "state" : "FAILED",
  6.     "lastCallRequestTimestamp" : NumberLong(1633352428336),
  7.     "callAnsweredTimestamp" : NumberLong(1633352444431),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "800cbe03-6e3f-4808-953d-b10e5a7ddca8",
  12.             "request" : {
  13.                 "targetTopic" : "sip-system-originate-request-fs2-release-2-3",
  14.                 "responseTopic" : "calling-system-orig-result-app-vis",
  15.                 "scenarioResultTopic" : "scenario_result_sdk_v2_app-vis",
  16.                 "scenarioParametersApiHost" : "small-apps12-back",
  17.                 "scenarioParametersApiPort" : "8106",
  18.                 "callUrl" : "sofia/gateway/avtobus1zadarma2/89080674290 ext XML outgoing-release-2-6-ms10-avangard",
  19.                 "createdUtcMs" : NumberLong(1633352428336),
  20.                 "callUuid" : "800cbe03-6e3f-4808-953d-b10e5a7ddca8",
  21.                 "callTaskUuid" : "615afaea25234e00087e6bd4",
  22.                 "client" : "5e6f474f35543096330e8c3e",
  23.                 "campaign" : "5e6f44d63554309633ff04fb",
  24.                 "originateParameters" : {},
  25.                 "originateTimeoutSec" : 30,
  26.                 "sipServletHost" : "sipservlet_ms5"
  27.             },
  28.             "talkMillis" : NumberLong(0),
  29.             "hangupByAmd" : false,
  30.             "originateResult" : {
  31.                 "timestamp" : NumberLong(1633352444431),
  32.                 "sipCode" : 200,
  33.                 "fullSipSystemResponse" : "+OK 9a98cdb2-1589-4cae-862f-ef2cc6823aae",
  34.                 "callUuid" : "800cbe03-6e3f-4808-953d-b10e5a7ddca8",
  35.                 "callTaskId" : "615afaea25234e00087e6bd4"
  36.             }
  37.         }
  38.     ],
  39.     "parameters" : {
  40.         "message" : "Добрый вечер, это Автобус1. Вы едете на Газпром? Скажите да или нет"
  41.     },
  42.     "nextAttemptTimestamp" : NumberLong(0),
  43.     "results" : {},
  44.     "ringingMillis" : NumberLong(0),
  45.     "talkMillis" : NumberLong(0),
  46.     "reportParameters" : {
  47.         "message" : "Добрый вечер, это Автобус1. Вы едете на Газпром? Скажите да или нет"
  48.     },
  49.     "created" : NumberLong(1633352426),
  50.     "reported" : false,
  51.     "testing" : false,
  52.     "performedTimestamp" : NumberLong(0),
  53.     "sumConsume" : 0.0,
  54.     "processingEvents" : [
  55.         {
  56.             "timestampSecUtc" : NumberLong(1633352428),
  57.             "dateTimeFormatted" : "04.10.21 13:00",
  58.             "author" : "calling-system",
  59.             "event" : "call initiated: OutgoingCall(uuid=800cbe03-6e3f-4808-953d-b10e5a7ddca8, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-fs2-release-2-3, responseTopic=calling-system-orig-result-app-vis, scenarioResultTopic=scenario_result_sdk_v2_app-vis, scenarioParametersApiHost=small-apps12-back, scenarioParametersApiPort=8106, callUrl=sofia/gateway/avtobus1zadarma2/89080674290 ext XML outgoing-release-2-6-ms10-avangard, createdUtcMs=1633352428336, callUuid=800cbe03-6e3f-4808-953d-b10e5a7ddca8, callTaskUuid=615afaea25234e00087e6bd4, client=5e6f474f35543096330e8c3e, campaign=5e6f44d63554309633ff04fb, originateParameters={}, sipSystemParameters=null, originateTimeoutSec=30, sipServletHost=sipservlet_ms5), originateResult=null, systemError=null, cdr=null, talkMillis=0, hangupByAmd=false, amdScenarioResult=null); transition to DIALING; message to kafka to call task is about to be sent"
  60.         },
  61.         {
  62.             "timestampSecUtc" : NumberLong(1633352444),
  63.             "dateTimeFormatted" : "04.10.21 13:00",
  64.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  65.             "event" : "CALL_ANSWERED",
  66.             "parameters" : {
  67.                 "comment" : "transit CT to ONGOING on call answered"
  68.             }
  69.         },
  70.         {
  71.             "timestampSecUtc" : NumberLong(1633352456),
  72.             "dateTimeFormatted" : "04.10.21 13:00",
  73.             "author" : "SCENARIO_RESULT",
  74.             "event" : "got scenario result"
  75.         },
  76.         {
  77.             "timestampSecUtc" : NumberLong(1633354180),
  78.             "dateTimeFormatted" : "04.10.21 13:29",
  79.             "author" : "monitoring_app-vis_small-apps12-back_tech.ivoice.platform.monitoringservice.monitor.TasksStuckInDialingMonitor",
  80.             "event" : "FAIL_TASK_STUCK_IN_ONGOING"
  81.         }
  82.     ],
  83.     "fullCost" : NumberLong(0),
  84.     "ivoiceCost" : NumberLong(0),
  85.     "vendorsCost" : NumberLong(0),
  86.     "fullBilling" : false,
  87.     "aggregated" : false,
  88.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  89.     "scenarioResult" : {
  90.         "time" : ISODate("2021-10-04T13:00:56.351Z"),
  91.         "items" : [
  92.             {
  93.                 "time" : ISODate("2021-10-04T13:00:46.026Z"),
  94.                 "name" : "params",
  95.                 "value" : "avangard-request",
  96.                 "details" : {
  97.                     "sleepBeforeScenarioMs" : "1500",
  98.                     "phone" : "89080674290",
  99.                     "asrDriver" : "yandex",
  100.                     "campaignId" : "5e6f44d63554309633ff04fb",
  101.                     "callTaskId" : "615afaea25234e00087e6bd4",
  102.                     "solutionName" : "avangard-request",
  103.                     "message" : "Добрый вечер, это Автобус1. Вы едете на Газпром? Скажите да или нет",
  104.                     "scenarioId" : "5e6f48d535543096331796b7",
  105.                     "callUuid" : "800cbe03-6e3f-4808-953d-b10e5a7ddca8"
  106.                 }
  107.             },
  108.             {
  109.                 "time" : ISODate("2021-10-04T13:00:54.231Z"),
  110.                 "name" : "вопрос",
  111.                 "value" : "yes",
  112.                 "details" : {}
  113.             },
  114.             {
  115.                 "time" : ISODate("2021-10-04T13:00:56.351Z"),
  116.                 "name" : "hangup",
  117.                 "value" : "solution",
  118.                 "details" : {}
  119.             }
  120.         ],
  121.         "log" : [
  122.             {
  123.                 "time" : ISODate("2021-10-04T13:00:46.028Z"),
  124.                 "text" : "start requesting option (no, yes)",
  125.                 "context" : {
  126.                     "sid" : "9e853f7c-6ed6-479f-8337-cf425faa2f16",
  127.                     "question" : "вопрос"
  128.                 }
  129.             },
  130.             {
  131.                 "time" : ISODate("2021-10-04T13:00:54.208Z"),
  132.                 "text" : "recognise option(yes) on asr",
  133.                 "context" : {
  134.                     "sid" : "9e853f7c-6ed6-479f-8337-cf425faa2f16",
  135.                     "question" : "вопрос",
  136.                     "recognition" : [
  137.                         {
  138.                             "text" : "да",
  139.                             "confidence" : 1.0
  140.                         }
  141.                     ]
  142.                 }
  143.             }
  144.         ],
  145.         "callId" : "800cbe03-6e3f-4808-953d-b10e5a7ddca8",
  146.         "taskId" : "615afaea25234e00087e6bd4",
  147.         "resourceSpentEvents" : [
  148.             {
  149.                 "vendor" : "YANDEX_TTS_EASY",
  150.                 "amount" : {
  151.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(67)
  152.                 },
  153.                 "properties" : {
  154.                     "TTS_SERVICE_KEY" : [
  155.                         {
  156.                             "vendor" : "YANDEX_TTS",
  157.                             "vendorType" : "TTS",
  158.                             "service" : "TTS_YANDEX_NODE1",
  159.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  160.                             "serviceKeyValue" : "aje3e7p63o8t6qs5mjad",
  161.                             "properties" : null
  162.                         }
  163.                     ]
  164.                 }
  165.             },
  166.             {
  167.                 "vendor" : "YANDEX_ASR",
  168.                 "amount" : {
  169.                     "SPEECH_TIME" : NumberLong(3530),
  170.                     "SPEECH_CHAR_COUNT" : NumberLong(2),
  171.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  172.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(3530)
  173.                 },
  174.                 "properties" : {
  175.                     "ASR_SERVICE_KEY" : [
  176.                         {
  177.                             "vendor" : "YANDEX_ASR",
  178.                             "vendorType" : "ASR",
  179.                             "service" : "MS5",
  180.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  181.                             "serviceKeyValue" : "ajen0avoel9gk6kii30f",
  182.                             "properties" : null
  183.                         }
  184.                     ]
  185.                 }
  186.             },
  187.             {
  188.                 "amount" : {
  189.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  190.                 },
  191.                 "properties" : {
  192.                     "TTS_SERVICE_KEY" : []
  193.                 }
  194.             }
  195.         ]
  196.     }
  197. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement