Advertisement
ScrappyCocoJamba

expert_trbl1

Mar 18th, 2020
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 80.81 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("5e6f3201904d0a00079b95b6"),
  3.     "phone" : "89155494375",
  4.     "campaign" : "5dad542109c3900001411dfb",
  5.     "state" : "PERFORMED",
  6.     "lastCallRequestTimestamp" : NumberLong(1584345687179),
  7.     "callAnsweredTimestamp" : NumberLong(1584345698998),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "7b65acbf-a6de-49c4-94bb-659c7cba7263",
  12.             "request" : {
  13.                 "targetTopic" : "sip-system-originate-request-fs1-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-klinic-01/89155494375@92.246.150.216 ext XML outgoing-release-2-6-ms7",
  19.                 "createdUtcMs" : NumberLong(1584345687179),
  20.                 "callUuid" : "7b65acbf-a6de-49c4-94bb-659c7cba7263",
  21.                 "callTaskUuid" : "5e6f3201904d0a00079b95b6",
  22.                 "client" : "5de9402c09c3900001131027",
  23.                 "campaign" : "5dad542109c3900001411dfb",
  24.                 "originateParameters" : {
  25.                     "sip_cid_type" : "none"
  26.                 },
  27.                 "originateTimeoutSec" : 30
  28.             },
  29.             "originateResult" : {
  30.                 "timestamp" : NumberLong(1584345698998),
  31.                 "sipCode" : 200,
  32.                 "fullSipSystemResponse" : "+OK 770b5750-9967-434a-918f-a1004a26c89a",
  33.                 "callUuid" : "7b65acbf-a6de-49c4-94bb-659c7cba7263",
  34.                 "callTaskId" : "5e6f3201904d0a00079b95b6"
  35.             },
  36.             "cdr" : {
  37.                 "cdr" : {
  38.                     "variables" : {
  39.                         "write_codec" : "PCMA",
  40.                         "sip_to_host" : "92.246.150.216",
  41.                         "hold_accum_usec" : 0,
  42.                         "bridge_uuid" : "72f87913-d386-4705-9a58-9b4b8d88d8b5",
  43.                         "start_epoch" : 1584345687,
  44.                         "rtp_2833_send_payload" : 101,
  45.                         "original_read_rate" : 8000,
  46.                         "profile_start_epoch" : 1584345698,
  47.                         "transfer_history" : "1584345698%3A407e54ca-8c12-4261-83ba-a247ad636604%3Abl_xfer%3Aext/outgoing-release-2-6-ms7/XML",
  48.                         "sip_hangup_phrase" : "OK",
  49.                         "CallingSystemCallUuid" : "7b65acbf-a6de-49c4-94bb-659c7cba7263",
  50.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.210%3A5060",
  51.                         "ignore_early_media" : true,
  52.                         "waitusec" : 13500037,
  53.                         "sip_to_user" : NumberLong(89155494375),
  54.                         "rtp_last_audio_codec_string" : "PCMA%408000h%4020i%401c",
  55.                         "rtp_audio_in_packet_count" : 1250,
  56.                         "rtp_audio_in_jitter_packet_count" : 0,
  57.                         "last_arg" : "lua/sdk/outgoing-release-2.6.lua",
  58.                         "end_uepoch" : NumberLong(1584345726137873),
  59.                         "rtp_use_codec_name" : "PCMA",
  60.                         "answer_uepoch" : NumberLong(1584345698957863),
  61.                         "record_seconds" : 26,
  62.                         "start_uepoch" : NumberLong(1584345687177814),
  63.                         "waitsec" : 13,
  64.                         "flow_billsec" : 39,
  65.                         "sip_call_id" : "2dbc8449-e1ff-1238-0792-7e81c4218fd3",
  66.                         "remote_video_media_flow" : "inactive",
  67.                         "sip_full_from" : "%22%22%20%3Csip%3A9900%4092.246.150.216%3E%3Btag%3DDX42pSrD3v7aj",
  68.                         "remote_text_media_flow" : "inactive",
  69.                         "bridge_stamp" : "2020-03-16%2008%3A01%3A40",
  70.                         "sip_hangup_disposition" : "send_bye",
  71.                         "read_rate" : 8000,
  72.                         "rtp_audio_in_skip_packet_count" : 104,
  73.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3Droot%201855170910%201855170910%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%2011702%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%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",
  74.                         "sip_recover_via" : "SIP/2.0/UDP%2092.119.230.210%3Bbranch%3Dz9hG4bKUmpy9ja4Hpver%3Breceived%3D92.119.230.210%3Brport%3D5060",
  75.                         "rtp_audio_rtcp_octet_count" : 0,
  76.                         "sip_reply_host" : "92.246.150.216",
  77.                         "billmsec" : 27180,
  78.                         "record_samples" : 212320,
  79.                         "answer_stamp" : "2020-03-16%2008%3A01%3A38",
  80.                         "session_id" : 17593,
  81.                         "progress_stamp" : "2020-03-16%2008%3A01%3A33",
  82.                         "hold_accum_seconds" : 0,
  83.                         "last_hold_epoch" : 0,
  84.                         "progresssec" : 6,
  85.                         "sip_cseq" : 17619052,
  86.                         "current_application" : "lua",
  87.                         "hangup_cause" : "NORMAL_CLEARING",
  88.                         "hangup_cause_q850" : 16,
  89.                         "resurrect_epoch" : 0,
  90.                         "rtp_audio_in_flaw_total" : 5,
  91.                         "advertised_media_ip" : "92.119.230.210",
  92.                         "SleepTime" : 1500,
  93.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_app-voicebot",
  94.                         "hold_accum_ms" : 0,
  95.                         "rtp_audio_out_packet_count" : 1274,
  96.                         "sip_contact_user" : NumberLong(89155494375),
  97.                         "start_stamp" : "2020-03-16%2008%3A01%3A27",
  98.                         "rtp_audio_recv_pt" : 8,
  99.                         "progress_media_uepoch" : NumberLong(1584345693797848),
  100.                         "rtp_use_codec_string" : "PCMA,PCMU",
  101.                         "progressmsec" : 6620,
  102.                         "bridge_hangup_cause" : "NORMAL_CLEARING",
  103.                         "rtp_audio_out_dtmf_packet_count" : 0,
  104.                         "rtp_audio_in_mos" : 4.49,
  105.                         "last_sent_callee_id_name" : "Outbound%20Call",
  106.                         "sip_local_network_addr" : "92.119.230.210",
  107.                         "rtp_audio_out_media_bytes" : 219128,
  108.                         "rtp_use_timer_name" : "soft",
  109.                         "Campaign" : "5dad542109c3900001411dfb",
  110.                         "text_media_flow" : "disabled",
  111.                         "answermsec" : 11780,
  112.                         "sip_profile_name" : "gateway",
  113.                         "sofia_profile_name" : "external",
  114.                         "sip_from_tag" : "DX42pSrD3v7aj",
  115.                         "rtp_audio_in_jitter_burst_rate" : 1,
  116.                         "resurrect_uepoch" : 0,
  117.                         "last_bridge_to" : "72f87913-d386-4705-9a58-9b4b8d88d8b5",
  118.                         "recovery_profile_name" : "external",
  119.                         "sip_bye_h_X-RestComm-CallSid" : "ID11f0bb64e3684c0aa59ac86d15678d8b-CAc086973d8e9c424789407c0f838ca8a8",
  120.                         "progress_mediamsec" : 6620,
  121.                         "sip_from_user" : 9900,
  122.                         "duration" : 39,
  123.                         "sip_contact_uri" : "89155494375%4092.246.150.216%3A5060",
  124.                         "local_media_port" : 16496,
  125.                         "remote_audio_media_flow" : "sendrecv",
  126.                         "audio_media_flow" : "sendrecv",
  127.                         "flow_billusec" : 38960059,
  128.                         "local_media_ip" : "92.119.230.210",
  129.                         "rtp_audio_in_jitter_loss_rate" : 0,
  130.                         "sip_from_uri" : "9900%4092.246.150.216",
  131.                         "ScenarioParametersApiHost" : "voicebot",
  132.                         "endpoint_disposition" : "ANSWER",
  133.                         "sip_contact_host" : "92.246.150.216",
  134.                         "rtp_audio_in_mean_interval" : 20.02,
  135.                         "sip_reply_port" : 5060,
  136.                         "end_stamp" : "2020-03-16%2008%3A02%3A06",
  137.                         "leg_timeout" : 30,
  138.                         "waitmsec" : 13500,
  139.                         "current_application_data" : "lua/sdk/outgoing-release-2.6.lua",
  140.                         "rtp_audio_out_raw_bytes" : 219128,
  141.                         "progress_uepoch" : NumberLong(1584345693797848),
  142.                         "progress_media_stamp" : "2020-03-16%2008%3A01%3A33",
  143.                         "rtp_use_codec_ptime" : 20,
  144.                         "record_file_size" : 849324,
  145.                         "answersec" : 11,
  146.                         "rtp_audio_in_jitter_max_variance" : 193.27,
  147.                         "sip_full_to" : "%3Csip%3A89155494375%4092.246.150.216%3E%3Btag%3Das5391ab38",
  148.                         "max_forwards" : 70,
  149.                         "sip_network_ip" : "92.246.150.216",
  150.                         "sip_from_host" : "92.246.150.216",
  151.                         "rtp_audio_in_dtmf_packet_count" : 0,
  152.                         "remote_media_port" : 11702,
  153.                         "last_sent_callee_id_number" : "outgoingSolution%3FtaskId%3D5e6f3201904d0a00079b95b6%26callUuid%3D7b65acbf-a6de-49c4-94bb-659c7cba7263%26callTaskServiceHost%3Dvoicebot%26callTaskServicePort%3D8101%26scenarioResultTopic%3Dscenario_result_sdk_v2_app-voicebot%26sleepBeforeScenarioMs%3D1500",
  154.                         "sip_network_port" : 5060,
  155.                         "pre_transfer_caller_id_number" : "0000000000",
  156.                         "progress_mediasec" : 6,
  157.                         "rtp_use_codec_channels" : 1,
  158.                         "sip_recover_contact" : "%3Csip%3A89155494375%4092.246.150.216%3A5060%3E",
  159.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201584329191%201584329192%20IN%20IP4%2092.119.230.210%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.210%0D%0At%3D0%200%0D%0Am%3Daudio%2016496%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%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",
  160.                         "record_completion_cause" : "success-silence",
  161.                         "answerusec" : 11780049,
  162.                         "sip_req_uri" : "89155494375%4092.246.150.216",
  163.                         "profile_start_uepoch" : NumberLong(1584345698977842),
  164.                         "RECORD_STEREO" : true,
  165.                         "rtp_audio_in_raw_bytes" : 214841,
  166.                         "rtp_audio_rtcp_packet_count" : 0,
  167.                         "bridge_epoch" : 1584345700,
  168.                         "bridge_uepoch" : NumberLong(1584345700677851),
  169.                         "sip_user_agent" : "FPBX-13.0.197.21(13.15.0)",
  170.                         "write_rate" : 8000,
  171.                         "billusec" : 27180010,
  172.                         "answer_epoch" : 1584345698,
  173.                         "sip_cid_type" : "none",
  174.                         "call_uuid" : "770b5750-9967-434a-918f-a1004a26c89a",
  175.                         "rtp_audio_out_skip_packet_count" : 0,
  176.                         "sip_invite_domain" : "92.246.150.216",
  177.                         "sip_full_via" : "SIP/2.0/UDP%2092.119.230.210%3Bbranch%3Dz9hG4bKUmpy9ja4Hpver%3Breceived%3D92.119.230.210%3Brport%3D5060",
  178.                         "channel_name" : "sofia/external/89155494375%4092.246.150.216",
  179.                         "rtp_audio_out_cng_packet_count" : 0,
  180.                         "progress_epoch" : 1584345693,
  181.                         "mduration" : 38960,
  182.                         "last_bridge_hangup_cause" : "NORMAL_CLEARING",
  183.                         "record_ms" : 26540,
  184.                         "remote_media_ip" : "92.246.150.216",
  185.                         "ep_codec_string" : "CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b",
  186.                         "rtp_use_pt" : 8,
  187.                         "rtp_audio_in_largest_jb_size" : 0,
  188.                         "rtp_audio_in_media_bytes" : 214828,
  189.                         "transfer_source" : "1584345698%3A407e54ca-8c12-4261-83ba-a247ad636604%3Abl_xfer%3Aext/outgoing-release-2-6-ms7/XML",
  190.                         "rtp_audio_in_cng_packet_count" : 1,
  191.                         "last_hold_uepoch" : 0,
  192.                         "uduration" : 38960059,
  193.                         "rtp_audio_in_quality_percentage" : 99,
  194.                         "rtp_use_codec_rate" : 8000,
  195.                         "ScenarioParametersApiPort" : 8101,
  196.                         "uuid" : "770b5750-9967-434a-918f-a1004a26c89a",
  197.                         "sip_gateway_name" : "expert-klinic-01",
  198.                         "sip_destination_url" : "sip%3A89155494375%4092.246.150.216",
  199.                         "sip_to_uri" : "89155494375%4092.246.150.216",
  200.                         "read_codec" : "PCMA",
  201.                         "rtp_use_ssrc" : 1316227327,
  202.                         "Client" : "5de9402c09c3900001131027",
  203.                         "billsec" : 28,
  204.                         "progress_media_epoch" : 1584345693,
  205.                         "rtp_2833_recv_payload" : 101,
  206.                         "CallTaskId" : "5e6f3201904d0a00079b95b6",
  207.                         "end_epoch" : 1584345726,
  208.                         "profile_start_stamp" : "2020-03-16%2008%3A01%3A38",
  209.                         "caller_id" : "%22Outbound%20Call%22%20%3C89155494375%3E",
  210.                         "progressusec" : 6620034,
  211.                         "originate_early_media" : false,
  212.                         "SipServlet" : "sipservlet_ms7",
  213.                         "sip_outgoing_contact_uri" : "%3Csip%3A9900%4092.119.230.210%3A5060%3Btransport%3Dudp%3Bgw%3Dexpert-klinic-01%3E",
  214.                         "sip_contact_port" : 5060,
  215.                         "flow_billmsec" : 38960,
  216.                         "bridge_channel" : "sofia/external/outgoingSolution%3FtaskId%3D5e6f3201904d0a00079b95b6%26callUuid%3D7b65acbf-a6de-49c4-94bb-659c7cba7263%26callTaskServiceHost%3Dvoicebot%26callTaskServicePort%3D8101%26scenarioResultTopic%3Dscenario_result_sdk_v2_app-voicebot%26sleepBeforeScenarioMs%3D1500",
  217.                         "dtmf_type" : "rfc2833",
  218.                         "sip_allow" : "INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE",
  219.                         "rtp_audio_in_media_packet_count" : 1249,
  220.                         "direction" : "outbound",
  221.                         "video_media_flow" : "disabled",
  222.                         "sip_to_tag" : "as5391ab38",
  223.                         "rtp_audio_out_media_packet_count" : 1274,
  224.                         "digits_dialed" : "none",
  225.                         "signal_bond" : "72f87913-d386-4705-9a58-9b4b8d88d8b5",
  226.                         "progress_mediausec" : 6620034,
  227.                         "last_app" : "lua",
  228.                         "is_outbound" : true,
  229.                         "rtp_audio_in_jitter_min_variance" : 0.17,
  230.                         "hangup_complete_with_xml" : true,
  231.                         "original_read_codec" : "PCMA",
  232.                         "last_bridge_proto_specific_hangup_cause" : "sip%3A200",
  233.                         "rtp_audio_in_flush_packet_count" : 0
  234.                     },
  235.                     "callflow" : [
  236.                         {
  237.                             "extension" : {
  238.                                 "number" : "ext",
  239.                                 "application" : [
  240.                                     {
  241.                                         "app_name" : "log",
  242.                                         "app_data" : "INFO sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid}; ScenarioResultTopic=${ScenarioResultTopic}; ScenarioParametersApiHost=${ScenarioParametersApiHost}; ScenarioParametersApiPort=${ScenarioParametersApiPort}"
  243.                                     },
  244.                                     {
  245.                                         "app_name" : "wait_for_answer",
  246.                                         "app_data" : ""
  247.                                     },
  248.                                     {
  249.                                         "app_name" : "sched_hangup",
  250.                                         "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  251.                                     },
  252.                                     {
  253.                                         "app_name" : "set",
  254.                                         "app_data" : "RECORD_STEREO=true"
  255.                                     },
  256.                                     {
  257.                                         "app_name" : "record_session",
  258.                                         "app_data" : "/var/lib/freeswitch/recordings/${Client}/${Campaign}/${CallTaskId}.wav"
  259.                                     },
  260.                                     {
  261.                                         "app_name" : "set",
  262.                                         "app_data" : "SleepTime=1500"
  263.                                     },
  264.                                     {
  265.                                         "app_name" : "sleep",
  266.                                         "app_data" : "${SleepTime}"
  267.                                     },
  268.                                     {
  269.                                         "app_name" : "set",
  270.                                         "app_data" : "SipServlet=sipservlet_ms7"
  271.                                     },
  272.                                     {
  273.                                         "app_name" : "lua",
  274.                                         "app_data" : "lua/sdk/outgoing-release-2.6.lua"
  275.                                     }
  276.                                 ],
  277.                                 "name" : "ext"
  278.                             },
  279.                             "times" : {
  280.                                 "progress_time" : NumberLong(1584345693797848),
  281.                                 "created_time" : NumberLong(1584345687177814),
  282.                                 "hold_accum_time" : 0,
  283.                                 "resurrect_time" : 0,
  284.                                 "answered_time" : NumberLong(1584345698957863),
  285.                                 "transfer_time" : 0,
  286.                                 "bridged_time" : NumberLong(1584345700677851),
  287.                                 "hangup_time" : NumberLong(1584345726137873),
  288.                                 "progress_media_time" : NumberLong(1584345693797848),
  289.                                 "profile_created_time" : NumberLong(1584345698977842),
  290.                                 "last_hold_time" : 0
  291.                             },
  292.                             "profile_index" : 2,
  293.                             "dialplan" : "XML",
  294.                             "clone-of" : "59751241-f8bd-473a-8b97-1773cd6b1930",
  295.                             "caller_profile" : {
  296.                                 "caller_id_name" : "Outbound Call",
  297.                                 "transfer_source" : "1584345698:407e54ca-8c12-4261-83ba-a247ad636604:bl_xfer:ext/outgoing-release-2-6-ms7/XML",
  298.                                 "destination_number" : "ext",
  299.                                 "device_id" : "",
  300.                                 "chan_name" : "sofia/external/89155494375@92.246.150.216",
  301.                                 "dialplan" : "XML",
  302.                                 "callee_id_number" : "outgoingSolution?taskId=5e6f3201904d0a00079b95b6&callUuid=7b65acbf-a6de-49c4-94bb-659c7cba7263&callTaskServiceHost=voicebot&callTaskServicePort=8101&scenarioResultTopic=scenario_result_sdk_v2_app-voicebot&sleepBeforeScenarioMs=1500",
  303.                                 "source" : "src/switch_ivr_originate.c",
  304.                                 "network_addr" : "92.246.150.216",
  305.                                 "uuid" : "770b5750-9967-434a-918f-a1004a26c89a",
  306.                                 "callee_id_name" : "Outbound Call",
  307.                                 "rdnis" : NumberLong(89155494375),
  308.                                 "aniii" : "",
  309.                                 "context" : "outgoing-release-2-6-ms7",
  310.                                 "caller_id_number" : NumberLong(89155494375),
  311.                                 "ani" : "0000000000",
  312.                                 "username" : ""
  313.                             },
  314.                             "unique-id" : "407e54ca-8c12-4261-83ba-a247ad636604"
  315.                         },
  316.                         {
  317.                             "times" : {
  318.                                 "progress_time" : NumberLong(1584345693797848),
  319.                                 "created_time" : NumberLong(1584345687177814),
  320.                                 "hold_accum_time" : 0,
  321.                                 "resurrect_time" : 0,
  322.                                 "answered_time" : NumberLong(1584345698957863),
  323.                                 "transfer_time" : NumberLong(1584345698977842),
  324.                                 "bridged_time" : 0,
  325.                                 "hangup_time" : 0,
  326.                                 "progress_media_time" : NumberLong(1584345693797848),
  327.                                 "profile_created_time" : NumberLong(1584345687177814),
  328.                                 "last_hold_time" : 0
  329.                             },
  330.                             "profile_index" : 1,
  331.                             "clone-of" : "830b9fd2-cf83-4c95-8b8e-e5a5ce8005dc",
  332.                             "caller_profile" : {
  333.                                 "caller_id_name" : "",
  334.                                 "destination_number" : NumberLong(89155494375),
  335.                                 "device_id" : "",
  336.                                 "chan_name" : "sofia/external/89155494375@92.246.150.216",
  337.                                 "dialplan" : "",
  338.                                 "callee_id_number" : NumberLong(89155494375),
  339.                                 "source" : "src/switch_ivr_originate.c",
  340.                                 "network_addr" : "92.246.150.216",
  341.                                 "uuid" : "770b5750-9967-434a-918f-a1004a26c89a",
  342.                                 "callee_id_name" : "Outbound Call",
  343.                                 "rdnis" : "",
  344.                                 "aniii" : "",
  345.                                 "context" : "default",
  346.                                 "caller_id_number" : "0000000000",
  347.                                 "ani" : "0000000000",
  348.                                 "username" : ""
  349.                             },
  350.                             "unique-id" : "59751241-f8bd-473a-8b97-1773cd6b1930"
  351.                         }
  352.                     ],
  353.                     "core-uuid" : "c8465983-a86d-477b-aff5-07d8a3cc0677",
  354.                     "channel_data" : {
  355.                         "state_number" : 11,
  356.                         "flags" : "0=1;1=1;2=1;3=1;21=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",
  357.                         "state" : "CS_REPORTING",
  358.                         "direction" : "outbound",
  359.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  360.                     },
  361.                     "app_log" : {
  362.                         "application" : [
  363.                             {
  364.                                 "app_name" : "log",
  365.                                 "app_stamp" : NumberLong(1584345698979264),
  366.                                 "app_data" : "INFO sip-system passed vars: ClientId=5de9402c09c3900001131027; CampaignId=5dad542109c3900001411dfb; CallTaskId=5e6f3201904d0a00079b95b6; CallingSystemCallUuid=7b65acbf-a6de-49c4-94bb-659c7cba7263; ScenarioResultTopic=scenario_result_sdk_v2_app-voicebot; ScenarioParametersApiHost=voicebot; ScenarioParametersApiPort=8101"
  367.                             },
  368.                             {
  369.                                 "app_name" : "wait_for_answer",
  370.                                 "app_stamp" : NumberLong(1584345698979508),
  371.                                 "app_data" : ""
  372.                             },
  373.                             {
  374.                                 "app_name" : "sched_hangup",
  375.                                 "app_stamp" : NumberLong(1584345698979707),
  376.                                 "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  377.                             },
  378.                             {
  379.                                 "app_name" : "set",
  380.                                 "app_stamp" : NumberLong(1584345698979929),
  381.                                 "app_data" : "RECORD_STEREO=true"
  382.                             },
  383.                             {
  384.                                 "app_name" : "record_session",
  385.                                 "app_stamp" : NumberLong(1584345698980128),
  386.                                 "app_data" : "/var/lib/freeswitch/recordings/5de9402c09c3900001131027/5dad542109c3900001411dfb/5e6f3201904d0a00079b95b6.wav"
  387.                             },
  388.                             {
  389.                                 "app_name" : "set",
  390.                                 "app_stamp" : NumberLong(1584345698992968),
  391.                                 "app_data" : "SleepTime=1500"
  392.                             },
  393.                             {
  394.                                 "app_name" : "sleep",
  395.                                 "app_stamp" : NumberLong(1584345698993186),
  396.                                 "app_data" : 1500
  397.                             },
  398.                             {
  399.                                 "app_name" : "set",
  400.                                 "app_stamp" : NumberLong(1584345700495052),
  401.                                 "app_data" : "SipServlet=sipservlet_ms7"
  402.                             },
  403.                             {
  404.                                 "app_name" : "lua",
  405.                                 "app_stamp" : NumberLong(1584345700495277),
  406.                                 "app_data" : "lua/sdk/outgoing-release-2.6.lua"
  407.                             }
  408.                         ]
  409.                     },
  410.                     "switchname" : "fs-1",
  411.                     "call-stats" : {
  412.                         "audio" : {
  413.                             "inbound" : {
  414.                                 "media_packet_count" : 1249,
  415.                                 "cng_packet_count" : 1,
  416.                                 "jitter_min_variance" : 0.17,
  417.                                 "skip_packet_count" : 104,
  418.                                 "mean_interval" : 20.02,
  419.                                 "dtmf_packet_count" : 0,
  420.                                 "jitter_loss_rate" : 0,
  421.                                 "jitter_burst_rate" : 1,
  422.                                 "flaw_total" : 5,
  423.                                 "quality_percentage" : 99,
  424.                                 "mos" : 4.49,
  425.                                 "largest_jb_size" : 0,
  426.                                 "packet_count" : 1250,
  427.                                 "jitter_max_variance" : 193.27,
  428.                                 "media_bytes" : 214828,
  429.                                 "jitter_packet_count" : 0,
  430.                                 "raw_bytes" : 214841,
  431.                                 "flush_packet_count" : 0
  432.                             },
  433.                             "outbound" : {
  434.                                 "media_packet_count" : 1274,
  435.                                 "cng_packet_count" : 0,
  436.                                 "skip_packet_count" : 0,
  437.                                 "dtmf_packet_count" : 0,
  438.                                 "rtcp_packet_count" : 0,
  439.                                 "packet_count" : 1274,
  440.                                 "media_bytes" : 219128,
  441.                                 "rtcp_octet_count" : 0,
  442.                                 "raw_bytes" : 219128
  443.                             },
  444.                             "error-log" : {
  445.                                 "error-period" : {
  446.                                     "consecutive-flaws" : 2,
  447.                                     "duration-msec" : 3020,
  448.                                     "stop" : NumberLong(1584345719457820),
  449.                                     "start" : NumberLong(1584345716437816),
  450.                                     "flaws" : 4
  451.                                 }
  452.                             }
  453.                         }
  454.                     }
  455.                 },
  456.                 "callUuid" : "7b65acbf-a6de-49c4-94bb-659c7cba7263",
  457.                 "callTaskId" : "5e6f3201904d0a00079b95b6"
  458.             }
  459.         }
  460.     ],
  461.     "parameters" : {
  462.         "name" : "АНАСТАСИЯ НИКОЛАЕВНА",
  463.         "date" : "17 марта",
  464.         "specialty" : "Акушер -гинеколог",
  465.         "time" : "08:00",
  466.         "address" : "город Воронеж улица Пушкинская дом 11"
  467.     },
  468.     "nextAttemptTimestamp" : NumberLong(0),
  469.     "results" : {},
  470.     "ringingMillis" : NumberLong(0),
  471.     "talkMillis" : NumberLong(27180),
  472.     "reportParameters" : {
  473.         "date" : "17 марта",
  474.         "specialty" : "Акушер -гинеколог",
  475.         "address" : "город Воронеж улица Пушкинская дом 11",
  476.         "name" : "АНАСТАСИЯ НИКОЛАЕВНА",
  477.         "time" : "08:00"
  478.     },
  479.     "created" : NumberLong(1584345601),
  480.     "reported" : false,
  481.     "testing" : false,
  482.     "performedTimestamp" : NumberLong(1584345726),
  483.     "sumConsume" : 0.0,
  484.     "processingEvents" : [
  485.         {
  486.             "timestampSecUtc" : NumberLong(1584345687),
  487.             "dateTimeFormatted" : "16.03.20 08:01",
  488.             "author" : "calling-system",
  489.             "event" : "call initiated: OutgoingCall(uuid=7b65acbf-a6de-49c4-94bb-659c7cba7263, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-fs1-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-klinic-01/89155494375@92.246.150.216 ext XML outgoing-release-2-6-ms7, createdUtcMs=1584345687179, callUuid=7b65acbf-a6de-49c4-94bb-659c7cba7263, callTaskUuid=5e6f3201904d0a00079b95b6, client=5de9402c09c3900001131027, campaign=5dad542109c3900001411dfb, originateParameters={sip_cid_type=none}, originateTimeoutSec=30), originateResult=null, systemError=null, cdr=null); message to kafka to call task is about to be sent"
  490.         },
  491.         {
  492.             "timestampSecUtc" : NumberLong(1584345699),
  493.             "dateTimeFormatted" : "16.03.20 08:01",
  494.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  495.             "event" : "transition to ONGOING on call answered"
  496.         },
  497.         {
  498.             "timestampSecUtc" : NumberLong(1584345726191),
  499.             "dateTimeFormatted" : "16.03.20 08:02",
  500.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  501.             "event" : "CDR_RECEIVED",
  502.             "parameters" : {
  503.                 "nextState" : "PERFORMED",
  504.                 "talkMillis" : NumberLong(27180)
  505.             }
  506.         }
  507.     ],
  508.     "fullCost" : NumberLong(0),
  509.     "fullBilling" : false,
  510.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  511.     "scenarioResult" : {
  512.         "time" : ISODate("2020-03-16T08:02:06.127Z"),
  513.         "items" : [
  514.             {
  515.                 "time" : ISODate("2020-03-16T08:01:40.660Z"),
  516.                 "name" : "params",
  517.                 "value" : "universal",
  518.                 "details" : {
  519.                     "date" : "17 марта",
  520.                     "sleepBeforeScenarioMs" : "1500",
  521.                     "specialty" : "Акушер -гинеколог",
  522.                     "address" : "город Воронеж улица Пушкинская дом 11",
  523.                     "campaignId" : "5dad542109c3900001411dfb",
  524.                     "callTaskId" : "5e6f3201904d0a00079b95b6",
  525.                     "solutionName" : "universal",
  526.                     "callUuid" : "7b65acbf-a6de-49c4-94bb-659c7cba7263",
  527.                     "states" : [
  528.                         {
  529.                             "data" : {
  530.                                 "text" : "Здравствуйте!  Я голосовой помощник клиники Эксперт, меня зовут Даша!  {это--name?}",
  531.                                 "audio" : [
  532.                                     {
  533.                                         "type" : "url",
  534.                                         "url" : "/audios/725ea490-2273-11ea-8aaa-0305788f98c6.wav",
  535.                                         "number" : "0",
  536.                                         "duration" : "5"
  537.                                     },
  538.                                     {
  539.                                         "type" : "param",
  540.                                         "paramName" : "это--name?",
  541.                                         "number" : "1"
  542.                                     }
  543.                                 ],
  544.                                 "generationAudioType" : "generateFromText",
  545.                                 "id" : "jsPlumb_3_733",
  546.                                 "title" : "начало разговора",
  547.                                 "stateQuestion" : "ЭтоВы",
  548.                                 "stateValue" : "",
  549.                                 "words" : [],
  550.                                 "isSilence" : false,
  551.                                 "isIllegibly" : false,
  552.                                 "speaker" : "oksana",
  553.                                 "emotion" : "good",
  554.                                 "speed" : "1",
  555.                                 "repeat" : {
  556.                                     "audio" : [],
  557.                                     "text" : "",
  558.                                     "emotion" : "good",
  559.                                     "speaker" : "oksana",
  560.                                     "speed" : "1"
  561.                                 },
  562.                                 "repeatFail" : {
  563.                                     "audio" : [],
  564.                                     "text" : "",
  565.                                     "emotion" : "good",
  566.                                     "speaker" : "oksana",
  567.                                     "speed" : "1"
  568.                                 },
  569.                                 "searchStrategy" : "CONTAINS_FULL_SPEECH",
  570.                                 "timeout" : "",
  571.                                 "startCollectBeforePlayEnd" : "2",
  572.                                 "waitingInputTimeout" : "",
  573.                                 "silenceAfterSpeechTimeout" : "2",
  574.                                 "delayBeforeCollect" : ""
  575.                             },
  576.                             "view" : {
  577.                                 "top" : 76,
  578.                                 "left" : 119
  579.                             },
  580.                             "startNode" : true
  581.                         },
  582.                         {
  583.                             "data" : {
  584.                                 "text" : "Завтра {date в time} Вы записаны на прием в нашу клинику. {Вас ждет врач specialty} Вы-подойд+ёте?",
  585.                                 "audio" : [
  586.                                     {
  587.                                         "type" : "url",
  588.                                         "url" : "/audios/2ad738c0-386d-11ea-8aaa-0305788f98c6.wav",
  589.                                         "number" : "0",
  590.                                         "duration" : "1"
  591.                                     },
  592.                                     {
  593.                                         "type" : "param",
  594.                                         "paramName" : "date в time",
  595.                                         "number" : "1"
  596.                                     },
  597.                                     {
  598.                                         "type" : "url",
  599.                                         "url" : "/audios/2ad4eed0-386d-11ea-8aaa-0305788f98c6.wav",
  600.                                         "number" : "2",
  601.                                         "duration" : "3"
  602.                                     },
  603.                                     {
  604.                                         "type" : "param",
  605.                                         "paramName" : "Вас ждет врач specialty",
  606.                                         "number" : "3"
  607.                                     },
  608.                                     {
  609.                                         "type" : "url",
  610.                                         "url" : "/audios/2af4f9f0-386d-11ea-8aaa-0305788f98c6.wav",
  611.                                         "number" : "4",
  612.                                         "duration" : "2"
  613.                                     }
  614.                                 ],
  615.                                 "generationAudioType" : "generateFromText",
  616.                                 "id" : "jsPlumb_3_840",
  617.                                 "title" : "Да",
  618.                                 "stateQuestion" : "ВыПодойдете",
  619.                                 "stateValue" : "",
  620.                                 "words" : [
  621.                                     "моя",
  622.                                     "моё",
  623.                                     "это я",
  624.                                     "конечно",
  625.                                     "говорите",
  626.                                     "верно",
  627.                                     "правильно",
  628.                                     "говори",
  629.                                     "кто спрашивает",
  630.                                     "вы кто",
  631.                                     "что нужно",
  632.                                     "что надо",
  633.                                     "что вам нужно",
  634.                                     "что вам надо",
  635.                                     "так точно",
  636.                                     "кто же ещё",
  637.                                     "угу",
  638.                                     "допустим",
  639.                                     "дада",
  640.                                     "да да",
  641.                                     "да да да",
  642.                                     "конец но",
  643.                                     "конец на",
  644.                                     "я!*",
  645.                                     "за!*",
  646.                                     "на!*",
  647.                                     "да!*",
  648.                                     "ну!*",
  649.                                     "ага!*",
  650.                                     "да а что",
  651.                                     "я а что"
  652.                                 ],
  653.                                 "isSilence" : false,
  654.                                 "isIllegibly" : false,
  655.                                 "speaker" : "oksana",
  656.                                 "emotion" : "good",
  657.                                 "speed" : "1",
  658.                                 "repeat" : {
  659.                                     "audio" : [],
  660.                                     "text" : "",
  661.                                     "emotion" : "good",
  662.                                     "speaker" : "oksana",
  663.                                     "speed" : "1"
  664.                                 },
  665.                                 "repeatFail" : {
  666.                                     "audio" : [],
  667.                                     "text" : "",
  668.                                     "emotion" : "good",
  669.                                     "speaker" : "oksana",
  670.                                     "speed" : "1"
  671.                                 },
  672.                                 "searchStrategy" : "CONTAINS_FULL_SPEECH",
  673.                                 "timeout" : "",
  674.                                 "startCollectBeforePlayEnd" : "",
  675.                                 "waitingInputTimeout" : "",
  676.                                 "silenceAfterSpeechTimeout" : "2",
  677.                                 "delayBeforeCollect" : ""
  678.                             },
  679.                             "view" : {
  680.                                 "top" : 786,
  681.                                 "left" : 91
  682.                             },
  683.                             "startNode" : false
  684.                         },
  685.                         {
  686.                             "data" : {
  687.                                 "text" : "Спасибо за ответ, До свидания!  sil <[1500]>",
  688.                                 "audio" : [
  689.                                     {
  690.                                         "type" : "url",
  691.                                         "url" : "/audios/9286d590-1b38-11ea-8aaa-0305788f98c6.wav",
  692.                                         "number" : "0",
  693.                                         "duration" : "4"
  694.                                     }
  695.                                 ],
  696.                                 "generationAudioType" : "generateFromText",
  697.                                 "id" : "jsPlumb_3_316",
  698.                                 "title" : "Нет",
  699.                                 "stateQuestion" : "",
  700.                                 "stateValue" : "",
  701.                                 "words" : [
  702.                                     "ошиблись",
  703.                                     "ошибся",
  704.                                     "нет",
  705.                                     "не я",
  706.                                     "ошибка",
  707.                                     "другой",
  708.                                     "не туда",
  709.                                     "не тому",
  710.                                     "не моё",
  711.                                     "другом",
  712.                                     "неа",
  713.                                     "Neo"
  714.                                 ],
  715.                                 "isSilence" : false,
  716.                                 "isIllegibly" : false,
  717.                                 "speaker" : "oksana",
  718.                                 "emotion" : "good",
  719.                                 "speed" : "1",
  720.                                 "repeat" : {
  721.                                     "audio" : [],
  722.                                     "text" : "",
  723.                                     "emotion" : "good",
  724.                                     "speaker" : "oksana",
  725.                                     "speed" : "1"
  726.                                 },
  727.                                 "repeatFail" : {
  728.                                     "audio" : [],
  729.                                     "text" : "",
  730.                                     "emotion" : "good",
  731.                                     "speaker" : "oksana",
  732.                                     "speed" : "1"
  733.                                 },
  734.                                 "timeout" : "",
  735.                                 "startCollectBeforePlayEnd" : "",
  736.                                 "waitingInputTimeout" : "",
  737.                                 "silenceAfterSpeechTimeout" : "",
  738.                                 "delayBeforeCollect" : ""
  739.                             },
  740.                             "view" : {
  741.                                 "top" : 728,
  742.                                 "left" : 976
  743.                             },
  744.                             "startNode" : false
  745.                         },
  746.                         {
  747.                             "data" : {
  748.                                 "text" : "Спасибо за ответ, ждем Вас в назначенное время  по адресу {address}! До свидания!  sil <[1500]>",
  749.                                 "audio" : [
  750.                                     {
  751.                                         "type" : "url",
  752.                                         "url" : "/audios/99943880-386d-11ea-8aaa-0305788f98c6.wav",
  753.                                         "number" : "0",
  754.                                         "duration" : "4"
  755.                                     },
  756.                                     {
  757.                                         "type" : "param",
  758.                                         "paramName" : "address",
  759.                                         "number" : "1"
  760.                                     },
  761.                                     {
  762.                                         "type" : "url",
  763.                                         "url" : "/audios/993b9130-386d-11ea-8aaa-0305788f98c6.wav",
  764.                                         "number" : "2",
  765.                                         "duration" : "3"
  766.                                     }
  767.                                 ],
  768.                                 "generationAudioType" : "generateFromText",
  769.                                 "id" : "jsPlumb_3_239",
  770.                                 "title" : "Да",
  771.                                 "stateQuestion" : "",
  772.                                 "stateValue" : "",
  773.                                 "words" : [
  774.                                     "да",
  775.                                     "ага",
  776.                                     "конечно",
  777.                                     "обязательно",
  778.                                     "непременно",
  779.                                     "однозначно",
  780.                                     "скорей всего",
  781.                                     "постараюсь",
  782.                                     "придё",
  783.                                     "подойду",
  784.                                     "придём",
  785.                                     "подойдём",
  786.                                     "дада",
  787.                                     "да да",
  788.                                     "да да да",
  789.                                     "за!*",
  790.                                     "на!*",
  791.                                     "да!*"
  792.                                 ],
  793.                                 "isSilence" : false,
  794.                                 "isIllegibly" : false,
  795.                                 "speaker" : "oksana",
  796.                                 "emotion" : "good",
  797.                                 "speed" : "1",
  798.                                 "repeat" : {
  799.                                     "audio" : [],
  800.                                     "text" : "",
  801.                                     "emotion" : "good",
  802.                                     "speaker" : "oksana",
  803.                                     "speed" : "1"
  804.                                 },
  805.                                 "repeatFail" : {
  806.                                     "audio" : [],
  807.                                     "text" : "",
  808.                                     "emotion" : "good",
  809.                                     "speaker" : "oksana",
  810.                                     "speed" : "1"
  811.                                 },
  812.                                 "timeout" : "",
  813.                                 "startCollectBeforePlayEnd" : "",
  814.                                 "waitingInputTimeout" : "",
  815.                                 "silenceAfterSpeechTimeout" : "",
  816.                                 "delayBeforeCollect" : ""
  817.                             },
  818.                             "view" : {
  819.                                 "top" : 1816,
  820.                                 "left" : 41
  821.                             },
  822.                             "startNode" : false
  823.                         },
  824.                         {
  825.                             "data" : {
  826.                                 "text" : "Спасибо за ответ, наш администратор свяжется с вами и подберет удобное время для записи. До свидания.  sil <[1500]>",
  827.                                 "audio" : [
  828.                                     {
  829.                                         "type" : "url",
  830.                                         "url" : "/audios/a492bce0-1b38-11ea-8aaa-0305788f98c6.wav",
  831.                                         "number" : "0",
  832.                                         "duration" : "8"
  833.                                     }
  834.                                 ],
  835.                                 "generationAudioType" : "generateFromText",
  836.                                 "id" : "jsPlumb_3_996",
  837.                                 "title" : "Нет",
  838.                                 "stateQuestion" : "",
  839.                                 "stateValue" : "",
  840.                                 "words" : [
  841.                                     "нет",
  842.                                     "не смогу",
  843.                                     "не приду",
  844.                                     "не подойду",
  845.                                     "не могу",
  846.                                     "меня не будет",
  847.                                     "не получится",
  848.                                     "не получиться",
  849.                                     "неа",
  850.                                     "Neo",
  851.                                     "не!*"
  852.                                 ],
  853.                                 "isSilence" : false,
  854.                                 "isIllegibly" : false,
  855.                                 "speaker" : "oksana",
  856.                                 "emotion" : "good",
  857.                                 "speed" : "1",
  858.                                 "repeat" : {
  859.                                     "audio" : [],
  860.                                     "text" : "",
  861.                                     "emotion" : "good",
  862.                                     "speaker" : "oksana",
  863.                                     "speed" : "1"
  864.                                 },
  865.                                 "repeatFail" : {
  866.                                     "audio" : [],
  867.                                     "text" : "",
  868.                                     "emotion" : "good",
  869.                                     "speaker" : "oksana",
  870.                                     "speed" : "1"
  871.                                 },
  872.                                 "timeout" : "",
  873.                                 "startCollectBeforePlayEnd" : "",
  874.                                 "waitingInputTimeout" : "",
  875.                                 "silenceAfterSpeechTimeout" : "",
  876.                                 "delayBeforeCollect" : ""
  877.                             },
  878.                             "view" : {
  879.                                 "top" : 1806,
  880.                                 "left" : 750
  881.                             },
  882.                             "startNode" : false
  883.                         },
  884.                         {
  885.                             "data" : {
  886.                                 "text" : "Простите Вас не расслышала! Вы, подойд+Ёте? Скажите \"Д+А\", или \"НЕТ\"",
  887.                                 "audio" : [
  888.                                     {
  889.                                         "type" : "url",
  890.                                         "url" : "/audios/02644060-f982-11e9-8633-6b9f04b1d17d.wav",
  891.                                         "number" : "0",
  892.                                         "duration" : "5"
  893.                                     }
  894.                                 ],
  895.                                 "generationAudioType" : "generateFromText",
  896.                                 "id" : "jsPlumb_3_756",
  897.                                 "title" : "Молчание",
  898.                                 "stateQuestion" : "ВыПодойдете",
  899.                                 "stateValue" : "молчание",
  900.                                 "words" : [],
  901.                                 "isSilence" : true,
  902.                                 "isIllegibly" : false,
  903.                                 "speaker" : "oksana",
  904.                                 "emotion" : "good",
  905.                                 "speed" : "1",
  906.                                 "repeat" : {
  907.                                     "audio" : [],
  908.                                     "text" : "",
  909.                                     "emotion" : "good",
  910.                                     "speaker" : "oksana",
  911.                                     "speed" : "1"
  912.                                 },
  913.                                 "repeatFail" : {
  914.                                     "audio" : [],
  915.                                     "text" : "",
  916.                                     "emotion" : "good",
  917.                                     "speaker" : "oksana",
  918.                                     "speed" : "1"
  919.                                 },
  920.                                 "searchStrategy" : "CONTAINS",
  921.                                 "timeout" : "",
  922.                                 "startCollectBeforePlayEnd" : "2",
  923.                                 "waitingInputTimeout" : "",
  924.                                 "silenceAfterSpeechTimeout" : "",
  925.                                 "delayBeforeCollect" : ""
  926.                             },
  927.                             "view" : {
  928.                                 "top" : 1100,
  929.                                 "left" : 756
  930.                             },
  931.                             "startNode" : false
  932.                         },
  933.                         {
  934.                             "data" : {
  935.                                 "text" : "Спасибо за ответ, До свидания!  sil <[1500]>",
  936.                                 "audio" : [
  937.                                     {
  938.                                         "type" : "url",
  939.                                         "url" : "/audios/99b64800-1b38-11ea-8aaa-0305788f98c6.wav",
  940.                                         "number" : "0",
  941.                                         "duration" : "4"
  942.                                     }
  943.                                 ],
  944.                                 "generationAudioType" : "generateFromText",
  945.                                 "id" : "jsPlumb_3_377",
  946.                                 "title" : "Молчание",
  947.                                 "stateQuestion" : "",
  948.                                 "stateValue" : "молчание",
  949.                                 "words" : [],
  950.                                 "isSilence" : true,
  951.                                 "isIllegibly" : false,
  952.                                 "speaker" : "oksana",
  953.                                 "emotion" : "good",
  954.                                 "speed" : "1",
  955.                                 "repeat" : {
  956.                                     "audio" : [],
  957.                                     "text" : "",
  958.                                     "emotion" : "good",
  959.                                     "speaker" : "oksana",
  960.                                     "speed" : "1"
  961.                                 },
  962.                                 "repeatFail" : {
  963.                                     "audio" : [],
  964.                                     "text" : "",
  965.                                     "emotion" : "good",
  966.                                     "speaker" : "oksana",
  967.                                     "speed" : "1"
  968.                                 },
  969.                                 "timeout" : "",
  970.                                 "startCollectBeforePlayEnd" : "",
  971.                                 "waitingInputTimeout" : "",
  972.                                 "silenceAfterSpeechTimeout" : "",
  973.                                 "delayBeforeCollect" : ""
  974.                             },
  975.                             "view" : {
  976.                                 "top" : 1341,
  977.                                 "left" : 2036
  978.                             },
  979.                             "startNode" : false
  980.                         },
  981.                         {
  982.                             "data" : {
  983.                                 "text" : "Простите Вас не расслышала! {name это Ваше имя?} Скажите \"Д+А\", или \"НЕТ\"",
  984.                                 "audio" : [
  985.                                     {
  986.                                         "type" : "url",
  987.                                         "url" : "/audios/c009e190-fb96-11e9-8633-6b9f04b1d17d.wav",
  988.                                         "number" : "0",
  989.                                         "duration" : "2"
  990.                                     },
  991.                                     {
  992.                                         "type" : "param",
  993.                                         "paramName" : "name это Ваше имя?",
  994.                                         "number" : "1"
  995.                                     },
  996.                                     {
  997.                                         "type" : "url",
  998.                                         "url" : "/audios/c03dc2d0-fb96-11e9-8633-6b9f04b1d17d.wav",
  999.                                         "number" : "2",
  1000.                                         "duration" : "2"
  1001.                                     }
  1002.                                 ],
  1003.                                 "generationAudioType" : "generateFromText",
  1004.                                 "id" : "jsPlumb_3_491",
  1005.                                 "title" : "Молчание",
  1006.                                 "stateQuestion" : "ЭтоВы",
  1007.                                 "stateValue" : "молчание",
  1008.                                 "words" : [],
  1009.                                 "isSilence" : true,
  1010.                                 "isIllegibly" : false,
  1011.                                 "speaker" : "oksana",
  1012.                                 "emotion" : "good",
  1013.                                 "speed" : "1",
  1014.                                 "repeat" : {
  1015.                                     "audio" : [],
  1016.                                     "text" : "",
  1017.                                     "emotion" : "good",
  1018.                                     "speaker" : "oksana",
  1019.                                     "speed" : "1"
  1020.                                 },
  1021.                                 "repeatFail" : {
  1022.                                     "audio" : [],
  1023.                                     "text" : "",
  1024.                                     "emotion" : "good",
  1025.                                     "speaker" : "oksana",
  1026.                                     "speed" : "1"
  1027.                                 },
  1028.                                 "searchStrategy" : "CONTAINS_FULL_SPEECH",
  1029.                                 "timeout" : "",
  1030.                                 "startCollectBeforePlayEnd" : "2",
  1031.                                 "waitingInputTimeout" : "",
  1032.                                 "silenceAfterSpeechTimeout" : "2",
  1033.                                 "delayBeforeCollect" : ""
  1034.                             },
  1035.                             "view" : {
  1036.                                 "top" : 33,
  1037.                                 "left" : 1046
  1038.                             },
  1039.                             "startNode" : false
  1040.                         },
  1041.                         {
  1042.                             "data" : {
  1043.                                 "text" : "Спасибо за ответ, До свидания!  sil <[1500]>",
  1044.                                 "audio" : [
  1045.                                     {
  1046.                                         "type" : "url",
  1047.                                         "url" : "/audios/67c4f120-1b38-11ea-8aaa-0305788f98c6.wav",
  1048.                                         "number" : "0",
  1049.                                         "duration" : "4"
  1050.                                     }
  1051.                                 ],
  1052.                                 "generationAudioType" : "generateFromText",
  1053.                                 "id" : "jsPlumb_3_78",
  1054.                                 "title" : "Молчание",
  1055.                                 "stateQuestion" : "",
  1056.                                 "stateValue" : "молчание",
  1057.                                 "words" : [],
  1058.                                 "isSilence" : true,
  1059.                                 "isIllegibly" : false,
  1060.                                 "speaker" : "oksana",
  1061.                                 "emotion" : "good",
  1062.                                 "speed" : "1",
  1063.                                 "repeat" : {
  1064.                                     "audio" : [],
  1065.                                     "text" : "",
  1066.                                     "emotion" : "good",
  1067.                                     "speaker" : "oksana",
  1068.                                     "speed" : "1"
  1069.                                 },
  1070.                                 "repeatFail" : {
  1071.                                     "audio" : [],
  1072.                                     "text" : "",
  1073.                                     "emotion" : "good",
  1074.                                     "speaker" : "oksana",
  1075.                                     "speed" : "1"
  1076.                                 },
  1077.                                 "timeout" : "",
  1078.                                 "startCollectBeforePlayEnd" : "",
  1079.                                 "waitingInputTimeout" : "",
  1080.                                 "silenceAfterSpeechTimeout" : "",
  1081.                                 "delayBeforeCollect" : ""
  1082.                             },
  1083.                             "view" : {
  1084.                                 "top" : 41,
  1085.                                 "left" : 2246
  1086.                             },
  1087.                             "startNode" : false
  1088.                         },
  1089.                         {
  1090.                             "data" : {
  1091.                                 "text" : "Спасибо за ответ, До свидания!  sil <[1500]>",
  1092.                                 "audio" : [
  1093.                                     {
  1094.                                         "type" : "url",
  1095.                                         "url" : "/audios/8ea5a3c0-1b38-11ea-8aaa-0305788f98c6.wav",
  1096.                                         "number" : "0",
  1097.                                         "duration" : "4"
  1098.                                     }
  1099.                                 ],
  1100.                                 "generationAudioType" : "generateFromText",
  1101.                                 "id" : "jsPlumb_3_504",
  1102.                                 "title" : "Другой ответ",
  1103.                                 "stateQuestion" : "",
  1104.                                 "stateValue" : "",
  1105.                                 "words" : [],
  1106.                                 "isSilence" : false,
  1107.                                 "isIllegibly" : true,
  1108.                                 "speaker" : "oksana",
  1109.                                 "emotion" : "good",
  1110.                                 "speed" : "1",
  1111.                                 "repeat" : {
  1112.                                     "audio" : [],
  1113.                                     "text" : "",
  1114.                                     "emotion" : "good",
  1115.                                     "speaker" : "oksana",
  1116.                                     "speed" : "1"
  1117.                                 },
  1118.                                 "repeatFail" : {
  1119.                                     "audio" : [],
  1120.                                     "text" : "",
  1121.                                     "emotion" : "good",
  1122.                                     "speaker" : "oksana",
  1123.                                     "speed" : "1"
  1124.                                 },
  1125.                                 "timeout" : "",
  1126.                                 "startCollectBeforePlayEnd" : "",
  1127.                                 "waitingInputTimeout" : "",
  1128.                                 "silenceAfterSpeechTimeout" : "",
  1129.                                 "delayBeforeCollect" : ""
  1130.                             },
  1131.                             "view" : {
  1132.                                 "top" : 358,
  1133.                                 "left" : 2253
  1134.                             },
  1135.                             "startNode" : false
  1136.                         },
  1137.                         {
  1138.                             "data" : {
  1139.                                 "text" : "Простите Вас не расслышала! {name это Ваше имя?} Скажите \"Д+А\", или \"НЕТ\"",
  1140.                                 "audio" : [
  1141.                                     {
  1142.                                         "type" : "url",
  1143.                                         "url" : "/audios/c009e190-fb96-11e9-8633-6b9f04b1d17d.wav",
  1144.                                         "number" : "1",
  1145.                                         "duration" : "2"
  1146.                                     },
  1147.                                     {
  1148.                                         "type" : "param",
  1149.                                         "paramName" : "name это Ваше имя?",
  1150.                                         "number" : "2"
  1151.                                     },
  1152.                                     {
  1153.                                         "type" : "url",
  1154.                                         "url" : "/audios/c03dc2d0-fb96-11e9-8633-6b9f04b1d17d.wav",
  1155.                                         "number" : "3",
  1156.                                         "duration" : "2"
  1157.                                     }
  1158.                                 ],
  1159.                                 "generationAudioType" : "generateFromText",
  1160.                                 "id" : "jsPlumb_3_411",
  1161.                                 "title" : "другой ответ",
  1162.                                 "stateQuestion" : "ЭтоВы",
  1163.                                 "stateValue" : "",
  1164.                                 "words" : [],
  1165.                                 "isSilence" : false,
  1166.                                 "isIllegibly" : true,
  1167.                                 "speaker" : "oksana",
  1168.                                 "emotion" : "good",
  1169.                                 "speed" : "1",
  1170.                                 "repeat" : {
  1171.                                     "audio" : [],
  1172.                                     "text" : "",
  1173.                                     "emotion" : "good",
  1174.                                     "speaker" : "oksana",
  1175.                                     "speed" : "1"
  1176.                                 },
  1177.                                 "repeatFail" : {
  1178.                                     "audio" : [],
  1179.                                     "text" : "",
  1180.                                     "emotion" : "good",
  1181.                                     "speaker" : "oksana",
  1182.                                     "speed" : "1"
  1183.                                 },
  1184.                                 "searchStrategy" : "CONTAINS_FULL_SPEECH",
  1185.                                 "timeout" : "",
  1186.                                 "startCollectBeforePlayEnd" : "2",
  1187.                                 "waitingInputTimeout" : "",
  1188.                                 "silenceAfterSpeechTimeout" : "2",
  1189.                                 "delayBeforeCollect" : ""
  1190.                             },
  1191.                             "view" : {
  1192.                                 "top" : 356,
  1193.                                 "left" : 1413
  1194.                             },
  1195.                             "startNode" : false
  1196.                         },
  1197.                         {
  1198.                             "data" : {
  1199.                                 "text" : "Спасибо за ответ, До свидания!  sil <[1500]>",
  1200.                                 "audio" : [
  1201.                                     {
  1202.                                         "type" : "url",
  1203.                                         "url" : "/audios/9b83dc10-1b38-11ea-8aaa-0305788f98c6.wav",
  1204.                                         "number" : "0",
  1205.                                         "duration" : "4"
  1206.                                     }
  1207.                                 ],
  1208.                                 "generationAudioType" : "generateFromText",
  1209.                                 "id" : "jsPlumb_3_40",
  1210.                                 "title" : "Другой ответ",
  1211.                                 "stateQuestion" : "",
  1212.                                 "stateValue" : "",
  1213.                                 "words" : [],
  1214.                                 "isSilence" : false,
  1215.                                 "isIllegibly" : true,
  1216.                                 "speaker" : "oksana",
  1217.                                 "emotion" : "good",
  1218.                                 "speed" : "1",
  1219.                                 "repeat" : {
  1220.                                     "audio" : [],
  1221.                                     "text" : "",
  1222.                                     "emotion" : "good",
  1223.                                     "speaker" : "oksana",
  1224.                                     "speed" : "1"
  1225.                                 },
  1226.                                 "repeatFail" : {
  1227.                                     "audio" : [],
  1228.                                     "text" : "",
  1229.                                     "emotion" : "good",
  1230.                                     "speaker" : "oksana",
  1231.                                     "speed" : "1"
  1232.                                 },
  1233.                                 "timeout" : "",
  1234.                                 "startCollectBeforePlayEnd" : "",
  1235.                                 "waitingInputTimeout" : "",
  1236.                                 "silenceAfterSpeechTimeout" : "",
  1237.                                 "delayBeforeCollect" : ""
  1238.                             },
  1239.                             "view" : {
  1240.                                 "top" : 1647,
  1241.                                 "left" : 1857
  1242.                             },
  1243.                             "startNode" : false
  1244.                         },
  1245.                         {
  1246.                             "data" : {
  1247.                                 "text" : "Простите Вас не расслышала! Вы, подойд+Ёте? Скажите \"Д+А\", или \"НЕТ\"",
  1248.                                 "audio" : [
  1249.                                     {
  1250.                                         "type" : "url",
  1251.                                         "url" : "/audios/02644060-f982-11e9-8633-6b9f04b1d17d.wav",
  1252.                                         "number" : "1",
  1253.                                         "duration" : "5"
  1254.                                     }
  1255.                                 ],
  1256.                                 "generationAudioType" : "generateFromText",
  1257.                                 "id" : "jsPlumb_3_156",
  1258.                                 "title" : "другой ответ",
  1259.                                 "stateQuestion" : "ВыПодойдете",
  1260.                                 "stateValue" : "",
  1261.                                 "words" : [],
  1262.                                 "isSilence" : false,
  1263.                                 "isIllegibly" : true,
  1264.                                 "speaker" : "oksana",
  1265.                                 "emotion" : "good",
  1266.                                 "speed" : "1",
  1267.                                 "repeat" : {
  1268.                                     "audio" : [],
  1269.                                     "text" : "",
  1270.                                     "emotion" : "good",
  1271.                                     "speaker" : "oksana",
  1272.                                     "speed" : "1"
  1273.                                 },
  1274.                                 "repeatFail" : {
  1275.                                     "audio" : [],
  1276.                                     "text" : "",
  1277.                                     "emotion" : "good",
  1278.                                     "speaker" : "oksana",
  1279.                                     "speed" : "1"
  1280.                                 },
  1281.                                 "searchStrategy" : "CONTAINS",
  1282.                                 "timeout" : "",
  1283.                                 "startCollectBeforePlayEnd" : "2",
  1284.                                 "waitingInputTimeout" : "",
  1285.                                 "silenceAfterSpeechTimeout" : "",
  1286.                                 "delayBeforeCollect" : ""
  1287.                             },
  1288.                             "view" : {
  1289.                                 "top" : 1030,
  1290.                                 "left" : 1380
  1291.                             },
  1292.                             "startNode" : false
  1293.                         }
  1294.                     ],
  1295.                     "phone" : "89155494375",
  1296.                     "name" : "АНАСТАСИЯ НИКОЛАЕВНА",
  1297.                     "visual" : {
  1298.                         "connector" : "Straight",
  1299.                         "hideArrows" : false,
  1300.                         "compactWindows" : false
  1301.                     },
  1302.                     "time" : "08:00",
  1303.                     "scenarioId" : "5da93b7609c3900001411df2",
  1304.                     "connections" : [
  1305.                         {
  1306.                             "sourceId" : "jsPlumb_3_733",
  1307.                             "targetId" : "jsPlumb_3_840"
  1308.                         },
  1309.                         {
  1310.                             "sourceId" : "jsPlumb_3_733",
  1311.                             "targetId" : "jsPlumb_3_316"
  1312.                         },
  1313.                         {
  1314.                             "sourceId" : "jsPlumb_3_840",
  1315.                             "targetId" : "jsPlumb_3_239"
  1316.                         },
  1317.                         {
  1318.                             "sourceId" : "jsPlumb_3_840",
  1319.                             "targetId" : "jsPlumb_3_996"
  1320.                         },
  1321.                         {
  1322.                             "sourceId" : "jsPlumb_3_840",
  1323.                             "targetId" : "jsPlumb_3_756"
  1324.                         },
  1325.                         {
  1326.                             "sourceId" : "jsPlumb_3_756",
  1327.                             "targetId" : "jsPlumb_3_377"
  1328.                         },
  1329.                         {
  1330.                             "sourceId" : "jsPlumb_3_756",
  1331.                             "targetId" : "jsPlumb_3_996"
  1332.                         },
  1333.                         {
  1334.                             "sourceId" : "jsPlumb_3_756",
  1335.                             "targetId" : "jsPlumb_3_239"
  1336.                         },
  1337.                         {
  1338.                             "sourceId" : "jsPlumb_3_733",
  1339.                             "targetId" : "jsPlumb_3_491"
  1340.                         },
  1341.                         {
  1342.                             "sourceId" : "jsPlumb_3_491",
  1343.                             "targetId" : "jsPlumb_3_316"
  1344.                         },
  1345.                         {
  1346.                             "sourceId" : "jsPlumb_3_491",
  1347.                             "targetId" : "jsPlumb_3_840"
  1348.                         },
  1349.                         {
  1350.                             "sourceId" : "jsPlumb_3_491",
  1351.                             "targetId" : "jsPlumb_3_78"
  1352.                         },
  1353.                         {
  1354.                             "sourceId" : "jsPlumb_3_491",
  1355.                             "targetId" : "jsPlumb_3_504"
  1356.                         },
  1357.                         {
  1358.                             "sourceId" : "jsPlumb_3_733",
  1359.                             "targetId" : "jsPlumb_3_411"
  1360.                         },
  1361.                         {
  1362.                             "sourceId" : "jsPlumb_3_411",
  1363.                             "targetId" : "jsPlumb_3_504"
  1364.                         },
  1365.                         {
  1366.                             "sourceId" : "jsPlumb_3_411",
  1367.                             "targetId" : "jsPlumb_3_78"
  1368.                         },
  1369.                         {
  1370.                             "sourceId" : "jsPlumb_3_411",
  1371.                             "targetId" : "jsPlumb_3_316"
  1372.                         },
  1373.                         {
  1374.                             "sourceId" : "jsPlumb_3_411",
  1375.                             "targetId" : "jsPlumb_3_840"
  1376.                         },
  1377.                         {
  1378.                             "sourceId" : "jsPlumb_3_756",
  1379.                             "targetId" : "jsPlumb_3_40"
  1380.                         },
  1381.                         {
  1382.                             "sourceId" : "jsPlumb_3_840",
  1383.                             "targetId" : "jsPlumb_3_156"
  1384.                         },
  1385.                         {
  1386.                             "sourceId" : "jsPlumb_3_156",
  1387.                             "targetId" : "jsPlumb_3_377"
  1388.                         },
  1389.                         {
  1390.                             "sourceId" : "jsPlumb_3_156",
  1391.                             "targetId" : "jsPlumb_3_40"
  1392.                         },
  1393.                         {
  1394.                             "sourceId" : "jsPlumb_3_156",
  1395.                             "targetId" : "jsPlumb_3_996"
  1396.                         },
  1397.                         {
  1398.                             "sourceId" : "jsPlumb_3_156",
  1399.                             "targetId" : "jsPlumb_3_239"
  1400.                         }
  1401.                     ]
  1402.                 }
  1403.             },
  1404.             {
  1405.                 "time" : ISODate("2020-03-16T08:01:51.791Z"),
  1406.                 "name" : "ЭтоВы",
  1407.                 "value" : "там",
  1408.                 "details" : {}
  1409.             },
  1410.             {
  1411.                 "time" : ISODate("2020-03-16T08:02:02.205Z"),
  1412.                 "name" : "ЭтоВы",
  1413.                 "value" : "Да всё до",
  1414.                 "details" : {}
  1415.             },
  1416.             {
  1417.                 "time" : ISODate("2020-03-16T08:02:06.126Z"),
  1418.                 "name" : "hangup",
  1419.                 "value" : "solution",
  1420.                 "details" : {}
  1421.             }
  1422.         ],
  1423.         "log" : [
  1424.             {
  1425.                 "time" : ISODate("2020-03-16T08:01:40.665Z"),
  1426.                 "text" : "start requesting option (jsPlumb_3_316, jsPlumb_3_840)",
  1427.                 "context" : {
  1428.                     "sid" : "c6b5f0d4-cfc3-446a-ba5a-11054ca3c50c",
  1429.                     "question" : "ЭтоВы"
  1430.                 }
  1431.             },
  1432.             {
  1433.                 "time" : ISODate("2020-03-16T08:01:51.791Z"),
  1434.                 "text" : "unknown option on speech complete",
  1435.                 "context" : {
  1436.                     "sid" : "c6b5f0d4-cfc3-446a-ba5a-11054ca3c50c",
  1437.                     "question" : "ЭтоВы",
  1438.                     "recognition" : [
  1439.                         {
  1440.                             "text" : "там",
  1441.                             "confidence" : 0.0
  1442.                         }
  1443.                     ]
  1444.                 }
  1445.             },
  1446.             {
  1447.                 "time" : ISODate("2020-03-16T08:01:51.791Z"),
  1448.                 "text" : "start requesting option (jsPlumb_3_316, jsPlumb_3_840)",
  1449.                 "context" : {
  1450.                     "sid" : "ac3b1a55-9f01-478d-9b7f-7d0daa029c8d",
  1451.                     "question" : "ЭтоВы"
  1452.                 }
  1453.             },
  1454.             {
  1455.                 "time" : ISODate("2020-03-16T08:02:02.205Z"),
  1456.                 "text" : "unknown option on speech complete",
  1457.                 "context" : {
  1458.                     "sid" : "ac3b1a55-9f01-478d-9b7f-7d0daa029c8d",
  1459.                     "question" : "ЭтоВы",
  1460.                     "recognition" : [
  1461.                         {
  1462.                             "text" : "Да всё до",
  1463.                             "confidence" : 0.0
  1464.                         }
  1465.                     ]
  1466.                 }
  1467.             },
  1468.             {
  1469.                 "time" : ISODate("2020-03-16T08:02:02.205Z"),
  1470.                 "text" : "разговор дошёл до конечного состояния",
  1471.                 "context" : {}
  1472.             }
  1473.         ],
  1474.         "callId" : "7b65acbf-a6de-49c4-94bb-659c7cba7263",
  1475.         "taskId" : "5e6f3201904d0a00079b95b6",
  1476.         "resourceSpentEvents" : [
  1477.             {
  1478.                 "vendor" : "YANDEX_TTS",
  1479.                 "amount" : {
  1480.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(26)
  1481.                 }
  1482.             },
  1483.             {
  1484.                 "vendor" : "GOOGLE_ASR",
  1485.                 "amount" : {
  1486.                     "SPEECH_TIME" : NumberLong(5695),
  1487.                     "SPEECH_CHAR_COUNT" : NumberLong(3),
  1488.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  1489.                 }
  1490.             },
  1491.             {
  1492.                 "vendor" : "YANDEX_TTS",
  1493.                 "amount" : {
  1494.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(34)
  1495.                 }
  1496.             },
  1497.             {
  1498.                 "vendor" : "GOOGLE_ASR",
  1499.                 "amount" : {
  1500.                     "SPEECH_TIME" : NumberLong(5928),
  1501.                     "SPEECH_CHAR_COUNT" : NumberLong(9),
  1502.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  1503.                 }
  1504.             },
  1505.             {
  1506.                 "vendor" : "YANDEX_TTS",
  1507.                 "amount" : {
  1508.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  1509.                 }
  1510.             }
  1511.         ]
  1512.     }
  1513. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement