Advertisement
ScrappyCocoJamba

arsmed-yandex2

Apr 15th, 2020
1,015
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 37.06 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("5e97d02cbd7eb9000716de70"),
  3.     "phone" : "89955979744",
  4.     "campaign" : "5e96f7e57494c806a781d256",
  5.     "state" : "PERFORMED",
  6.     "lastCallRequestTimestamp" : NumberLong(1587007532612),
  7.     "callAnsweredTimestamp" : NumberLong(1587007546437),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "0ebaf38e-134d-4ee8-b9ed-3f3328a746fe",
  12.             "request" : {
  13.                 "targetTopic" : "sip-system-originate-request-fs1-release-2-3",
  14.                 "responseTopic" : "calling-system-orig-result-apps9",
  15.                 "scenarioResultTopic" : "scenario_result_sdk_v2_apps9",
  16.                 "scenarioParametersApiHost" : "small-apps9-back",
  17.                 "scenarioParametersApiPort" : "8101",
  18.                 "callUrl" : "sofia/gateway/ars-medika-01/89955979744 ext XML outgoing-release-2-6-arsmedika-ms14",
  19.                 "createdUtcMs" : NumberLong(1587007532612),
  20.                 "callUuid" : "0ebaf38e-134d-4ee8-b9ed-3f3328a746fe",
  21.                 "callTaskUuid" : "5e97d02cbd7eb9000716de70",
  22.                 "client" : "5d9cfcf83563935855038f70",
  23.                 "campaign" : "5e96f7e57494c806a781d256",
  24.                 "originateParameters" : {},
  25.                 "originateTimeoutSec" : 40
  26.             },
  27.             "originateResult" : {
  28.                 "timestamp" : NumberLong(1587007546437),
  29.                 "sipCode" : 200,
  30.                 "fullSipSystemResponse" : "+OK 1219017a-c265-4f18-a912-bcc293525d06",
  31.                 "callUuid" : "0ebaf38e-134d-4ee8-b9ed-3f3328a746fe",
  32.                 "callTaskId" : "5e97d02cbd7eb9000716de70"
  33.             },
  34.             "cdr" : {
  35.                 "cdr" : {
  36.                     "variables" : {
  37.                         "write_codec" : "PCMA",
  38.                         "sip_to_host" : "83.219.150.111",
  39.                         "hold_accum_usec" : 0,
  40.                         "bridge_uuid" : "ca201347-c8d4-4ff0-8b66-af564e4654cd",
  41.                         "start_epoch" : 1587007532,
  42.                         "rtp_2833_send_payload" : 101,
  43.                         "original_read_rate" : 8000,
  44.                         "profile_start_epoch" : 1587007546,
  45.                         "last_bridge_role" : "originator",
  46.                         "transfer_history" : "1587007546%3A29065945-a323-4b47-adff-e61fa84a53df%3Abl_xfer%3Aext/outgoing-release-2-6-arsmedika-ms14/XML",
  47.                         "sip_hangup_phrase" : "OK",
  48.                         "sip_bye_h_X-Asterisk-HangupCauseCode" : 16,
  49.                         "CallingSystemCallUuid" : "0ebaf38e-134d-4ee8-b9ed-3f3328a746fe",
  50.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.210%3A5060",
  51.                         "sip_term_cause" : 16,
  52.                         "ignore_early_media" : true,
  53.                         "waitusec" : 56999908,
  54.                         "sip_to_user" : NumberLong(89955979744),
  55.                         "rtp_last_audio_codec_string" : "PCMA%408000h%4020i%401c",
  56.                         "rtp_audio_in_packet_count" : 2304,
  57.                         "rtp_audio_in_jitter_packet_count" : 0,
  58.                         "last_arg" : "lua/sdk/outgoing-release-2.6-arsmedika.lua",
  59.                         "end_uepoch" : NumberLong(1587007590882688),
  60.                         "rtp_use_codec_name" : "PCMA",
  61.                         "answer_uepoch" : NumberLong(1587007546402712),
  62.                         "start_uepoch" : NumberLong(1587007532622773),
  63.                         "waitsec" : 57,
  64.                         "flow_billsec" : 58,
  65.                         "sip_call_id" : "c5409cee-fa34-1238-43a9-7e81c4218fd3",
  66.                         "remote_video_media_flow" : "inactive",
  67.                         "sip_full_from" : "%22%22%20%3Csip%3Aivoice%4083.219.150.111%3E%3Btag%3DvjBp9aSeS4cQQ",
  68.                         "remote_text_media_flow" : "inactive",
  69.                         "bridge_stamp" : "2020-04-16%2003%3A26%3A29",
  70.                         "sip_hangup_disposition" : "recv_bye",
  71.                         "read_rate" : 8000,
  72.                         "rtp_audio_in_skip_packet_count" : 18,
  73.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3Droot%20211105629%20211105629%20IN%20IP4%2083.219.150.111%0D%0As%3DAsterisk%20PBX%2013.24.1%0D%0Ac%3DIN%20IP4%2083.219.150.111%0D%0At%3D0%200%0D%0Am%3Daudio%2017370%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%3Dmaxptime%3A150%0D%0A",
  74.                         "sip_recover_via" : "SIP/2.0/UDP%2092.119.230.210%3Bbranch%3Dz9hG4bK1tyBt72XgyH0e%3Breceived%3D92.119.230.210%3Brport%3D5060",
  75.                         "rtp_audio_rtcp_octet_count" : 0,
  76.                         "sip_reply_host" : "83.219.150.111",
  77.                         "billmsec" : 44480,
  78.                         "answer_stamp" : "2020-04-16%2003%3A25%3A46",
  79.                         "session_id" : 58833,
  80.                         "hold_accum_seconds" : 0,
  81.                         "last_hold_epoch" : 0,
  82.                         "sip_bye_h_X-Ivoice-BridgeDestination" : "sofia/gateway/ars-medika-01/550",
  83.                         "progresssec" : 0,
  84.                         "sip_cseq" : 18949975,
  85.                         "current_application" : "lua",
  86.                         "hangup_cause" : "NORMAL_CLEARING",
  87.                         "hangup_cause_q850" : 16,
  88.                         "resurrect_epoch" : 0,
  89.                         "rtp_audio_in_flaw_total" : 35,
  90.                         "advertised_media_ip" : "92.119.230.210",
  91.                         "SleepTime" : 1000,
  92.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_apps9",
  93.                         "hold_accum_ms" : 0,
  94.                         "rtp_audio_out_packet_count" : 2158,
  95.                         "sip_contact_user" : NumberLong(89955979744),
  96.                         "start_stamp" : "2020-04-16%2003%3A25%3A32",
  97.                         "rtp_audio_recv_pt" : 8,
  98.                         "progress_media_uepoch" : NumberLong(1587007532722703),
  99.                         "rtp_use_codec_string" : "PCMA,PCMU",
  100.                         "progressmsec" : 0,
  101.                         "bridge_hangup_cause" : "NORMAL_CLEARING",
  102.                         "rtp_audio_out_dtmf_packet_count" : 0,
  103.                         "proto_specific_hangup_cause" : "sip%3A200",
  104.                         "rtp_audio_in_mos" : 4.48,
  105.                         "last_sent_callee_id_name" : "Outbound%20Call",
  106.                         "sip_local_network_addr" : "92.119.230.210",
  107.                         "rtp_audio_out_media_bytes" : 371176,
  108.                         "rtp_use_timer_name" : "soft",
  109.                         "Campaign" : "5e96f7e57494c806a781d256",
  110.                         "text_media_flow" : "disabled",
  111.                         "sip_term_status" : 200,
  112.                         "answermsec" : 13780,
  113.                         "sip_profile_name" : "gateway",
  114.                         "sofia_profile_name" : "external",
  115.                         "sip_from_tag" : "vjBp9aSeS4cQQ",
  116.                         "rtp_audio_in_jitter_burst_rate" : 0.99,
  117.                         "resurrect_uepoch" : 0,
  118.                         "last_bridge_to" : "ca201347-c8d4-4ff0-8b66-af564e4654cd",
  119.                         "recovery_profile_name" : "external",
  120.                         "sip_bye_h_X-RestComm-CallSid" : "ID11f0bb64e3684c0aa59ac86d15678d8b-CA7eceb45111c24da8bb976ccf05a0633f",
  121.                         "progress_mediamsec" : 100,
  122.                         "sip_from_user" : "ivoice",
  123.                         "duration" : 58,
  124.                         "sip_contact_uri" : "89955979744%4083.219.150.111%3A5060",
  125.                         "local_media_port" : 24460,
  126.                         "remote_audio_media_flow" : "sendrecv",
  127.                         "audio_media_flow" : "sendrecv",
  128.                         "flow_billusec" : 58259915,
  129.                         "local_media_ip" : "92.119.230.210",
  130.                         "rtp_audio_in_jitter_loss_rate" : 0.01,
  131.                         "sip_from_uri" : "ivoice%4083.219.150.111",
  132.                         "ScenarioParametersApiHost" : "small-apps9-back",
  133.                         "endpoint_disposition" : "ANSWER",
  134.                         "sip_contact_host" : "83.219.150.111",
  135.                         "rtp_audio_in_mean_interval" : 20.11,
  136.                         "sip_reply_port" : 5060,
  137.                         "end_stamp" : "2020-04-16%2003%3A26%3A30",
  138.                         "leg_timeout" : 40,
  139.                         "waitmsec" : 57000,
  140.                         "current_application_data" : "lua/sdk/outgoing-release-2.6-arsmedika.lua",
  141.                         "rtp_audio_out_raw_bytes" : 371176,
  142.                         "progress_uepoch" : 0,
  143.                         "progress_media_stamp" : "2020-04-16%2003%3A25%3A32",
  144.                         "rtp_use_codec_ptime" : 20,
  145.                         "answersec" : 14,
  146.                         "rtp_audio_in_jitter_max_variance" : 47.06,
  147.                         "sip_full_to" : "%3Csip%3A89955979744%4083.219.150.111%3E%3Btag%3Das682d51dd",
  148.                         "max_forwards" : 70,
  149.                         "sip_network_ip" : "83.219.150.111",
  150.                         "sip_from_host" : "83.219.150.111",
  151.                         "rtp_audio_in_dtmf_packet_count" : 0,
  152.                         "remote_media_port" : 17370,
  153.                         "last_sent_callee_id_number" : 550,
  154.                         "sip_network_port" : 5060,
  155.                         "pre_transfer_caller_id_number" : "0000000000",
  156.                         "progress_mediasec" : 0,
  157.                         "rtp_use_codec_channels" : 1,
  158.                         "sip_recover_contact" : "%3Csip%3A89955979744%4083.219.150.111%3A5060%3E",
  159.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201586983072%201586983073%20IN%20IP4%2092.119.230.210%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.210%0D%0At%3D0%200%0D%0Am%3Daudio%2024460%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dsendrecv%0D%0A",
  160.                         "answerusec" : 13779939,
  161.                         "sip_req_uri" : "89955979744%4083.219.150.111",
  162.                         "profile_start_uepoch" : NumberLong(1587007546422722),
  163.                         "rtp_audio_in_raw_bytes" : 396288,
  164.                         "rtp_audio_rtcp_packet_count" : 0,
  165.                         "bridge_epoch" : 1587007589,
  166.                         "bridge_uepoch" : NumberLong(1587007589622681),
  167.                         "sip_user_agent" : "FPBX-13.0.197(13.24.1)",
  168.                         "write_rate" : 8000,
  169.                         "billusec" : 44479976,
  170.                         "answer_epoch" : 1587007546,
  171.                         "call_uuid" : "1219017a-c265-4f18-a912-bcc293525d06",
  172.                         "rtp_audio_out_skip_packet_count" : 0,
  173.                         "sip_invite_domain" : "83.219.150.111",
  174.                         "sip_full_via" : "SIP/2.0/UDP%2092.119.230.210%3Bbranch%3Dz9hG4bK1tyBt72XgyH0e%3Breceived%3D92.119.230.210%3Brport%3D5060",
  175.                         "channel_name" : "sofia/external/89955979744",
  176.                         "rtp_audio_out_cng_packet_count" : 0,
  177.                         "progress_epoch" : 0,
  178.                         "mduration" : 58260,
  179.                         "last_bridge_hangup_cause" : "NORMAL_CLEARING",
  180.                         "remote_media_ip" : "83.219.150.111",
  181.                         "sip_bye_h_X-Asterisk-HangupCause" : "Normal%20Clearing",
  182.                         "ep_codec_string" : "CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b",
  183.                         "rtp_use_pt" : 8,
  184.                         "rtp_audio_in_largest_jb_size" : 0,
  185.                         "rtp_audio_in_media_bytes" : 378572,
  186.                         "transfer_source" : "1587007546%3A29065945-a323-4b47-adff-e61fa84a53df%3Abl_xfer%3Aext/outgoing-release-2-6-arsmedika-ms14/XML",
  187.                         "rtp_audio_in_cng_packet_count" : 0,
  188.                         "last_hold_uepoch" : 0,
  189.                         "uduration" : 58259915,
  190.                         "rtp_audio_in_quality_percentage" : 98,
  191.                         "rtp_use_codec_rate" : 8000,
  192.                         "ScenarioParametersApiPort" : 8101,
  193.                         "uuid" : "1219017a-c265-4f18-a912-bcc293525d06",
  194.                         "sip_gateway_name" : "ars-medika-01",
  195.                         "sip_destination_url" : "sip%3A89955979744%4083.219.150.111",
  196.                         "sip_to_uri" : "89955979744%4083.219.150.111",
  197.                         "read_codec" : "PCMA",
  198.                         "rtp_use_ssrc" : 1385788244,
  199.                         "Client" : "5d9cfcf83563935855038f70",
  200.                         "billsec" : 44,
  201.                         "progress_media_epoch" : 1587007532,
  202.                         "rtp_2833_recv_payload" : 101,
  203.                         "CallTaskId" : "5e97d02cbd7eb9000716de70",
  204.                         "end_epoch" : 1587007590,
  205.                         "profile_start_stamp" : "2020-04-16%2003%3A25%3A46",
  206.                         "caller_id" : "%22Outbound%20Call%22%20%3C89955979744%3E",
  207.                         "progressusec" : 0,
  208.                         "originate_early_media" : false,
  209.                         "SipServlet" : "sipservlet_ms14",
  210.                         "sip_outgoing_contact_uri" : "%3Csip%3Agw%2Bars-medika-01%4092.119.230.210%3A5060%3Btransport%3Dudp%3Bgw%3Dars-medika-01%3E",
  211.                         "sip_contact_port" : 5060,
  212.                         "flow_billmsec" : 58260,
  213.                         "bridge_channel" : "sofia/external/550",
  214.                         "dtmf_type" : "rfc2833",
  215.                         "sip_allow" : "INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE",
  216.                         "rtp_audio_in_media_packet_count" : 2201,
  217.                         "direction" : "outbound",
  218.                         "video_media_flow" : "disabled",
  219.                         "sip_to_tag" : "as682d51dd",
  220.                         "rtp_audio_out_media_packet_count" : 2158,
  221.                         "digits_dialed" : "none",
  222.                         "signal_bond" : "ca201347-c8d4-4ff0-8b66-af564e4654cd",
  223.                         "progress_mediausec" : 99930,
  224.                         "last_app" : "lua",
  225.                         "is_outbound" : true,
  226.                         "rtp_audio_in_jitter_min_variance" : 4.39,
  227.                         "hangup_complete_with_xml" : true,
  228.                         "original_read_codec" : "PCMA",
  229.                         "last_bridge_proto_specific_hangup_cause" : "sip%3A200",
  230.                         "rtp_audio_in_flush_packet_count" : 103
  231.                     },
  232.                     "callflow" : [
  233.                         {
  234.                             "extension" : {
  235.                                 "number" : "ext",
  236.                                 "application" : [
  237.                                     {
  238.                                         "app_name" : "log",
  239.                                         "app_data" : "INFO sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid}; ScenarioResultTopic=${ScenarioResultTopic}; ScenarioParametersApiHost=${ScenarioParametersApiHost}; ScenarioParametersApiPort=${ScenarioParametersApiPort}"
  240.                                     },
  241.                                     {
  242.                                         "app_name" : "wait_for_answer",
  243.                                         "app_data" : ""
  244.                                     },
  245.                                     {
  246.                                         "app_name" : "sched_hangup",
  247.                                         "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  248.                                     },
  249.                                     {
  250.                                         "app_name" : "set",
  251.                                         "app_data" : "SleepTime=1000"
  252.                                     },
  253.                                     {
  254.                                         "app_name" : "sleep",
  255.                                         "app_data" : "${SleepTime}"
  256.                                     },
  257.                                     {
  258.                                         "app_name" : "set",
  259.                                         "app_data" : "SipServlet=sipservlet_ms14"
  260.                                     },
  261.                                     {
  262.                                         "app_name" : "set_audio_level",
  263.                                         "app_data" : "read 4"
  264.                                     },
  265.                                     {
  266.                                         "app_name" : "set_audio_level",
  267.                                         "app_data" : "write 4"
  268.                                     },
  269.                                     {
  270.                                         "app_name" : "lua",
  271.                                         "app_data" : "lua/sdk/outgoing-release-2.6-arsmedika.lua"
  272.                                     }
  273.                                 ],
  274.                                 "name" : "ext"
  275.                             },
  276.                             "times" : {
  277.                                 "progress_time" : 0,
  278.                                 "created_time" : NumberLong(1587007532622773),
  279.                                 "hold_accum_time" : 0,
  280.                                 "resurrect_time" : 0,
  281.                                 "answered_time" : NumberLong(1587007546402712),
  282.                                 "transfer_time" : 0,
  283.                                 "bridged_time" : NumberLong(1587007589622681),
  284.                                 "hangup_time" : NumberLong(1587007590882688),
  285.                                 "progress_media_time" : NumberLong(1587007532722703),
  286.                                 "profile_created_time" : NumberLong(1587007546422722),
  287.                                 "last_hold_time" : 0
  288.                             },
  289.                             "profile_index" : 2,
  290.                             "dialplan" : "XML",
  291.                             "clone-of" : "13fb1487-7de1-4690-b03f-2b46141e6596",
  292.                             "caller_profile" : {
  293.                                 "caller_id_name" : "Outbound Call",
  294.                                 "transfer_source" : "1587007546:29065945-a323-4b47-adff-e61fa84a53df:bl_xfer:ext/outgoing-release-2-6-arsmedika-ms14/XML",
  295.                                 "destination_number" : "ext",
  296.                                 "device_id" : "",
  297.                                 "chan_name" : "sofia/external/89955979744",
  298.                                 "dialplan" : "XML",
  299.                                 "callee_id_number" : 550,
  300.                                 "source" : "src/switch_ivr_originate.c",
  301.                                 "network_addr" : "83.219.150.111",
  302.                                 "uuid" : "1219017a-c265-4f18-a912-bcc293525d06",
  303.                                 "callee_id_name" : "Outbound Call",
  304.                                 "rdnis" : NumberLong(89955979744),
  305.                                 "aniii" : "",
  306.                                 "context" : "outgoing-release-2-6-arsmedika-ms14",
  307.                                 "caller_id_number" : NumberLong(89955979744),
  308.                                 "ani" : "0000000000",
  309.                                 "username" : ""
  310.                             },
  311.                             "unique-id" : "29065945-a323-4b47-adff-e61fa84a53df"
  312.                         },
  313.                         {
  314.                             "times" : {
  315.                                 "progress_time" : 0,
  316.                                 "created_time" : NumberLong(1587007532622773),
  317.                                 "hold_accum_time" : 0,
  318.                                 "resurrect_time" : 0,
  319.                                 "answered_time" : NumberLong(1587007546402712),
  320.                                 "transfer_time" : NumberLong(1587007546422722),
  321.                                 "bridged_time" : 0,
  322.                                 "hangup_time" : 0,
  323.                                 "progress_media_time" : NumberLong(1587007532722703),
  324.                                 "profile_created_time" : NumberLong(1587007532622773),
  325.                                 "last_hold_time" : 0
  326.                             },
  327.                             "profile_index" : 1,
  328.                             "clone-of" : "6d128c9c-992f-4905-a3a1-c406b63483c9",
  329.                             "caller_profile" : {
  330.                                 "caller_id_name" : "",
  331.                                 "destination_number" : NumberLong(89955979744),
  332.                                 "device_id" : "",
  333.                                 "chan_name" : "sofia/external/89955979744",
  334.                                 "dialplan" : "",
  335.                                 "callee_id_number" : NumberLong(89955979744),
  336.                                 "source" : "src/switch_ivr_originate.c",
  337.                                 "network_addr" : "83.219.150.111",
  338.                                 "uuid" : "1219017a-c265-4f18-a912-bcc293525d06",
  339.                                 "callee_id_name" : "Outbound Call",
  340.                                 "rdnis" : "",
  341.                                 "aniii" : "",
  342.                                 "context" : "default",
  343.                                 "caller_id_number" : "0000000000",
  344.                                 "ani" : "0000000000",
  345.                                 "username" : ""
  346.                             },
  347.                             "unique-id" : "13fb1487-7de1-4690-b03f-2b46141e6596"
  348.                         }
  349.                     ],
  350.                     "core-uuid" : "6c326b0a-e305-4b09-a447-789bf6b0bd43",
  351.                     "channel_data" : {
  352.                         "state_number" : 11,
  353.                         "flags" : "0=1;1=1;2=1;3=1;38=1;39=1;41=1;44=1;49=2;54=1;61=1;96=1;107=1;113=1;114=1;123=1;160=1;165=1;166=1",
  354.                         "state" : "CS_REPORTING",
  355.                         "direction" : "outbound",
  356.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  357.                     },
  358.                     "app_log" : {
  359.                         "application" : [
  360.                             {
  361.                                 "app_name" : "log",
  362.                                 "app_stamp" : NumberLong(1587007546431125),
  363.                                 "app_data" : "INFO sip-system passed vars: ClientId=5d9cfcf83563935855038f70; CampaignId=5e96f7e57494c806a781d256; CallTaskId=5e97d02cbd7eb9000716de70; CallingSystemCallUuid=0ebaf38e-134d-4ee8-b9ed-3f3328a746fe; ScenarioResultTopic=scenario_result_sdk_v2_apps9; ScenarioParametersApiHost=small-apps9-back; ScenarioParametersApiPort=8101"
  364.                             },
  365.                             {
  366.                                 "app_name" : "wait_for_answer",
  367.                                 "app_stamp" : NumberLong(1587007546431334),
  368.                                 "app_data" : ""
  369.                             },
  370.                             {
  371.                                 "app_name" : "sched_hangup",
  372.                                 "app_stamp" : NumberLong(1587007546431781),
  373.                                 "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  374.                             },
  375.                             {
  376.                                 "app_name" : "set",
  377.                                 "app_stamp" : NumberLong(1587007546432107),
  378.                                 "app_data" : "SleepTime=1000"
  379.                             },
  380.                             {
  381.                                 "app_name" : "sleep",
  382.                                 "app_stamp" : NumberLong(1587007546432392),
  383.                                 "app_data" : 1000
  384.                             },
  385.                             {
  386.                                 "app_name" : "set",
  387.                                 "app_stamp" : NumberLong(1587007547459479),
  388.                                 "app_data" : "SipServlet=sipservlet_ms14"
  389.                             },
  390.                             {
  391.                                 "app_name" : "set_audio_level",
  392.                                 "app_stamp" : NumberLong(1587007547459763),
  393.                                 "app_data" : "read 4"
  394.                             },
  395.                             {
  396.                                 "app_name" : "set_audio_level",
  397.                                 "app_stamp" : NumberLong(1587007547460197),
  398.                                 "app_data" : "write 4"
  399.                             },
  400.                             {
  401.                                 "app_name" : "lua",
  402.                                 "app_stamp" : NumberLong(1587007547460385),
  403.                                 "app_data" : "lua/sdk/outgoing-release-2.6-arsmedika.lua"
  404.                             }
  405.                         ]
  406.                     },
  407.                     "switchname" : "fs-1",
  408.                     "call-stats" : {
  409.                         "audio" : {
  410.                             "inbound" : {
  411.                                 "media_packet_count" : 2201,
  412.                                 "cng_packet_count" : 0,
  413.                                 "jitter_min_variance" : 4.39,
  414.                                 "skip_packet_count" : 18,
  415.                                 "mean_interval" : 20.11,
  416.                                 "dtmf_packet_count" : 0,
  417.                                 "jitter_loss_rate" : 0.01,
  418.                                 "jitter_burst_rate" : 0.99,
  419.                                 "flaw_total" : 35,
  420.                                 "quality_percentage" : 98,
  421.                                 "mos" : 4.48,
  422.                                 "largest_jb_size" : 0,
  423.                                 "packet_count" : 2304,
  424.                                 "jitter_max_variance" : 47.06,
  425.                                 "media_bytes" : 378572,
  426.                                 "jitter_packet_count" : 0,
  427.                                 "raw_bytes" : 396288,
  428.                                 "flush_packet_count" : 103
  429.                             },
  430.                             "outbound" : {
  431.                                 "media_packet_count" : 2158,
  432.                                 "cng_packet_count" : 0,
  433.                                 "skip_packet_count" : 0,
  434.                                 "dtmf_packet_count" : 0,
  435.                                 "rtcp_packet_count" : 0,
  436.                                 "packet_count" : 2158,
  437.                                 "media_bytes" : 371176,
  438.                                 "rtcp_octet_count" : 0,
  439.                                 "raw_bytes" : 371176
  440.                             },
  441.                             "error-log" : {
  442.                                 "error-period" : [
  443.                                     {
  444.                                         "consecutive-flaws" : 0,
  445.                                         "duration-msec" : 1059,
  446.                                         "stop" : NumberLong(1587007590882688),
  447.                                         "start" : NumberLong(1587007589822726),
  448.                                         "flaws" : 0
  449.                                     },
  450.                                     {
  451.                                         "consecutive-flaws" : 3,
  452.                                         "duration-msec" : 3919,
  453.                                         "stop" : NumberLong(1587007586302717),
  454.                                         "start" : NumberLong(1587007582382721),
  455.                                         "flaws" : 7
  456.                                     },
  457.                                     {
  458.                                         "consecutive-flaws" : 1,
  459.                                         "duration-msec" : 3019,
  460.                                         "stop" : NumberLong(1587007581882677),
  461.                                         "start" : NumberLong(1587007578862712),
  462.                                         "flaws" : 3
  463.                                     },
  464.                                     {
  465.                                         "consecutive-flaws" : 3,
  466.                                         "duration-msec" : 5540,
  467.                                         "stop" : NumberLong(1587007577262706),
  468.                                         "start" : NumberLong(1587007571722683),
  469.                                         "flaws" : 9
  470.                                     },
  471.                                     {
  472.                                         "consecutive-flaws" : 4,
  473.                                         "duration-msec" : 7460,
  474.                                         "stop" : NumberLong(1587007570002680),
  475.                                         "start" : NumberLong(1587007562542675),
  476.                                         "flaws" : 12
  477.                                     },
  478.                                     {
  479.                                         "consecutive-flaws" : 1,
  480.                                         "duration-msec" : 3000,
  481.                                         "stop" : NumberLong(1587007552062684),
  482.                                         "start" : NumberLong(1587007549062683),
  483.                                         "flaws" : 3
  484.                                     }
  485.                                 ]
  486.                             }
  487.                         }
  488.                     }
  489.                 },
  490.                 "callUuid" : "0ebaf38e-134d-4ee8-b9ed-3f3328a746fe",
  491.                 "callTaskId" : "5e97d02cbd7eb9000716de70"
  492.             }
  493.         }
  494.     ],
  495.     "parameters" : {
  496.         "date" : "2019-12-19 17:00",
  497.         "doctor" : " Антон",
  498.         "specialty" : "африканский шаман",
  499.         "address" : "236006, Калининградская обл., г. Калининград, пр. Московский, 50.",
  500.         "visitID" : "2308171",
  501.         "name" : "Константин",
  502.         "room" : ""
  503.     },
  504.     "nextAttemptTimestamp" : NumberLong(0),
  505.     "results" : {},
  506.     "ringingMillis" : NumberLong(0),
  507.     "talkMillis" : NumberLong(44480),
  508.     "reportParameters" : {
  509.         "date" : "2019-12-19 17:00",
  510.         "doctor" : " Антон",
  511.         "specialty" : "африканский шаман",
  512.         "address" : "236006, Калининградская обл., г. Калининград, пр. Московский, 50.",
  513.         "visitID" : "2308171",
  514.         "name" : "Константин",
  515.         "room" : ""
  516.     },
  517.     "created" : NumberLong(1587007532),
  518.     "reported" : false,
  519.     "testing" : false,
  520.     "performedTimestamp" : NumberLong(1587007590),
  521.     "sumConsume" : 0.0,
  522.     "processingEvents" : [
  523.         {
  524.             "timestampSecUtc" : NumberLong(1587007532),
  525.             "dateTimeFormatted" : "16.04.20 03:25",
  526.             "author" : "calling-system",
  527.             "event" : "call initiated: OutgoingCall(uuid=0ebaf38e-134d-4ee8-b9ed-3f3328a746fe, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-fs1-release-2-3, responseTopic=calling-system-orig-result-apps9, scenarioResultTopic=scenario_result_sdk_v2_apps9, scenarioParametersApiHost=small-apps9-back, scenarioParametersApiPort=8101, callUrl=sofia/gateway/ars-medika-01/89955979744 ext XML outgoing-release-2-6-arsmedika-ms14, createdUtcMs=1587007532612, callUuid=0ebaf38e-134d-4ee8-b9ed-3f3328a746fe, callTaskUuid=5e97d02cbd7eb9000716de70, client=5d9cfcf83563935855038f70, campaign=5e96f7e57494c806a781d256, originateParameters={}, originateTimeoutSec=40), originateResult=null, systemError=null, cdr=null); message to kafka to call task is about to be sent"
  528.         },
  529.         {
  530.             "timestampSecUtc" : NumberLong(1587007546),
  531.             "dateTimeFormatted" : "16.04.20 03:25",
  532.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  533.             "event" : "transition to ONGOING on call answered"
  534.         },
  535.         {
  536.             "timestampSecUtc" : NumberLong(1587007590915),
  537.             "dateTimeFormatted" : "16.04.20 03:26",
  538.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  539.             "event" : "CDR_RECEIVED",
  540.             "parameters" : {
  541.                 "nextState" : "PERFORMED",
  542.                 "talkMillis" : NumberLong(44480)
  543.             }
  544.         }
  545.     ],
  546.     "fullCost" : NumberLong(0),
  547.     "fullBilling" : false,
  548.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  549.     "scenarioResult" : {
  550.         "time" : ISODate("2020-04-16T03:26:29.518Z"),
  551.         "items" : [
  552.             {
  553.                 "time" : ISODate("2020-04-16T03:25:47.632Z"),
  554.                 "name" : "params",
  555.                 "value" : "medika_visit",
  556.                 "details" : {
  557.                     "date" : "2019-12-19 17:00",
  558.                     "sleepBeforeScenarioMs" : "1000",
  559.                     "specialty" : "африканский шаман",
  560.                     "address" : "236006, Калининградская обл., г. Калининград, пр. Московский, 50.",
  561.                     "campaignId" : "5e96f7e57494c806a781d256",
  562.                     "callTaskId" : "5e97d02cbd7eb9000716de70",
  563.                     "solutionName" : "medika_visit",
  564.                     "room" : "",
  565.                     "callUuid" : "0ebaf38e-134d-4ee8-b9ed-3f3328a746fe",
  566.                     "doctor" : " Антон",
  567.                     "visitID" : "2308171",
  568.                     "phone" : "89955979744",
  569.                     "name" : "Константин",
  570.                     "scenarioId" : "5d9cfcc4356393585502eb13"
  571.                 }
  572.             },
  573.             {
  574.                 "time" : ISODate("2020-04-16T03:26:25.820Z"),
  575.                 "name" : "прием подтвержден",
  576.                 "value" : "undefined",
  577.                 "details" : {}
  578.             },
  579.             {
  580.                 "time" : ISODate("2020-04-16T03:26:29.518Z"),
  581.                 "name" : "hangup",
  582.                 "value" : "bridge",
  583.                 "details" : {
  584.                     "destination" : "sofia/gateway/ars-medika-01/550"
  585.                 }
  586.             }
  587.         ],
  588.         "log" : [
  589.             {
  590.                 "time" : ISODate("2020-04-16T03:25:47.634Z"),
  591.                 "text" : "start requesting option (no, yes)",
  592.                 "context" : {
  593.                     "sid" : "01366682-1f7f-4b35-82ae-27b3f12d0fb5",
  594.                     "question" : "прием подтвержден"
  595.                 }
  596.             },
  597.             {
  598.                 "time" : ISODate("2020-04-16T03:26:13.740Z"),
  599.                 "text" : "recognise on asr failed",
  600.                 "context" : {
  601.                     "sid" : "01366682-1f7f-4b35-82ae-27b3f12d0fb5",
  602.                     "question" : "прием подтвержден",
  603.                     "cause" : "silence"
  604.                 }
  605.             },
  606.             {
  607.                 "time" : ISODate("2020-04-16T03:26:13.741Z"),
  608.                 "text" : "retry requesting option (no, yes)",
  609.                 "context" : {
  610.                     "sid" : "85e358c1-116b-4f70-8d18-f4ca6385a4eb",
  611.                     "question" : "прием подтвержден"
  612.                 }
  613.             },
  614.             {
  615.                 "time" : ISODate("2020-04-16T03:26:25.820Z"),
  616.                 "text" : "recognise on asr failed",
  617.                 "context" : {
  618.                     "sid" : "85e358c1-116b-4f70-8d18-f4ca6385a4eb",
  619.                     "question" : "прием подтвержден",
  620.                     "cause" : "silence"
  621.                 }
  622.             }
  623.         ],
  624.         "callId" : "0ebaf38e-134d-4ee8-b9ed-3f3328a746fe",
  625.         "taskId" : "5e97d02cbd7eb9000716de70",
  626.         "resourceSpentEvents" : [
  627.             {
  628.                 "vendor" : "YANDEX_TTS",
  629.                 "amount" : {
  630.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(62)
  631.                 }
  632.             },
  633.             {
  634.                 "vendor" : "YANDEX_ASR",
  635.                 "amount" : {
  636.                     "SPEECH_TIME" : NumberLong(11726),
  637.                     "SPEECH_CHAR_COUNT" : NumberLong(0),
  638.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  639.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(11726)
  640.                 }
  641.             },
  642.             {
  643.                 "vendor" : "YANDEX_TTS",
  644.                 "amount" : {
  645.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  646.                 }
  647.             },
  648.             {
  649.                 "vendor" : "YANDEX_ASR",
  650.                 "amount" : {
  651.                     "SPEECH_TIME" : NumberLong(8068),
  652.                     "SPEECH_CHAR_COUNT" : NumberLong(0),
  653.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  654.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(8068)
  655.                 }
  656.             },
  657.             {
  658.                 "vendor" : "YANDEX_TTS",
  659.                 "amount" : {
  660.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  661.                 }
  662.             }
  663.         ]
  664.     }
  665. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement