Bobrovozka

Untitled

Jun 5th, 2021
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 64.60 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("60aeab273bea5100071e8697"),
  3.     "phone" : "9133841262",
  4.     "campaign" : "60ae24dc3bea510001e351fa",
  5.     "state" : "PERFORMED",
  6.     "lastCallRequestTimestamp" : NumberLong(1622059816068),
  7.     "callAnsweredTimestamp" : NumberLong(1622059821540),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "cfd1c1f4-b0a8-47cd-86c5-bab0892beaf1",
  12.             "request" : {
  13.                 "targetTopic" : "sip-system-originate-request-beeline-vis-release-2-3-2",
  14.                 "responseTopic" : "calling-system-orig-result-big-caller",
  15.                 "scenarioResultTopic" : "scenario_result_sdk_v2_big-caller",
  16.                 "scenarioParametersApiHost" : "small-apps11-back",
  17.                 "scenarioParametersApiPort" : "8101",
  18.                 "callUrl" : "sofia/gateway/beeline-avis/9133841262 ext XML outgoing-release-2-6-ms3",
  19.                 "createdUtcMs" : NumberLong(1622059816068),
  20.                 "callUuid" : "cfd1c1f4-b0a8-47cd-86c5-bab0892beaf1",
  21.                 "callTaskUuid" : "60aeab273bea5100071e8697",
  22.                 "client" : "5ef16a70f2297c0001c13246",
  23.                 "campaign" : "60ae24dc3bea510001e351fa",
  24.                 "originateParameters" : {
  25.                     "sip_cid_type" : "none",
  26.                     "sip_invite_from_params=user" : "phone",
  27.                     "sip_invite_to_params=user" : "phone",
  28.                     "sip_invite_params=user" : "phone"
  29.                 },
  30.                 "originateTimeoutSec" : 30
  31.             },
  32.             "talkMillis" : NumberLong(0),
  33.             "hangupByAmd" : false,
  34.             "originateResult" : {
  35.                 "timestamp" : NumberLong(1622059821540),
  36.                 "sipCode" : 200,
  37.                 "fullSipSystemResponse" : "+OK a6df97f5-ba23-4441-a039-86412df77c49",
  38.                 "callUuid" : "cfd1c1f4-b0a8-47cd-86c5-bab0892beaf1",
  39.                 "callTaskId" : "60aeab273bea5100071e8697"
  40.             },
  41.             "cdr" : {
  42.                 "cdr" : {
  43.                     "variables" : {
  44.                         "write_codec" : "PCMA",
  45.                         "sip_reason" : "Q.850%3Bcause%3D16",
  46.                         "sip_to_host" : "195.239.90.71",
  47.                         "hold_accum_usec" : 0,
  48.                         "bridge_uuid" : "9df469c7-8f14-4d3b-8225-475a6043b140",
  49.                         "start_epoch" : 1622059816,
  50.                         "rtp_2833_send_payload" : 101,
  51.                         "original_read_rate" : 8000,
  52.                         "profile_start_epoch" : 1622059821,
  53.                         "transfer_history" : "1622059821%3A4343276a-5ac5-4df5-b0b7-6b3deb3cf0ab%3Abl_xfer%3Aext/outgoing-release-2-6-ms3/XML",
  54.                         "sip_hangup_phrase" : "OK",
  55.                         "CallingSystemCallUuid" : "cfd1c1f4-b0a8-47cd-86c5-bab0892beaf1",
  56.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.59%3A5060",
  57.                         "sip_term_cause" : 16,
  58.                         "ignore_early_media" : true,
  59.                         "waitusec" : 7220288,
  60.                         "sip_to_user" : NumberLong(9133841262),
  61.                         "rtp_last_audio_codec_string" : "PCMA%408000h%4020i%401c",
  62.                         "rtp_audio_in_packet_count" : 3059,
  63.                         "rtp_audio_in_jitter_packet_count" : 0,
  64.                         "last_arg" : "lua/sdk/outgoing-release-2.6.lua",
  65.                         "sip_invite_params" : "user%3Dphone",
  66.                         "end_uepoch" : NumberLong(1622059912889060),
  67.                         "rtp_use_codec_name" : "PCMA",
  68.                         "answer_uepoch" : NumberLong(1622059821509053),
  69.                         "record_seconds" : 58,
  70.                         "start_uepoch" : NumberLong(1622059816069057),
  71.                         "waitsec" : 7,
  72.                         "flow_billsec" : 96,
  73.                         "sip_call_id" : "3a4a35f1-3901-123a-2ba1-e2c0dddf903e",
  74.                         "sip_full_from" : "%22%22%20%3Csip%3A0000000000%4092.119.230.59%3Buser%3Dphone%3E%3Btag%3DHcepa0752Nvjg",
  75.                         "bridge_stamp" : "2021-05-26%2020%3A10%3A23",
  76.                         "sip_hangup_disposition" : "recv_bye",
  77.                         "read_rate" : 8000,
  78.                         "rtp_audio_in_skip_packet_count" : 4,
  79.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3D-%2010676174%2010676174%20IN%20IP4%20195.239.90.136%0D%0As%3DSBC%20call%0D%0Ac%3DIN%20IP4%20195.239.90.136%0D%0At%3D0%200%0D%0Aa%3Dsendrecv%0D%0Am%3Daudio%2048038%20RTP/AVP%208%20101%0D%0Ac%3DIN%20IP4%20195.239.90.136%0D%0Ab%3DBW-X%3A0%0D%0Ab%3DBW-X%3A0%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dmaxptime%3A40%0D%0A",
  80.                         "sip_recover_via" : "SIP/2.0/UDP%2092.119.230.59%3Bbranch%3Dz9hG4bK0ejtBjXaX7UaF%3Brport%3D5060",
  81.                         "rtp_audio_rtcp_octet_count" : 0,
  82.                         "sip_reply_host" : "195.239.90.71",
  83.                         "billmsec" : 91380,
  84.                         "record_samples" : 469120,
  85.                         "answer_stamp" : "2021-05-26%2020%3A10%3A21",
  86.                         "session_id" : 94685,
  87.                         "progress_stamp" : "2021-05-26%2020%3A10%3A18",
  88.                         "hold_accum_seconds" : 0,
  89.                         "last_hold_epoch" : 0,
  90.                         "sip_bye_h_X-Ivoice-BridgeDestination" : "sofia/internal/3833159799%40178.49.140.227",
  91.                         "progresssec" : 2,
  92.                         "sip_cseq" : 36476116,
  93.                         "current_application" : "lua",
  94.                         "hangup_cause" : "NORMAL_CLEARING",
  95.                         "hangup_cause_q850" : 16,
  96.                         "resurrect_epoch" : 0,
  97.                         "rtp_audio_in_flaw_total" : 1,
  98.                         "advertised_media_ip" : "92.119.230.59",
  99.                         "SleepTime" : 1500,
  100.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_big-caller",
  101.                         "hold_accum_ms" : 0,
  102.                         "rtp_audio_out_packet_count" : 2879,
  103.                         "sip_contact_user" : "nobody",
  104.                         "start_stamp" : "2021-05-26%2020%3A10%3A16",
  105.                         "sip_invite_to_params" : "user%3Dphone",
  106.                         "rtp_audio_recv_pt" : 8,
  107.                         "progress_media_uepoch" : NumberLong(1622059816509052),
  108.                         "rtp_use_codec_string" : "PCMU,PCMA",
  109.                         "progressmsec" : 2440,
  110.                         "bridge_hangup_cause" : "NORMAL_CLEARING",
  111.                         "rtp_audio_out_dtmf_packet_count" : 0,
  112.                         "proto_specific_hangup_cause" : "sip%3A200",
  113.                         "rtp_audio_in_mos" : 4.49,
  114.                         "last_sent_callee_id_name" : "Outbound%20Call",
  115.                         "sip_local_network_addr" : "92.119.230.59",
  116.                         "rtp_audio_out_media_bytes" : 495188,
  117.                         "rtp_use_timer_name" : "soft",
  118.                         "Campaign" : "60ae24dc3bea510001e351fa",
  119.                         "text_media_flow" : "disabled",
  120.                         "sip_term_status" : 200,
  121.                         "answermsec" : 5440,
  122.                         "sip_profile_name" : "gateway",
  123.                         "sofia_profile_name" : "external",
  124.                         "sip_from_tag" : "Hcepa0752Nvjg",
  125.                         "rtp_audio_in_jitter_burst_rate" : 1,
  126.                         "resurrect_uepoch" : 0,
  127.                         "last_bridge_to" : "9df469c7-8f14-4d3b-8225-475a6043b140",
  128.                         "recovery_profile_name" : "external",
  129.                         "sip_bye_h_X-RestComm-CallSid" : "ID11f0bb64e3684c0aa59ac86d15678d8b-CA2ed3c6c36b1a428ebb0c48bc74b4e62d",
  130.                         "progress_mediamsec" : 440,
  131.                         "sip_from_user" : "0000000000",
  132.                         "duration" : 96,
  133.                         "sip_contact_uri" : "nobody%40195.239.90.71%3A5060",
  134.                         "local_media_port" : 59896,
  135.                         "remote_audio_media_flow" : "sendrecv",
  136.                         "audio_media_flow" : "sendrecv",
  137.                         "flow_billusec" : 96820003,
  138.                         "local_media_ip" : "92.119.230.59",
  139.                         "rtp_audio_in_jitter_loss_rate" : 0,
  140.                         "sip_from_uri" : "0000000000%4092.119.230.59",
  141.                         "ScenarioParametersApiHost" : "small-apps11-back",
  142.                         "endpoint_disposition" : "ANSWER",
  143.                         "sip_contact_host" : "195.239.90.71",
  144.                         "rtp_audio_in_mean_interval" : 20.01,
  145.                         "sip_reply_port" : 5060,
  146.                         "sip_invite_route_uri" : "%3Csip%3A195.239.90.71%3A5060%3Btransport%3Dudp%3Blr%3BHpt%3D8eb8_116%3BCxtId%3D3%3BTRC%3Dffffffff-ffffffff%3BX-HwB2bUaCookie%3D9996%3E",
  147.                         "end_stamp" : "2021-05-26%2020%3A11%3A52",
  148.                         "leg_timeout" : 30,
  149.                         "waitmsec" : 7220,
  150.                         "current_application_data" : "lua/sdk/outgoing-release-2.6.lua",
  151.                         "rtp_audio_out_raw_bytes" : 495188,
  152.                         "progress_uepoch" : NumberLong(1622059818509054),
  153.                         "progress_media_stamp" : "2021-05-26%2020%3A10%3A16",
  154.                         "rtp_use_codec_ptime" : 20,
  155.                         "record_file_size" : 1876524,
  156.                         "answersec" : 5,
  157.                         "rtp_audio_in_jitter_max_variance" : 10.35,
  158.                         "sip_full_to" : "%3Csip%3A9133841262%40195.239.90.71%3A5060%3Buser%3Dphone%3E%3Btag%3D03001428365433",
  159.                         "max_forwards" : 70,
  160.                         "sip_network_ip" : "195.239.90.71",
  161.                         "sip_from_host" : "92.119.230.59",
  162.                         "rtp_audio_in_dtmf_packet_count" : 0,
  163.                         "remote_media_port" : 48038,
  164.                         "last_sent_callee_id_number" : "outgoingSolution%3FtaskId%3D60aeab273bea5100071e8697%26callUuid%3Dcfd1c1f4-b0a8-47cd-86c5-bab0892beaf1%26callTaskServiceHost%3Dsmall-apps11-back%26callTaskServicePort%3D8101%26scenarioResultTopic%3Dscenario_result_sdk_v2_big-caller%26sleepBeforeScenarioMs%3D1500",
  165.                         "sip_network_port" : 5060,
  166.                         "pre_transfer_caller_id_number" : "0000000000",
  167.                         "progress_mediasec" : 0,
  168.                         "rtp_use_codec_channels" : 1,
  169.                         "sip_recover_contact" : "%3Csip%3A195.239.90.71%3A5060%3Btransport%3Dudp%3BHpt%3D8eb8_16%3BCxtId%3D3%3BTRC%3Dffffffff-ffffffff%3E",
  170.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201621999920%201621999921%20IN%20IP4%2092.119.230.59%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.59%0D%0At%3D0%200%0D%0Am%3Daudio%2059896%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dsendrecv%0D%0A",
  171.                         "record_completion_cause" : "success-silence",
  172.                         "answerusec" : 5439996,
  173.                         "sip_req_uri" : "9133841262%40195.239.90.71%3A5060%3Buser%3Dphone",
  174.                         "profile_start_uepoch" : NumberLong(1622059821509053),
  175.                         "RECORD_STEREO" : true,
  176.                         "rtp_audio_in_raw_bytes" : 526148,
  177.                         "rtp_audio_rtcp_packet_count" : 0,
  178.                         "bridge_epoch" : 1622059823,
  179.                         "bridge_uepoch" : NumberLong(1622059823289345),
  180.                         "write_rate" : 8000,
  181.                         "billusec" : 91380007,
  182.                         "answer_epoch" : 1622059821,
  183.                         "sip_cid_type" : "none",
  184.                         "call_uuid" : "a6df97f5-ba23-4441-a039-86412df77c49",
  185.                         "rtp_audio_out_skip_packet_count" : 0,
  186.                         "sip_full_via" : "SIP/2.0/UDP%2092.119.230.59%3Bbranch%3Dz9hG4bK0ejtBjXaX7UaF%3Brport%3D5060",
  187.                         "channel_name" : "sofia/external/9133841262",
  188.                         "rtp_audio_out_cng_packet_count" : 0,
  189.                         "sip_to_params" : "user%3Dphone",
  190.                         "progress_epoch" : 1622059818,
  191.                         "mduration" : 96820,
  192.                         "last_bridge_hangup_cause" : "NORMAL_CLEARING",
  193.                         "record_ms" : 58640,
  194.                         "remote_media_ip" : "195.239.90.136",
  195.                         "ep_codec_string" : "CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b",
  196.                         "sip_invite_from_params" : "user%3Dphone",
  197.                         "rtp_use_pt" : 8,
  198.                         "rtp_audio_in_largest_jb_size" : 0,
  199.                         "rtp_audio_in_media_bytes" : 508260,
  200.                         "transfer_source" : "1622059821%3A4343276a-5ac5-4df5-b0b7-6b3deb3cf0ab%3Abl_xfer%3Aext/outgoing-release-2-6-ms3/XML",
  201.                         "rtp_audio_in_cng_packet_count" : 0,
  202.                         "last_hold_uepoch" : 0,
  203.                         "uduration" : 96820003,
  204.                         "rtp_audio_in_quality_percentage" : 99,
  205.                         "rtp_use_codec_rate" : 8000,
  206.                         "ScenarioParametersApiPort" : 8101,
  207.                         "uuid" : "a6df97f5-ba23-4441-a039-86412df77c49",
  208.                         "sip_gateway_name" : "beeline-avis",
  209.                         "sip_destination_url" : "sip%3A9133841262%40195.239.90.71%3A5060",
  210.                         "sip_to_uri" : "9133841262%40195.239.90.71%3A5060",
  211.                         "sip_from_params" : "user%3Dphone",
  212.                         "read_codec" : "PCMA",
  213.                         "rtp_use_ssrc" : NumberLong(3501218960),
  214.                         "Client" : "5ef16a70f2297c0001c13246",
  215.                         "billsec" : 91,
  216.                         "progress_media_epoch" : 1622059816,
  217.                         "rtp_2833_recv_payload" : 101,
  218.                         "CallTaskId" : "60aeab273bea5100071e8697",
  219.                         "end_epoch" : 1622059912,
  220.                         "profile_start_stamp" : "2021-05-26%2020%3A10%3A21",
  221.                         "caller_id" : "%22Outbound%20Call%22%20%3C9133841262%3E",
  222.                         "progressusec" : 2439997,
  223.                         "originate_early_media" : false,
  224.                         "SipServlet" : "sipservlet_ms3",
  225.                         "sip_outgoing_contact_uri" : "%3Csip%3Agw%2Bbeeline-avis%4092.119.230.59%3A5060%3Btransport%3Dudp%3Bgw%3Dbeeline-avis%3E",
  226.                         "sip_contact_port" : 5060,
  227.                         "flow_billmsec" : 96820,
  228.                         "bridge_channel" : "sofia/external/outgoingSolution%3FtaskId%3D60aeab273bea5100071e8697%26callUuid%3Dcfd1c1f4-b0a8-47cd-86c5-bab0892beaf1%26callTaskServiceHost%3Dsmall-apps11-back%26callTaskServicePort%3D8101%26scenarioResultTopic%3Dscenario_result_sdk_v2_big-caller%26sleepBeforeScenarioMs%3D1500",
  229.                         "dtmf_type" : "rfc2833",
  230.                         "sip_allow" : "INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20PRACK,%20UPDATE",
  231.                         "rtp_audio_in_media_packet_count" : 2955,
  232.                         "direction" : "outbound",
  233.                         "video_media_flow" : "disabled",
  234.                         "sip_contact_params" : "transport%3Dudp%3BHpt%3D8eb8_16%3BCxtId%3D3%3BTRC%3Dffffffff-ffffffff",
  235.                         "sip_invite_record_route" : "%3Csip%3A195.239.90.71%3A5060%3Btransport%3Dudp%3Blr%3BHpt%3D8eb8_116%3BCxtId%3D3%3BTRC%3Dffffffff-ffffffff%3BX-HwB2bUaCookie%3D9996%3E",
  236.                         "sip_to_tag" : "03001428365433",
  237.                         "sip_to_port" : 5060,
  238.                         "rtp_audio_out_media_packet_count" : 2879,
  239.                         "digits_dialed" : "none",
  240.                         "signal_bond" : "9df469c7-8f14-4d3b-8225-475a6043b140",
  241.                         "progress_mediausec" : 439995,
  242.                         "last_app" : "lua",
  243.                         "is_outbound" : true,
  244.                         "rtp_audio_in_jitter_min_variance" : 1.47,
  245.                         "hangup_complete_with_xml" : true,
  246.                         "original_read_codec" : "PCMA",
  247.                         "last_bridge_proto_specific_hangup_cause" : "sip%3A200",
  248.                         "rtp_audio_in_flush_packet_count" : 104
  249.                     },
  250.                     "callflow" : [
  251.                         {
  252.                             "extension" : {
  253.                                 "number" : "ext",
  254.                                 "application" : [
  255.                                     {
  256.                                         "app_name" : "log",
  257.                                         "app_data" : "INFO sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid}; ScenarioResultTopic=${ScenarioResultTopic}; ScenarioParametersApiHost=${ScenarioParametersApiHost}; ScenarioParametersApiPort=${ScenarioParametersApiPort}"
  258.                                     },
  259.                                     {
  260.                                         "app_name" : "wait_for_answer",
  261.                                         "app_data" : ""
  262.                                     },
  263.                                     {
  264.                                         "app_name" : "sched_hangup",
  265.                                         "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  266.                                     },
  267.                                     {
  268.                                         "app_name" : "set",
  269.                                         "app_data" : "RECORD_STEREO=true"
  270.                                     },
  271.                                     {
  272.                                         "app_name" : "record_session",
  273.                                         "app_data" : "/var/lib/freeswitch/recordings/${Client}/${Campaign}/${CallTaskId}.wav"
  274.                                     },
  275.                                     {
  276.                                         "app_name" : "set",
  277.                                         "app_data" : "SleepTime=1500"
  278.                                     },
  279.                                     {
  280.                                         "app_name" : "sleep",
  281.                                         "app_data" : "${SleepTime}"
  282.                                     },
  283.                                     {
  284.                                         "app_name" : "set",
  285.                                         "app_data" : "SipServlet=sipservlet_ms3"
  286.                                     },
  287.                                     {
  288.                                         "app_name" : "set_audio_level",
  289.                                         "app_data" : "read 2"
  290.                                     },
  291.                                     {
  292.                                         "app_name" : "set_audio_level",
  293.                                         "app_data" : "write 2"
  294.                                     },
  295.                                     {
  296.                                         "app_name" : "lua",
  297.                                         "app_data" : "lua/sdk/outgoing-release-2.6.lua"
  298.                                     }
  299.                                 ],
  300.                                 "name" : "ext"
  301.                             },
  302.                             "times" : {
  303.                                 "progress_time" : NumberLong(1622059818509054),
  304.                                 "created_time" : NumberLong(1622059816069057),
  305.                                 "hold_accum_time" : 0,
  306.                                 "resurrect_time" : 0,
  307.                                 "answered_time" : NumberLong(1622059821509053),
  308.                                 "transfer_time" : 0,
  309.                                 "bridged_time" : NumberLong(1622059823289345),
  310.                                 "hangup_time" : NumberLong(1622059912889060),
  311.                                 "progress_media_time" : NumberLong(1622059816509052),
  312.                                 "profile_created_time" : NumberLong(1622059821509053),
  313.                                 "last_hold_time" : 0
  314.                             },
  315.                             "profile_index" : 2,
  316.                             "dialplan" : "XML",
  317.                             "clone-of" : "f4583100-acd3-4112-ba4f-2685cbd95724",
  318.                             "caller_profile" : {
  319.                                 "caller_id_name" : "Outbound Call",
  320.                                 "transfer_source" : "1622059821:4343276a-5ac5-4df5-b0b7-6b3deb3cf0ab:bl_xfer:ext/outgoing-release-2-6-ms3/XML",
  321.                                 "destination_number" : "ext",
  322.                                 "device_id" : "",
  323.                                 "chan_name" : "sofia/external/9133841262",
  324.                                 "dialplan" : "XML",
  325.                                 "callee_id_number" : "outgoingSolution?taskId=60aeab273bea5100071e8697&callUuid=cfd1c1f4-b0a8-47cd-86c5-bab0892beaf1&callTaskServiceHost=small-apps11-back&callTaskServicePort=8101&scenarioResultTopic=scenario_result_sdk_v2_big-caller&sleepBeforeScenarioMs=1500",
  326.                                 "source" : "src/switch_ivr_originate.c",
  327.                                 "network_addr" : "195.239.90.71",
  328.                                 "uuid" : "a6df97f5-ba23-4441-a039-86412df77c49",
  329.                                 "callee_id_name" : "Outbound Call",
  330.                                 "rdnis" : NumberLong(9133841262),
  331.                                 "aniii" : "",
  332.                                 "context" : "outgoing-release-2-6-ms3",
  333.                                 "caller_id_number" : NumberLong(9133841262),
  334.                                 "ani" : "0000000000",
  335.                                 "username" : ""
  336.                             },
  337.                             "unique-id" : "4343276a-5ac5-4df5-b0b7-6b3deb3cf0ab"
  338.                         },
  339.                         {
  340.                             "times" : {
  341.                                 "progress_time" : NumberLong(1622059818509054),
  342.                                 "created_time" : NumberLong(1622059816069057),
  343.                                 "hold_accum_time" : 0,
  344.                                 "resurrect_time" : 0,
  345.                                 "answered_time" : NumberLong(1622059821509053),
  346.                                 "transfer_time" : NumberLong(1622059821509053),
  347.                                 "bridged_time" : 0,
  348.                                 "hangup_time" : 0,
  349.                                 "progress_media_time" : NumberLong(1622059816509052),
  350.                                 "profile_created_time" : NumberLong(1622059816069057),
  351.                                 "last_hold_time" : 0
  352.                             },
  353.                             "profile_index" : 1,
  354.                             "clone-of" : "3a036cfa-4305-452c-9ee2-4d6d9b84713b",
  355.                             "caller_profile" : {
  356.                                 "caller_id_name" : "",
  357.                                 "destination_number" : NumberLong(9133841262),
  358.                                 "device_id" : "",
  359.                                 "chan_name" : "sofia/external/9133841262",
  360.                                 "dialplan" : "",
  361.                                 "callee_id_number" : NumberLong(9133841262),
  362.                                 "source" : "src/switch_ivr_originate.c",
  363.                                 "network_addr" : "195.239.90.71",
  364.                                 "uuid" : "a6df97f5-ba23-4441-a039-86412df77c49",
  365.                                 "callee_id_name" : "Outbound Call",
  366.                                 "rdnis" : "",
  367.                                 "aniii" : "",
  368.                                 "context" : "default",
  369.                                 "caller_id_number" : "0000000000",
  370.                                 "ani" : "0000000000",
  371.                                 "username" : ""
  372.                             },
  373.                             "unique-id" : "f4583100-acd3-4112-ba4f-2685cbd95724"
  374.                         }
  375.                     ],
  376.                     "core-uuid" : "327ea7a2-7bef-4672-a9ac-c402b5a49c79",
  377.                     "channel_data" : {
  378.                         "state_number" : 11,
  379.                         "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;165=1;166=1",
  380.                         "state" : "CS_REPORTING",
  381.                         "direction" : "outbound",
  382.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  383.                     },
  384.                     "app_log" : {
  385.                         "application" : [
  386.                             {
  387.                                 "app_name" : "log",
  388.                                 "app_stamp" : NumberLong(1622059821524280),
  389.                                 "app_data" : "INFO sip-system passed vars: ClientId=5ef16a70f2297c0001c13246; CampaignId=60ae24dc3bea510001e351fa; CallTaskId=60aeab273bea5100071e8697; CallingSystemCallUuid=cfd1c1f4-b0a8-47cd-86c5-bab0892beaf1; ScenarioResultTopic=scenario_result_sdk_v2_big-caller; ScenarioParametersApiHost=small-apps11-back; ScenarioParametersApiPort=8101"
  390.                             },
  391.                             {
  392.                                 "app_name" : "wait_for_answer",
  393.                                 "app_stamp" : NumberLong(1622059821524470),
  394.                                 "app_data" : ""
  395.                             },
  396.                             {
  397.                                 "app_name" : "sched_hangup",
  398.                                 "app_stamp" : NumberLong(1622059821524635),
  399.                                 "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  400.                             },
  401.                             {
  402.                                 "app_name" : "set",
  403.                                 "app_stamp" : NumberLong(1622059821524844),
  404.                                 "app_data" : "RECORD_STEREO=true"
  405.                             },
  406.                             {
  407.                                 "app_name" : "record_session",
  408.                                 "app_stamp" : NumberLong(1622059821525013),
  409.                                 "app_data" : "/var/lib/freeswitch/recordings/5ef16a70f2297c0001c13246/60ae24dc3bea510001e351fa/60aeab273bea5100071e8697.wav"
  410.                             },
  411.                             {
  412.                                 "app_name" : "set",
  413.                                 "app_stamp" : NumberLong(1622059821538491),
  414.                                 "app_data" : "SleepTime=1500"
  415.                             },
  416.                             {
  417.                                 "app_name" : "sleep",
  418.                                 "app_stamp" : NumberLong(1622059821538756),
  419.                                 "app_data" : 1500
  420.                             },
  421.                             {
  422.                                 "app_name" : "set",
  423.                                 "app_stamp" : NumberLong(1622059823059466),
  424.                                 "app_data" : "SipServlet=sipservlet_ms3"
  425.                             },
  426.                             {
  427.                                 "app_name" : "set_audio_level",
  428.                                 "app_stamp" : NumberLong(1622059823059712),
  429.                                 "app_data" : "read 2"
  430.                             },
  431.                             {
  432.                                 "app_name" : "set_audio_level",
  433.                                 "app_stamp" : NumberLong(1622059823060072),
  434.                                 "app_data" : "write 2"
  435.                             },
  436.                             {
  437.                                 "app_name" : "lua",
  438.                                 "app_stamp" : NumberLong(1622059823060333),
  439.                                 "app_data" : "lua/sdk/outgoing-release-2.6.lua"
  440.                             }
  441.                         ]
  442.                     },
  443.                     "switchname" : "beeline-vis",
  444.                     "call-stats" : {
  445.                         "audio" : {
  446.                             "inbound" : {
  447.                                 "media_packet_count" : 2955,
  448.                                 "cng_packet_count" : 0,
  449.                                 "jitter_min_variance" : 1.47,
  450.                                 "skip_packet_count" : 4,
  451.                                 "mean_interval" : 20.01,
  452.                                 "dtmf_packet_count" : 0,
  453.                                 "jitter_loss_rate" : 0,
  454.                                 "jitter_burst_rate" : 1,
  455.                                 "flaw_total" : 1,
  456.                                 "quality_percentage" : 99,
  457.                                 "mos" : 4.49,
  458.                                 "largest_jb_size" : 0,
  459.                                 "packet_count" : 3059,
  460.                                 "jitter_max_variance" : 10.35,
  461.                                 "media_bytes" : 508260,
  462.                                 "jitter_packet_count" : 0,
  463.                                 "raw_bytes" : 526148,
  464.                                 "flush_packet_count" : 104
  465.                             },
  466.                             "outbound" : {
  467.                                 "media_packet_count" : 2879,
  468.                                 "cng_packet_count" : 0,
  469.                                 "skip_packet_count" : 0,
  470.                                 "dtmf_packet_count" : 0,
  471.                                 "rtcp_packet_count" : 0,
  472.                                 "packet_count" : 2879,
  473.                                 "media_bytes" : 495188,
  474.                                 "rtcp_octet_count" : 0,
  475.                                 "raw_bytes" : 495188
  476.                             },
  477.                             "error-log" : {
  478.                                 "error-period" : {
  479.                                     "consecutive-flaws" : 0,
  480.                                     "duration-msec" : 3020,
  481.                                     "stop" : NumberLong(1622059846089058),
  482.                                     "start" : NumberLong(1622059843069051),
  483.                                     "flaws" : 0
  484.                                 }
  485.                             }
  486.                         }
  487.                     }
  488.                 },
  489.                 "callUuid" : "cfd1c1f4-b0a8-47cd-86c5-bab0892beaf1",
  490.                 "callTaskId" : "60aeab273bea5100071e8697"
  491.             }
  492.         }
  493.     ],
  494.     "parameters" : {},
  495.     "nextAttemptTimestamp" : NumberLong(0),
  496.     "results" : {},
  497.     "ringingMillis" : NumberLong(0),
  498.     "talkMillis" : NumberLong(91380),
  499.     "reportParameters" : {},
  500.     "created" : NumberLong(1622059815),
  501.     "reported" : false,
  502.     "testing" : false,
  503.     "performedTimestamp" : NumberLong(1622059912),
  504.     "sumConsume" : 0.0,
  505.     "processingEvents" : [
  506.         {
  507.             "timestampSecUtc" : NumberLong(1622059816),
  508.             "dateTimeFormatted" : "26.05.21 20:10",
  509.             "author" : "calling-system",
  510.             "event" : "call initiated: OutgoingCall(uuid=cfd1c1f4-b0a8-47cd-86c5-bab0892beaf1, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-beeline-vis-release-2-3-2, responseTopic=calling-system-orig-result-big-caller, scenarioResultTopic=scenario_result_sdk_v2_big-caller, scenarioParametersApiHost=small-apps11-back, scenarioParametersApiPort=8101, callUrl=sofia/gateway/beeline-avis/9133841262 ext XML outgoing-release-2-6-ms3, createdUtcMs=1622059816068, callUuid=cfd1c1f4-b0a8-47cd-86c5-bab0892beaf1, callTaskUuid=60aeab273bea5100071e8697, client=5ef16a70f2297c0001c13246, campaign=60ae24dc3bea510001e351fa, originateParameters={sip_cid_type=none, sip_invite_from_params=user=phone, sip_invite_to_params=user=phone, sip_invite_params=user=phone}, sipSystemParameters=null, originateTimeoutSec=30, sipServletHost=null), originateResult=null, systemError=null, cdr=null, talkMillis=0, hangupByAmd=false, amdScenarioResult=null); transition to DIALING; message to kafka to call task is about to be sent"
  511.         },
  512.         {
  513.             "timestampSecUtc" : NumberLong(1622059821),
  514.             "dateTimeFormatted" : "26.05.21 20:10",
  515.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  516.             "event" : "got call answered event, try transition to ONGOING"
  517.         },
  518.         {
  519.             "timestampSecUtc" : NumberLong(1622059880),
  520.             "dateTimeFormatted" : "26.05.21 20:11",
  521.             "author" : "SCENARIO_RESULT",
  522.             "event" : "transition to PERFORMED on call answered"
  523.         },
  524.         {
  525.             "timestampSecUtc" : NumberLong(1622059912932),
  526.             "dateTimeFormatted" : "26.05.21 20:11",
  527.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  528.             "event" : "CDR_RECEIVED",
  529.             "parameters" : {
  530.                 "nextState" : "PERFORMED",
  531.                 "talkMillis" : NumberLong(91380)
  532.             }
  533.         },
  534.         {
  535.             "timestampSecUtc" : NumberLong(1622507336),
  536.             "dateTimeFormatted" : "01.06.21 00:28",
  537.             "author" : "tech.ivoice.platform.billing.core.service.impl.CallTaskBillingServiceImpl",
  538.             "event" : "BILLING",
  539.             "parameters" : {
  540.                 "ivoiceBilling" : {
  541.                     "ASR_POST_IVOICE" : {
  542.                         "vendorsResources" : [
  543.                             "THREEITECH_ASR",
  544.                             "YANDEX_ASR",
  545.                             "NLAB_ASR"
  546.                         ],
  547.                         "ivoiceResource" : {
  548.                             "name" : "ASR_POST_IVOICE",
  549.                             "legalName" : "asr post slots",
  550.                             "legalNameRu" : "слоты пост распознования"
  551.                         },
  552.                         "amount" : NumberLong(5),
  553.                         "cost" : NumberLong(5),
  554.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  555.                     },
  556.                     "ASR_REALTIME_IVOICE" : {
  557.                         "vendorsResources" : [
  558.                             "GOOGLE_ASR"
  559.                         ],
  560.                         "ivoiceResource" : {
  561.                             "name" : "ASR_REALTIME_IVOICE",
  562.                             "legalName" : "asr real time slots",
  563.                             "legalNameRu" : "слоты реалтайм распознования"
  564.                         },
  565.                         "amount" : NumberLong(0),
  566.                         "cost" : NumberLong(0),
  567.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  568.                     },
  569.                     "DIALOG_TIME" : {
  570.                         "vendorsResources" : [
  571.                             "DIALOG_TIME"
  572.                         ],
  573.                         "ivoiceResource" : {
  574.                             "name" : "DIALOG_TIME",
  575.                             "legalName" : "dialog time",
  576.                             "legalNameRu" : "время разговора"
  577.                         },
  578.                         "amount" : NumberLong(92),
  579.                         "cost" : NumberLong(92),
  580.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  581.                     },
  582.                     "TTS_EASY" : {
  583.                         "vendorsResources" : [
  584.                             "AMAZON_TTS_EASY",
  585.                             "GOOGLE_TTS_EASY",
  586.                             "YANDEX_TTS_EASY",
  587.                             "AZURE_TTS_EASY"
  588.                         ],
  589.                         "ivoiceResource" : {
  590.                             "name" : "TTS_EASY",
  591.                             "legalName" : "tts easy symbols",
  592.                             "legalNameRu" : "символы генерации стандарт"
  593.                         },
  594.                         "amount" : NumberLong(135),
  595.                         "cost" : NumberLong(135),
  596.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  597.                     },
  598.                     "SMS_IVOICE" : {
  599.                         "vendorsResources" : [
  600.                             "IVOICE_SMS_SERVICE"
  601.                         ],
  602.                         "ivoiceResource" : {
  603.                             "name" : "SMS_IVOICE",
  604.                             "legalName" : "sms",
  605.                             "legalNameRu" : "смс"
  606.                         },
  607.                         "amount" : NumberLong(0),
  608.                         "cost" : NumberLong(0),
  609.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  610.                     },
  611.                     "TTS_PREMIUM" : {
  612.                         "vendorsResources" : [
  613.                             "AMAZON_TTS_PREMIUM",
  614.                             "GOOGLE_TTS_PREMIUM",
  615.                             "YANDEX_TTS_PREMIUM",
  616.                             "AZURE_TTS_PREMIUM"
  617.                         ],
  618.                         "ivoiceResource" : {
  619.                             "name" : "TTS_PREMIUM",
  620.                             "legalName" : "tts premium symbols",
  621.                             "legalNameRu" : "символы генерации премиум"
  622.                         },
  623.                         "amount" : NumberLong(0),
  624.                         "cost" : NumberLong(0),
  625.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  626.                     },
  627.                     "AMD_IVOICE" : {
  628.                         "vendorsResources" : [
  629.                             "IVOICE_AMD"
  630.                         ],
  631.                         "ivoiceResource" : {
  632.                             "name" : "AMD_IVOICE",
  633.                             "legalName" : "amd",
  634.                             "legalNameRu" : "амд"
  635.                         },
  636.                         "amount" : NumberLong(0),
  637.                         "cost" : NumberLong(0),
  638.                         "_class" : "tech.ivoice.common.model.billing.v3.IvoiceBilling"
  639.                     }
  640.                 },
  641.                 "vendorsAccounting" : {
  642.                     "GOOGLE_ASR" : {
  643.                         "vendor" : "GOOGLE_ASR",
  644.                         "units" : NumberLong(0),
  645.                         "asrSessions" : [],
  646.                         "cost" : NumberLong(0),
  647.                         "vendorDetails" : [],
  648.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  649.                     },
  650.                     "THREEITECH_ASR" : {
  651.                         "vendor" : "THREEITECH_ASR",
  652.                         "units" : NumberLong(0),
  653.                         "asrSessions" : [],
  654.                         "cost" : NumberLong(0),
  655.                         "vendorDetails" : [],
  656.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  657.                     },
  658.                     "IVOICE_AMD" : {
  659.                         "vendor" : "IVOICE_AMD",
  660.                         "units" : NumberLong(0),
  661.                         "asrSessions" : [],
  662.                         "cost" : NumberLong(0),
  663.                         "vendorDetails" : [],
  664.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  665.                     },
  666.                     "GOOGLE_TTS_PREMIUM" : {
  667.                         "vendor" : "GOOGLE_TTS_PREMIUM",
  668.                         "units" : NumberLong(0),
  669.                         "asrSessions" : [],
  670.                         "cost" : NumberLong(0),
  671.                         "vendorDetails" : [],
  672.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  673.                     },
  674.                     "NLAB_ASR" : {
  675.                         "vendor" : "NLAB_ASR",
  676.                         "units" : NumberLong(0),
  677.                         "asrSessions" : [],
  678.                         "cost" : NumberLong(0),
  679.                         "vendorDetails" : [],
  680.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  681.                     },
  682.                     "YANDEX_TTS_EASY" : {
  683.                         "vendor" : "YANDEX_TTS_EASY",
  684.                         "units" : NumberLong(135),
  685.                         "asrSessions" : [],
  686.                         "cost" : NumberLong(135),
  687.                         "vendorDetails" : [
  688.                             {
  689.                                 "vendor" : "YANDEX_TTS",
  690.                                 "vendorType" : "TTS",
  691.                                 "service" : "TTS_YANDEX_V3",
  692.                                 "serviceKeyName" : "YANDEX_API_KEY_ID",
  693.                                 "serviceKeyValue" : "aje3e7p63o8t6qs5mjad"
  694.                             }
  695.                         ],
  696.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  697.                     },
  698.                     "IVOICE_SMS_SERVICE" : {
  699.                         "vendor" : "IVOICE_SMS_SERVICE",
  700.                         "units" : NumberLong(0),
  701.                         "asrSessions" : [],
  702.                         "cost" : NumberLong(0),
  703.                         "vendorDetails" : [],
  704.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  705.                     },
  706.                     "YANDEX_TTS_PREMIUM" : {
  707.                         "vendor" : "YANDEX_TTS_PREMIUM",
  708.                         "units" : NumberLong(0),
  709.                         "asrSessions" : [],
  710.                         "cost" : NumberLong(0),
  711.                         "vendorDetails" : [],
  712.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  713.                     },
  714.                     "AZURE_TTS_EASY" : {
  715.                         "vendor" : "AZURE_TTS_EASY",
  716.                         "units" : NumberLong(0),
  717.                         "asrSessions" : [],
  718.                         "cost" : NumberLong(0),
  719.                         "vendorDetails" : [],
  720.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  721.                     },
  722.                     "AMAZON_TTS_PREMIUM" : {
  723.                         "vendor" : "AMAZON_TTS_PREMIUM",
  724.                         "units" : NumberLong(0),
  725.                         "asrSessions" : [],
  726.                         "cost" : NumberLong(0),
  727.                         "vendorDetails" : [],
  728.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  729.                     },
  730.                     "DIALOG_TIME" : {
  731.                         "vendor" : "DIALOG_TIME",
  732.                         "units" : NumberLong(92),
  733.                         "asrSessions" : [],
  734.                         "cost" : NumberLong(92),
  735.                         "vendorDetails" : [],
  736.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  737.                     },
  738.                     "GOOGLE_TTS_EASY" : {
  739.                         "vendor" : "GOOGLE_TTS_EASY",
  740.                         "units" : NumberLong(0),
  741.                         "asrSessions" : [],
  742.                         "cost" : NumberLong(0),
  743.                         "vendorDetails" : [],
  744.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  745.                     },
  746.                     "AMAZON_TTS_EASY" : {
  747.                         "vendor" : "AMAZON_TTS_EASY",
  748.                         "units" : NumberLong(0),
  749.                         "asrSessions" : [],
  750.                         "cost" : NumberLong(0),
  751.                         "vendorDetails" : [],
  752.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  753.                     },
  754.                     "YANDEX_ASR" : {
  755.                         "vendor" : "YANDEX_ASR",
  756.                         "units" : NumberLong(5),
  757.                         "asrSessions" : [
  758.                             NumberLong(10),
  759.                             NumberLong(5),
  760.                             NumberLong(10),
  761.                             NumberLong(9),
  762.                             NumberLong(3)
  763.                         ],
  764.                         "cost" : NumberLong(5),
  765.                         "vendorDetails" : [],
  766.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  767.                     },
  768.                     "AZURE_TTS_PREMIUM" : {
  769.                         "vendor" : "AZURE_TTS_PREMIUM",
  770.                         "units" : NumberLong(0),
  771.                         "asrSessions" : [],
  772.                         "cost" : NumberLong(0),
  773.                         "vendorDetails" : [],
  774.                         "_class" : "tech.ivoice.common.model.billing.v2.VendorsEventAggregator$VendorsAccounting"
  775.                     }
  776.                 }
  777.             }
  778.         }
  779.     ],
  780.     "fullCost" : NumberLong(0),
  781.     "ivoiceCost" : NumberLong(232),
  782.     "vendorsCost" : NumberLong(232),
  783.     "fullBilling" : true,
  784.     "aggregated" : false,
  785.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  786.     "scenarioResult" : {
  787.         "time" : ISODate("2021-05-26T20:11:20.852Z"),
  788.         "items" : [
  789.             {
  790.                 "time" : ISODate("2021-05-26T20:10:23.287Z"),
  791.                 "name" : "params",
  792.                 "value" : "nokbtest",
  793.                 "details" : {
  794.                     "sleepBeforeScenarioMs" : "1500",
  795.                     "bridgeBeforeScenario" : false,
  796.                     "phone" : "9133841262",
  797.                     "asrDriver" : "yandex",
  798.                     "campaignId" : "60ae24dc3bea510001e351fa",
  799.                     "callTaskId" : "60aeab273bea5100071e8697",
  800.                     "solutionName" : "nokbtest",
  801.                     "scenarioId" : "60ae24aff961227f55707c12",
  802.                     "callUuid" : "cfd1c1f4-b0a8-47cd-86c5-bab0892beaf1",
  803.                     "bridgeDestination" : "sofia/internal/3833159818@178.49.140.227"
  804.                 }
  805.             },
  806.             {
  807.                 "time" : ISODate("2021-05-26T20:10:36.215Z"),
  808.                 "name" : "Приветствие и меню",
  809.                 "value" : "3",
  810.                 "details" : {}
  811.             },
  812.             {
  813.                 "time" : ISODate("2021-05-26T20:10:46.633Z"),
  814.                 "name" : "Связать с отделением",
  815.                 "value" : "Тишина",
  816.                 "details" : {}
  817.             },
  818.             {
  819.                 "time" : ISODate("2021-05-26T20:10:57.653Z"),
  820.                 "name" : "Повторите название отделения",
  821.                 "value" : "Успешно",
  822.                 "details" : {}
  823.             },
  824.             {
  825.                 "time" : ISODate("2021-05-26T20:11:09.674Z"),
  826.                 "name" : "Хирургические отделения",
  827.                 "value" : "Успешно",
  828.                 "details" : {}
  829.             },
  830.             {
  831.                 "time" : ISODate("2021-05-26T20:11:17.074Z"),
  832.                 "name" : "Связать с отделением",
  833.                 "value" : "Да",
  834.                 "details" : {}
  835.             },
  836.             {
  837.                 "time" : ISODate("2021-05-26T20:11:20.831Z"),
  838.                 "name" : "hangup",
  839.                 "value" : "bridge",
  840.                 "details" : {
  841.                     "destination" : "sofia/internal/3833159799@178.49.140.227"
  842.                 }
  843.             }
  844.         ],
  845.         "log" : [
  846.             {
  847.                 "time" : ISODate("2021-05-26T20:10:23.288Z"),
  848.                 "text" : "start requesting option (3, 1, 2, 4, 5)",
  849.                 "context" : {
  850.                     "sid" : "c094d57f-c13e-4c3c-94b4-56c19bfa140e",
  851.                     "question" : "Приветствие и меню"
  852.                 }
  853.             },
  854.             {
  855.                 "time" : ISODate("2021-05-26T20:10:36.195Z"),
  856.                 "text" : "recognise option(3) on asr",
  857.                 "context" : {
  858.                     "sid" : "c094d57f-c13e-4c3c-94b4-56c19bfa140e",
  859.                     "question" : "Приветствие и меню",
  860.                     "recognition" : [
  861.                         {
  862.                             "text" : "отделение",
  863.                             "confidence" : 1.0
  864.                         }
  865.                     ]
  866.                 }
  867.             },
  868.             {
  869.                 "time" : ISODate("2021-05-26T20:10:46.633Z"),
  870.                 "text" : "recognise on asr failed",
  871.                 "context" : {
  872.                     "sid" : "6825d13e-6a01-4b5c-8bdd-35e1e2870ff8",
  873.                     "question" : "Связать с отделением",
  874.                     "cause" : "silence"
  875.                 }
  876.             },
  877.             {
  878.                 "time" : ISODate("2021-05-26T20:10:57.653Z"),
  879.                 "text" : "recognise text on asr",
  880.                 "context" : {
  881.                     "sid" : "117d0ffa-1f8d-417c-a20b-e92136073256",
  882.                     "question" : "Повторите название отделения",
  883.                     "recognition" : [
  884.                         {
  885.                             "text" : "Хирургия",
  886.                             "confidence" : 1.0
  887.                         }
  888.                     ]
  889.                 }
  890.             },
  891.             {
  892.                 "time" : ISODate("2021-05-26T20:11:09.674Z"),
  893.                 "text" : "recognise text on asr",
  894.                 "context" : {
  895.                     "sid" : "52707eef-7a0d-4d15-8b7c-789360d26080",
  896.                     "question" : "Хирургические отделения",
  897.                     "recognition" : [
  898.                         {
  899.                             "text" : "Нейрохирургия",
  900.                             "confidence" : 1.0
  901.                         }
  902.                     ]
  903.                 }
  904.             },
  905.             {
  906.                 "time" : ISODate("2021-05-26T20:11:09.674Z"),
  907.                 "text" : "start requesting option (no, yes)",
  908.                 "context" : {
  909.                     "sid" : "9c800356-4a8a-413d-9291-76ffc46ae2c4",
  910.                     "question" : "Связать с отделением"
  911.                 }
  912.             },
  913.             {
  914.                 "time" : ISODate("2021-05-26T20:11:17.053Z"),
  915.                 "text" : "recognise option(yes) on asr",
  916.                 "context" : {
  917.                     "sid" : "9c800356-4a8a-413d-9291-76ffc46ae2c4",
  918.                     "question" : "Связать с отделением",
  919.                     "recognition" : [
  920.                         {
  921.                             "text" : "да",
  922.                             "confidence" : 1.0
  923.                         }
  924.                     ]
  925.                 }
  926.             }
  927.         ],
  928.         "callId" : "cfd1c1f4-b0a8-47cd-86c5-bab0892beaf1",
  929.         "taskId" : "60aeab273bea5100071e8697",
  930.         "resourceSpentEvents" : [
  931.             {
  932.                 "amount" : {
  933.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  934.                 },
  935.                 "properties" : {
  936.                     "TTS_SERVICE_KEY" : []
  937.                 }
  938.             },
  939.             {
  940.                 "vendor" : "YANDEX_ASR",
  941.                 "amount" : {
  942.                     "SPEECH_TIME" : NumberLong(9925),
  943.                     "SPEECH_CHAR_COUNT" : NumberLong(9),
  944.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  945.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(9925)
  946.                 },
  947.                 "properties" : {
  948.                     "asrVendorServiceKey" : [
  949.                         {
  950.                             "vendor" : "YANDEX_ASR",
  951.                             "vendorType" : "ASR",
  952.                             "service" : "MS3",
  953.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  954.                             "serviceKeyValue" : "ajer2q7css5ndopscoc6",
  955.                             "properties" : null
  956.                         }
  957.                     ]
  958.                 }
  959.             },
  960.             {
  961.                 "vendor" : "YANDEX_TTS_EASY",
  962.                 "amount" : {
  963.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(106)
  964.                 },
  965.                 "properties" : {
  966.                     "TTS_SERVICE_KEY" : [
  967.                         {
  968.                             "vendor" : "YANDEX_TTS",
  969.                             "vendorType" : "TTS",
  970.                             "service" : "TTS_YANDEX_V3",
  971.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  972.                             "serviceKeyValue" : "aje3e7p63o8t6qs5mjad",
  973.                             "properties" : null
  974.                         }
  975.                     ]
  976.                 }
  977.             },
  978.             {
  979.                 "vendor" : "YANDEX_ASR",
  980.                 "amount" : {
  981.                     "SPEECH_TIME" : NumberLong(4537),
  982.                     "SPEECH_CHAR_COUNT" : NumberLong(0),
  983.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  984.                 },
  985.                 "properties" : {
  986.                     "asrVendorServiceKey" : [
  987.                         {
  988.                             "vendor" : "YANDEX_ASR",
  989.                             "vendorType" : "ASR",
  990.                             "service" : "MS3",
  991.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  992.                             "serviceKeyValue" : "ajer2q7css5ndopscoc6",
  993.                             "properties" : null
  994.                         }
  995.                     ]
  996.                 }
  997.             },
  998.             {
  999.                 "amount" : {
  1000.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  1001.                 },
  1002.                 "properties" : {
  1003.                     "TTS_SERVICE_KEY" : []
  1004.                 }
  1005.             },
  1006.             {
  1007.                 "vendor" : "YANDEX_ASR",
  1008.                 "amount" : {
  1009.                     "SPEECH_TIME" : NumberLong(9014),
  1010.                     "SPEECH_CHAR_COUNT" : NumberLong(8),
  1011.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  1012.                 },
  1013.                 "properties" : {
  1014.                     "asrVendorServiceKey" : [
  1015.                         {
  1016.                             "vendor" : "YANDEX_ASR",
  1017.                             "vendorType" : "ASR",
  1018.                             "service" : "MS3",
  1019.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  1020.                             "serviceKeyValue" : "ajer2q7css5ndopscoc6",
  1021.                             "properties" : null
  1022.                         }
  1023.                     ]
  1024.                 }
  1025.             },
  1026.             {
  1027.                 "amount" : {
  1028.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  1029.                 },
  1030.                 "properties" : {
  1031.                     "TTS_SERVICE_KEY" : []
  1032.                 }
  1033.             },
  1034.             {
  1035.                 "vendor" : "YANDEX_ASR",
  1036.                 "amount" : {
  1037.                     "SPEECH_TIME" : NumberLong(8015),
  1038.                     "SPEECH_CHAR_COUNT" : NumberLong(13),
  1039.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  1040.                 },
  1041.                 "properties" : {
  1042.                     "asrVendorServiceKey" : [
  1043.                         {
  1044.                             "vendor" : "YANDEX_ASR",
  1045.                             "vendorType" : "ASR",
  1046.                             "service" : "MS3",
  1047.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  1048.                             "serviceKeyValue" : "ajer2q7css5ndopscoc6",
  1049.                             "properties" : null
  1050.                         }
  1051.                     ]
  1052.                 }
  1053.             },
  1054.             {
  1055.                 "vendor" : "YANDEX_TTS_EASY",
  1056.                 "amount" : {
  1057.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(29)
  1058.                 },
  1059.                 "properties" : {
  1060.                     "TTS_SERVICE_KEY" : [
  1061.                         {
  1062.                             "vendor" : "YANDEX_TTS",
  1063.                             "vendorType" : "TTS",
  1064.                             "service" : "TTS_YANDEX_V3",
  1065.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  1066.                             "serviceKeyValue" : "aje3e7p63o8t6qs5mjad",
  1067.                             "properties" : null
  1068.                         }
  1069.                     ]
  1070.                 }
  1071.             },
  1072.             {
  1073.                 "vendor" : "YANDEX_ASR",
  1074.                 "amount" : {
  1075.                     "SPEECH_TIME" : NumberLong(2835),
  1076.                     "SPEECH_CHAR_COUNT" : NumberLong(2),
  1077.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  1078.                 },
  1079.                 "properties" : {
  1080.                     "asrVendorServiceKey" : [
  1081.                         {
  1082.                             "vendor" : "YANDEX_ASR",
  1083.                             "vendorType" : "ASR",
  1084.                             "service" : "MS3",
  1085.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  1086.                             "serviceKeyValue" : "ajer2q7css5ndopscoc6",
  1087.                             "properties" : null
  1088.                         }
  1089.                     ]
  1090.                 }
  1091.             },
  1092.             {
  1093.                 "amount" : {
  1094.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  1095.                 },
  1096.                 "properties" : {
  1097.                     "TTS_SERVICE_KEY" : []
  1098.                 }
  1099.             }
  1100.         ]
  1101.     },
  1102.     "ivoiceBilling" : {
  1103.         "ASR_POST_IVOICE" : {
  1104.             "vendorsResources" : [
  1105.                 "THREEITECH_ASR",
  1106.                 "YANDEX_ASR",
  1107.                 "NLAB_ASR"
  1108.             ],
  1109.             "ivoiceResource" : {
  1110.                 "name" : "ASR_POST_IVOICE",
  1111.                 "legalName" : "asr post slots",
  1112.                 "legalNameRu" : "слоты пост распознования"
  1113.             },
  1114.             "amount" : NumberLong(5),
  1115.             "cost" : NumberLong(5)
  1116.         },
  1117.         "ASR_REALTIME_IVOICE" : {
  1118.             "vendorsResources" : [
  1119.                 "GOOGLE_ASR"
  1120.             ],
  1121.             "ivoiceResource" : {
  1122.                 "name" : "ASR_REALTIME_IVOICE",
  1123.                 "legalName" : "asr real time slots",
  1124.                 "legalNameRu" : "слоты реалтайм распознования"
  1125.             },
  1126.             "amount" : NumberLong(0),
  1127.             "cost" : NumberLong(0)
  1128.         },
  1129.         "DIALOG_TIME" : {
  1130.             "vendorsResources" : [
  1131.                 "DIALOG_TIME"
  1132.             ],
  1133.             "ivoiceResource" : {
  1134.                 "name" : "DIALOG_TIME",
  1135.                 "legalName" : "dialog time",
  1136.                 "legalNameRu" : "время разговора"
  1137.             },
  1138.             "amount" : NumberLong(92),
  1139.             "cost" : NumberLong(92)
  1140.         },
  1141.         "TTS_EASY" : {
  1142.             "vendorsResources" : [
  1143.                 "AMAZON_TTS_EASY",
  1144.                 "GOOGLE_TTS_EASY",
  1145.                 "YANDEX_TTS_EASY",
  1146.                 "AZURE_TTS_EASY"
  1147.             ],
  1148.             "ivoiceResource" : {
  1149.                 "name" : "TTS_EASY",
  1150.                 "legalName" : "tts easy symbols",
  1151.                 "legalNameRu" : "символы генерации стандарт"
  1152.             },
  1153.             "amount" : NumberLong(135),
  1154.             "cost" : NumberLong(135)
  1155.         },
  1156.         "SMS_IVOICE" : {
  1157.             "vendorsResources" : [
  1158.                 "IVOICE_SMS_SERVICE"
  1159.             ],
  1160.             "ivoiceResource" : {
  1161.                 "name" : "SMS_IVOICE",
  1162.                 "legalName" : "sms",
  1163.                 "legalNameRu" : "смс"
  1164.             },
  1165.             "amount" : NumberLong(0),
  1166.             "cost" : NumberLong(0)
  1167.         },
  1168.         "TTS_PREMIUM" : {
  1169.             "vendorsResources" : [
  1170.                 "AMAZON_TTS_PREMIUM",
  1171.                 "GOOGLE_TTS_PREMIUM",
  1172.                 "YANDEX_TTS_PREMIUM",
  1173.                 "AZURE_TTS_PREMIUM"
  1174.             ],
  1175.             "ivoiceResource" : {
  1176.                 "name" : "TTS_PREMIUM",
  1177.                 "legalName" : "tts premium symbols",
  1178.                 "legalNameRu" : "символы генерации премиум"
  1179.             },
  1180.             "amount" : NumberLong(0),
  1181.             "cost" : NumberLong(0)
  1182.         },
  1183.         "AMD_IVOICE" : {
  1184.             "vendorsResources" : [
  1185.                 "IVOICE_AMD"
  1186.             ],
  1187.             "ivoiceResource" : {
  1188.                 "name" : "AMD_IVOICE",
  1189.                 "legalName" : "amd",
  1190.                 "legalNameRu" : "амд"
  1191.             },
  1192.             "amount" : NumberLong(0),
  1193.             "cost" : NumberLong(0)
  1194.         }
  1195.     },
  1196.     "vendorsAccounting" : {
  1197.         "GOOGLE_ASR" : {
  1198.             "vendor" : "GOOGLE_ASR",
  1199.             "units" : NumberLong(0),
  1200.             "asrSessions" : [],
  1201.             "cost" : NumberLong(0),
  1202.             "vendorDetails" : []
  1203.         },
  1204.         "THREEITECH_ASR" : {
  1205.             "vendor" : "THREEITECH_ASR",
  1206.             "units" : NumberLong(0),
  1207.             "asrSessions" : [],
  1208.             "cost" : NumberLong(0),
  1209.             "vendorDetails" : []
  1210.         },
  1211.         "IVOICE_AMD" : {
  1212.             "vendor" : "IVOICE_AMD",
  1213.             "units" : NumberLong(0),
  1214.             "asrSessions" : [],
  1215.             "cost" : NumberLong(0),
  1216.             "vendorDetails" : []
  1217.         },
  1218.         "GOOGLE_TTS_PREMIUM" : {
  1219.             "vendor" : "GOOGLE_TTS_PREMIUM",
  1220.             "units" : NumberLong(0),
  1221.             "asrSessions" : [],
  1222.             "cost" : NumberLong(0),
  1223.             "vendorDetails" : []
  1224.         },
  1225.         "NLAB_ASR" : {
  1226.             "vendor" : "NLAB_ASR",
  1227.             "units" : NumberLong(0),
  1228.             "asrSessions" : [],
  1229.             "cost" : NumberLong(0),
  1230.             "vendorDetails" : []
  1231.         },
  1232.         "YANDEX_TTS_EASY" : {
  1233.             "vendor" : "YANDEX_TTS_EASY",
  1234.             "units" : NumberLong(135),
  1235.             "asrSessions" : [],
  1236.             "cost" : NumberLong(135),
  1237.             "vendorDetails" : [
  1238.                 {
  1239.                     "vendor" : "YANDEX_TTS",
  1240.                     "vendorType" : "TTS",
  1241.                     "service" : "TTS_YANDEX_V3",
  1242.                     "serviceKeyName" : "YANDEX_API_KEY_ID",
  1243.                     "serviceKeyValue" : "aje3e7p63o8t6qs5mjad"
  1244.                 }
  1245.             ]
  1246.         },
  1247.         "IVOICE_SMS_SERVICE" : {
  1248.             "vendor" : "IVOICE_SMS_SERVICE",
  1249.             "units" : NumberLong(0),
  1250.             "asrSessions" : [],
  1251.             "cost" : NumberLong(0),
  1252.             "vendorDetails" : []
  1253.         },
  1254.         "YANDEX_TTS_PREMIUM" : {
  1255.             "vendor" : "YANDEX_TTS_PREMIUM",
  1256.             "units" : NumberLong(0),
  1257.             "asrSessions" : [],
  1258.             "cost" : NumberLong(0),
  1259.             "vendorDetails" : []
  1260.         },
  1261.         "AZURE_TTS_EASY" : {
  1262.             "vendor" : "AZURE_TTS_EASY",
  1263.             "units" : NumberLong(0),
  1264.             "asrSessions" : [],
  1265.             "cost" : NumberLong(0),
  1266.             "vendorDetails" : []
  1267.         },
  1268.         "AMAZON_TTS_PREMIUM" : {
  1269.             "vendor" : "AMAZON_TTS_PREMIUM",
  1270.             "units" : NumberLong(0),
  1271.             "asrSessions" : [],
  1272.             "cost" : NumberLong(0),
  1273.             "vendorDetails" : []
  1274.         },
  1275.         "DIALOG_TIME" : {
  1276.             "vendor" : "DIALOG_TIME",
  1277.             "units" : NumberLong(92),
  1278.             "asrSessions" : [],
  1279.             "cost" : NumberLong(92),
  1280.             "vendorDetails" : []
  1281.         },
  1282.         "GOOGLE_TTS_EASY" : {
  1283.             "vendor" : "GOOGLE_TTS_EASY",
  1284.             "units" : NumberLong(0),
  1285.             "asrSessions" : [],
  1286.             "cost" : NumberLong(0),
  1287.             "vendorDetails" : []
  1288.         },
  1289.         "AMAZON_TTS_EASY" : {
  1290.             "vendor" : "AMAZON_TTS_EASY",
  1291.             "units" : NumberLong(0),
  1292.             "asrSessions" : [],
  1293.             "cost" : NumberLong(0),
  1294.             "vendorDetails" : []
  1295.         },
  1296.         "YANDEX_ASR" : {
  1297.             "vendor" : "YANDEX_ASR",
  1298.             "units" : NumberLong(5),
  1299.             "asrSessions" : [
  1300.                 NumberLong(10),
  1301.                 NumberLong(5),
  1302.                 NumberLong(10),
  1303.                 NumberLong(9),
  1304.                 NumberLong(3)
  1305.             ],
  1306.             "cost" : NumberLong(5),
  1307.             "vendorDetails" : []
  1308.         },
  1309.         "AZURE_TTS_PREMIUM" : {
  1310.             "vendor" : "AZURE_TTS_PREMIUM",
  1311.             "units" : NumberLong(0),
  1312.             "asrSessions" : [],
  1313.             "cost" : NumberLong(0),
  1314.             "vendorDetails" : []
  1315.         }
  1316.     }
  1317. }
Add Comment
Please, Sign In to add comment