Advertisement
ScrappyCocoJamba

expert

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