Advertisement
ScrappyCocoJamba

expert2

Mar 18th, 2020
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 99.14 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("5e7085d8904d0a00079b9654"),
  3.     "phone" : "89065192958",
  4.     "campaign" : "5e6262e6131ad44b20a90019",
  5.     "state" : "PERFORMED",
  6.     "lastCallRequestTimestamp" : NumberLong(1584434632030),
  7.     "callAnsweredTimestamp" : NumberLong(1584434658359),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "a187a4d4-5a5f-4c49-b007-e2078e89a8bf",
  12.             "request" : {
  13.                 "targetTopic" : "sip-system-originate-request-fs2-release-2-3",
  14.                 "responseTopic" : "calling-system-orig-result-app-voicebot",
  15.                 "scenarioResultTopic" : "scenario_result_sdk_v2_app-voicebot",
  16.                 "scenarioParametersApiHost" : "voicebot",
  17.                 "scenarioParametersApiPort" : "8101",
  18.                 "callUrl" : "sofia/gateway/expert-clinic-all-02/89065192958 ext XML outgoing-release-2-6-ms7",
  19.                 "createdUtcMs" : NumberLong(1584432797210),
  20.                 "callUuid" : "a187a4d4-5a5f-4c49-b007-e2078e89a8bf",
  21.                 "callTaskUuid" : "5e7085d8904d0a00079b9654",
  22.                 "client" : "5de9402c09c3900001131027",
  23.                 "campaign" : "5e6262e6131ad44b20a90019",
  24.                 "originateParameters" : {
  25.                     "absolute_codec_string" : "PCMU",
  26.                     "sip_cid_type" : "none",
  27.                     "sip_invite_from_uri" : "sip:+167@92.246.150.216"
  28.                 },
  29.                 "originateTimeoutSec" : 30
  30.             },
  31.             "originateResult" : {
  32.                 "timestamp" : NumberLong(1584432828036),
  33.                 "sipCode" : 480,
  34.                 "fullSipSystemResponse" : "-ERR ALLOTTED_TIMEOUT",
  35.                 "callUuid" : "a187a4d4-5a5f-4c49-b007-e2078e89a8bf",
  36.                 "callTaskId" : "5e7085d8904d0a00079b9654"
  37.             },
  38.             "cdr" : {
  39.                 "cdr" : {
  40.                     "variables" : {
  41.                         "write_codec" : "PCMU",
  42.                         "rtp_audio_in_mean_interval" : 0,
  43.                         "sip_reply_port" : 5060,
  44.                         "sip_to_host" : "92.246.150.216",
  45.                         "hold_accum_usec" : 0,
  46.                         "start_epoch" : 1584432797,
  47.                         "rtp_2833_send_payload" : 101,
  48.                         "original_read_rate" : 8000,
  49.                         "end_stamp" : "2020-03-17%2008%3A13%3A48",
  50.                         "profile_start_epoch" : 1584432797,
  51.                         "leg_timeout" : 30,
  52.                         "waitmsec" : 0,
  53.                         "CallingSystemCallUuid" : "a187a4d4-5a5f-4c49-b007-e2078e89a8bf",
  54.                         "rtp_audio_out_raw_bytes" : 0,
  55.                         "progress_uepoch" : 0,
  56.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.222%3A5060",
  57.                         "progress_media_stamp" : "2020-03-17%2008%3A13%3A20",
  58.                         "ignore_early_media" : true,
  59.                         "rtp_use_codec_ptime" : 20,
  60.                         "waitusec" : 0,
  61.                         "sip_to_user" : NumberLong(89065192958),
  62.                         "rtp_last_audio_codec_string" : "PCMU%408000h%4020i%401c",
  63.                         "answersec" : 0,
  64.                         "sip_invite_failure_status" : 487,
  65.                         "rtp_audio_in_packet_count" : 0,
  66.                         "rtp_audio_in_jitter_packet_count" : 0,
  67.                         "rtp_audio_in_jitter_max_variance" : 0,
  68.                         "sip_full_to" : "%3Csip%3A89065192958%4092.246.150.216%3E%3Btag%3Das00d8b607",
  69.                         "sip_network_ip" : "92.246.150.216",
  70.                         "sip_from_host" : "92.246.150.216",
  71.                         "end_uepoch" : NumberLong(1584432828010424),
  72.                         "rtp_audio_in_dtmf_packet_count" : 0,
  73.                         "rtp_use_codec_name" : "PCMU",
  74.                         "remote_media_port" : 17570,
  75.                         "answer_uepoch" : 0,
  76.                         "start_uepoch" : NumberLong(1584432797210420),
  77.                         "sip_network_port" : 5060,
  78.                         "waitsec" : 0,
  79.                         "flow_billsec" : 0,
  80.                         "sip_call_id" : "ff5c23aa-e2c9-1238-7195-7a0bcb97d606",
  81.                         "sip_full_from" : "%22%22%20%3Csip%3A%2B167%4092.246.150.216%3E%3Btag%3DeXHK1m94DctvH",
  82.                         "remote_video_media_flow" : "inactive",
  83.                         "progress_mediasec" : 3,
  84.                         "sip_recover_contact" : "%3Csip%3A89065192958%4092.246.150.216%3A5060%3E",
  85.                         "rtp_use_codec_channels" : 1,
  86.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201584414351%201584414352%20IN%20IP4%2092.119.230.222%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.222%0D%0At%3D0%200%0D%0Am%3Daudio%2018446%20RTP/AVP%200%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dsendrecv%0D%0A",
  87.                         "remote_text_media_flow" : "inactive",
  88.                         "answerusec" : 0,
  89.                         "sip_hangup_disposition" : "send_cancel",
  90.                         "sip_req_uri" : "89065192958%4092.246.150.216",
  91.                         "profile_start_uepoch" : NumberLong(1584432797210420),
  92.                         "read_rate" : 8000,
  93.                         "rtp_audio_in_raw_bytes" : 0,
  94.                         "rtp_audio_in_skip_packet_count" : 0,
  95.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3Droot%202065312826%202065312826%20IN%20IP4%2092.246.150.216%0D%0As%3DAsterisk%20PBX%2013.15.0%0D%0Ac%3DIN%20IP4%2092.246.150.216%0D%0At%3D0%200%0D%0Am%3Daudio%2017570%20RTP/AVP%200%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmaxptime%3A150%0D%0A",
  96.                         "rtp_audio_rtcp_packet_count" : 0,
  97.                         "sip_recover_via" : "SIP/2.0/UDP%2092.119.230.222%3Bbranch%3Dz9hG4bKF9Z306NQ24e0e%3Breceived%3D92.119.230.222%3Brport%3D5060",
  98.                         "bridge_epoch" : 0,
  99.                         "bridge_uepoch" : 0,
  100.                         "sip_user_agent" : "FPBX-13.0.197.21(13.15.0)",
  101.                         "write_rate" : 8000,
  102.                         "rtp_audio_rtcp_octet_count" : 0,
  103.                         "sip_reply_host" : "92.246.150.216",
  104.                         "billusec" : 0,
  105.                         "answer_epoch" : 0,
  106.                         "absolute_codec_string" : "PCMU",
  107.                         "sip_cid_type" : "none",
  108.                         "billmsec" : 0,
  109.                         "call_uuid" : "c76f36ca-2aba-4eff-a5f8-7cd0ecf0c917",
  110.                         "rtp_audio_out_skip_packet_count" : 0,
  111.                         "sip_invite_from_uri" : "sip%3A%2B167%4092.246.150.216",
  112.                         "sip_invite_domain" : "92.246.150.216",
  113.                         "sip_full_via" : "SIP/2.0/UDP%2092.119.230.222%3Bbranch%3Dz9hG4bKF9Z306NQ24e0e%3Breceived%3D92.119.230.222%3Brport%3D5060",
  114.                         "channel_name" : "sofia/external/89065192958",
  115.                         "rtp_audio_out_cng_packet_count" : 0,
  116.                         "progress_epoch" : 0,
  117.                         "mduration" : 30800,
  118.                         "session_id" : 14281,
  119.                         "hold_accum_seconds" : 0,
  120.                         "remote_media_ip" : "92.246.150.216",
  121.                         "ep_codec_string" : "CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b",
  122.                         "last_hold_epoch" : 0,
  123.                         "progresssec" : 0,
  124.                         "rtp_use_pt" : 0,
  125.                         "rtp_audio_in_largest_jb_size" : 0,
  126.                         "sip_cseq" : 17662607,
  127.                         "rtp_audio_in_media_bytes" : 0,
  128.                         "hangup_cause" : "ALLOTTED_TIMEOUT",
  129.                         "hangup_cause_q850" : 16,
  130.                         "resurrect_epoch" : 0,
  131.                         "rtp_audio_in_cng_packet_count" : 0,
  132.                         "rtp_audio_in_flaw_total" : 0,
  133.                         "last_hold_uepoch" : 0,
  134.                         "uduration" : 30800004,
  135.                         "advertised_media_ip" : "92.119.230.222",
  136.                         "rtp_audio_in_quality_percentage" : 100,
  137.                         "rtp_use_codec_rate" : 8000,
  138.                         "ScenarioParametersApiPort" : 8101,
  139.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_app-voicebot",
  140.                         "hold_accum_ms" : 0,
  141.                         "uuid" : "c76f36ca-2aba-4eff-a5f8-7cd0ecf0c917",
  142.                         "sip_gateway_name" : "expert-clinic-all-02",
  143.                         "rtp_audio_out_packet_count" : 0,
  144.                         "sip_destination_url" : "sip%3A89065192958%4092.246.150.216",
  145.                         "sip_to_uri" : "89065192958%4092.246.150.216",
  146.                         "read_codec" : "PCMU",
  147.                         "sip_contact_user" : NumberLong(89065192958),
  148.                         "start_stamp" : "2020-03-17%2008%3A13%3A17",
  149.                         "rtp_audio_recv_pt" : 0,
  150.                         "rtp_use_ssrc" : NumberLong(3530637589),
  151.                         "Client" : "5de9402c09c3900001131027",
  152.                         "billsec" : 0,
  153.                         "progress_media_epoch" : 1584432800,
  154.                         "progress_media_uepoch" : NumberLong(1584432800010420),
  155.                         "rtp_use_codec_string" : "PCMU",
  156.                         "progressmsec" : 0,
  157.                         "sip_invite_failure_phrase" : "CANCEL",
  158.                         "rtp_audio_out_dtmf_packet_count" : 0,
  159.                         "rtp_audio_in_mos" : 4.5,
  160.                         "sip_local_network_addr" : "92.119.230.222",
  161.                         "rtp_audio_out_media_bytes" : 0,
  162.                         "rtp_use_timer_name" : "soft",
  163.                         "Campaign" : "5e6262e6131ad44b20a90019",
  164.                         "rtp_2833_recv_payload" : 101,
  165.                         "CallTaskId" : "5e7085d8904d0a00079b9654",
  166.                         "text_media_flow" : "disabled",
  167.                         "end_epoch" : 1584432828,
  168.                         "profile_start_stamp" : "2020-03-17%2008%3A13%3A17",
  169.                         "caller_id" : "0000000000",
  170.                         "answermsec" : 0,
  171.                         "sip_profile_name" : "gateway",
  172.                         "sofia_profile_name" : "external",
  173.                         "sip_from_tag" : "eXHK1m94DctvH",
  174.                         "progressusec" : 0,
  175.                         "rtp_audio_in_jitter_burst_rate" : 0,
  176.                         "resurrect_uepoch" : 0,
  177.                         "originate_early_media" : false,
  178.                         "recovery_profile_name" : "external",
  179.                         "progress_mediamsec" : 2800,
  180.                         "sip_from_user" : "%2B167",
  181.                         "sip_outgoing_contact_uri" : "%3Csip%3Aivoicetele%4092.119.230.222%3A5060%3Btransport%3Dudp%3Bgw%3Dexpert-clinic-all-02%3E",
  182.                         "duration" : 31,
  183.                         "sip_contact_port" : 5060,
  184.                         "sip_contact_uri" : "89065192958%4092.246.150.216%3A5060",
  185.                         "local_media_port" : 18446,
  186.                         "flow_billmsec" : 0,
  187.                         "remote_audio_media_flow" : "sendrecv",
  188.                         "audio_media_flow" : "sendrecv",
  189.                         "dtmf_type" : "rfc2833",
  190.                         "flow_billusec" : 0,
  191.                         "sip_allow" : "INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE",
  192.                         "local_media_ip" : "92.119.230.222",
  193.                         "rtp_audio_in_media_packet_count" : 0,
  194.                         "direction" : "outbound",
  195.                         "video_media_flow" : "disabled",
  196.                         "rtp_audio_in_jitter_loss_rate" : 0,
  197.                         "sip_to_tag" : "as00d8b607",
  198.                         "rtp_audio_out_media_packet_count" : 0,
  199.                         "sip_from_uri" : "%2B167%4092.246.150.216",
  200.                         "digits_dialed" : "none",
  201.                         "progress_mediausec" : 2800000,
  202.                         "ScenarioParametersApiHost" : "voicebot",
  203.                         "is_outbound" : true,
  204.                         "rtp_audio_in_jitter_min_variance" : 0,
  205.                         "hangup_complete_with_xml" : true,
  206.                         "endpoint_disposition" : "EARLY%20MEDIA",
  207.                         "original_read_codec" : "PCMU",
  208.                         "rtp_audio_in_flush_packet_count" : 0,
  209.                         "sip_contact_host" : "92.246.150.216"
  210.                     },
  211.                     "callflow" : {
  212.                         "times" : {
  213.                             "progress_time" : 0,
  214.                             "created_time" : NumberLong(1584432797210420),
  215.                             "hold_accum_time" : 0,
  216.                             "resurrect_time" : 0,
  217.                             "answered_time" : 0,
  218.                             "transfer_time" : 0,
  219.                             "bridged_time" : 0,
  220.                             "hangup_time" : NumberLong(1584432828010424),
  221.                             "progress_media_time" : NumberLong(1584432800010420),
  222.                             "profile_created_time" : NumberLong(1584432797210420),
  223.                             "last_hold_time" : 0
  224.                         },
  225.                         "profile_index" : 1,
  226.                         "clone-of" : "8f001138-1481-492b-a218-4f0e730e7862",
  227.                         "caller_profile" : {
  228.                             "caller_id_name" : "",
  229.                             "destination_number" : NumberLong(89065192958),
  230.                             "device_id" : "",
  231.                             "chan_name" : "sofia/external/89065192958",
  232.                             "dialplan" : "",
  233.                             "callee_id_number" : NumberLong(89065192958),
  234.                             "source" : "src/switch_ivr_originate.c",
  235.                             "network_addr" : "92.246.150.216",
  236.                             "uuid" : "c76f36ca-2aba-4eff-a5f8-7cd0ecf0c917",
  237.                             "callee_id_name" : "Outbound Call",
  238.                             "rdnis" : "",
  239.                             "aniii" : "",
  240.                             "context" : "default",
  241.                             "caller_id_number" : "0000000000",
  242.                             "ani" : "0000000000",
  243.                             "username" : ""
  244.                         },
  245.                         "unique-id" : "e0128f7f-5a79-47e6-b11f-4d82d16b0ca6"
  246.                     },
  247.                     "core-uuid" : "53822495-dfd9-4a1c-b6b2-461094b1d696",
  248.                     "channel_data" : {
  249.                         "state_number" : 11,
  250.                         "flags" : "0=1;2=1;3=1;29=1;38=1;39=1;41=1;44=1;54=1;96=1;113=1;114=1;160=1;166=1",
  251.                         "state" : "CS_REPORTING",
  252.                         "direction" : "outbound",
  253.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  254.                     },
  255.                     "switchname" : "fs2",
  256.                     "call-stats" : {
  257.                         "audio" : {
  258.                             "inbound" : {
  259.                                 "media_packet_count" : 0,
  260.                                 "cng_packet_count" : 0,
  261.                                 "jitter_min_variance" : 0,
  262.                                 "skip_packet_count" : 0,
  263.                                 "mean_interval" : 0,
  264.                                 "dtmf_packet_count" : 0,
  265.                                 "jitter_loss_rate" : 0,
  266.                                 "jitter_burst_rate" : 0,
  267.                                 "flaw_total" : 0,
  268.                                 "quality_percentage" : 100,
  269.                                 "mos" : 4.5,
  270.                                 "largest_jb_size" : 0,
  271.                                 "packet_count" : 0,
  272.                                 "jitter_max_variance" : 0,
  273.                                 "media_bytes" : 0,
  274.                                 "jitter_packet_count" : 0,
  275.                                 "raw_bytes" : 0,
  276.                                 "flush_packet_count" : 0
  277.                             },
  278.                             "outbound" : {
  279.                                 "media_packet_count" : 0,
  280.                                 "cng_packet_count" : 0,
  281.                                 "skip_packet_count" : 0,
  282.                                 "dtmf_packet_count" : 0,
  283.                                 "rtcp_packet_count" : 0,
  284.                                 "packet_count" : 0,
  285.                                 "media_bytes" : 0,
  286.                                 "rtcp_octet_count" : 0,
  287.                                 "raw_bytes" : 0
  288.                             }
  289.                         }
  290.                     }
  291.                 },
  292.                 "callUuid" : "a187a4d4-5a5f-4c49-b007-e2078e89a8bf",
  293.                 "callTaskId" : "5e7085d8904d0a00079b9654"
  294.             }
  295.         },
  296.         {
  297.             "uuid" : "61db5dd6-6f5d-4275-aea1-a46376b60a3b",
  298.             "request" : {
  299.                 "targetTopic" : "sip-system-originate-request-fs2-release-2-3",
  300.                 "responseTopic" : "calling-system-orig-result-app-voicebot",
  301.                 "scenarioResultTopic" : "scenario_result_sdk_v2_app-voicebot",
  302.                 "scenarioParametersApiHost" : "voicebot",
  303.                 "scenarioParametersApiPort" : "8101",
  304.                 "callUrl" : "sofia/gateway/expert-clinic-all-02/89065192958 ext XML outgoing-release-2-6-ms7",
  305.                 "createdUtcMs" : NumberLong(1584434632030),
  306.                 "callUuid" : "61db5dd6-6f5d-4275-aea1-a46376b60a3b",
  307.                 "callTaskUuid" : "5e7085d8904d0a00079b9654",
  308.                 "client" : "5de9402c09c3900001131027",
  309.                 "campaign" : "5e6262e6131ad44b20a90019",
  310.                 "originateParameters" : {
  311.                     "absolute_codec_string" : "PCMU",
  312.                     "sip_cid_type" : "none",
  313.                     "sip_invite_from_uri" : "sip:+167@92.246.150.216"
  314.                 },
  315.                 "originateTimeoutSec" : 30
  316.             },
  317.             "originateResult" : {
  318.                 "timestamp" : NumberLong(1584434658359),
  319.                 "sipCode" : 200,
  320.                 "fullSipSystemResponse" : "+OK 000618c8-49ee-48d8-bf0f-14299908b726",
  321.                 "callUuid" : "61db5dd6-6f5d-4275-aea1-a46376b60a3b",
  322.                 "callTaskId" : "5e7085d8904d0a00079b9654"
  323.             },
  324.             "cdr" : {
  325.                 "cdr" : {
  326.                     "variables" : {
  327.                         "write_codec" : "PCMU",
  328.                         "sip_to_host" : "92.246.150.216",
  329.                         "hold_accum_usec" : 0,
  330.                         "bridge_uuid" : "0105f2fe-8f16-44e0-b0ce-2552adc0c16d",
  331.                         "start_epoch" : 1584434632,
  332.                         "rtp_2833_send_payload" : 101,
  333.                         "original_read_rate" : 8000,
  334.                         "profile_start_epoch" : 1584434658,
  335.                         "transfer_history" : "1584434658%3Ab4a9dc6f-d878-4cd8-87a5-4700efdc074e%3Abl_xfer%3Aext/outgoing-release-2-6-ms7/XML",
  336.                         "sip_hangup_phrase" : "OK",
  337.                         "CallingSystemCallUuid" : "61db5dd6-6f5d-4275-aea1-a46376b60a3b",
  338.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.222%3A5060",
  339.                         "ignore_early_media" : true,
  340.                         "waitusec" : 28020048,
  341.                         "sip_to_user" : NumberLong(89065192958),
  342.                         "rtp_last_audio_codec_string" : "PCMU%408000h%4020i%401c",
  343.                         "rtp_audio_in_packet_count" : 1337,
  344.                         "rtp_audio_in_jitter_packet_count" : 0,
  345.                         "last_arg" : "lua/sdk/outgoing-release-2.6.lua",
  346.                         "end_uepoch" : NumberLong(1584434683330429),
  347.                         "rtp_use_codec_name" : "PCMU",
  348.                         "answer_uepoch" : NumberLong(1584434658350421),
  349.                         "record_seconds" : 24,
  350.                         "start_uepoch" : NumberLong(1584434632030422),
  351.                         "waitsec" : 28,
  352.                         "flow_billsec" : 51,
  353.                         "sip_call_id" : "45002e04-e2ce-1238-7195-7a0bcb97d606",
  354.                         "remote_video_media_flow" : "inactive",
  355.                         "sip_full_from" : "%22%22%20%3Csip%3A%2B167%4092.246.150.216%3E%3Btag%3DQrFF9SFDQZU3m",
  356.                         "remote_text_media_flow" : "inactive",
  357.                         "bridge_stamp" : "2020-03-17%2008%3A44%3A20",
  358.                         "sip_hangup_disposition" : "send_bye",
  359.                         "read_rate" : 8000,
  360.                         "rtp_audio_in_skip_packet_count" : 8,
  361.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3Droot%202002445374%202002445374%20IN%20IP4%2092.246.150.216%0D%0As%3DAsterisk%20PBX%2013.15.0%0D%0Ac%3DIN%20IP4%2092.246.150.216%0D%0At%3D0%200%0D%0Am%3Daudio%2010036%20RTP/AVP%200%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmaxptime%3A150%0D%0A",
  362.                         "sip_recover_via" : "SIP/2.0/UDP%2092.119.230.222%3Bbranch%3Dz9hG4bK0BZcy27aH2S6B%3Breceived%3D92.119.230.222%3Brport%3D5060",
  363.                         "rtp_audio_rtcp_octet_count" : 0,
  364.                         "sip_reply_host" : "92.246.150.216",
  365.                         "billmsec" : 24980,
  366.                         "record_samples" : 194560,
  367.                         "answer_stamp" : "2020-03-17%2008%3A44%3A18",
  368.                         "session_id" : 14333,
  369.                         "hold_accum_seconds" : 0,
  370.                         "last_hold_epoch" : 0,
  371.                         "progresssec" : 0,
  372.                         "sip_cseq" : 17663525,
  373.                         "current_application" : "lua",
  374.                         "hangup_cause" : "NORMAL_CLEARING",
  375.                         "hangup_cause_q850" : 16,
  376.                         "resurrect_epoch" : 0,
  377.                         "rtp_audio_in_flaw_total" : 0,
  378.                         "advertised_media_ip" : "92.119.230.222",
  379.                         "SleepTime" : 1500,
  380.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_app-voicebot",
  381.                         "hold_accum_ms" : 0,
  382.                         "rtp_audio_out_packet_count" : 1164,
  383.                         "sip_contact_user" : NumberLong(89065192958),
  384.                         "start_stamp" : "2020-03-17%2008%3A43%3A52",
  385.                         "rtp_audio_recv_pt" : 0,
  386.                         "progress_media_uepoch" : NumberLong(1584434634590455),
  387.                         "rtp_use_codec_string" : "PCMU",
  388.                         "progressmsec" : 0,
  389.                         "bridge_hangup_cause" : "NORMAL_CLEARING",
  390.                         "rtp_audio_out_dtmf_packet_count" : 0,
  391.                         "rtp_audio_in_mos" : 4.5,
  392.                         "last_sent_callee_id_name" : "Outbound%20Call",
  393.                         "sip_local_network_addr" : "92.119.230.222",
  394.                         "rtp_audio_out_media_bytes" : 200208,
  395.                         "rtp_use_timer_name" : "soft",
  396.                         "Campaign" : "5e6262e6131ad44b20a90019",
  397.                         "text_media_flow" : "disabled",
  398.                         "answermsec" : 26320,
  399.                         "sip_profile_name" : "gateway",
  400.                         "sofia_profile_name" : "external",
  401.                         "sip_from_tag" : "QrFF9SFDQZU3m",
  402.                         "rtp_audio_in_jitter_burst_rate" : 0,
  403.                         "resurrect_uepoch" : 0,
  404.                         "last_bridge_to" : "0105f2fe-8f16-44e0-b0ce-2552adc0c16d",
  405.                         "recovery_profile_name" : "external",
  406.                         "sip_bye_h_X-RestComm-CallSid" : "ID11f0bb64e3684c0aa59ac86d15678d8b-CA2f999330ef084bb1a58d5e30e566527a",
  407.                         "progress_mediamsec" : 2560,
  408.                         "sip_from_user" : "%2B167",
  409.                         "duration" : 51,
  410.                         "sip_contact_uri" : "89065192958%4092.246.150.216%3A5060",
  411.                         "local_media_port" : 18534,
  412.                         "remote_audio_media_flow" : "sendrecv",
  413.                         "audio_media_flow" : "sendrecv",
  414.                         "flow_billusec" : 51300007,
  415.                         "local_media_ip" : "92.119.230.222",
  416.                         "rtp_audio_in_jitter_loss_rate" : 0,
  417.                         "sip_from_uri" : "%2B167%4092.246.150.216",
  418.                         "ScenarioParametersApiHost" : "voicebot",
  419.                         "endpoint_disposition" : "ANSWER",
  420.                         "sip_contact_host" : "92.246.150.216",
  421.                         "rtp_audio_in_mean_interval" : 20.03,
  422.                         "sip_reply_port" : 5060,
  423.                         "end_stamp" : "2020-03-17%2008%3A44%3A43",
  424.                         "leg_timeout" : 30,
  425.                         "waitmsec" : 28020,
  426.                         "current_application_data" : "lua/sdk/outgoing-release-2.6.lua",
  427.                         "rtp_audio_out_raw_bytes" : 200208,
  428.                         "progress_uepoch" : 0,
  429.                         "progress_media_stamp" : "2020-03-17%2008%3A43%3A54",
  430.                         "rtp_use_codec_ptime" : 20,
  431.                         "record_file_size" : 778284,
  432.                         "answersec" : 26,
  433.                         "rtp_audio_in_jitter_max_variance" : 32.56,
  434.                         "sip_full_to" : "%3Csip%3A89065192958%4092.246.150.216%3E%3Btag%3Das74be364b",
  435.                         "max_forwards" : 70,
  436.                         "sip_network_ip" : "92.246.150.216",
  437.                         "sip_from_host" : "92.246.150.216",
  438.                         "rtp_audio_in_dtmf_packet_count" : 0,
  439.                         "remote_media_port" : 10036,
  440.                         "last_sent_callee_id_number" : "outgoingSolution%3FtaskId%3D5e7085d8904d0a00079b9654%26callUuid%3D61db5dd6-6f5d-4275-aea1-a46376b60a3b%26callTaskServiceHost%3Dvoicebot%26callTaskServicePort%3D8101%26scenarioResultTopic%3Dscenario_result_sdk_v2_app-voicebot%26sleepBeforeScenarioMs%3D1500",
  441.                         "sip_network_port" : 5060,
  442.                         "pre_transfer_caller_id_number" : "0000000000",
  443.                         "progress_mediasec" : 2,
  444.                         "rtp_use_codec_channels" : 1,
  445.                         "sip_recover_contact" : "%3Csip%3A89065192958%4092.246.150.216%3A5060%3E",
  446.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201584416098%201584416099%20IN%20IP4%2092.119.230.222%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.222%0D%0At%3D0%200%0D%0Am%3Daudio%2018534%20RTP/AVP%200%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dsendrecv%0D%0A",
  447.                         "record_completion_cause" : "success-silence",
  448.                         "answerusec" : 26319999,
  449.                         "sip_req_uri" : "89065192958%4092.246.150.216",
  450.                         "profile_start_uepoch" : NumberLong(1584434658350421),
  451.                         "RECORD_STEREO" : true,
  452.                         "rtp_audio_in_raw_bytes" : 229964,
  453.                         "rtp_audio_rtcp_packet_count" : 0,
  454.                         "bridge_epoch" : 1584434660,
  455.                         "bridge_uepoch" : NumberLong(1584434660050470),
  456.                         "sip_user_agent" : "FPBX-13.0.197.21(13.15.0)",
  457.                         "write_rate" : 8000,
  458.                         "billusec" : 24980008,
  459.                         "answer_epoch" : 1584434658,
  460.                         "absolute_codec_string" : "PCMU",
  461.                         "sip_cid_type" : "none",
  462.                         "call_uuid" : "000618c8-49ee-48d8-bf0f-14299908b726",
  463.                         "rtp_audio_out_skip_packet_count" : 0,
  464.                         "sip_invite_from_uri" : "sip%3A%2B167%4092.246.150.216",
  465.                         "sip_invite_domain" : "92.246.150.216",
  466.                         "sip_full_via" : "SIP/2.0/UDP%2092.119.230.222%3Bbranch%3Dz9hG4bK0BZcy27aH2S6B%3Breceived%3D92.119.230.222%3Brport%3D5060",
  467.                         "channel_name" : "sofia/external/89065192958",
  468.                         "rtp_audio_out_cng_packet_count" : 0,
  469.                         "progress_epoch" : 0,
  470.                         "mduration" : 51300,
  471.                         "last_bridge_hangup_cause" : "NORMAL_CLEARING",
  472.                         "record_ms" : 24320,
  473.                         "remote_media_ip" : "92.246.150.216",
  474.                         "ep_codec_string" : "CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b",
  475.                         "rtp_use_pt" : 0,
  476.                         "rtp_audio_in_largest_jb_size" : 0,
  477.                         "rtp_audio_in_media_bytes" : 212592,
  478.                         "transfer_source" : "1584434658%3Ab4a9dc6f-d878-4cd8-87a5-4700efdc074e%3Abl_xfer%3Aext/outgoing-release-2-6-ms7/XML",
  479.                         "rtp_audio_in_cng_packet_count" : 0,
  480.                         "last_hold_uepoch" : 0,
  481.                         "uduration" : 51300007,
  482.                         "rtp_audio_in_quality_percentage" : 100,
  483.                         "rtp_use_codec_rate" : 8000,
  484.                         "ScenarioParametersApiPort" : 8101,
  485.                         "uuid" : "000618c8-49ee-48d8-bf0f-14299908b726",
  486.                         "sip_gateway_name" : "expert-clinic-all-02",
  487.                         "sip_destination_url" : "sip%3A89065192958%4092.246.150.216",
  488.                         "sip_to_uri" : "89065192958%4092.246.150.216",
  489.                         "read_codec" : "PCMU",
  490.                         "rtp_use_ssrc" : NumberLong(2725332768),
  491.                         "Client" : "5de9402c09c3900001131027",
  492.                         "billsec" : 25,
  493.                         "progress_media_epoch" : 1584434634,
  494.                         "rtp_2833_recv_payload" : 101,
  495.                         "CallTaskId" : "5e7085d8904d0a00079b9654",
  496.                         "end_epoch" : 1584434683,
  497.                         "profile_start_stamp" : "2020-03-17%2008%3A44%3A18",
  498.                         "caller_id" : "%22Outbound%20Call%22%20%3C89065192958%3E",
  499.                         "progressusec" : 0,
  500.                         "originate_early_media" : false,
  501.                         "SipServlet" : "sipservlet_ms7",
  502.                         "sip_outgoing_contact_uri" : "%3Csip%3Aivoicetele%4092.119.230.222%3A5060%3Btransport%3Dudp%3Bgw%3Dexpert-clinic-all-02%3E",
  503.                         "sip_contact_port" : 5060,
  504.                         "flow_billmsec" : 51300,
  505.                         "bridge_channel" : "sofia/external/outgoingSolution%3FtaskId%3D5e7085d8904d0a00079b9654%26callUuid%3D61db5dd6-6f5d-4275-aea1-a46376b60a3b%26callTaskServiceHost%3Dvoicebot%26callTaskServicePort%3D8101%26scenarioResultTopic%3Dscenario_result_sdk_v2_app-voicebot%26sleepBeforeScenarioMs%3D1500",
  506.                         "dtmf_type" : "rfc2833",
  507.                         "sip_allow" : "INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE",
  508.                         "rtp_audio_in_media_packet_count" : 1236,
  509.                         "direction" : "outbound",
  510.                         "video_media_flow" : "disabled",
  511.                         "sip_to_tag" : "as74be364b",
  512.                         "rtp_audio_out_media_packet_count" : 1164,
  513.                         "digits_dialed" : "none",
  514.                         "signal_bond" : "0105f2fe-8f16-44e0-b0ce-2552adc0c16d",
  515.                         "progress_mediausec" : 2560033,
  516.                         "last_app" : "lua",
  517.                         "is_outbound" : true,
  518.                         "rtp_audio_in_jitter_min_variance" : 7.42,
  519.                         "hangup_complete_with_xml" : true,
  520.                         "original_read_codec" : "PCMU",
  521.                         "last_bridge_proto_specific_hangup_cause" : "sip%3A200",
  522.                         "rtp_audio_in_flush_packet_count" : 101
  523.                     },
  524.                     "callflow" : [
  525.                         {
  526.                             "extension" : {
  527.                                 "number" : "ext",
  528.                                 "application" : [
  529.                                     {
  530.                                         "app_name" : "log",
  531.                                         "app_data" : "INFO sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid}; ScenarioResultTopic=${ScenarioResultTopic}; ScenarioParametersApiHost=${ScenarioParametersApiHost}; ScenarioParametersApiPort=${ScenarioParametersApiPort}"
  532.                                     },
  533.                                     {
  534.                                         "app_name" : "wait_for_answer",
  535.                                         "app_data" : ""
  536.                                     },
  537.                                     {
  538.                                         "app_name" : "sched_hangup",
  539.                                         "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  540.                                     },
  541.                                     {
  542.                                         "app_name" : "set",
  543.                                         "app_data" : "RECORD_STEREO=true"
  544.                                     },
  545.                                     {
  546.                                         "app_name" : "record_session",
  547.                                         "app_data" : "/var/lib/freeswitch/recordings/${Client}/${Campaign}/${CallTaskId}.wav"
  548.                                     },
  549.                                     {
  550.                                         "app_name" : "set",
  551.                                         "app_data" : "SleepTime=1500"
  552.                                     },
  553.                                     {
  554.                                         "app_name" : "sleep",
  555.                                         "app_data" : "${SleepTime}"
  556.                                     },
  557.                                     {
  558.                                         "app_name" : "set",
  559.                                         "app_data" : "SipServlet=sipservlet_ms7"
  560.                                     },
  561.                                     {
  562.                                         "app_name" : "lua",
  563.                                         "app_data" : "lua/sdk/outgoing-release-2.6.lua"
  564.                                     }
  565.                                 ],
  566.                                 "name" : "ext"
  567.                             },
  568.                             "times" : {
  569.                                 "progress_time" : 0,
  570.                                 "created_time" : NumberLong(1584434632030422),
  571.                                 "hold_accum_time" : 0,
  572.                                 "resurrect_time" : 0,
  573.                                 "answered_time" : NumberLong(1584434658350421),
  574.                                 "transfer_time" : 0,
  575.                                 "bridged_time" : NumberLong(1584434660050470),
  576.                                 "hangup_time" : NumberLong(1584434683330429),
  577.                                 "progress_media_time" : NumberLong(1584434634590455),
  578.                                 "profile_created_time" : NumberLong(1584434658350421),
  579.                                 "last_hold_time" : 0
  580.                             },
  581.                             "profile_index" : 2,
  582.                             "dialplan" : "XML",
  583.                             "clone-of" : "127e9f6e-866e-45b9-9eb0-a84654371fc8",
  584.                             "caller_profile" : {
  585.                                 "caller_id_name" : "Outbound Call",
  586.                                 "transfer_source" : "1584434658:b4a9dc6f-d878-4cd8-87a5-4700efdc074e:bl_xfer:ext/outgoing-release-2-6-ms7/XML",
  587.                                 "destination_number" : "ext",
  588.                                 "device_id" : "",
  589.                                 "chan_name" : "sofia/external/89065192958",
  590.                                 "dialplan" : "XML",
  591.                                 "callee_id_number" : "outgoingSolution?taskId=5e7085d8904d0a00079b9654&callUuid=61db5dd6-6f5d-4275-aea1-a46376b60a3b&callTaskServiceHost=voicebot&callTaskServicePort=8101&scenarioResultTopic=scenario_result_sdk_v2_app-voicebot&sleepBeforeScenarioMs=1500",
  592.                                 "source" : "src/switch_ivr_originate.c",
  593.                                 "network_addr" : "92.246.150.216",
  594.                                 "uuid" : "000618c8-49ee-48d8-bf0f-14299908b726",
  595.                                 "callee_id_name" : "Outbound Call",
  596.                                 "rdnis" : NumberLong(89065192958),
  597.                                 "aniii" : "",
  598.                                 "context" : "outgoing-release-2-6-ms7",
  599.                                 "caller_id_number" : NumberLong(89065192958),
  600.                                 "ani" : "0000000000",
  601.                                 "username" : ""
  602.                             },
  603.                             "unique-id" : "b4a9dc6f-d878-4cd8-87a5-4700efdc074e"
  604.                         },
  605.                         {
  606.                             "times" : {
  607.                                 "progress_time" : 0,
  608.                                 "created_time" : NumberLong(1584434632030422),
  609.                                 "hold_accum_time" : 0,
  610.                                 "resurrect_time" : 0,
  611.                                 "answered_time" : NumberLong(1584434658350421),
  612.                                 "transfer_time" : NumberLong(1584434658350421),
  613.                                 "bridged_time" : 0,
  614.                                 "hangup_time" : 0,
  615.                                 "progress_media_time" : NumberLong(1584434634590455),
  616.                                 "profile_created_time" : NumberLong(1584434632030422),
  617.                                 "last_hold_time" : 0
  618.                             },
  619.                             "profile_index" : 1,
  620.                             "clone-of" : "968a31e9-cd48-41d4-9143-a21a3aae805b",
  621.                             "caller_profile" : {
  622.                                 "caller_id_name" : "",
  623.                                 "destination_number" : NumberLong(89065192958),
  624.                                 "device_id" : "",
  625.                                 "chan_name" : "sofia/external/89065192958",
  626.                                 "dialplan" : "",
  627.                                 "callee_id_number" : NumberLong(89065192958),
  628.                                 "source" : "src/switch_ivr_originate.c",
  629.                                 "network_addr" : "92.246.150.216",
  630.                                 "uuid" : "000618c8-49ee-48d8-bf0f-14299908b726",
  631.                                 "callee_id_name" : "Outbound Call",
  632.                                 "rdnis" : "",
  633.                                 "aniii" : "",
  634.                                 "context" : "default",
  635.                                 "caller_id_number" : "0000000000",
  636.                                 "ani" : "0000000000",
  637.                                 "username" : ""
  638.                             },
  639.                             "unique-id" : "127e9f6e-866e-45b9-9eb0-a84654371fc8"
  640.                         }
  641.                     ],
  642.                     "core-uuid" : "53822495-dfd9-4a1c-b6b2-461094b1d696",
  643.                     "channel_data" : {
  644.                         "state_number" : 11,
  645.                         "flags" : "0=1;1=1;2=1;3=1;38=1;39=1;41=1;44=1;49=1;54=1;61=1;96=1;113=1;114=1;123=1;160=1;166=1",
  646.                         "state" : "CS_REPORTING",
  647.                         "direction" : "outbound",
  648.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  649.                     },
  650.                     "app_log" : {
  651.                         "application" : [
  652.                             {
  653.                                 "app_name" : "log",
  654.                                 "app_stamp" : NumberLong(1584434658352517),
  655.                                 "app_data" : "INFO sip-system passed vars: ClientId=5de9402c09c3900001131027; CampaignId=5e6262e6131ad44b20a90019; CallTaskId=5e7085d8904d0a00079b9654; CallingSystemCallUuid=61db5dd6-6f5d-4275-aea1-a46376b60a3b; ScenarioResultTopic=scenario_result_sdk_v2_app-voicebot; ScenarioParametersApiHost=voicebot; ScenarioParametersApiPort=8101"
  656.                             },
  657.                             {
  658.                                 "app_name" : "wait_for_answer",
  659.                                 "app_stamp" : NumberLong(1584434658352828),
  660.                                 "app_data" : ""
  661.                             },
  662.                             {
  663.                                 "app_name" : "sched_hangup",
  664.                                 "app_stamp" : NumberLong(1584434658353151),
  665.                                 "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  666.                             },
  667.                             {
  668.                                 "app_name" : "set",
  669.                                 "app_stamp" : NumberLong(1584434658353451),
  670.                                 "app_data" : "RECORD_STEREO=true"
  671.                             },
  672.                             {
  673.                                 "app_name" : "record_session",
  674.                                 "app_stamp" : NumberLong(1584434658353742),
  675.                                 "app_data" : "/var/lib/freeswitch/recordings/5de9402c09c3900001131027/5e6262e6131ad44b20a90019/5e7085d8904d0a00079b9654.wav"
  676.                             },
  677.                             {
  678.                                 "app_name" : "set",
  679.                                 "app_stamp" : NumberLong(1584434658369372),
  680.                                 "app_data" : "SleepTime=1500"
  681.                             },
  682.                             {
  683.                                 "app_name" : "sleep",
  684.                                 "app_stamp" : NumberLong(1584434658369623),
  685.                                 "app_data" : 1500
  686.                             },
  687.                             {
  688.                                 "app_name" : "set",
  689.                                 "app_stamp" : NumberLong(1584434659880064),
  690.                                 "app_data" : "SipServlet=sipservlet_ms7"
  691.                             },
  692.                             {
  693.                                 "app_name" : "lua",
  694.                                 "app_stamp" : NumberLong(1584434659880341),
  695.                                 "app_data" : "lua/sdk/outgoing-release-2.6.lua"
  696.                             }
  697.                         ]
  698.                     },
  699.                     "switchname" : "fs2",
  700.                     "call-stats" : {
  701.                         "audio" : {
  702.                             "inbound" : {
  703.                                 "media_packet_count" : 1236,
  704.                                 "cng_packet_count" : 0,
  705.                                 "jitter_min_variance" : 7.42,
  706.                                 "skip_packet_count" : 8,
  707.                                 "mean_interval" : 20.03,
  708.                                 "dtmf_packet_count" : 0,
  709.                                 "jitter_loss_rate" : 0,
  710.                                 "jitter_burst_rate" : 0,
  711.                                 "flaw_total" : 0,
  712.                                 "quality_percentage" : 100,
  713.                                 "mos" : 4.5,
  714.                                 "largest_jb_size" : 0,
  715.                                 "packet_count" : 1337,
  716.                                 "jitter_max_variance" : 32.56,
  717.                                 "media_bytes" : 212592,
  718.                                 "jitter_packet_count" : 0,
  719.                                 "raw_bytes" : 229964,
  720.                                 "flush_packet_count" : 101
  721.                             },
  722.                             "outbound" : {
  723.                                 "media_packet_count" : 1164,
  724.                                 "cng_packet_count" : 0,
  725.                                 "skip_packet_count" : 0,
  726.                                 "dtmf_packet_count" : 0,
  727.                                 "rtcp_packet_count" : 0,
  728.                                 "packet_count" : 1164,
  729.                                 "media_bytes" : 200208,
  730.                                 "rtcp_octet_count" : 0,
  731.                                 "raw_bytes" : 200208
  732.                             }
  733.                         }
  734.                     }
  735.                 },
  736.                 "callUuid" : "61db5dd6-6f5d-4275-aea1-a46376b60a3b",
  737.                 "callTaskId" : "5e7085d8904d0a00079b9654"
  738.             }
  739.         }
  740.     ],
  741.     "parameters" : {
  742.         "name" : "ВИКТОР ВИКТОРОВИЧ",
  743.         "date" : "18 марта",
  744.         "specialty" : "ВОП",
  745.         "time" : "12:30",
  746.         "address" : "город Смоленск улица 8 Марта дом 20"
  747.     },
  748.     "nextAttemptTimestamp" : NumberLong(1584434628),
  749.     "results" : {},
  750.     "ringingMillis" : NumberLong(0),
  751.     "talkMillis" : NumberLong(24980),
  752.     "reportParameters" : {
  753.         "date" : "18 марта",
  754.         "specialty" : "ВОП",
  755.         "address" : "город Смоленск улица 8 Марта дом 20",
  756.         "name" : "ВИКТОР ВИКТОРОВИЧ",
  757.         "time" : "12:30"
  758.     },
  759.     "created" : NumberLong(1584432600),
  760.     "reported" : false,
  761.     "testing" : false,
  762.     "performedTimestamp" : NumberLong(1584434683),
  763.     "sumConsume" : 0.0,
  764.     "processingEvents" : [
  765.         {
  766.             "timestampSecUtc" : NumberLong(1584432797),
  767.             "dateTimeFormatted" : "17.03.20 08:13",
  768.             "author" : "calling-system",
  769.             "event" : "call initiated: OutgoingCall(uuid=a187a4d4-5a5f-4c49-b007-e2078e89a8bf, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-fs2-release-2-3, responseTopic=calling-system-orig-result-app-voicebot, scenarioResultTopic=scenario_result_sdk_v2_app-voicebot, scenarioParametersApiHost=voicebot, scenarioParametersApiPort=8101, callUrl=sofia/gateway/expert-clinic-all-02/89065192958 ext XML outgoing-release-2-6-ms7, createdUtcMs=1584432797210, callUuid=a187a4d4-5a5f-4c49-b007-e2078e89a8bf, callTaskUuid=5e7085d8904d0a00079b9654, client=5de9402c09c3900001131027, campaign=5e6262e6131ad44b20a90019, originateParameters={absolute_codec_string=PCMU, sip_cid_type=none, sip_invite_from_uri=sip:+167@92.246.150.216}, originateTimeoutSec=30), originateResult=null, systemError=null, cdr=null); message to kafka to call task is about to be sent"
  770.         },
  771.         {
  772.             "timestampSecUtc" : NumberLong(1584432828023),
  773.             "dateTimeFormatted" : "17.03.20 08:13",
  774.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  775.             "event" : "CDR_RECEIVED",
  776.             "parameters" : {
  777.                 "talkMillis" : NumberLong(0)
  778.             }
  779.         },
  780.         {
  781.             "timestampSecUtc" : NumberLong(1584432828),
  782.             "dateTimeFormatted" : "17.03.20 08:13",
  783.             "author" : "tech.ivoice.calls.taskproc.strategies.postponing.PostponeSeveralTimesStrategy",
  784.             "event" : "POSTPONING_STRATEGY_RESULT",
  785.             "parameters" : {
  786.                 "nextAttemptUtcSeconds" : NumberLong(1584434628),
  787.                 "nextState" : "POSTPONED"
  788.             }
  789.         },
  790.         {
  791.             "timestampSecUtc" : NumberLong(1584434630),
  792.             "dateTimeFormatted" : "17.03.20 08:43",
  793.             "author" : "tech.ivoice.calls.taskproc.service.PostponeResumeService",
  794.             "event" : "POSTPONED_TASK_RESUMED"
  795.         },
  796.         {
  797.             "timestampSecUtc" : NumberLong(1584434632),
  798.             "dateTimeFormatted" : "17.03.20 08:43",
  799.             "author" : "calling-system",
  800.             "event" : "call initiated: OutgoingCall(uuid=61db5dd6-6f5d-4275-aea1-a46376b60a3b, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-fs2-release-2-3, responseTopic=calling-system-orig-result-app-voicebot, scenarioResultTopic=scenario_result_sdk_v2_app-voicebot, scenarioParametersApiHost=voicebot, scenarioParametersApiPort=8101, callUrl=sofia/gateway/expert-clinic-all-02/89065192958 ext XML outgoing-release-2-6-ms7, createdUtcMs=1584434632030, callUuid=61db5dd6-6f5d-4275-aea1-a46376b60a3b, callTaskUuid=5e7085d8904d0a00079b9654, client=5de9402c09c3900001131027, campaign=5e6262e6131ad44b20a90019, originateParameters={absolute_codec_string=PCMU, sip_cid_type=none, sip_invite_from_uri=sip:+167@92.246.150.216}, originateTimeoutSec=30), originateResult=null, systemError=null, cdr=null); message to kafka to call task is about to be sent"
  801.         },
  802.         {
  803.             "timestampSecUtc" : NumberLong(1584434658),
  804.             "dateTimeFormatted" : "17.03.20 08:44",
  805.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  806.             "event" : "transition to ONGOING on call answered"
  807.         },
  808.         {
  809.             "timestampSecUtc" : NumberLong(1584434683383),
  810.             "dateTimeFormatted" : "17.03.20 08:44",
  811.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  812.             "event" : "CDR_RECEIVED",
  813.             "parameters" : {
  814.                 "nextState" : "PERFORMED",
  815.                 "talkMillis" : NumberLong(24980)
  816.             }
  817.         }
  818.     ],
  819.     "fullCost" : NumberLong(0),
  820.     "fullBilling" : false,
  821.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  822.     "scenarioResult" : {
  823.         "time" : ISODate("2020-03-17T08:44:43.311Z"),
  824.         "items" : [
  825.             {
  826.                 "time" : ISODate("2020-03-17T08:44:20.040Z"),
  827.                 "name" : "params",
  828.                 "value" : "universal",
  829.                 "details" : {
  830.                     "date" : "18 марта",
  831.                     "sleepBeforeScenarioMs" : "1500",
  832.                     "specialty" : "ВОП",
  833.                     "address" : "город Смоленск улица 8 Марта дом 20",
  834.                     "campaignId" : "5e6262e6131ad44b20a90019",
  835.                     "callTaskId" : "5e7085d8904d0a00079b9654",
  836.                     "solutionName" : "universal",
  837.                     "callUuid" : "61db5dd6-6f5d-4275-aea1-a46376b60a3b",
  838.                     "states" : [
  839.                         {
  840.                             "data" : {
  841.                                 "text" : "Здравствуйте!  Я голосовой помощник клиники Эксперт, меня зовут Даша!  {это--name?}",
  842.                                 "audio" : [
  843.                                     {
  844.                                         "type" : "url",
  845.                                         "url" : "/audios/725ea490-2273-11ea-8aaa-0305788f98c6.wav",
  846.                                         "number" : "0",
  847.                                         "duration" : "5"
  848.                                     },
  849.                                     {
  850.                                         "type" : "param",
  851.                                         "paramName" : "это--name?",
  852.                                         "number" : "1"
  853.                                     }
  854.                                 ],
  855.                                 "generationAudioType" : "generateFromText",
  856.                                 "id" : "jsPlumb_3_733",
  857.                                 "title" : "начало разговора",
  858.                                 "stateQuestion" : "ЭтоВы",
  859.                                 "stateValue" : "",
  860.                                 "words" : [],
  861.                                 "isSilence" : false,
  862.                                 "isIllegibly" : false,
  863.                                 "speaker" : "oksana",
  864.                                 "emotion" : "good",
  865.                                 "speed" : "1",
  866.                                 "repeat" : {
  867.                                     "audio" : [],
  868.                                     "text" : "",
  869.                                     "emotion" : "good",
  870.                                     "speaker" : "oksana",
  871.                                     "speed" : "1"
  872.                                 },
  873.                                 "repeatFail" : {
  874.                                     "audio" : [],
  875.                                     "text" : "",
  876.                                     "emotion" : "good",
  877.                                     "speaker" : "oksana",
  878.                                     "speed" : "1"
  879.                                 },
  880.                                 "searchStrategy" : "CONTAINS_FULL_SPEECH",
  881.                                 "timeout" : "",
  882.                                 "startCollectBeforePlayEnd" : "2",
  883.                                 "waitingInputTimeout" : "",
  884.                                 "silenceAfterSpeechTimeout" : "2",
  885.                                 "delayBeforeCollect" : ""
  886.                             },
  887.                             "view" : {
  888.                                 "top" : 76,
  889.                                 "left" : 119
  890.                             },
  891.                             "startNode" : true
  892.                         },
  893.                         {
  894.                             "data" : {
  895.                                 "text" : "Завтра {date в time} Вы записаны на прием в нашу клинику. {Вас ждет врач specialty} Вы-подойд+ёте?",
  896.                                 "audio" : [
  897.                                     {
  898.                                         "type" : "url",
  899.                                         "url" : "/audios/2ad738c0-386d-11ea-8aaa-0305788f98c6.wav",
  900.                                         "number" : "0",
  901.                                         "duration" : "1"
  902.                                     },
  903.                                     {
  904.                                         "type" : "param",
  905.                                         "paramName" : "date в time",
  906.                                         "number" : "1"
  907.                                     },
  908.                                     {
  909.                                         "type" : "url",
  910.                                         "url" : "/audios/2ad4eed0-386d-11ea-8aaa-0305788f98c6.wav",
  911.                                         "number" : "2",
  912.                                         "duration" : "3"
  913.                                     },
  914.                                     {
  915.                                         "type" : "param",
  916.                                         "paramName" : "Вас ждет врач specialty",
  917.                                         "number" : "3"
  918.                                     },
  919.                                     {
  920.                                         "type" : "url",
  921.                                         "url" : "/audios/2af4f9f0-386d-11ea-8aaa-0305788f98c6.wav",
  922.                                         "number" : "4",
  923.                                         "duration" : "2"
  924.                                     }
  925.                                 ],
  926.                                 "generationAudioType" : "generateFromText",
  927.                                 "id" : "jsPlumb_3_840",
  928.                                 "title" : "Да",
  929.                                 "stateQuestion" : "ВыПодойдете",
  930.                                 "stateValue" : "",
  931.                                 "words" : [
  932.                                     "моя",
  933.                                     "моё",
  934.                                     "это я",
  935.                                     "конечно",
  936.                                     "говорите",
  937.                                     "верно",
  938.                                     "правильно",
  939.                                     "говори",
  940.                                     "кто спрашивает",
  941.                                     "вы кто",
  942.                                     "что нужно",
  943.                                     "что надо",
  944.                                     "что вам нужно",
  945.                                     "что вам надо",
  946.                                     "так точно",
  947.                                     "кто же ещё",
  948.                                     "угу",
  949.                                     "допустим",
  950.                                     "дада",
  951.                                     "да да",
  952.                                     "да да да",
  953.                                     "конец но",
  954.                                     "конец на",
  955.                                     "я!*",
  956.                                     "за!*",
  957.                                     "на!*",
  958.                                     "да!*",
  959.                                     "ну!*",
  960.                                     "ага!*",
  961.                                     "да а что",
  962.                                     "я а что"
  963.                                 ],
  964.                                 "isSilence" : false,
  965.                                 "isIllegibly" : false,
  966.                                 "speaker" : "oksana",
  967.                                 "emotion" : "good",
  968.                                 "speed" : "1",
  969.                                 "repeat" : {
  970.                                     "audio" : [],
  971.                                     "text" : "",
  972.                                     "emotion" : "good",
  973.                                     "speaker" : "oksana",
  974.                                     "speed" : "1"
  975.                                 },
  976.                                 "repeatFail" : {
  977.                                     "audio" : [],
  978.                                     "text" : "",
  979.                                     "emotion" : "good",
  980.                                     "speaker" : "oksana",
  981.                                     "speed" : "1"
  982.                                 },
  983.                                 "searchStrategy" : "CONTAINS_FULL_SPEECH",
  984.                                 "timeout" : "",
  985.                                 "startCollectBeforePlayEnd" : "",
  986.                                 "waitingInputTimeout" : "",
  987.                                 "silenceAfterSpeechTimeout" : "2",
  988.                                 "delayBeforeCollect" : ""
  989.                             },
  990.                             "view" : {
  991.                                 "top" : 786,
  992.                                 "left" : 91
  993.                             },
  994.                             "startNode" : false
  995.                         },
  996.                         {
  997.                             "data" : {
  998.                                 "text" : "Спасибо за ответ, До свидания!  sil <[1500]>",
  999.                                 "audio" : [
  1000.                                     {
  1001.                                         "type" : "url",
  1002.                                         "url" : "/audios/9286d590-1b38-11ea-8aaa-0305788f98c6.wav",
  1003.                                         "number" : "0",
  1004.                                         "duration" : "4"
  1005.                                     }
  1006.                                 ],
  1007.                                 "generationAudioType" : "generateFromText",
  1008.                                 "id" : "jsPlumb_3_316",
  1009.                                 "title" : "Нет",
  1010.                                 "stateQuestion" : "",
  1011.                                 "stateValue" : "",
  1012.                                 "words" : [
  1013.                                     "ошиблись",
  1014.                                     "ошибся",
  1015.                                     "нет",
  1016.                                     "не я",
  1017.                                     "ошибка",
  1018.                                     "другой",
  1019.                                     "не туда",
  1020.                                     "не тому",
  1021.                                     "не моё",
  1022.                                     "другом",
  1023.                                     "неа",
  1024.                                     "Neo"
  1025.                                 ],
  1026.                                 "isSilence" : false,
  1027.                                 "isIllegibly" : false,
  1028.                                 "speaker" : "oksana",
  1029.                                 "emotion" : "good",
  1030.                                 "speed" : "1",
  1031.                                 "repeat" : {
  1032.                                     "audio" : [],
  1033.                                     "text" : "",
  1034.                                     "emotion" : "good",
  1035.                                     "speaker" : "oksana",
  1036.                                     "speed" : "1"
  1037.                                 },
  1038.                                 "repeatFail" : {
  1039.                                     "audio" : [],
  1040.                                     "text" : "",
  1041.                                     "emotion" : "good",
  1042.                                     "speaker" : "oksana",
  1043.                                     "speed" : "1"
  1044.                                 },
  1045.                                 "timeout" : "",
  1046.                                 "startCollectBeforePlayEnd" : "",
  1047.                                 "waitingInputTimeout" : "",
  1048.                                 "silenceAfterSpeechTimeout" : "",
  1049.                                 "delayBeforeCollect" : ""
  1050.                             },
  1051.                             "view" : {
  1052.                                 "top" : 728,
  1053.                                 "left" : 976
  1054.                             },
  1055.                             "startNode" : false
  1056.                         },
  1057.                         {
  1058.                             "data" : {
  1059.                                 "text" : "Спасибо за ответ, ждем Вас в назначенное время  по адресу {address}! До свидания!  sil <[1500]>",
  1060.                                 "audio" : [
  1061.                                     {
  1062.                                         "type" : "url",
  1063.                                         "url" : "/audios/99943880-386d-11ea-8aaa-0305788f98c6.wav",
  1064.                                         "number" : "0",
  1065.                                         "duration" : "4"
  1066.                                     },
  1067.                                     {
  1068.                                         "type" : "param",
  1069.                                         "paramName" : "address",
  1070.                                         "number" : "1"
  1071.                                     },
  1072.                                     {
  1073.                                         "type" : "url",
  1074.                                         "url" : "/audios/993b9130-386d-11ea-8aaa-0305788f98c6.wav",
  1075.                                         "number" : "2",
  1076.                                         "duration" : "3"
  1077.                                     }
  1078.                                 ],
  1079.                                 "generationAudioType" : "generateFromText",
  1080.                                 "id" : "jsPlumb_3_239",
  1081.                                 "title" : "Да",
  1082.                                 "stateQuestion" : "",
  1083.                                 "stateValue" : "",
  1084.                                 "words" : [
  1085.                                     "да",
  1086.                                     "ага",
  1087.                                     "конечно",
  1088.                                     "обязательно",
  1089.                                     "непременно",
  1090.                                     "однозначно",
  1091.                                     "скорей всего",
  1092.                                     "постараюсь",
  1093.                                     "придё",
  1094.                                     "подойду",
  1095.                                     "придём",
  1096.                                     "подойдём",
  1097.                                     "дада",
  1098.                                     "да да",
  1099.                                     "да да да",
  1100.                                     "за!*",
  1101.                                     "на!*",
  1102.                                     "да!*"
  1103.                                 ],
  1104.                                 "isSilence" : false,
  1105.                                 "isIllegibly" : false,
  1106.                                 "speaker" : "oksana",
  1107.                                 "emotion" : "good",
  1108.                                 "speed" : "1",
  1109.                                 "repeat" : {
  1110.                                     "audio" : [],
  1111.                                     "text" : "",
  1112.                                     "emotion" : "good",
  1113.                                     "speaker" : "oksana",
  1114.                                     "speed" : "1"
  1115.                                 },
  1116.                                 "repeatFail" : {
  1117.                                     "audio" : [],
  1118.                                     "text" : "",
  1119.                                     "emotion" : "good",
  1120.                                     "speaker" : "oksana",
  1121.                                     "speed" : "1"
  1122.                                 },
  1123.                                 "timeout" : "",
  1124.                                 "startCollectBeforePlayEnd" : "",
  1125.                                 "waitingInputTimeout" : "",
  1126.                                 "silenceAfterSpeechTimeout" : "",
  1127.                                 "delayBeforeCollect" : ""
  1128.                             },
  1129.                             "view" : {
  1130.                                 "top" : 1816,
  1131.                                 "left" : 41
  1132.                             },
  1133.                             "startNode" : false
  1134.                         },
  1135.                         {
  1136.                             "data" : {
  1137.                                 "text" : "Спасибо за ответ, наш администратор свяжется с вами и подберет удобное время для записи. До свидания.  sil <[1500]>",
  1138.                                 "audio" : [
  1139.                                     {
  1140.                                         "type" : "url",
  1141.                                         "url" : "/audios/a492bce0-1b38-11ea-8aaa-0305788f98c6.wav",
  1142.                                         "number" : "0",
  1143.                                         "duration" : "8"
  1144.                                     }
  1145.                                 ],
  1146.                                 "generationAudioType" : "generateFromText",
  1147.                                 "id" : "jsPlumb_3_996",
  1148.                                 "title" : "Нет",
  1149.                                 "stateQuestion" : "",
  1150.                                 "stateValue" : "",
  1151.                                 "words" : [
  1152.                                     "нет",
  1153.                                     "не смогу",
  1154.                                     "не приду",
  1155.                                     "не подойду",
  1156.                                     "не могу",
  1157.                                     "меня не будет",
  1158.                                     "не получится",
  1159.                                     "не получиться",
  1160.                                     "неа",
  1161.                                     "Neo",
  1162.                                     "не!*"
  1163.                                 ],
  1164.                                 "isSilence" : false,
  1165.                                 "isIllegibly" : false,
  1166.                                 "speaker" : "oksana",
  1167.                                 "emotion" : "good",
  1168.                                 "speed" : "1",
  1169.                                 "repeat" : {
  1170.                                     "audio" : [],
  1171.                                     "text" : "",
  1172.                                     "emotion" : "good",
  1173.                                     "speaker" : "oksana",
  1174.                                     "speed" : "1"
  1175.                                 },
  1176.                                 "repeatFail" : {
  1177.                                     "audio" : [],
  1178.                                     "text" : "",
  1179.                                     "emotion" : "good",
  1180.                                     "speaker" : "oksana",
  1181.                                     "speed" : "1"
  1182.                                 },
  1183.                                 "timeout" : "",
  1184.                                 "startCollectBeforePlayEnd" : "",
  1185.                                 "waitingInputTimeout" : "",
  1186.                                 "silenceAfterSpeechTimeout" : "",
  1187.                                 "delayBeforeCollect" : ""
  1188.                             },
  1189.                             "view" : {
  1190.                                 "top" : 1806,
  1191.                                 "left" : 750
  1192.                             },
  1193.                             "startNode" : false
  1194.                         },
  1195.                         {
  1196.                             "data" : {
  1197.                                 "text" : "Простите Вас не расслышала! Вы, подойд+Ёте? Скажите \"Д+А\", или \"НЕТ\"",
  1198.                                 "audio" : [
  1199.                                     {
  1200.                                         "type" : "url",
  1201.                                         "url" : "/audios/02644060-f982-11e9-8633-6b9f04b1d17d.wav",
  1202.                                         "number" : "0",
  1203.                                         "duration" : "5"
  1204.                                     }
  1205.                                 ],
  1206.                                 "generationAudioType" : "generateFromText",
  1207.                                 "id" : "jsPlumb_3_756",
  1208.                                 "title" : "Молчание",
  1209.                                 "stateQuestion" : "ВыПодойдете",
  1210.                                 "stateValue" : "молчание",
  1211.                                 "words" : [],
  1212.                                 "isSilence" : true,
  1213.                                 "isIllegibly" : false,
  1214.                                 "speaker" : "oksana",
  1215.                                 "emotion" : "good",
  1216.                                 "speed" : "1",
  1217.                                 "repeat" : {
  1218.                                     "audio" : [],
  1219.                                     "text" : "",
  1220.                                     "emotion" : "good",
  1221.                                     "speaker" : "oksana",
  1222.                                     "speed" : "1"
  1223.                                 },
  1224.                                 "repeatFail" : {
  1225.                                     "audio" : [],
  1226.                                     "text" : "",
  1227.                                     "emotion" : "good",
  1228.                                     "speaker" : "oksana",
  1229.                                     "speed" : "1"
  1230.                                 },
  1231.                                 "searchStrategy" : "CONTAINS",
  1232.                                 "timeout" : "",
  1233.                                 "startCollectBeforePlayEnd" : "2",
  1234.                                 "waitingInputTimeout" : "",
  1235.                                 "silenceAfterSpeechTimeout" : "",
  1236.                                 "delayBeforeCollect" : ""
  1237.                             },
  1238.                             "view" : {
  1239.                                 "top" : 1100,
  1240.                                 "left" : 756
  1241.                             },
  1242.                             "startNode" : false
  1243.                         },
  1244.                         {
  1245.                             "data" : {
  1246.                                 "text" : "Спасибо за ответ, До свидания!  sil <[1500]>",
  1247.                                 "audio" : [
  1248.                                     {
  1249.                                         "type" : "url",
  1250.                                         "url" : "/audios/99b64800-1b38-11ea-8aaa-0305788f98c6.wav",
  1251.                                         "number" : "0",
  1252.                                         "duration" : "4"
  1253.                                     }
  1254.                                 ],
  1255.                                 "generationAudioType" : "generateFromText",
  1256.                                 "id" : "jsPlumb_3_377",
  1257.                                 "title" : "Молчание",
  1258.                                 "stateQuestion" : "",
  1259.                                 "stateValue" : "молчание",
  1260.                                 "words" : [],
  1261.                                 "isSilence" : true,
  1262.                                 "isIllegibly" : false,
  1263.                                 "speaker" : "oksana",
  1264.                                 "emotion" : "good",
  1265.                                 "speed" : "1",
  1266.                                 "repeat" : {
  1267.                                     "audio" : [],
  1268.                                     "text" : "",
  1269.                                     "emotion" : "good",
  1270.                                     "speaker" : "oksana",
  1271.                                     "speed" : "1"
  1272.                                 },
  1273.                                 "repeatFail" : {
  1274.                                     "audio" : [],
  1275.                                     "text" : "",
  1276.                                     "emotion" : "good",
  1277.                                     "speaker" : "oksana",
  1278.                                     "speed" : "1"
  1279.                                 },
  1280.                                 "timeout" : "",
  1281.                                 "startCollectBeforePlayEnd" : "",
  1282.                                 "waitingInputTimeout" : "",
  1283.                                 "silenceAfterSpeechTimeout" : "",
  1284.                                 "delayBeforeCollect" : ""
  1285.                             },
  1286.                             "view" : {
  1287.                                 "top" : 1341,
  1288.                                 "left" : 2036
  1289.                             },
  1290.                             "startNode" : false
  1291.                         },
  1292.                         {
  1293.                             "data" : {
  1294.                                 "text" : "Простите Вас не расслышала! {name это Ваше имя?} Скажите \"Д+А\", или \"НЕТ\"",
  1295.                                 "audio" : [
  1296.                                     {
  1297.                                         "type" : "url",
  1298.                                         "url" : "/audios/c009e190-fb96-11e9-8633-6b9f04b1d17d.wav",
  1299.                                         "number" : "0",
  1300.                                         "duration" : "2"
  1301.                                     },
  1302.                                     {
  1303.                                         "type" : "param",
  1304.                                         "paramName" : "name это Ваше имя?",
  1305.                                         "number" : "1"
  1306.                                     },
  1307.                                     {
  1308.                                         "type" : "url",
  1309.                                         "url" : "/audios/c03dc2d0-fb96-11e9-8633-6b9f04b1d17d.wav",
  1310.                                         "number" : "2",
  1311.                                         "duration" : "2"
  1312.                                     }
  1313.                                 ],
  1314.                                 "generationAudioType" : "generateFromText",
  1315.                                 "id" : "jsPlumb_3_491",
  1316.                                 "title" : "Молчание",
  1317.                                 "stateQuestion" : "ЭтоВы",
  1318.                                 "stateValue" : "молчание",
  1319.                                 "words" : [],
  1320.                                 "isSilence" : true,
  1321.                                 "isIllegibly" : false,
  1322.                                 "speaker" : "oksana",
  1323.                                 "emotion" : "good",
  1324.                                 "speed" : "1",
  1325.                                 "repeat" : {
  1326.                                     "audio" : [],
  1327.                                     "text" : "",
  1328.                                     "emotion" : "good",
  1329.                                     "speaker" : "oksana",
  1330.                                     "speed" : "1"
  1331.                                 },
  1332.                                 "repeatFail" : {
  1333.                                     "audio" : [],
  1334.                                     "text" : "",
  1335.                                     "emotion" : "good",
  1336.                                     "speaker" : "oksana",
  1337.                                     "speed" : "1"
  1338.                                 },
  1339.                                 "searchStrategy" : "CONTAINS_FULL_SPEECH",
  1340.                                 "timeout" : "",
  1341.                                 "startCollectBeforePlayEnd" : "2",
  1342.                                 "waitingInputTimeout" : "",
  1343.                                 "silenceAfterSpeechTimeout" : "2",
  1344.                                 "delayBeforeCollect" : ""
  1345.                             },
  1346.                             "view" : {
  1347.                                 "top" : 33,
  1348.                                 "left" : 1046
  1349.                             },
  1350.                             "startNode" : false
  1351.                         },
  1352.                         {
  1353.                             "data" : {
  1354.                                 "text" : "Спасибо за ответ, До свидания!  sil <[1500]>",
  1355.                                 "audio" : [
  1356.                                     {
  1357.                                         "type" : "url",
  1358.                                         "url" : "/audios/67c4f120-1b38-11ea-8aaa-0305788f98c6.wav",
  1359.                                         "number" : "0",
  1360.                                         "duration" : "4"
  1361.                                     }
  1362.                                 ],
  1363.                                 "generationAudioType" : "generateFromText",
  1364.                                 "id" : "jsPlumb_3_78",
  1365.                                 "title" : "Молчание",
  1366.                                 "stateQuestion" : "",
  1367.                                 "stateValue" : "молчание",
  1368.                                 "words" : [],
  1369.                                 "isSilence" : true,
  1370.                                 "isIllegibly" : false,
  1371.                                 "speaker" : "oksana",
  1372.                                 "emotion" : "good",
  1373.                                 "speed" : "1",
  1374.                                 "repeat" : {
  1375.                                     "audio" : [],
  1376.                                     "text" : "",
  1377.                                     "emotion" : "good",
  1378.                                     "speaker" : "oksana",
  1379.                                     "speed" : "1"
  1380.                                 },
  1381.                                 "repeatFail" : {
  1382.                                     "audio" : [],
  1383.                                     "text" : "",
  1384.                                     "emotion" : "good",
  1385.                                     "speaker" : "oksana",
  1386.                                     "speed" : "1"
  1387.                                 },
  1388.                                 "timeout" : "",
  1389.                                 "startCollectBeforePlayEnd" : "",
  1390.                                 "waitingInputTimeout" : "",
  1391.                                 "silenceAfterSpeechTimeout" : "",
  1392.                                 "delayBeforeCollect" : ""
  1393.                             },
  1394.                             "view" : {
  1395.                                 "top" : 41,
  1396.                                 "left" : 2246
  1397.                             },
  1398.                             "startNode" : false
  1399.                         },
  1400.                         {
  1401.                             "data" : {
  1402.                                 "text" : "Спасибо за ответ, До свидания!  sil <[1500]>",
  1403.                                 "audio" : [
  1404.                                     {
  1405.                                         "type" : "url",
  1406.                                         "url" : "/audios/8ea5a3c0-1b38-11ea-8aaa-0305788f98c6.wav",
  1407.                                         "number" : "0",
  1408.                                         "duration" : "4"
  1409.                                     }
  1410.                                 ],
  1411.                                 "generationAudioType" : "generateFromText",
  1412.                                 "id" : "jsPlumb_3_504",
  1413.                                 "title" : "Другой ответ",
  1414.                                 "stateQuestion" : "",
  1415.                                 "stateValue" : "",
  1416.                                 "words" : [],
  1417.                                 "isSilence" : false,
  1418.                                 "isIllegibly" : true,
  1419.                                 "speaker" : "oksana",
  1420.                                 "emotion" : "good",
  1421.                                 "speed" : "1",
  1422.                                 "repeat" : {
  1423.                                     "audio" : [],
  1424.                                     "text" : "",
  1425.                                     "emotion" : "good",
  1426.                                     "speaker" : "oksana",
  1427.                                     "speed" : "1"
  1428.                                 },
  1429.                                 "repeatFail" : {
  1430.                                     "audio" : [],
  1431.                                     "text" : "",
  1432.                                     "emotion" : "good",
  1433.                                     "speaker" : "oksana",
  1434.                                     "speed" : "1"
  1435.                                 },
  1436.                                 "timeout" : "",
  1437.                                 "startCollectBeforePlayEnd" : "",
  1438.                                 "waitingInputTimeout" : "",
  1439.                                 "silenceAfterSpeechTimeout" : "",
  1440.                                 "delayBeforeCollect" : ""
  1441.                             },
  1442.                             "view" : {
  1443.                                 "top" : 358,
  1444.                                 "left" : 2253
  1445.                             },
  1446.                             "startNode" : false
  1447.                         },
  1448.                         {
  1449.                             "data" : {
  1450.                                 "text" : "Простите Вас не расслышала! {name это Ваше имя?} Скажите \"Д+А\", или \"НЕТ\"",
  1451.                                 "audio" : [
  1452.                                     {
  1453.                                         "type" : "url",
  1454.                                         "url" : "/audios/c009e190-fb96-11e9-8633-6b9f04b1d17d.wav",
  1455.                                         "number" : "1",
  1456.                                         "duration" : "2"
  1457.                                     },
  1458.                                     {
  1459.                                         "type" : "param",
  1460.                                         "paramName" : "name это Ваше имя?",
  1461.                                         "number" : "2"
  1462.                                     },
  1463.                                     {
  1464.                                         "type" : "url",
  1465.                                         "url" : "/audios/c03dc2d0-fb96-11e9-8633-6b9f04b1d17d.wav",
  1466.                                         "number" : "3",
  1467.                                         "duration" : "2"
  1468.                                     }
  1469.                                 ],
  1470.                                 "generationAudioType" : "generateFromText",
  1471.                                 "id" : "jsPlumb_3_411",
  1472.                                 "title" : "другой ответ",
  1473.                                 "stateQuestion" : "ЭтоВы",
  1474.                                 "stateValue" : "",
  1475.                                 "words" : [],
  1476.                                 "isSilence" : false,
  1477.                                 "isIllegibly" : true,
  1478.                                 "speaker" : "oksana",
  1479.                                 "emotion" : "good",
  1480.                                 "speed" : "1",
  1481.                                 "repeat" : {
  1482.                                     "audio" : [],
  1483.                                     "text" : "",
  1484.                                     "emotion" : "good",
  1485.                                     "speaker" : "oksana",
  1486.                                     "speed" : "1"
  1487.                                 },
  1488.                                 "repeatFail" : {
  1489.                                     "audio" : [],
  1490.                                     "text" : "",
  1491.                                     "emotion" : "good",
  1492.                                     "speaker" : "oksana",
  1493.                                     "speed" : "1"
  1494.                                 },
  1495.                                 "searchStrategy" : "CONTAINS_FULL_SPEECH",
  1496.                                 "timeout" : "",
  1497.                                 "startCollectBeforePlayEnd" : "2",
  1498.                                 "waitingInputTimeout" : "",
  1499.                                 "silenceAfterSpeechTimeout" : "2",
  1500.                                 "delayBeforeCollect" : ""
  1501.                             },
  1502.                             "view" : {
  1503.                                 "top" : 356,
  1504.                                 "left" : 1413
  1505.                             },
  1506.                             "startNode" : false
  1507.                         },
  1508.                         {
  1509.                             "data" : {
  1510.                                 "text" : "Спасибо за ответ, До свидания!  sil <[1500]>",
  1511.                                 "audio" : [
  1512.                                     {
  1513.                                         "type" : "url",
  1514.                                         "url" : "/audios/9b83dc10-1b38-11ea-8aaa-0305788f98c6.wav",
  1515.                                         "number" : "0",
  1516.                                         "duration" : "4"
  1517.                                     }
  1518.                                 ],
  1519.                                 "generationAudioType" : "generateFromText",
  1520.                                 "id" : "jsPlumb_3_40",
  1521.                                 "title" : "Другой ответ",
  1522.                                 "stateQuestion" : "",
  1523.                                 "stateValue" : "",
  1524.                                 "words" : [],
  1525.                                 "isSilence" : false,
  1526.                                 "isIllegibly" : true,
  1527.                                 "speaker" : "oksana",
  1528.                                 "emotion" : "good",
  1529.                                 "speed" : "1",
  1530.                                 "repeat" : {
  1531.                                     "audio" : [],
  1532.                                     "text" : "",
  1533.                                     "emotion" : "good",
  1534.                                     "speaker" : "oksana",
  1535.                                     "speed" : "1"
  1536.                                 },
  1537.                                 "repeatFail" : {
  1538.                                     "audio" : [],
  1539.                                     "text" : "",
  1540.                                     "emotion" : "good",
  1541.                                     "speaker" : "oksana",
  1542.                                     "speed" : "1"
  1543.                                 },
  1544.                                 "timeout" : "",
  1545.                                 "startCollectBeforePlayEnd" : "",
  1546.                                 "waitingInputTimeout" : "",
  1547.                                 "silenceAfterSpeechTimeout" : "",
  1548.                                 "delayBeforeCollect" : ""
  1549.                             },
  1550.                             "view" : {
  1551.                                 "top" : 1647,
  1552.                                 "left" : 1857
  1553.                             },
  1554.                             "startNode" : false
  1555.                         },
  1556.                         {
  1557.                             "data" : {
  1558.                                 "text" : "Простите Вас не расслышала! Вы, подойд+Ёте? Скажите \"Д+А\", или \"НЕТ\"",
  1559.                                 "audio" : [
  1560.                                     {
  1561.                                         "type" : "url",
  1562.                                         "url" : "/audios/02644060-f982-11e9-8633-6b9f04b1d17d.wav",
  1563.                                         "number" : "1",
  1564.                                         "duration" : "5"
  1565.                                     }
  1566.                                 ],
  1567.                                 "generationAudioType" : "generateFromText",
  1568.                                 "id" : "jsPlumb_3_156",
  1569.                                 "title" : "другой ответ",
  1570.                                 "stateQuestion" : "ВыПодойдете",
  1571.                                 "stateValue" : "",
  1572.                                 "words" : [],
  1573.                                 "isSilence" : false,
  1574.                                 "isIllegibly" : true,
  1575.                                 "speaker" : "oksana",
  1576.                                 "emotion" : "good",
  1577.                                 "speed" : "1",
  1578.                                 "repeat" : {
  1579.                                     "audio" : [],
  1580.                                     "text" : "",
  1581.                                     "emotion" : "good",
  1582.                                     "speaker" : "oksana",
  1583.                                     "speed" : "1"
  1584.                                 },
  1585.                                 "repeatFail" : {
  1586.                                     "audio" : [],
  1587.                                     "text" : "",
  1588.                                     "emotion" : "good",
  1589.                                     "speaker" : "oksana",
  1590.                                     "speed" : "1"
  1591.                                 },
  1592.                                 "searchStrategy" : "CONTAINS",
  1593.                                 "timeout" : "",
  1594.                                 "startCollectBeforePlayEnd" : "2",
  1595.                                 "waitingInputTimeout" : "",
  1596.                                 "silenceAfterSpeechTimeout" : "",
  1597.                                 "delayBeforeCollect" : ""
  1598.                             },
  1599.                             "view" : {
  1600.                                 "top" : 1030,
  1601.                                 "left" : 1380
  1602.                             },
  1603.                             "startNode" : false
  1604.                         }
  1605.                     ],
  1606.                     "phone" : "89065192958",
  1607.                     "name" : "ВИКТОР ВИКТОРОВИЧ",
  1608.                     "visual" : {
  1609.                         "connector" : "Straight",
  1610.                         "hideArrows" : false,
  1611.                         "compactWindows" : false
  1612.                     },
  1613.                     "time" : "12:30",
  1614.                     "scenarioId" : "5da93b7609c3900001411df2",
  1615.                     "connections" : [
  1616.                         {
  1617.                             "sourceId" : "jsPlumb_3_733",
  1618.                             "targetId" : "jsPlumb_3_840"
  1619.                         },
  1620.                         {
  1621.                             "sourceId" : "jsPlumb_3_733",
  1622.                             "targetId" : "jsPlumb_3_316"
  1623.                         },
  1624.                         {
  1625.                             "sourceId" : "jsPlumb_3_840",
  1626.                             "targetId" : "jsPlumb_3_239"
  1627.                         },
  1628.                         {
  1629.                             "sourceId" : "jsPlumb_3_840",
  1630.                             "targetId" : "jsPlumb_3_996"
  1631.                         },
  1632.                         {
  1633.                             "sourceId" : "jsPlumb_3_840",
  1634.                             "targetId" : "jsPlumb_3_756"
  1635.                         },
  1636.                         {
  1637.                             "sourceId" : "jsPlumb_3_756",
  1638.                             "targetId" : "jsPlumb_3_377"
  1639.                         },
  1640.                         {
  1641.                             "sourceId" : "jsPlumb_3_756",
  1642.                             "targetId" : "jsPlumb_3_996"
  1643.                         },
  1644.                         {
  1645.                             "sourceId" : "jsPlumb_3_756",
  1646.                             "targetId" : "jsPlumb_3_239"
  1647.                         },
  1648.                         {
  1649.                             "sourceId" : "jsPlumb_3_733",
  1650.                             "targetId" : "jsPlumb_3_491"
  1651.                         },
  1652.                         {
  1653.                             "sourceId" : "jsPlumb_3_491",
  1654.                             "targetId" : "jsPlumb_3_316"
  1655.                         },
  1656.                         {
  1657.                             "sourceId" : "jsPlumb_3_491",
  1658.                             "targetId" : "jsPlumb_3_840"
  1659.                         },
  1660.                         {
  1661.                             "sourceId" : "jsPlumb_3_491",
  1662.                             "targetId" : "jsPlumb_3_78"
  1663.                         },
  1664.                         {
  1665.                             "sourceId" : "jsPlumb_3_491",
  1666.                             "targetId" : "jsPlumb_3_504"
  1667.                         },
  1668.                         {
  1669.                             "sourceId" : "jsPlumb_3_733",
  1670.                             "targetId" : "jsPlumb_3_411"
  1671.                         },
  1672.                         {
  1673.                             "sourceId" : "jsPlumb_3_411",
  1674.                             "targetId" : "jsPlumb_3_504"
  1675.                         },
  1676.                         {
  1677.                             "sourceId" : "jsPlumb_3_411",
  1678.                             "targetId" : "jsPlumb_3_78"
  1679.                         },
  1680.                         {
  1681.                             "sourceId" : "jsPlumb_3_411",
  1682.                             "targetId" : "jsPlumb_3_316"
  1683.                         },
  1684.                         {
  1685.                             "sourceId" : "jsPlumb_3_411",
  1686.                             "targetId" : "jsPlumb_3_840"
  1687.                         },
  1688.                         {
  1689.                             "sourceId" : "jsPlumb_3_756",
  1690.                             "targetId" : "jsPlumb_3_40"
  1691.                         },
  1692.                         {
  1693.                             "sourceId" : "jsPlumb_3_840",
  1694.                             "targetId" : "jsPlumb_3_156"
  1695.                         },
  1696.                         {
  1697.                             "sourceId" : "jsPlumb_3_156",
  1698.                             "targetId" : "jsPlumb_3_377"
  1699.                         },
  1700.                         {
  1701.                             "sourceId" : "jsPlumb_3_156",
  1702.                             "targetId" : "jsPlumb_3_40"
  1703.                         },
  1704.                         {
  1705.                             "sourceId" : "jsPlumb_3_156",
  1706.                             "targetId" : "jsPlumb_3_996"
  1707.                         },
  1708.                         {
  1709.                             "sourceId" : "jsPlumb_3_156",
  1710.                             "targetId" : "jsPlumb_3_239"
  1711.                         }
  1712.                     ]
  1713.                 }
  1714.             },
  1715.             {
  1716.                 "time" : ISODate("2020-03-17T08:44:30.552Z"),
  1717.                 "name" : "ЭтоВы",
  1718.                 "value" : "да-да-да",
  1719.                 "details" : {}
  1720.             },
  1721.             {
  1722.                 "time" : ISODate("2020-03-17T08:44:39.391Z"),
  1723.                 "name" : "ЭтоВы",
  1724.                 "value" : " dadadadadadadadadada",
  1725.                 "details" : {}
  1726.             },
  1727.             {
  1728.                 "time" : ISODate("2020-03-17T08:44:43.311Z"),
  1729.                 "name" : "hangup",
  1730.                 "value" : "solution",
  1731.                 "details" : {}
  1732.             }
  1733.         ],
  1734.         "log" : [
  1735.             {
  1736.                 "time" : ISODate("2020-03-17T08:44:20.045Z"),
  1737.                 "text" : "start requesting option (jsPlumb_3_316, jsPlumb_3_840)",
  1738.                 "context" : {
  1739.                     "sid" : "e6af3363-fb4a-4c99-b62c-0a4e3eb84c9f",
  1740.                     "question" : "ЭтоВы"
  1741.                 }
  1742.             },
  1743.             {
  1744.                 "time" : ISODate("2020-03-17T08:44:30.552Z"),
  1745.                 "text" : "unknown option on speech complete",
  1746.                 "context" : {
  1747.                     "sid" : "e6af3363-fb4a-4c99-b62c-0a4e3eb84c9f",
  1748.                     "question" : "ЭтоВы",
  1749.                     "recognition" : [
  1750.                         {
  1751.                             "text" : "да-да-да",
  1752.                             "confidence" : 0.648145854473114
  1753.                         }
  1754.                     ]
  1755.                 }
  1756.             },
  1757.             {
  1758.                 "time" : ISODate("2020-03-17T08:44:30.552Z"),
  1759.                 "text" : "start requesting option (jsPlumb_3_316, jsPlumb_3_840)",
  1760.                 "context" : {
  1761.                     "sid" : "017652ae-a1ec-41cc-82a6-dc582b923c63",
  1762.                     "question" : "ЭтоВы"
  1763.                 }
  1764.             },
  1765.             {
  1766.                 "time" : ISODate("2020-03-17T08:44:39.391Z"),
  1767.                 "text" : "unknown option on speech complete",
  1768.                 "context" : {
  1769.                     "sid" : "017652ae-a1ec-41cc-82a6-dc582b923c63",
  1770.                     "question" : "ЭтоВы",
  1771.                     "recognition" : [
  1772.                         {
  1773.                             "text" : " dadadadadadadadadada",
  1774.                             "confidence" : 0.0
  1775.                         }
  1776.                     ]
  1777.                 }
  1778.             },
  1779.             {
  1780.                 "time" : ISODate("2020-03-17T08:44:39.391Z"),
  1781.                 "text" : "разговор дошёл до конечного состояния",
  1782.                 "context" : {}
  1783.             }
  1784.         ],
  1785.         "callId" : "61db5dd6-6f5d-4275-aea1-a46376b60a3b",
  1786.         "taskId" : "5e7085d8904d0a00079b9654",
  1787.         "resourceSpentEvents" : [
  1788.             {
  1789.                 "vendor" : "YANDEX_TTS",
  1790.                 "amount" : {
  1791.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(23)
  1792.                 }
  1793.             },
  1794.             {
  1795.                 "vendor" : "GOOGLE_ASR",
  1796.                 "amount" : {
  1797.                     "SPEECH_TIME" : NumberLong(5161),
  1798.                     "SPEECH_CHAR_COUNT" : NumberLong(8),
  1799.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  1800.                 }
  1801.             },
  1802.             {
  1803.                 "vendor" : "YANDEX_TTS",
  1804.                 "amount" : {
  1805.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(31)
  1806.                 }
  1807.             },
  1808.             {
  1809.                 "vendor" : "GOOGLE_ASR",
  1810.                 "amount" : {
  1811.                     "SPEECH_TIME" : NumberLong(4469),
  1812.                     "SPEECH_CHAR_COUNT" : NumberLong(21),
  1813.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  1814.                 }
  1815.             },
  1816.             {
  1817.                 "vendor" : "YANDEX_TTS",
  1818.                 "amount" : {
  1819.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  1820.                 }
  1821.             }
  1822.         ]
  1823.     }
  1824. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement