Advertisement
ScrappyCocoJamba

asmedica-silence1

Feb 11th, 2020
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 36.11 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("5e43848b3561d30007cef740"),
  3.     "phone" : "89955979744",
  4.     "campaign" : "5e4269ae1755e0b8c4546919",
  5.     "state" : "PERFORMED",
  6.     "lastCallRequestTimestamp" : NumberLong(1581483147853),
  7.     "callAnsweredTimestamp" : NumberLong(1581483163451),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "3449b1c7-8e00-45ac-a513-fdcbd81743e1",
  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-ms11-sleep0",
  19.                 "createdUtcMs" : NumberLong(1581483147853),
  20.                 "callUuid" : "3449b1c7-8e00-45ac-a513-fdcbd81743e1",
  21.                 "callTaskUuid" : "5e43848b3561d30007cef740",
  22.                 "client" : "5d9cfcf83563935855038f70",
  23.                 "campaign" : "5e4269ae1755e0b8c4546919",
  24.                 "originateParameters" : {},
  25.                 "originateTimeoutSec" : 40
  26.             },
  27.             "originateResult" : {
  28.                 "timestamp" : NumberLong(1581483163451),
  29.                 "sipCode" : 200,
  30.                 "fullSipSystemResponse" : "+OK 0e1e3af9-6d66-49e6-8c52-1d684d54e700",
  31.                 "callUuid" : "3449b1c7-8e00-45ac-a513-fdcbd81743e1",
  32.                 "callTaskId" : "5e43848b3561d30007cef740"
  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" : "aba778c0-5cdc-4174-9006-2262322fb834",
  41.                         "start_epoch" : 1581483147,
  42.                         "rtp_2833_send_payload" : 101,
  43.                         "original_read_rate" : 8000,
  44.                         "profile_start_epoch" : 1581483163,
  45.                         "last_bridge_role" : "originator",
  46.                         "transfer_history" : "1581483163%3A39d459fc-051a-4307-858e-217b78d0f358%3Abl_xfer%3Aext/outgoing-release-2-6-ms11-sleep0/XML",
  47.                         "sip_hangup_phrase" : "OK",
  48.                         "sip_bye_h_X-Asterisk-HangupCauseCode" : 16,
  49.                         "CallingSystemCallUuid" : "3449b1c7-8e00-45ac-a513-fdcbd81743e1",
  50.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.210%3A5060",
  51.                         "sip_term_cause" : 16,
  52.                         "ignore_early_media" : true,
  53.                         "waitusec" : 55300015,
  54.                         "sip_to_user" : NumberLong(89955979744),
  55.                         "rtp_last_audio_codec_string" : "PCMA%408000h%4020i%401c",
  56.                         "rtp_audio_in_packet_count" : 2216,
  57.                         "rtp_audio_in_jitter_packet_count" : 0,
  58.                         "last_arg" : "lua/sdk/outgoing-release-2.6-arsmedika.lua",
  59.                         "end_uepoch" : NumberLong(1581483205920111),
  60.                         "rtp_use_codec_name" : "PCMA",
  61.                         "answer_uepoch" : NumberLong(1581483163420060),
  62.                         "start_uepoch" : NumberLong(1581483147860091),
  63.                         "waitsec" : 56,
  64.                         "flow_billsec" : 58,
  65.                         "sip_call_id" : "4f577247-c7f6-1238-1893-7e81c4218fd3",
  66.                         "remote_video_media_flow" : "inactive",
  67.                         "sip_full_from" : "%22%22%20%3Csip%3Aivoice%4083.219.150.111%3E%3Btag%3D69gyrj1agX39c",
  68.                         "remote_text_media_flow" : "inactive",
  69.                         "bridge_stamp" : "2020-02-12%2004%3A53%3A23",
  70.                         "sip_hangup_disposition" : "recv_bye",
  71.                         "read_rate" : 8000,
  72.                         "rtp_audio_in_skip_packet_count" : 9,
  73.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3Droot%20862273036%20862273036%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%2016810%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%3Dz9hG4bKgrFKQ1BZ03m1S%3Breceived%3D92.119.230.210%3Brport%3D5060",
  75.                         "rtp_audio_rtcp_octet_count" : 0,
  76.                         "sip_reply_host" : "83.219.150.111",
  77.                         "billmsec" : 42500,
  78.                         "answer_stamp" : "2020-02-12%2004%3A52%3A43",
  79.                         "session_id" : 31667,
  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" : 16187782,
  85.                         "current_application" : "lua",
  86.                         "hangup_cause" : "NORMAL_CLEARING",
  87.                         "hangup_cause_q850" : 16,
  88.                         "resurrect_epoch" : 0,
  89.                         "rtp_audio_in_flaw_total" : 8,
  90.                         "advertised_media_ip" : "92.119.230.210",
  91.                         "SleepTime" : 16,
  92.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_apps9",
  93.                         "hold_accum_ms" : 0,
  94.                         "rtp_audio_out_packet_count" : 2116,
  95.                         "sip_contact_user" : NumberLong(89955979744),
  96.                         "start_stamp" : "2020-02-12%2004%3A52%3A27",
  97.                         "rtp_audio_recv_pt" : 8,
  98.                         "progress_media_uepoch" : NumberLong(1581483148020087),
  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.49,
  105.                         "last_sent_callee_id_name" : "Outbound%20Call",
  106.                         "sip_local_network_addr" : "92.119.230.210",
  107.                         "rtp_audio_out_media_bytes" : 363952,
  108.                         "rtp_use_timer_name" : "soft",
  109.                         "Campaign" : "5e4269ae1755e0b8c4546919",
  110.                         "text_media_flow" : "disabled",
  111.                         "sip_term_status" : 200,
  112.                         "answermsec" : 15560,
  113.                         "sip_profile_name" : "gateway",
  114.                         "sofia_profile_name" : "external",
  115.                         "sip_from_tag" : "69gyrj1agX39c",
  116.                         "rtp_audio_in_jitter_burst_rate" : 0,
  117.                         "resurrect_uepoch" : 0,
  118.                         "last_bridge_to" : "aba778c0-5cdc-4174-9006-2262322fb834",
  119.                         "recovery_profile_name" : "external",
  120.                         "sip_bye_h_X-RestComm-CallSid" : "ID11f0bb64e3684c0aa59ac86d15678d8b-CA9b1cad37ee954f858b804446d6008260",
  121.                         "progress_mediamsec" : 160,
  122.                         "sip_from_user" : "ivoice",
  123.                         "duration" : 58,
  124.                         "sip_contact_uri" : "89955979744%4083.219.150.111%3A5060",
  125.                         "local_media_port" : 17258,
  126.                         "remote_audio_media_flow" : "sendrecv",
  127.                         "audio_media_flow" : "sendrecv",
  128.                         "flow_billusec" : 58060020,
  129.                         "local_media_ip" : "92.119.230.210",
  130.                         "rtp_audio_in_jitter_loss_rate" : 0,
  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.02,
  136.                         "sip_reply_port" : 5060,
  137.                         "end_stamp" : "2020-02-12%2004%3A53%3A25",
  138.                         "leg_timeout" : 40,
  139.                         "waitmsec" : 55300,
  140.                         "current_application_data" : "lua/sdk/outgoing-release-2.6-arsmedika.lua",
  141.                         "rtp_audio_out_raw_bytes" : 363952,
  142.                         "progress_uepoch" : 0,
  143.                         "progress_media_stamp" : "2020-02-12%2004%3A52%3A28",
  144.                         "rtp_use_codec_ptime" : 20,
  145.                         "answersec" : 16,
  146.                         "rtp_audio_in_jitter_max_variance" : 4.86,
  147.                         "sip_full_to" : "%3Csip%3A89955979744%4083.219.150.111%3E%3Btag%3Das7a629ee3",
  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" : 16810,
  153.                         "last_sent_callee_id_number" : 550,
  154.                         "sip_network_port" : 5060,
  155.                         "pre_transfer_caller_id_number" : "0000000000",
  156.                         "progress_mediasec" : 1,
  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%201581465889%201581465890%20IN%20IP4%2092.119.230.210%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.210%0D%0At%3D0%200%0D%0Am%3Daudio%2017258%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" : 15559969,
  161.                         "sip_req_uri" : "89955979744%4083.219.150.111",
  162.                         "profile_start_uepoch" : NumberLong(1581483163440102),
  163.                         "rtp_audio_in_raw_bytes" : 381152,
  164.                         "rtp_audio_rtcp_packet_count" : 0,
  165.                         "bridge_epoch" : 1581483203,
  166.                         "bridge_uepoch" : NumberLong(1581483203160106),
  167.                         "sip_user_agent" : "FPBX-13.0.197(13.24.1)",
  168.                         "write_rate" : 8000,
  169.                         "billusec" : 42500051,
  170.                         "answer_epoch" : 1581483163,
  171.                         "call_uuid" : "0e1e3af9-6d66-49e6-8c52-1d684d54e700",
  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%3Dz9hG4bKgrFKQ1BZ03m1S%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" : 58060,
  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" : 364468,
  186.                         "transfer_source" : "1581483163%3A39d459fc-051a-4307-858e-217b78d0f358%3Abl_xfer%3Aext/outgoing-release-2-6-ms11-sleep0/XML",
  187.                         "rtp_audio_in_cng_packet_count" : 0,
  188.                         "last_hold_uepoch" : 0,
  189.                         "uduration" : 58060020,
  190.                         "rtp_audio_in_quality_percentage" : 99,
  191.                         "rtp_use_codec_rate" : 8000,
  192.                         "ScenarioParametersApiPort" : 8101,
  193.                         "uuid" : "0e1e3af9-6d66-49e6-8c52-1d684d54e700",
  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" : 1380263891,
  199.                         "Client" : "5d9cfcf83563935855038f70",
  200.                         "billsec" : 42,
  201.                         "progress_media_epoch" : 1581483148,
  202.                         "rtp_2833_recv_payload" : 101,
  203.                         "CallTaskId" : "5e43848b3561d30007cef740",
  204.                         "end_epoch" : 1581483205,
  205.                         "profile_start_stamp" : "2020-02-12%2004%3A52%3A43",
  206.                         "caller_id" : "%22Outbound%20Call%22%20%3C89955979744%3E",
  207.                         "progressusec" : 0,
  208.                         "originate_early_media" : false,
  209.                         "SipServlet" : "sipservlet_ms11",
  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" : 58060,
  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" : 2119,
  217.                         "direction" : "outbound",
  218.                         "video_media_flow" : "disabled",
  219.                         "sip_to_tag" : "as7a629ee3",
  220.                         "rtp_audio_out_media_packet_count" : 2116,
  221.                         "digits_dialed" : "none",
  222.                         "signal_bond" : "aba778c0-5cdc-4174-9006-2262322fb834",
  223.                         "progress_mediausec" : 159996,
  224.                         "last_app" : "lua",
  225.                         "is_outbound" : true,
  226.                         "rtp_audio_in_jitter_min_variance" : 1.89,
  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" : 97
  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=16"
  252.                                     },
  253.                                     {
  254.                                         "app_name" : "sleep",
  255.                                         "app_data" : "${SleepTime}"
  256.                                     },
  257.                                     {
  258.                                         "app_name" : "set",
  259.                                         "app_data" : "SipServlet=sipservlet_ms11"
  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(1581483147860091),
  279.                                 "hold_accum_time" : 0,
  280.                                 "resurrect_time" : 0,
  281.                                 "answered_time" : NumberLong(1581483163420060),
  282.                                 "transfer_time" : 0,
  283.                                 "bridged_time" : NumberLong(1581483203160106),
  284.                                 "hangup_time" : NumberLong(1581483205920111),
  285.                                 "progress_media_time" : NumberLong(1581483148020087),
  286.                                 "profile_created_time" : NumberLong(1581483163440102),
  287.                                 "last_hold_time" : 0
  288.                             },
  289.                             "profile_index" : 2,
  290.                             "dialplan" : "XML",
  291.                             "clone-of" : "6782c949-f0ae-4914-b687-79e33c5aa806",
  292.                             "caller_profile" : {
  293.                                 "caller_id_name" : "Outbound Call",
  294.                                 "transfer_source" : "1581483163:39d459fc-051a-4307-858e-217b78d0f358:bl_xfer:ext/outgoing-release-2-6-ms11-sleep0/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" : "0e1e3af9-6d66-49e6-8c52-1d684d54e700",
  303.                                 "callee_id_name" : "Outbound Call",
  304.                                 "rdnis" : NumberLong(89955979744),
  305.                                 "aniii" : "",
  306.                                 "context" : "outgoing-release-2-6-ms11-sleep0",
  307.                                 "caller_id_number" : NumberLong(89955979744),
  308.                                 "ani" : "0000000000",
  309.                                 "username" : ""
  310.                             },
  311.                             "unique-id" : "39d459fc-051a-4307-858e-217b78d0f358"
  312.                         },
  313.                         {
  314.                             "times" : {
  315.                                 "progress_time" : 0,
  316.                                 "created_time" : NumberLong(1581483147860091),
  317.                                 "hold_accum_time" : 0,
  318.                                 "resurrect_time" : 0,
  319.                                 "answered_time" : NumberLong(1581483163420060),
  320.                                 "transfer_time" : NumberLong(1581483163440102),
  321.                                 "bridged_time" : 0,
  322.                                 "hangup_time" : 0,
  323.                                 "progress_media_time" : NumberLong(1581483148020087),
  324.                                 "profile_created_time" : NumberLong(1581483147860091),
  325.                                 "last_hold_time" : 0
  326.                             },
  327.                             "profile_index" : 1,
  328.                             "clone-of" : "cb65a411-57d3-4d9d-b424-f81a50150742",
  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" : "0e1e3af9-6d66-49e6-8c52-1d684d54e700",
  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" : "6782c949-f0ae-4914-b687-79e33c5aa806"
  348.                         }
  349.                     ],
  350.                     "core-uuid" : "e540fe66-7abe-4122-a05e-8ec885873054",
  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(1581483163446064),
  363.                                 "app_data" : "INFO sip-system passed vars: ClientId=5d9cfcf83563935855038f70; CampaignId=5e4269ae1755e0b8c4546919; CallTaskId=5e43848b3561d30007cef740; CallingSystemCallUuid=3449b1c7-8e00-45ac-a513-fdcbd81743e1; ScenarioResultTopic=scenario_result_sdk_v2_apps9; ScenarioParametersApiHost=small-apps9-back; ScenarioParametersApiPort=8101"
  364.                             },
  365.                             {
  366.                                 "app_name" : "wait_for_answer",
  367.                                 "app_stamp" : NumberLong(1581483163446267),
  368.                                 "app_data" : ""
  369.                             },
  370.                             {
  371.                                 "app_name" : "sched_hangup",
  372.                                 "app_stamp" : NumberLong(1581483163446449),
  373.                                 "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  374.                             },
  375.                             {
  376.                                 "app_name" : "set",
  377.                                 "app_stamp" : NumberLong(1581483163446650),
  378.                                 "app_data" : "SleepTime=16"
  379.                             },
  380.                             {
  381.                                 "app_name" : "sleep",
  382.                                 "app_stamp" : NumberLong(1581483163446866),
  383.                                 "app_data" : 16
  384.                             },
  385.                             {
  386.                                 "app_name" : "set",
  387.                                 "app_stamp" : NumberLong(1581483163466638),
  388.                                 "app_data" : "SipServlet=sipservlet_ms11"
  389.                             },
  390.                             {
  391.                                 "app_name" : "set_audio_level",
  392.                                 "app_stamp" : NumberLong(1581483163466843),
  393.                                 "app_data" : "read 4"
  394.                             },
  395.                             {
  396.                                 "app_name" : "set_audio_level",
  397.                                 "app_stamp" : NumberLong(1581483163467182),
  398.                                 "app_data" : "write 4"
  399.                             },
  400.                             {
  401.                                 "app_name" : "lua",
  402.                                 "app_stamp" : NumberLong(1581483163467394),
  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" : 2119,
  412.                                 "cng_packet_count" : 0,
  413.                                 "jitter_min_variance" : 1.89,
  414.                                 "skip_packet_count" : 9,
  415.                                 "mean_interval" : 20.02,
  416.                                 "dtmf_packet_count" : 0,
  417.                                 "jitter_loss_rate" : 0,
  418.                                 "jitter_burst_rate" : 0,
  419.                                 "flaw_total" : 8,
  420.                                 "quality_percentage" : 99,
  421.                                 "mos" : 4.49,
  422.                                 "largest_jb_size" : 0,
  423.                                 "packet_count" : 2216,
  424.                                 "jitter_max_variance" : 4.86,
  425.                                 "media_bytes" : 364468,
  426.                                 "jitter_packet_count" : 0,
  427.                                 "raw_bytes" : 381152,
  428.                                 "flush_packet_count" : 97
  429.                             },
  430.                             "outbound" : {
  431.                                 "media_packet_count" : 2116,
  432.                                 "cng_packet_count" : 0,
  433.                                 "skip_packet_count" : 0,
  434.                                 "dtmf_packet_count" : 0,
  435.                                 "rtcp_packet_count" : 0,
  436.                                 "packet_count" : 2116,
  437.                                 "media_bytes" : 363952,
  438.                                 "rtcp_octet_count" : 0,
  439.                                 "raw_bytes" : 363952
  440.                             },
  441.                             "error-log" : {
  442.                                 "error-period" : [
  443.                                     {
  444.                                         "consecutive-flaws" : 0,
  445.                                         "duration-msec" : 2540,
  446.                                         "stop" : NumberLong(1581483205920111),
  447.                                         "start" : NumberLong(1581483203380104),
  448.                                         "flaws" : 0
  449.                                     },
  450.                                     {
  451.                                         "consecutive-flaws" : 3,
  452.                                         "duration-msec" : 3199,
  453.                                         "stop" : NumberLong(1581483182620066),
  454.                                         "start" : NumberLong(1581483179420097),
  455.                                         "flaws" : 7
  456.                                     }
  457.                                 ]
  458.                             }
  459.                         }
  460.                     }
  461.                 },
  462.                 "callUuid" : "3449b1c7-8e00-45ac-a513-fdcbd81743e1",
  463.                 "callTaskId" : "5e43848b3561d30007cef740"
  464.             }
  465.         }
  466.     ],
  467.     "parameters" : {
  468.         "date" : "2019-12-19 17:00",
  469.         "doctor" : " Фёдор Никифорович",
  470.         "specialty" : "африканский шаман",
  471.         "address" : "236006, Калининградская обл., г. Калининград, пр. Московский, 50.",
  472.         "visitID" : "2308171",
  473.         "name" : "Константин",
  474.         "room" : ""
  475.     },
  476.     "nextAttemptTimestamp" : NumberLong(0),
  477.     "results" : {},
  478.     "ringingMillis" : NumberLong(0),
  479.     "talkMillis" : NumberLong(42500),
  480.     "reportParameters" : {},
  481.     "created" : NumberLong(1581483147),
  482.     "reported" : false,
  483.     "testing" : false,
  484.     "performedTimestamp" : NumberLong(1581483203),
  485.     "sumConsume" : 0.0,
  486.     "processingEvents" : [
  487.         {
  488.             "timestampSecUtc" : NumberLong(1581483147),
  489.             "dateTimeFormatted" : "12.02.20 04:52",
  490.             "author" : "calling-system",
  491.             "event" : "call initiated: OutgoingCall(uuid=3449b1c7-8e00-45ac-a513-fdcbd81743e1, 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-ms11-sleep0, createdUtcMs=1581483147853, callUuid=3449b1c7-8e00-45ac-a513-fdcbd81743e1, callTaskUuid=5e43848b3561d30007cef740, client=5d9cfcf83563935855038f70, campaign=5e4269ae1755e0b8c4546919, originateParameters={}, originateTimeoutSec=40), originateResult=null, systemError=null, cdr=null); message to kafka to call task is about to be sent"
  492.         },
  493.         {
  494.             "timestampSecUtc" : NumberLong(1581483163),
  495.             "dateTimeFormatted" : "12.02.20 04:52",
  496.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  497.             "event" : "transition to ONGOING on call answered"
  498.         },
  499.         {
  500.             "timestampSecUtc" : NumberLong(1581483205960),
  501.             "dateTimeFormatted" : "12.02.20 04:53",
  502.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  503.             "event" : "CDR_RECEIVED",
  504.             "parameters" : {
  505.                 "nextState" : "PERFORMED",
  506.                 "talkMillis" : NumberLong(42500)
  507.             }
  508.         }
  509.     ],
  510.     "fullCost" : NumberLong(0),
  511.     "fullBilling" : false,
  512.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  513.     "scenarioResult" : {
  514.         "time" : ISODate("2020-02-12T04:53:23.072Z"),
  515.         "items" : [
  516.             {
  517.                 "time" : ISODate("2020-02-12T04:52:43.513Z"),
  518.                 "name" : "params",
  519.                 "value" : "medika_visit",
  520.                 "details" : {
  521.                     "date" : "2019-12-19 17:00",
  522.                     "sleepBeforeScenarioMs" : "16",
  523.                     "specialty" : "африканский шаман",
  524.                     "address" : "236006, Калининградская обл., г. Калининград, пр. Московский, 50.",
  525.                     "campaignId" : "5e4269ae1755e0b8c4546919",
  526.                     "callTaskId" : "5e43848b3561d30007cef740",
  527.                     "solutionName" : "medika_visit",
  528.                     "room" : "",
  529.                     "callUuid" : "3449b1c7-8e00-45ac-a513-fdcbd81743e1",
  530.                     "doctor" : " Фёдор Никифорович",
  531.                     "visitID" : "2308171",
  532.                     "phone" : "89955979744",
  533.                     "name" : "Константин",
  534.                     "scenarioId" : "5d9cfcc4356393585502eb13"
  535.                 }
  536.             },
  537.             {
  538.                 "time" : ISODate("2020-02-12T04:53:19.364Z"),
  539.                 "name" : "прием подтвержден",
  540.                 "value" : "undefined",
  541.                 "details" : {}
  542.             },
  543.             {
  544.                 "time" : ISODate("2020-02-12T04:53:23.072Z"),
  545.                 "name" : "hangup",
  546.                 "value" : "bridge",
  547.                 "details" : {
  548.                     "destination" : "sofia/gateway/ars-medika-01/550"
  549.                 }
  550.             }
  551.         ],
  552.         "log" : [
  553.             {
  554.                 "time" : ISODate("2020-02-12T04:52:57.592Z"),
  555.                 "text" : "start requesting option (no, yes)",
  556.                 "context" : {
  557.                     "sid" : "1675b819-f45c-4da3-a913-49218efe0fb9",
  558.                     "question" : "прием подтвержден"
  559.                 }
  560.             },
  561.             {
  562.                 "time" : ISODate("2020-02-12T04:53:07.275Z"),
  563.                 "text" : "recognise on asr failed",
  564.                 "context" : {
  565.                     "sid" : "1675b819-f45c-4da3-a913-49218efe0fb9",
  566.                     "question" : "прием подтвержден",
  567.                     "cause" : "silence"
  568.                 }
  569.             },
  570.             {
  571.                 "time" : ISODate("2020-02-12T04:53:07.275Z"),
  572.                 "text" : "retry requesting option (no, yes)",
  573.                 "context" : {
  574.                     "sid" : "e3539059-1a42-4a6b-b3e4-083f361546c0",
  575.                     "question" : "прием подтвержден"
  576.                 }
  577.             },
  578.             {
  579.                 "time" : ISODate("2020-02-12T04:53:19.364Z"),
  580.                 "text" : "recognise on asr failed",
  581.                 "context" : {
  582.                     "sid" : "e3539059-1a42-4a6b-b3e4-083f361546c0",
  583.                     "question" : "прием подтвержден",
  584.                     "cause" : "silence"
  585.                 }
  586.             }
  587.         ],
  588.         "callId" : "3449b1c7-8e00-45ac-a513-fdcbd81743e1",
  589.         "taskId" : "5e43848b3561d30007cef740",
  590.         "resourceSpentEvents" : [
  591.             {
  592.                 "vendor" : "YANDEX_TTS",
  593.                 "amount" : {
  594.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  595.                 }
  596.             },
  597.             {
  598.                 "vendor" : "YANDEX_TTS",
  599.                 "amount" : {
  600.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(10)
  601.                 }
  602.             },
  603.             {
  604.                 "vendor" : "YANDEX_TTS",
  605.                 "amount" : {
  606.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  607.                 }
  608.             },
  609.             {
  610.                 "vendor" : "YANDEX_TTS",
  611.                 "amount" : {
  612.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(28)
  613.                 }
  614.             },
  615.             {
  616.                 "vendor" : "YANDEX_TTS",
  617.                 "amount" : {
  618.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  619.                 }
  620.             },
  621.             {
  622.                 "vendor" : "YANDEX_TTS",
  623.                 "amount" : {
  624.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(36)
  625.                 }
  626.             },
  627.             {
  628.                 "vendor" : "YANDEX_TTS",
  629.                 "amount" : {
  630.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  631.                 }
  632.             },
  633.             {
  634.                 "vendor" : "GOOGLE_ASR",
  635.                 "amount" : {
  636.                     "SPEECH_TIME" : NumberLong(9681),
  637.                     "SPEECH_CHAR_COUNT" : NumberLong(0),
  638.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  639.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(9681)
  640.                 }
  641.             },
  642.             {
  643.                 "vendor" : "YANDEX_TTS",
  644.                 "amount" : {
  645.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  646.                 }
  647.             },
  648.             {
  649.                 "vendor" : "GOOGLE_ASR",
  650.                 "amount" : {
  651.                     "SPEECH_TIME" : NumberLong(8078),
  652.                     "SPEECH_CHAR_COUNT" : NumberLong(0),
  653.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  654.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(8078)
  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