Advertisement
Bobrovozka

Untitled

Oct 7th, 2021
1,194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 17.08 KB | None | 0 0
  1. {
  2.   "id": "615e8f7e25234e00070df760",
  3.   "phone": "01089270054627",
  4.   "campaign": "5d434b0efde1573a408263e3",
  5.   "tag": null,
  6.   "state": "FAILED",
  7.   "lastCallRequestTimestamp": 1633600180954,
  8.   "callAnsweredTimestamp": 1633600192105,
  9.   "calls": [],
  10.   "outgoingCalls": [
  11.     {
  12.       "uuid": "76b8a429-74e3-4541-9468-22d83ea52421",
  13.       "request": {
  14.         "targetTopic": "sip-system-originate-request-fitservice-tel",
  15.         "responseTopic": "calling-system-orig-result-app-vis",
  16.         "scenarioResultTopic": "scenario_result_sdk_v2_app-vis",
  17.         "scenarioParametersApiHost": "small-apps12-back",
  18.         "scenarioParametersApiPort": "8106",
  19.         "callUrl": "sofia/gateway/fitservice/01089270054627 ext XML outgoing-release-2.9.0-TO",
  20.         "createdUtcMs": 1633598344123,
  21.         "callUuid": "76b8a429-74e3-4541-9468-22d83ea52421",
  22.         "callTaskUuid": "615e8f7e25234e00070df760",
  23.         "client": "5d6e2c694f3b65f11cf50fae",
  24.         "campaign": "5d434b0efde1573a408263e3",
  25.         "originateParameters": null,
  26.         "sipSystemParameters": null,
  27.         "originateTimeoutSec": 20,
  28.         "sipServletHost": "sipservlet_ms4"
  29.       },
  30.       "originateResult": {
  31.         "timestamp": 1633598365056,
  32.         "sipCode": 480,
  33.         "fullSipSystemResponse": "-ERR ALLOTTED_TIMEOUT",
  34.         "callUuid": "76b8a429-74e3-4541-9468-22d83ea52421",
  35.         "callTaskId": "615e8f7e25234e00070df760"
  36.       },
  37.       "systemError": null,
  38.       "cdr": null,
  39.       "talkMillis": 0,
  40.       "hangupByAmd": false,
  41.       "amdScenarioResult": null
  42.     },
  43.     {
  44.       "uuid": "c0ebb5c3-0636-4a75-bfef-19aaf24bdd7a",
  45.       "request": {
  46.         "targetTopic": "sip-system-originate-request-fitservice-tel",
  47.         "responseTopic": "calling-system-orig-result-app-vis",
  48.         "scenarioResultTopic": "scenario_result_sdk_v2_app-vis",
  49.         "scenarioParametersApiHost": "small-apps12-back",
  50.         "scenarioParametersApiPort": "8106",
  51.         "callUrl": "sofia/gateway/fitservice/01089270054627 ext XML outgoing-release-2.9.0-TO",
  52.         "createdUtcMs": 1633600180954,
  53.         "callUuid": "c0ebb5c3-0636-4a75-bfef-19aaf24bdd7a",
  54.         "callTaskUuid": "615e8f7e25234e00070df760",
  55.         "client": "5d6e2c694f3b65f11cf50fae",
  56.         "campaign": "5d434b0efde1573a408263e3",
  57.         "originateParameters": null,
  58.         "sipSystemParameters": null,
  59.         "originateTimeoutSec": 20,
  60.         "sipServletHost": "sipservlet_ms4"
  61.       },
  62.       "originateResult": {
  63.         "timestamp": 1633600192105,
  64.         "sipCode": 200,
  65.         "fullSipSystemResponse": "+OK 7ab1fa08-76cf-4a81-9e18-91c7b3269cc5",
  66.         "callUuid": "c0ebb5c3-0636-4a75-bfef-19aaf24bdd7a",
  67.         "callTaskId": "615e8f7e25234e00070df760"
  68.       },
  69.       "systemError": null,
  70.       "cdr": null,
  71.       "talkMillis": 0,
  72.       "hangupByAmd": false,
  73.       "amdScenarioResult": null
  74.     }
  75.   ],
  76.   "incomingCall": null,
  77.   "failComment": null,
  78.   "parameters": {
  79.     "phone": "9270054627",
  80.     "city": "Самара",
  81.     "cityId": "000000175"
  82.   },
  83.   "nextAttemptTimestamp": 1633600165,
  84.   "results": {},
  85.   "scenarioResult": {
  86.     "time": {
  87.       "epochSecond": 1633600228,
  88.       "nano": 654000000
  89.     },
  90.     "items": [
  91.       {
  92.         "time": {
  93.           "epochSecond": 1633600194,
  94.           "nano": 243000000
  95.         },
  96.         "name": "params",
  97.         "value": "fit_to",
  98.         "details": {
  99.           "sleepBeforeScenarioMs": "2000",
  100.           "phone": "9270054627",
  101.           "asrDriver": "yandex",
  102.           "city": "Самара",
  103.           "campaignId": "5d434b0efde1573a408263e3",
  104.           "callTaskId": "615e8f7e25234e00070df760",
  105.           "solutionName": "fit_to",
  106.           "cityId": "000000175",
  107.           "scenarioId": "5cc839c8cec9c239981c3b86",
  108.           "callUuid": "c0ebb5c3-0636-4a75-bfef-19aaf24bdd7a"
  109.         }
  110.       },
  111.       {
  112.         "time": {
  113.           "epochSecond": 1633600228,
  114.           "nano": 654000000
  115.         },
  116.         "name": "hangup",
  117.         "value": "user",
  118.         "details": {}
  119.       }
  120.     ],
  121.     "log": [
  122.       {
  123.         "time": {
  124.           "epochSecond": 1633600194,
  125.           "nano": 244000000
  126.         },
  127.         "text": "start requesting option (нет, да)",
  128.         "context": {
  129.           "sid": "609a653f-1ec6-40fc-bb45-57938dfbf211",
  130.           "question": "замена масла"
  131.         }
  132.       },
  133.       {
  134.         "time": {
  135.           "epochSecond": 1633600214,
  136.           "nano": 759000000
  137.         },
  138.         "text": "recognise on asr failed",
  139.         "context": {
  140.           "sid": "609a653f-1ec6-40fc-bb45-57938dfbf211",
  141.           "question": "замена масла",
  142.           "cause": "silence"
  143.         }
  144.       },
  145.       {
  146.         "time": {
  147.           "epochSecond": 1633600214,
  148.           "nano": 760000000
  149.         },
  150.         "text": "retry requesting option (нет, да)",
  151.         "context": {
  152.           "sid": "5a98ad1c-ec2f-4c23-9604-14470dd53072",
  153.           "question": "замена масла"
  154.         }
  155.       },
  156.       {
  157.         "time": {
  158.           "epochSecond": 1633600224,
  159.           "nano": 700000000
  160.         },
  161.         "text": "recognise on asr failed",
  162.         "context": {
  163.           "sid": "5a98ad1c-ec2f-4c23-9604-14470dd53072",
  164.           "question": "замена масла",
  165.           "cause": "silence"
  166.         }
  167.       },
  168.       {
  169.         "time": {
  170.           "epochSecond": 1633600224,
  171.           "nano": 700000000
  172.         },
  173.         "text": "retry requesting option (нет, да)",
  174.         "context": {
  175.           "sid": "2ffc595d-a228-4c22-a4d3-252a7461c70a",
  176.           "question": "замена масла"
  177.         }
  178.       }
  179.     ],
  180.     "callId": "c0ebb5c3-0636-4a75-bfef-19aaf24bdd7a",
  181.     "taskId": "615e8f7e25234e00070df760",
  182.     "fatalError": null,
  183.     "resourceSpentEvents": [
  184.       {
  185.         "vendor": null,
  186.         "amount": {
  187.           "SYNTHESIS_CHAR_COUNT": 0
  188.         },
  189.         "properties": {
  190.           "TTS_SERVICE_KEY": []
  191.         }
  192.       },
  193.       {
  194.         "vendor": "YANDEX_ASR",
  195.         "amount": {
  196.           "SPEECH_TIME": 6495,
  197.           "SPEECH_CHAR_COUNT": 0,
  198.           "SPEECH_DTMF_DIGIT_COUNT": 0,
  199.           "SPEECH_DTMF_DIGIT_TIME": 6495
  200.         },
  201.         "properties": {
  202.           "ASR_SERVICE_KEY": [
  203.             {
  204.               "vendor": "YANDEX_ASR",
  205.               "vendorType": "ASR",
  206.               "service": "MS4",
  207.               "serviceKeyName": "YANDEX_API_KEY_ID",
  208.               "serviceKeyValue": "ajen0avoel9gk6kii30f",
  209.               "properties": null
  210.             }
  211.           ]
  212.         }
  213.       },
  214.       {
  215.         "vendor": null,
  216.         "amount": {
  217.           "SYNTHESIS_CHAR_COUNT": 0
  218.         },
  219.         "properties": {
  220.           "TTS_SERVICE_KEY": []
  221.         }
  222.       },
  223.       {
  224.         "vendor": "YANDEX_ASR",
  225.         "amount": {
  226.           "SPEECH_TIME": 6936,
  227.           "SPEECH_CHAR_COUNT": 0,
  228.           "SPEECH_DTMF_DIGIT_COUNT": 0,
  229.           "SPEECH_DTMF_DIGIT_TIME": 6936
  230.         },
  231.         "properties": {
  232.           "ASR_SERVICE_KEY": [
  233.             {
  234.               "vendor": "YANDEX_ASR",
  235.               "vendorType": "ASR",
  236.               "service": "MS4",
  237.               "serviceKeyName": "YANDEX_API_KEY_ID",
  238.               "serviceKeyValue": "ajen0avoel9gk6kii30f",
  239.               "properties": null
  240.             }
  241.           ]
  242.         }
  243.       },
  244.       {
  245.         "vendor": null,
  246.         "amount": {
  247.           "SYNTHESIS_CHAR_COUNT": 0
  248.         },
  249.         "properties": {
  250.           "TTS_SERVICE_KEY": []
  251.         }
  252.       }
  253.     ]
  254.   },
  255.   "recognitions": null,
  256.   "scenarioLog": null,
  257.   "spentResources": null,
  258.   "ringingMillis": 0,
  259.   "talkMillis": 0,
  260.   "cdr": null,
  261.   "reportParameters": {
  262.     "city": "Самара",
  263.     "phone": "9270054627",
  264.     "cityId": "000000175"
  265.   },
  266.   "created": 1633587070,
  267.   "reported": false,
  268.   "testing": false,
  269.   "performedTimestamp": 0,
  270.   "sumConsume": 0,
  271.   "processingEvents": [
  272.     {
  273.       "timestampSecUtc": 1633587070,
  274.       "dateTimeFormatted": "07.10.21 06:11",
  275.       "author": "call-task-service",
  276.       "event": "task created in postponed state because call date time is later then now",
  277.       "parameters": {
  278.         "request": {
  279.           "campaignName": "fit_TO_msk_1",
  280.           "phone": "01089270054627",
  281.           "callDateTime": "07.10.21 13:16",
  282.           "testing": false,
  283.           "parameters": {
  284.             "phone": "9270054627",
  285.             "city": "Самара",
  286.             "cityId": "000000175"
  287.           }
  288.         }
  289.       }
  290.     },
  291.     {
  292.       "timestampSecUtc": 1633598160,
  293.       "dateTimeFormatted": "07.10.21 09:16",
  294.       "author": "tech.ivoice.calls.taskproc.service.PostponeResumeService",
  295.       "event": "POSTPONED_TASK_RESUMED",
  296.       "parameters": null
  297.     },
  298.     {
  299.       "timestampSecUtc": 1633598344,
  300.       "dateTimeFormatted": "07.10.21 09:19",
  301.       "author": "calling-system",
  302.       "event": "call initiated: OutgoingCall(uuid=76b8a429-74e3-4541-9468-22d83ea52421, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-fitservice-tel, responseTopic=calling-system-orig-result-app-vis, scenarioResultTopic=scenario_result_sdk_v2_app-vis, scenarioParametersApiHost=small-apps12-back, scenarioParametersApiPort=8106, callUrl=sofia/gateway/fitservice/01089270054627 ext XML outgoing-release-2.9.0-TO, createdUtcMs=1633598344123, callUuid=76b8a429-74e3-4541-9468-22d83ea52421, callTaskUuid=615e8f7e25234e00070df760, client=5d6e2c694f3b65f11cf50fae, campaign=5d434b0efde1573a408263e3, originateParameters=null, sipSystemParameters=null, originateTimeoutSec=20, sipServletHost=sipservlet_ms4), 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",
  303.       "parameters": null
  304.     },
  305.     {
  306.       "timestampSecUtc": 1633598365,
  307.       "dateTimeFormatted": "07.10.21 09:19",
  308.       "author": "tech.ivoice.common.service.postponing.PostponeSeveralTimesStrategy",
  309.       "event": "POSTPONING_STRATEGY_RESULT",
  310.       "parameters": {
  311.         "nextAttemptUtcSeconds": 1633600165,
  312.         "nextState": "POSTPONED"
  313.       }
  314.     },
  315.     {
  316.       "timestampSecUtc": 1633600165,
  317.       "dateTimeFormatted": "07.10.21 09:49",
  318.       "author": "tech.ivoice.calls.taskproc.service.PostponeResumeService",
  319.       "event": "POSTPONED_TASK_RESUMED",
  320.       "parameters": null
  321.     },
  322.     {
  323.       "timestampSecUtc": 1633600180,
  324.       "dateTimeFormatted": "07.10.21 09:49",
  325.       "author": "calling-system",
  326.       "event": "call initiated: OutgoingCall(uuid=c0ebb5c3-0636-4a75-bfef-19aaf24bdd7a, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-fitservice-tel, responseTopic=calling-system-orig-result-app-vis, scenarioResultTopic=scenario_result_sdk_v2_app-vis, scenarioParametersApiHost=small-apps12-back, scenarioParametersApiPort=8106, callUrl=sofia/gateway/fitservice/01089270054627 ext XML outgoing-release-2.9.0-TO, createdUtcMs=1633600180954, callUuid=c0ebb5c3-0636-4a75-bfef-19aaf24bdd7a, callTaskUuid=615e8f7e25234e00070df760, client=5d6e2c694f3b65f11cf50fae, campaign=5d434b0efde1573a408263e3, originateParameters=null, sipSystemParameters=null, originateTimeoutSec=20, sipServletHost=sipservlet_ms4), 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",
  327.       "parameters": null
  328.     },
  329.     {
  330.       "timestampSecUtc": 1633600192,
  331.       "dateTimeFormatted": "07.10.21 09:49",
  332.       "author": "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  333.       "event": "CALL_ANSWERED",
  334.       "parameters": {
  335.         "comment": "transit CT to ONGOING on call answered"
  336.       }
  337.     },
  338.     {
  339.       "timestampSecUtc": 1633600228,
  340.       "dateTimeFormatted": "07.10.21 09:50",
  341.       "author": "SCENARIO_RESULT",
  342.       "event": "got scenario result",
  343.       "parameters": null
  344.     },
  345.     {
  346.       "timestampSecUtc": 1633601932,
  347.       "dateTimeFormatted": "07.10.21 10:18",
  348.       "author": "monitoring_app-vis_small-apps12-back_tech.ivoice.platform.monitoringservice.monitor.TasksStuckInDialingMonitor",
  349.       "event": "FAIL_TASK_STUCK_IN_ONGOING",
  350.       "parameters": null
  351.     }
  352.   ],
  353.   "uniqueTag": null,
  354.   "clientsId": null,
  355.   "fullCost": 0,
  356.   "ivoiceCost": 0,
  357.   "vendorsCost": 0,
  358.   "fullBilling": false,
  359.   "aggregated": false,
  360.   "vendorsAccounting": null,
  361.   "ivoiceBilling": null,
  362.   "previousTaskId": null,
  363.   "gateway": null,
  364.   "billableId": "615e8f7e25234e00070df760",
  365.   "billableScenarioResult": {
  366.     "time": {
  367.       "epochSecond": 1633600228,
  368.       "nano": 654000000
  369.     },
  370.     "items": [
  371.       {
  372.         "time": {
  373.           "epochSecond": 1633600194,
  374.           "nano": 243000000
  375.         },
  376.         "name": "params",
  377.         "value": "fit_to",
  378.         "details": {
  379.           "sleepBeforeScenarioMs": "2000",
  380.           "phone": "9270054627",
  381.           "asrDriver": "yandex",
  382.           "city": "Самара",
  383.           "campaignId": "5d434b0efde1573a408263e3",
  384.           "callTaskId": "615e8f7e25234e00070df760",
  385.           "solutionName": "fit_to",
  386.           "cityId": "000000175",
  387.           "scenarioId": "5cc839c8cec9c239981c3b86",
  388.           "callUuid": "c0ebb5c3-0636-4a75-bfef-19aaf24bdd7a"
  389.         }
  390.       },
  391.       {
  392.         "time": {
  393.           "epochSecond": 1633600228,
  394.           "nano": 654000000
  395.         },
  396.         "name": "hangup",
  397.         "value": "user",
  398.         "details": {}
  399.       }
  400.     ],
  401.     "log": [
  402.       {
  403.         "time": {
  404.           "epochSecond": 1633600194,
  405.           "nano": 244000000
  406.         },
  407.         "text": "start requesting option (нет, да)",
  408.         "context": {
  409.           "sid": "609a653f-1ec6-40fc-bb45-57938dfbf211",
  410.           "question": "замена масла"
  411.         }
  412.       },
  413.       {
  414.         "time": {
  415.           "epochSecond": 1633600214,
  416.           "nano": 759000000
  417.         },
  418.         "text": "recognise on asr failed",
  419.         "context": {
  420.           "sid": "609a653f-1ec6-40fc-bb45-57938dfbf211",
  421.           "question": "замена масла",
  422.           "cause": "silence"
  423.         }
  424.       },
  425.       {
  426.         "time": {
  427.           "epochSecond": 1633600214,
  428.           "nano": 760000000
  429.         },
  430.         "text": "retry requesting option (нет, да)",
  431.         "context": {
  432.           "sid": "5a98ad1c-ec2f-4c23-9604-14470dd53072",
  433.           "question": "замена масла"
  434.         }
  435.       },
  436.       {
  437.         "time": {
  438.           "epochSecond": 1633600224,
  439.           "nano": 700000000
  440.         },
  441.         "text": "recognise on asr failed",
  442.         "context": {
  443.           "sid": "5a98ad1c-ec2f-4c23-9604-14470dd53072",
  444.           "question": "замена масла",
  445.           "cause": "silence"
  446.         }
  447.       },
  448.       {
  449.         "time": {
  450.           "epochSecond": 1633600224,
  451.           "nano": 700000000
  452.         },
  453.         "text": "retry requesting option (нет, да)",
  454.         "context": {
  455.           "sid": "2ffc595d-a228-4c22-a4d3-252a7461c70a",
  456.           "question": "замена масла"
  457.         }
  458.       }
  459.     ],
  460.     "callId": "c0ebb5c3-0636-4a75-bfef-19aaf24bdd7a",
  461.     "taskId": "615e8f7e25234e00070df760",
  462.     "fatalError": null,
  463.     "resourceSpentEvents": [
  464.       {
  465.         "vendor": null,
  466.         "amount": {
  467.           "SYNTHESIS_CHAR_COUNT": 0
  468.         },
  469.         "properties": {
  470.           "TTS_SERVICE_KEY": []
  471.         }
  472.       },
  473.       {
  474.         "vendor": "YANDEX_ASR",
  475.         "amount": {
  476.           "SPEECH_TIME": 6495,
  477.           "SPEECH_CHAR_COUNT": 0,
  478.           "SPEECH_DTMF_DIGIT_COUNT": 0,
  479.           "SPEECH_DTMF_DIGIT_TIME": 6495
  480.         },
  481.         "properties": {
  482.           "ASR_SERVICE_KEY": [
  483.             {
  484.               "vendor": "YANDEX_ASR",
  485.               "vendorType": "ASR",
  486.               "service": "MS4",
  487.               "serviceKeyName": "YANDEX_API_KEY_ID",
  488.               "serviceKeyValue": "ajen0avoel9gk6kii30f",
  489.               "properties": null
  490.             }
  491.           ]
  492.         }
  493.       },
  494.       {
  495.         "vendor": null,
  496.         "amount": {
  497.           "SYNTHESIS_CHAR_COUNT": 0
  498.         },
  499.         "properties": {
  500.           "TTS_SERVICE_KEY": []
  501.         }
  502.       },
  503.       {
  504.         "vendor": "YANDEX_ASR",
  505.         "amount": {
  506.           "SPEECH_TIME": 6936,
  507.           "SPEECH_CHAR_COUNT": 0,
  508.           "SPEECH_DTMF_DIGIT_COUNT": 0,
  509.           "SPEECH_DTMF_DIGIT_TIME": 6936
  510.         },
  511.         "properties": {
  512.           "ASR_SERVICE_KEY": [
  513.             {
  514.               "vendor": "YANDEX_ASR",
  515.               "vendorType": "ASR",
  516.               "service": "MS4",
  517.               "serviceKeyName": "YANDEX_API_KEY_ID",
  518.               "serviceKeyValue": "ajen0avoel9gk6kii30f",
  519.               "properties": null
  520.             }
  521.           ]
  522.         }
  523.       },
  524.       {
  525.         "vendor": null,
  526.         "amount": {
  527.           "SYNTHESIS_CHAR_COUNT": 0
  528.         },
  529.         "properties": {
  530.           "TTS_SERVICE_KEY": []
  531.         }
  532.       }
  533.     ]
  534.   },
  535.   "billableTalkMillisMethod": 0,
  536.   "billableVendorsBill": null,
  537.   "billableIvoiceBill": null,
  538.   "billableAggregateBill": {
  539.     "vendorsAccounting": null,
  540.     "ivoiceBilling": null,
  541.     "vendorsCost": 0,
  542.     "ivoiceCost": 0
  543.   }
  544. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement