Advertisement
Bobrovozka

Untitled

Mar 3rd, 2022
1,214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.08 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("62206e4ae0c1070007fcfa2c"),
  3.     "phone" : "79133841262",
  4.     "campaign" : "611b7ad87d988ae12f947a25",
  5.     "state" : "PERFORMED",
  6.     "lastCallRequestTimestamp" : NumberLong(1646292578736),
  7.     "callAnsweredTimestamp" : NumberLong(1646292588040),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "058fab62-6edc-44de-b366-e56496af1f90",
  12.             "request" : {
  13.                 "targetTopic" : "sip-system-originate-request-fs1-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/marlen-02/79133841262 ext XML outgoing-release-3.1.0",
  19.                 "createdUtcMs" : NumberLong(1646292578736),
  20.                 "callUuid" : "058fab62-6edc-44de-b366-e56496af1f90",
  21.                 "callTaskUuid" : "62206e4ae0c1070007fcfa2c",
  22.                 "client" : "5d52e4f24f3b65f11c67e41f",
  23.                 "campaign" : "611b7ad87d988ae12f947a25",
  24.                 "originateTimeoutSec" : 30,
  25.                 "sipServletHost" : "sipservlet_ms8",
  26.                 "dialplanParameters" : {
  27.                     "readLevel" : "1",
  28.                     "writeLevel" : "1",
  29.                     "sleepTime" : "10",
  30.                     "dataOptions" : []
  31.                 }
  32.             },
  33.             "talkMillis" : NumberLong(0),
  34.             "hangupByAmd" : false,
  35.             "originateResult" : {
  36.                 "timestamp" : NumberLong(1646292588040),
  37.                 "sipCode" : 200,
  38.                 "fullSipSystemResponse" : "+OK 6313d546-fa5e-4fd2-96af-51d7f36eb7fd",
  39.                 "callUuid" : "058fab62-6edc-44de-b366-e56496af1f90",
  40.                 "callTaskId" : "62206e4ae0c1070007fcfa2c"
  41.             }
  42.         }
  43.     ],
  44.     "parameters" : {
  45.         "clientName" : "Ivoicerobot",
  46.         "city" : "Новосибирск",
  47.         "clientPhone" : "79133841262",
  48.         "leadName" : "Заказ обратного звонка с сайта",
  49.         "leadId" : 29233990
  50.     },
  51.     "nextAttemptTimestamp" : NumberLong(0),
  52.     "results" : {},
  53.     "ringingMillis" : NumberLong(0),
  54.     "talkMillis" : NumberLong(0),
  55.     "reportParameters" : {
  56.         "clientName" : "Ivoicerobot",
  57.         "city" : "Новосибирск",
  58.         "leadName" : "Заказ обратного звонка с сайта",
  59.         "clientPhone" : "79133841262"
  60.     },
  61.     "created" : NumberLong(1646292554),
  62.     "reported" : false,
  63.     "testing" : true,
  64.     "performedTimestamp" : NumberLong(1646292592),
  65.     "sumConsume" : 0.0,
  66.     "processingEvents" : [
  67.         {
  68.             "timestampSecUtc" : NumberLong(1646292578),
  69.             "dateTimeFormatted" : "03.03.22 07:29",
  70.             "author" : "calling-system",
  71.             "event" : "call initiated: OutgoingCall(uuid=058fab62-6edc-44de-b366-e56496af1f90, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-fs1-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/marlen-02/79133841262 ext XML outgoing-release-3.1.0, createdUtcMs=1646292578736, callUuid=058fab62-6edc-44de-b366-e56496af1f90, callTaskUuid=62206e4ae0c1070007fcfa2c, client=5d52e4f24f3b65f11c67e41f, campaign=611b7ad87d988ae12f947a25, originateParameters=null, sipSystemParameters=null, originateTimeoutSec=30, sipServletHost=sipservlet_ms8, dialplanParameters=DialplanParameters(readLevel=1, writeLevel=1, sleepTime=10, dataOptions=[])), originateResult=null, systemError=null, cdr=null, bridgeCdr=null, talkMillis=0, hangupByAmd=false, amdScenarioResult=null); transition to DIALING; message to kafka to call task is about to be sent"
  72.         },
  73.         {
  74.             "timestampSecUtc" : NumberLong(1646292588),
  75.             "dateTimeFormatted" : "03.03.22 07:29",
  76.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  77.             "event" : "CALL_ANSWERED",
  78.             "parameters" : {
  79.                 "comment" : "transit CT to ONGOING on call answered"
  80.             }
  81.         },
  82.         {
  83.             "timestampSecUtc" : NumberLong(1646292592),
  84.             "dateTimeFormatted" : "03.03.22 07:29",
  85.             "author" : "SCENARIO_RESULT",
  86.             "event" : "got scenario result: transition to PERFORMED"
  87.         }
  88.     ],
  89.     "fullCost" : NumberLong(0),
  90.     "ivoiceCost" : NumberLong(0),
  91.     "vendorsCost" : NumberLong(0),
  92.     "fullBilling" : false,
  93.     "aggregated" : false,
  94.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  95.     "scenarioResult" : {
  96.         "time" : ISODate("2022-03-03T07:29:52.322Z"),
  97.         "items" : [
  98.             {
  99.                 "time" : ISODate("2022-03-03T07:29:48.116Z"),
  100.                 "name" : "params",
  101.                 "value" : "marlen_hook",
  102.                 "details" : {
  103.                     "sleepBeforeScenarioMs" : "10",
  104.                     "callerNumber" : "79133841262",
  105.                     "clientName" : "Ivoicerobot",
  106.                     "city" : "Новосибирск",
  107.                     "campaignId" : "611b7ad87d988ae12f947a25",
  108.                     "callTaskId" : "62206e4ae0c1070007fcfa2c",
  109.                     "leadName" : "Заказ обратного звонка с сайта",
  110.                     "solutionName" : "marlen_hook",
  111.                     "clientPhone" : "79133841262",
  112.                     "callUuid" : "058fab62-6edc-44de-b366-e56496af1f90",
  113.                     "phone" : "79133841262",
  114.                     "asrDriver" : "yandex",
  115.                     "dialplanMajorVersion" : "3",
  116.                     "scenarioId" : "611b78be7d988ae12f8e2e8e",
  117.                     "leadId" : 29233990
  118.                 }
  119.             },
  120.             {
  121.                 "time" : ISODate("2022-03-03T07:29:52.322Z"),
  122.                 "name" : "hangup",
  123.                 "value" : "bridge",
  124.                 "details" : {
  125.                     "destination" : "sofia/gateway/marlen-02/79133841262"
  126.                 }
  127.             }
  128.         ],
  129.         "log" : [],
  130.         "callId" : "058fab62-6edc-44de-b366-e56496af1f90",
  131.         "taskId" : "62206e4ae0c1070007fcfa2c",
  132.         "resourceSpentEvents" : [
  133.             {
  134.                 "vendor" : "YANDEX_TTS_EASY",
  135.                 "amount" : {
  136.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(54)
  137.                 },
  138.                 "properties" : {
  139.                     "TTS_SERVICE_KEY" : [
  140.                         {
  141.                             "vendor" : "YANDEX_TTS",
  142.                             "vendorType" : "TTS",
  143.                             "service" : "TTS_YANDEX_NODE2",
  144.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  145.                             "serviceKeyValue" : "aje3e7p63o8t6qs5mjad",
  146.                             "properties" : null
  147.                         }
  148.                     ]
  149.                 }
  150.             }
  151.         ]
  152.     }
  153. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement