Advertisement
ScrappyCocoJamba

cnmt-2

Apr 6th, 2020
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 41.71 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("5e8abff6ffbf3e00095e2937"),
  3.     "phone" : "89955979744",
  4.     "campaign" : "5e5e56113554309633698211",
  5.     "state" : "PERFORMED",
  6.     "lastCallRequestTimestamp" : NumberLong(1586151415804),
  7.     "callAnsweredTimestamp" : NumberLong(1586151424657),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "e96e83a2-b336-45b0-a044-b51a4ea28ae6",
  12.             "request" : {
  13.                 "targetTopic" : "sip-system-originate-request-fs2-release-2-3",
  14.                 "responseTopic" : "calling-system-orig-result-apps10",
  15.                 "scenarioResultTopic" : "scenario_result_sdk_v2_apps10",
  16.                 "scenarioParametersApiHost" : "small-apps10-back",
  17.                 "scenarioParametersApiPort" : "8106",
  18.                 "callUrl" : "sofia/gateway/cnmt-01/89955979744 ext XML outgoing-release-2-6-ms10-cnmt",
  19.                 "createdUtcMs" : NumberLong(1586151415804),
  20.                 "callUuid" : "e96e83a2-b336-45b0-a044-b51a4ea28ae6",
  21.                 "callTaskUuid" : "5e8abff6ffbf3e00095e2937",
  22.                 "client" : "5e5e52dc355430963359fd93",
  23.                 "campaign" : "5e5e56113554309633698211",
  24.                 "originateParameters" : {},
  25.                 "originateTimeoutSec" : 20
  26.             },
  27.             "originateResult" : {
  28.                 "timestamp" : NumberLong(1586151424657),
  29.                 "sipCode" : 200,
  30.                 "fullSipSystemResponse" : "+OK 44f61d12-8325-4491-9ab9-9f0aed45f1bb",
  31.                 "callUuid" : "e96e83a2-b336-45b0-a044-b51a4ea28ae6",
  32.                 "callTaskId" : "5e8abff6ffbf3e00095e2937"
  33.             },
  34.             "cdr" : {
  35.                 "cdr" : {
  36.                     "variables" : {
  37.                         "write_codec" : "PCMA",
  38.                         "sip_to_host" : "109.202.17.156",
  39.                         "hold_accum_usec" : 0,
  40.                         "sip_from_port" : 5060,
  41.                         "bridge_uuid" : "9d59575d-18cf-432c-837b-b673b02b33c8",
  42.                         "start_epoch" : 1586151415,
  43.                         "rtp_2833_send_payload" : 101,
  44.                         "original_read_rate" : 8000,
  45.                         "profile_start_epoch" : 1586151424,
  46.                         "last_bridge_role" : "originator",
  47.                         "transfer_history" : "1586151424%3Ad8f71c56-c272-420b-8d33-9dd98cc8846a%3Abl_xfer%3Aext/outgoing-release-2-6-ms10-cnmt/XML",
  48.                         "sip_hangup_phrase" : "OK",
  49.                         "CallingSystemCallUuid" : "e96e83a2-b336-45b0-a044-b51a4ea28ae6",
  50.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.222%3A5060",
  51.                         "sip_term_cause" : 16,
  52.                         "ignore_early_media" : true,
  53.                         "waitusec" : 76280047,
  54.                         "sip_to_user" : NumberLong(89955979744),
  55.                         "rtp_last_audio_codec_string" : "PCMA%408000h%4020i%401c",
  56.                         "rtp_audio_in_packet_count" : 3434,
  57.                         "rtp_audio_in_jitter_packet_count" : 0,
  58.                         "last_arg" : "lua/sdk/outgoing-release-2.6-cnmt.lua",
  59.                         "end_uepoch" : NumberLong(1586151494650319),
  60.                         "rtp_use_codec_name" : "PCMA",
  61.                         "answer_uepoch" : NumberLong(1586151424630374),
  62.                         "record_seconds" : 70,
  63.                         "start_uepoch" : NumberLong(1586151415810327),
  64.                         "waitsec" : 77,
  65.                         "flow_billsec" : 79,
  66.                         "sip_call_id" : "77dec3d3-f26b-1238-1483-7a0bcb97d606",
  67.                         "sip_full_from" : "%22%22%20%3Csip%3AFreeSWITCH%40109.202.17.156%3A5060%3E%3Btag%3DajNc68562apgg",
  68.                         "remote_video_media_flow" : "inactive",
  69.                         "remote_text_media_flow" : "inactive",
  70.                         "bridge_stamp" : "2020-04-06%2005%3A38%3A12",
  71.                         "sip_hangup_disposition" : "recv_bye",
  72.                         "read_rate" : 8000,
  73.                         "rtp_audio_in_skip_packet_count" : 78,
  74.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3D-%203324875916%204027766871%20IN%20IP4%20109.202.17.156%0D%0As%3DOktell%0D%0Ac%3DIN%20IP4%20109.202.17.156%0D%0At%3D0%200%0D%0Am%3Daudio%2018732%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dptime%3A20%0D%0A",
  75.                         "sip_recover_via" : "SIP/2.0/UDP%2092.119.230.222%3A5060%3Bbranch%3Dz9hG4bKcg9pv6eKj9S5j%3Breceived%3D92.119.230.222%3Brport%3D5060",
  76.                         "rtp_audio_rtcp_octet_count" : 0,
  77.                         "sip_reply_host" : "109.202.17.156",
  78.                         "billmsec" : 70020,
  79.                         "record_samples" : 560640,
  80.                         "answer_stamp" : "2020-04-06%2005%3A37%3A04",
  81.                         "session_id" : 9282,
  82.                         "progress_stamp" : "2020-04-06%2005%3A36%3A55",
  83.                         "hold_accum_seconds" : 0,
  84.                         "last_hold_epoch" : 0,
  85.                         "sip_bye_h_X-Ivoice-BridgeDestination" : "sofia/gateway/cnmt-01/499",
  86.                         "progresssec" : 0,
  87.                         "sip_cseq" : 18521915,
  88.                         "current_application" : "lua",
  89.                         "hangup_cause" : "NORMAL_CLEARING",
  90.                         "hangup_cause_q850" : 16,
  91.                         "resurrect_epoch" : 0,
  92.                         "rtp_audio_in_flaw_total" : 104,
  93.                         "advertised_media_ip" : "92.119.230.222",
  94.                         "SleepTime" : 16,
  95.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_apps10",
  96.                         "hold_accum_ms" : 0,
  97.                         "rtp_audio_out_packet_count" : 3489,
  98.                         "sip_contact_user" : NumberLong(89955979744),
  99.                         "start_stamp" : "2020-04-06%2005%3A36%3A55",
  100.                         "rtp_audio_recv_pt" : 8,
  101.                         "progress_media_uepoch" : 0,
  102.                         "rtp_use_codec_string" : "PCMA,PCMU",
  103.                         "progressmsec" : 80,
  104.                         "bridge_hangup_cause" : "NORMAL_CLEARING",
  105.                         "rtp_audio_out_dtmf_packet_count" : 0,
  106.                         "proto_specific_hangup_cause" : "sip%3A200",
  107.                         "rtp_audio_in_mos" : 4.46,
  108.                         "last_sent_callee_id_name" : "Outbound%20Call",
  109.                         "sip_local_network_addr" : "92.119.230.222",
  110.                         "rtp_audio_out_media_bytes" : 600108,
  111.                         "rtp_use_timer_name" : "soft",
  112.                         "Campaign" : "5e5e56113554309633698211",
  113.                         "text_media_flow" : "disabled",
  114.                         "sip_term_status" : 200,
  115.                         "answermsec" : 8820,
  116.                         "sip_profile_name" : "gateway",
  117.                         "sofia_profile_name" : "external",
  118.                         "sip_from_tag" : "ajNc68562apgg",
  119.                         "rtp_audio_in_jitter_burst_rate" : 1.02,
  120.                         "resurrect_uepoch" : 0,
  121.                         "last_bridge_to" : "9d59575d-18cf-432c-837b-b673b02b33c8",
  122.                         "recovery_profile_name" : "external",
  123.                         "sip_bye_h_X-RestComm-CallSid" : "ID11f0bb64e3684c0aa59ac86d15678d8b-CAa9d6246b84764a7e8e2f47eff7a3ec1a",
  124.                         "progress_mediamsec" : 0,
  125.                         "sip_from_user" : "FreeSWITCH",
  126.                         "duration" : 79,
  127.                         "sip_contact_uri" : "89955979744%40109.202.17.156%3A5060",
  128.                         "local_media_port" : 20054,
  129.                         "remote_audio_media_flow" : "sendrecv",
  130.                         "audio_media_flow" : "sendrecv",
  131.                         "flow_billusec" : 78839992,
  132.                         "local_media_ip" : "92.119.230.222",
  133.                         "rtp_audio_in_jitter_loss_rate" : 0.01,
  134.                         "sip_from_uri" : "FreeSWITCH%40109.202.17.156%3A5060",
  135.                         "ScenarioParametersApiHost" : "small-apps10-back",
  136.                         "sip_bye_h_X-Ivoice-MARK" : "drugoy_otvet",
  137.                         "endpoint_disposition" : "ANSWER",
  138.                         "sip_contact_host" : "109.202.17.156",
  139.                         "rtp_audio_in_mean_interval" : 20.23,
  140.                         "sip_reply_port" : 5060,
  141.                         "end_stamp" : "2020-04-06%2005%3A38%3A14",
  142.                         "leg_timeout" : 20,
  143.                         "waitmsec" : 76280,
  144.                         "current_application_data" : "lua/sdk/outgoing-release-2.6-cnmt.lua",
  145.                         "rtp_audio_out_raw_bytes" : 600108,
  146.                         "progress_uepoch" : NumberLong(1586151415890346),
  147.                         "rtp_use_codec_ptime" : 20,
  148.                         "record_file_size" : 2242604,
  149.                         "answersec" : 9,
  150.                         "rtp_audio_in_jitter_max_variance" : 63.54,
  151.                         "sip_full_to" : "%3Csip%3A89955979744%40109.202.17.156%3A5060%3E%3Btag%3Dff5229ec-0f000000-1473770a",
  152.                         "max_forwards" : 70,
  153.                         "sip_network_ip" : "109.202.17.156",
  154.                         "sip_from_host" : "109.202.17.156",
  155.                         "rtp_audio_in_dtmf_packet_count" : 0,
  156.                         "remote_media_port" : 18732,
  157.                         "last_sent_callee_id_number" : 499,
  158.                         "sip_network_port" : 5060,
  159.                         "pre_transfer_caller_id_number" : "0000000000",
  160.                         "progress_mediasec" : 0,
  161.                         "sip_recover_contact" : "%3Csip%3A89955979744%40109.202.17.156%3A5060%3Btransport%3DUDP%3E",
  162.                         "rtp_use_codec_channels" : 1,
  163.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201586131361%201586131362%20IN%20IP4%2092.119.230.222%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.222%0D%0At%3D0%200%0D%0Am%3Daudio%2020054%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",
  164.                         "record_completion_cause" : "success-silence",
  165.                         "answerusec" : 8820047,
  166.                         "sip_req_uri" : "89955979744%40109.202.17.156%3A5060",
  167.                         "profile_start_uepoch" : NumberLong(1586151424650325),
  168.                         "RECORD_STEREO" : true,
  169.                         "rtp_audio_in_raw_bytes" : 590648,
  170.                         "rtp_audio_rtcp_packet_count" : 0,
  171.                         "bridge_epoch" : 1586151492,
  172.                         "bridge_uepoch" : NumberLong(1586151492090374),
  173.                         "sip_user_agent" : "Oktell%202.15.3%20HCS%202.16.72.231%20Nov%2028%202019",
  174.                         "write_rate" : 8000,
  175.                         "billusec" : 70019945,
  176.                         "answer_epoch" : 1586151424,
  177.                         "call_uuid" : "44f61d12-8325-4491-9ab9-9f0aed45f1bb",
  178.                         "rtp_audio_out_skip_packet_count" : 0,
  179.                         "sip_full_via" : "SIP/2.0/UDP%2092.119.230.222%3A5060%3Bbranch%3Dz9hG4bKcg9pv6eKj9S5j%3Breceived%3D92.119.230.222%3Brport%3D5060",
  180.                         "channel_name" : "sofia/external/89955979744",
  181.                         "rtp_audio_out_cng_packet_count" : 0,
  182.                         "progress_epoch" : 1586151415,
  183.                         "mduration" : 78840,
  184.                         "last_bridge_hangup_cause" : "NORMAL_CLEARING",
  185.                         "record_ms" : 70080,
  186.                         "remote_media_ip" : "109.202.17.156",
  187.                         "ep_codec_string" : "CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b",
  188.                         "rtp_use_pt" : 8,
  189.                         "rtp_audio_in_largest_jb_size" : 0,
  190.                         "rtp_audio_in_media_bytes" : 589960,
  191.                         "transfer_source" : "1586151424%3Ad8f71c56-c272-420b-8d33-9dd98cc8846a%3Abl_xfer%3Aext/outgoing-release-2-6-ms10-cnmt/XML",
  192.                         "rtp_audio_in_cng_packet_count" : 0,
  193.                         "last_hold_uepoch" : 0,
  194.                         "uduration" : 78839992,
  195.                         "rtp_audio_in_quality_percentage" : 96,
  196.                         "rtp_use_codec_rate" : 8000,
  197.                         "ScenarioParametersApiPort" : 8106,
  198.                         "uuid" : "44f61d12-8325-4491-9ab9-9f0aed45f1bb",
  199.                         "sip_gateway_name" : "cnmt-01",
  200.                         "sip_destination_url" : "sip%3A89955979744%40109.202.17.156%3A5060",
  201.                         "sip_to_uri" : "89955979744%40109.202.17.156%3A5060",
  202.                         "read_codec" : "PCMA",
  203.                         "rtp_use_ssrc" : NumberLong(2592950623),
  204.                         "Client" : "5e5e52dc355430963359fd93",
  205.                         "billsec" : 70,
  206.                         "progress_media_epoch" : 0,
  207.                         "rtp_2833_recv_payload" : 101,
  208.                         "CallTaskId" : "5e8abff6ffbf3e00095e2937",
  209.                         "end_epoch" : 1586151494,
  210.                         "profile_start_stamp" : "2020-04-06%2005%3A37%3A04",
  211.                         "caller_id" : "%22Outbound%20Call%22%20%3C89955979744%3E",
  212.                         "progressusec" : 80019,
  213.                         "originate_early_media" : false,
  214.                         "SipServlet" : "sipservlet_ms10",
  215.                         "sip_outgoing_contact_uri" : "%3Csip%3Agw%2Bcnmt-01%4092.119.230.222%3A5060%3Btransport%3Dudp%3Bgw%3Dcnmt-01%3E",
  216.                         "sip_contact_port" : 5060,
  217.                         "flow_billmsec" : 78840,
  218.                         "bridge_channel" : "sofia/external/499",
  219.                         "dtmf_type" : "rfc2833",
  220.                         "rtp_audio_in_media_packet_count" : 3430,
  221.                         "direction" : "outbound",
  222.                         "video_media_flow" : "disabled",
  223.                         "sip_contact_params" : "transport%3DUDP",
  224.                         "sip_to_tag" : "ff5229ec-0f000000-1473770a",
  225.                         "sip_to_port" : 5060,
  226.                         "rtp_audio_out_media_packet_count" : 3489,
  227.                         "digits_dialed" : "none",
  228.                         "signal_bond" : "9d59575d-18cf-432c-837b-b673b02b33c8",
  229.                         "progress_mediausec" : 0,
  230.                         "last_app" : "lua",
  231.                         "is_outbound" : true,
  232.                         "rtp_audio_in_jitter_min_variance" : 16.62,
  233.                         "hangup_complete_with_xml" : true,
  234.                         "original_read_codec" : "PCMA",
  235.                         "last_bridge_proto_specific_hangup_cause" : "sip%3A200",
  236.                         "rtp_audio_in_flush_packet_count" : 4
  237.                     },
  238.                     "callflow" : [
  239.                         {
  240.                             "extension" : {
  241.                                 "current_app" : "set_audio_level",
  242.                                 "number" : "ext",
  243.                                 "application" : [
  244.                                     {
  245.                                         "app_name" : "log",
  246.                                         "app_data" : "INFO sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid}; ScenarioResultTopic=${ScenarioResultTopic}; ScenarioParametersApiHost=${ScenarioParametersApiHost}; ScenarioParametersApiPort=${ScenarioParametersApiPort}"
  247.                                     },
  248.                                     {
  249.                                         "app_name" : "wait_for_answer",
  250.                                         "app_data" : ""
  251.                                     },
  252.                                     {
  253.                                         "app_name" : "sched_hangup",
  254.                                         "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  255.                                     },
  256.                                     {
  257.                                         "app_name" : "set",
  258.                                         "app_data" : "RECORD_STEREO=true"
  259.                                     },
  260.                                     {
  261.                                         "app_name" : "record_session",
  262.                                         "app_data" : "/var/lib/freeswitch/recordings/${Client}/${Campaign}/${CallTaskId}.wav"
  263.                                     },
  264.                                     {
  265.                                         "app_name" : "set",
  266.                                         "app_data" : "SleepTime=16"
  267.                                     },
  268.                                     {
  269.                                         "app_name" : "sleep",
  270.                                         "app_data" : "${SleepTime}"
  271.                                     },
  272.                                     {
  273.                                         "app_name" : "set",
  274.                                         "app_data" : "SipServlet=sipservlet_ms10"
  275.                                     },
  276.                                     {
  277.                                         "app_name" : "lua",
  278.                                         "app_data" : "lua/sdk/outgoing-release-2.6-cnmt.lua"
  279.                                     },
  280.                                     {
  281.                                         "app_name" : "set_audio_level",
  282.                                         "app_data" : "read 4",
  283.                                         "last_executed" : true
  284.                                     },
  285.                                     {
  286.                                         "app_name" : "set_audio_level",
  287.                                         "app_data" : "write 4"
  288.                                     }
  289.                                 ],
  290.                                 "name" : "ext"
  291.                             },
  292.                             "times" : {
  293.                                 "progress_time" : NumberLong(1586151415890346),
  294.                                 "created_time" : NumberLong(1586151415810327),
  295.                                 "hold_accum_time" : 0,
  296.                                 "resurrect_time" : 0,
  297.                                 "answered_time" : NumberLong(1586151424630374),
  298.                                 "transfer_time" : 0,
  299.                                 "bridged_time" : NumberLong(1586151492090374),
  300.                                 "hangup_time" : NumberLong(1586151494650319),
  301.                                 "progress_media_time" : 0,
  302.                                 "profile_created_time" : NumberLong(1586151424650325),
  303.                                 "last_hold_time" : 0
  304.                             },
  305.                             "profile_index" : 2,
  306.                             "dialplan" : "XML",
  307.                             "clone-of" : "e6587e68-449f-4976-b48a-a1be552909ac",
  308.                             "caller_profile" : {
  309.                                 "caller_id_name" : "Outbound Call",
  310.                                 "transfer_source" : "1586151424:d8f71c56-c272-420b-8d33-9dd98cc8846a:bl_xfer:ext/outgoing-release-2-6-ms10-cnmt/XML",
  311.                                 "destination_number" : "ext",
  312.                                 "device_id" : "",
  313.                                 "chan_name" : "sofia/external/89955979744",
  314.                                 "dialplan" : "XML",
  315.                                 "callee_id_number" : 499,
  316.                                 "source" : "src/switch_ivr_originate.c",
  317.                                 "network_addr" : "109.202.17.156",
  318.                                 "uuid" : "44f61d12-8325-4491-9ab9-9f0aed45f1bb",
  319.                                 "callee_id_name" : "Outbound Call",
  320.                                 "rdnis" : NumberLong(89955979744),
  321.                                 "aniii" : "",
  322.                                 "context" : "outgoing-release-2-6-ms10-cnmt",
  323.                                 "caller_id_number" : NumberLong(89955979744),
  324.                                 "ani" : "0000000000",
  325.                                 "username" : ""
  326.                             },
  327.                             "unique-id" : "d8f71c56-c272-420b-8d33-9dd98cc8846a"
  328.                         },
  329.                         {
  330.                             "times" : {
  331.                                 "progress_time" : NumberLong(1586151415890346),
  332.                                 "created_time" : NumberLong(1586151415810327),
  333.                                 "hold_accum_time" : 0,
  334.                                 "resurrect_time" : 0,
  335.                                 "answered_time" : NumberLong(1586151424630374),
  336.                                 "transfer_time" : NumberLong(1586151424650325),
  337.                                 "bridged_time" : 0,
  338.                                 "hangup_time" : 0,
  339.                                 "progress_media_time" : 0,
  340.                                 "profile_created_time" : NumberLong(1586151415810327),
  341.                                 "last_hold_time" : 0
  342.                             },
  343.                             "profile_index" : 1,
  344.                             "clone-of" : "da1274cf-ab18-45a8-8af7-0c0496b916f3",
  345.                             "caller_profile" : {
  346.                                 "caller_id_name" : "",
  347.                                 "destination_number" : NumberLong(89955979744),
  348.                                 "device_id" : "",
  349.                                 "chan_name" : "sofia/external/89955979744",
  350.                                 "dialplan" : "",
  351.                                 "callee_id_number" : NumberLong(89955979744),
  352.                                 "source" : "src/switch_ivr_originate.c",
  353.                                 "network_addr" : "109.202.17.156",
  354.                                 "uuid" : "44f61d12-8325-4491-9ab9-9f0aed45f1bb",
  355.                                 "callee_id_name" : "Outbound Call",
  356.                                 "rdnis" : "",
  357.                                 "aniii" : "",
  358.                                 "context" : "default",
  359.                                 "caller_id_number" : "0000000000",
  360.                                 "ani" : "0000000000",
  361.                                 "username" : ""
  362.                             },
  363.                             "unique-id" : "e6587e68-449f-4976-b48a-a1be552909ac"
  364.                         }
  365.                     ],
  366.                     "core-uuid" : "ca997e1a-1db2-4ae8-9a18-df43d40d46b2",
  367.                     "channel_data" : {
  368.                         "state_number" : 11,
  369.                         "flags" : "0=1;1=1;2=1;21=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",
  370.                         "state" : "CS_REPORTING",
  371.                         "direction" : "outbound",
  372.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  373.                     },
  374.                     "app_log" : {
  375.                         "application" : [
  376.                             {
  377.                                 "app_name" : "log",
  378.                                 "app_stamp" : NumberLong(1586151424654503),
  379.                                 "app_data" : "INFO sip-system passed vars: ClientId=5e5e52dc355430963359fd93; CampaignId=5e5e56113554309633698211; CallTaskId=5e8abff6ffbf3e00095e2937; CallingSystemCallUuid=e96e83a2-b336-45b0-a044-b51a4ea28ae6; ScenarioResultTopic=scenario_result_sdk_v2_apps10; ScenarioParametersApiHost=small-apps10-back; ScenarioParametersApiPort=8106"
  380.                             },
  381.                             {
  382.                                 "app_name" : "wait_for_answer",
  383.                                 "app_stamp" : NumberLong(1586151424654809),
  384.                                 "app_data" : ""
  385.                             },
  386.                             {
  387.                                 "app_name" : "sched_hangup",
  388.                                 "app_stamp" : NumberLong(1586151424655046),
  389.                                 "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  390.                             },
  391.                             {
  392.                                 "app_name" : "set",
  393.                                 "app_stamp" : NumberLong(1586151424655369),
  394.                                 "app_data" : "RECORD_STEREO=true"
  395.                             },
  396.                             {
  397.                                 "app_name" : "record_session",
  398.                                 "app_stamp" : NumberLong(1586151424655658),
  399.                                 "app_data" : "/var/lib/freeswitch/recordings/5e5e52dc355430963359fd93/5e5e56113554309633698211/5e8abff6ffbf3e00095e2937.wav"
  400.                             },
  401.                             {
  402.                                 "app_name" : "set",
  403.                                 "app_stamp" : NumberLong(1586151424668976),
  404.                                 "app_data" : "SleepTime=16"
  405.                             },
  406.                             {
  407.                                 "app_name" : "sleep",
  408.                                 "app_stamp" : NumberLong(1586151424669262),
  409.                                 "app_data" : 16
  410.                             },
  411.                             {
  412.                                 "app_name" : "set",
  413.                                 "app_stamp" : NumberLong(1586151424687079),
  414.                                 "app_data" : "SipServlet=sipservlet_ms10"
  415.                             },
  416.                             {
  417.                                 "app_name" : "lua",
  418.                                 "app_stamp" : NumberLong(1586151424687372),
  419.                                 "app_data" : "lua/sdk/outgoing-release-2.6-cnmt.lua"
  420.                             }
  421.                         ]
  422.                     },
  423.                     "switchname" : "fs2",
  424.                     "call-stats" : {
  425.                         "audio" : {
  426.                             "inbound" : {
  427.                                 "media_packet_count" : 3430,
  428.                                 "cng_packet_count" : 0,
  429.                                 "jitter_min_variance" : 16.62,
  430.                                 "skip_packet_count" : 78,
  431.                                 "mean_interval" : 20.23,
  432.                                 "dtmf_packet_count" : 0,
  433.                                 "jitter_loss_rate" : 0.01,
  434.                                 "jitter_burst_rate" : 1.02,
  435.                                 "flaw_total" : 104,
  436.                                 "quality_percentage" : 96,
  437.                                 "mos" : 4.46,
  438.                                 "largest_jb_size" : 0,
  439.                                 "packet_count" : 3434,
  440.                                 "jitter_max_variance" : 63.54,
  441.                                 "media_bytes" : 589960,
  442.                                 "jitter_packet_count" : 0,
  443.                                 "raw_bytes" : 590648,
  444.                                 "flush_packet_count" : 4
  445.                             },
  446.                             "outbound" : {
  447.                                 "media_packet_count" : 3489,
  448.                                 "cng_packet_count" : 0,
  449.                                 "skip_packet_count" : 0,
  450.                                 "dtmf_packet_count" : 0,
  451.                                 "rtcp_packet_count" : 0,
  452.                                 "packet_count" : 3489,
  453.                                 "media_bytes" : 600108,
  454.                                 "rtcp_octet_count" : 0,
  455.                                 "raw_bytes" : 600108
  456.                             },
  457.                             "error-log" : {
  458.                                 "error-period" : [
  459.                                     {
  460.                                         "consecutive-flaws" : 0,
  461.                                         "duration-msec" : 2359,
  462.                                         "stop" : NumberLong(1586151494650319),
  463.                                         "start" : NumberLong(1586151492290367),
  464.                                         "flaws" : 0
  465.                                     },
  466.                                     {
  467.                                         "consecutive-flaws" : 2,
  468.                                         "duration-msec" : 2999,
  469.                                         "stop" : NumberLong(1586151491430323),
  470.                                         "start" : NumberLong(1586151488430328),
  471.                                         "flaws" : 4
  472.                                     },
  473.                                     {
  474.                                         "consecutive-flaws" : 2,
  475.                                         "duration-msec" : 4420,
  476.                                         "stop" : NumberLong(1586151484630340),
  477.                                         "start" : NumberLong(1586151480210323),
  478.                                         "flaws" : 6
  479.                                     },
  480.                                     {
  481.                                         "consecutive-flaws" : 1,
  482.                                         "duration-msec" : 3180,
  483.                                         "stop" : NumberLong(1586151478810327),
  484.                                         "start" : NumberLong(1586151475630323),
  485.                                         "flaws" : 4
  486.                                     },
  487.                                     {
  488.                                         "consecutive-flaws" : 2,
  489.                                         "duration-msec" : 4279,
  490.                                         "stop" : NumberLong(1586151469690328),
  491.                                         "start" : NumberLong(1586151465410360),
  492.                                         "flaws" : 6
  493.                                     },
  494.                                     {
  495.                                         "consecutive-flaws" : 1,
  496.                                         "duration-msec" : 3020,
  497.                                         "stop" : NumberLong(1586151464670375),
  498.                                         "start" : NumberLong(1586151461650356),
  499.                                         "flaws" : 3
  500.                                     },
  501.                                     {
  502.                                         "consecutive-flaws" : 15,
  503.                                         "duration-msec" : 15900,
  504.                                         "stop" : NumberLong(1586151460490387),
  505.                                         "start" : NumberLong(1586151444590369),
  506.                                         "flaws" : 46
  507.                                     },
  508.                                     {
  509.                                         "consecutive-flaws" : 2,
  510.                                         "duration-msec" : 4120,
  511.                                         "stop" : NumberLong(1586151442770349),
  512.                                         "start" : NumberLong(1586151438650329),
  513.                                         "flaws" : 6
  514.                                     },
  515.                                     {
  516.                                         "consecutive-flaws" : 9,
  517.                                         "duration-msec" : 12200,
  518.                                         "stop" : NumberLong(1586151438150350),
  519.                                         "start" : NumberLong(1586151425950323),
  520.                                         "flaws" : 28
  521.                                     }
  522.                                 ]
  523.                             }
  524.                         }
  525.                     }
  526.                 },
  527.                 "callUuid" : "e96e83a2-b336-45b0-a044-b51a4ea28ae6",
  528.                 "callTaskId" : "5e8abff6ffbf3e00095e2937"
  529.             }
  530.         }
  531.     ],
  532.     "parameters" : {
  533.         "date" : "08.04.2020",
  534.         "phone" : "123456789",
  535.         "clientName" : "Николай Петрович",
  536.         "records" : [
  537.             {
  538.                 "time" : "17:50",
  539.                 "doctor" : "Ангмар Трокаль",
  540.                 "type" : "лечение болезни",
  541.                 "address" : "Камышовая бухта, 35"
  542.             }
  543.         ],
  544.         "preparationTexts" : [
  545.             "115"
  546.         ],
  547.         "age" : "27"
  548.     },
  549.     "nextAttemptTimestamp" : NumberLong(0),
  550.     "results" : {},
  551.     "ringingMillis" : NumberLong(0),
  552.     "talkMillis" : NumberLong(70020),
  553.     "reportParameters" : {
  554.         "date" : "08.04.2020",
  555.         "phone" : "123456789",
  556.         "clientName" : "Николай Петрович",
  557.         "age" : "27"
  558.     },
  559.     "created" : NumberLong(1586151414),
  560.     "reported" : false,
  561.     "testing" : false,
  562.     "performedTimestamp" : NumberLong(1586151494),
  563.     "sumConsume" : 0.0,
  564.     "processingEvents" : [
  565.         {
  566.             "timestampSecUtc" : NumberLong(1586151415),
  567.             "dateTimeFormatted" : "06.04.20 05:36",
  568.             "author" : "calling-system",
  569.             "event" : "call initiated: OutgoingCall(uuid=e96e83a2-b336-45b0-a044-b51a4ea28ae6, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-fs2-release-2-3, responseTopic=calling-system-orig-result-apps10, scenarioResultTopic=scenario_result_sdk_v2_apps10, scenarioParametersApiHost=small-apps10-back, scenarioParametersApiPort=8106, callUrl=sofia/gateway/cnmt-01/89955979744 ext XML outgoing-release-2-6-ms10-cnmt, createdUtcMs=1586151415804, callUuid=e96e83a2-b336-45b0-a044-b51a4ea28ae6, callTaskUuid=5e8abff6ffbf3e00095e2937, client=5e5e52dc355430963359fd93, campaign=5e5e56113554309633698211, originateParameters={}, originateTimeoutSec=20), originateResult=null, systemError=null, cdr=null); message to kafka to call task is about to be sent"
  570.         },
  571.         {
  572.             "timestampSecUtc" : NumberLong(1586151424),
  573.             "dateTimeFormatted" : "06.04.20 05:37",
  574.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  575.             "event" : "transition to ONGOING on call answered"
  576.         },
  577.         {
  578.             "timestampSecUtc" : NumberLong(1586151494696),
  579.             "dateTimeFormatted" : "06.04.20 05:38",
  580.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  581.             "event" : "CDR_RECEIVED",
  582.             "parameters" : {
  583.                 "nextState" : "PERFORMED",
  584.                 "talkMillis" : NumberLong(70020)
  585.             }
  586.         }
  587.     ],
  588.     "fullCost" : NumberLong(0),
  589.     "fullBilling" : false,
  590.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  591.     "scenarioResult" : {
  592.         "time" : ISODate("2020-04-06T05:38:11.967Z"),
  593.         "items" : [
  594.             {
  595.                 "time" : ISODate("2020-04-06T05:37:04.725Z"),
  596.                 "name" : "params",
  597.                 "value" : "reminder",
  598.                 "details" : {
  599.                     "date" : "08.04.2020",
  600.                     "sleepBeforeScenarioMs" : "16",
  601.                     "phone" : "123456789",
  602.                     "clientName" : "Николай Петрович",
  603.                     "records" : [
  604.                         {
  605.                             "time" : "17:50",
  606.                             "doctor" : "Ангмар Трокаль",
  607.                             "type" : "лечение болезни",
  608.                             "address" : "Камышовая бухта, 35"
  609.                         }
  610.                     ],
  611.                     "preparationTexts" : [
  612.                         "115"
  613.                     ],
  614.                     "campaignId" : "5e5e56113554309633698211",
  615.                     "callTaskId" : "5e8abff6ffbf3e00095e2937",
  616.                     "solutionName" : "reminder",
  617.                     "scenarioId" : "5e5e77d03554309633eadbb9",
  618.                     "age" : "27",
  619.                     "callUuid" : "e96e83a2-b336-45b0-a044-b51a4ea28ae6"
  620.                 }
  621.             },
  622.             {
  623.                 "time" : ISODate("2020-04-06T05:37:30.730Z"),
  624.                 "name" : "вы придете на прием",
  625.                 "value" : "да",
  626.                 "details" : {}
  627.             },
  628.             {
  629.                 "time" : ISODate("2020-04-06T05:37:38.911Z"),
  630.                 "name" : "напомнить подготовку",
  631.                 "value" : "да",
  632.                 "details" : {}
  633.             },
  634.             {
  635.                 "time" : ISODate("2020-04-06T05:38:08.625Z"),
  636.                 "name" : "остались вопросы",
  637.                 "value" : "молчание",
  638.                 "details" : {}
  639.             },
  640.             {
  641.                 "time" : ISODate("2020-04-06T05:38:11.967Z"),
  642.                 "name" : "hangup",
  643.                 "value" : "bridge",
  644.                 "details" : {
  645.                     "destination" : "sofia/gateway/cnmt-01/499",
  646.                     "X-Ivoice-MARK" : "drugoy_otvet"
  647.                 }
  648.             }
  649.         ],
  650.         "log" : [
  651.             {
  652.                 "time" : ISODate("2020-04-06T05:37:04.727Z"),
  653.                 "text" : "start requesting option (no, yes)",
  654.                 "context" : {
  655.                     "sid" : "560866db-d17f-4a35-8326-9e528de99a9c",
  656.                     "question" : "вы придете на прием"
  657.                 }
  658.             },
  659.             {
  660.                 "time" : ISODate("2020-04-06T05:37:30.725Z"),
  661.                 "text" : "recognise option(yes) on asr",
  662.                 "context" : {
  663.                     "sid" : "560866db-d17f-4a35-8326-9e528de99a9c",
  664.                     "question" : "вы придете на прием",
  665.                     "recognition" : [
  666.                         {
  667.                             "text" : "да",
  668.                             "confidence" : 0.0
  669.                         }
  670.                     ]
  671.                 }
  672.             },
  673.             {
  674.                 "time" : ISODate("2020-04-06T05:37:30.730Z"),
  675.                 "text" : "start requesting option (yes, no)",
  676.                 "context" : {
  677.                     "sid" : "835470cd-c95f-44e8-8a9b-c09a556fbcd8",
  678.                     "question" : "напомнить подготовку"
  679.                 }
  680.             },
  681.             {
  682.                 "time" : ISODate("2020-04-06T05:37:38.908Z"),
  683.                 "text" : "recognise option(yes) on asr",
  684.                 "context" : {
  685.                     "sid" : "835470cd-c95f-44e8-8a9b-c09a556fbcd8",
  686.                     "question" : "напомнить подготовку",
  687.                     "recognition" : [
  688.                         {
  689.                             "text" : "да",
  690.                             "confidence" : 0.0
  691.                         }
  692.                     ]
  693.                 }
  694.             },
  695.             {
  696.                 "time" : ISODate("2020-04-06T05:37:59.686Z"),
  697.                 "text" : "start requesting option (yes, no)",
  698.                 "context" : {
  699.                     "sid" : "fc4b0cbb-995e-486f-b041-76fb41de2c7b",
  700.                     "question" : "напомнить подготовку"
  701.                 }
  702.             },
  703.             {
  704.                 "time" : ISODate("2020-04-06T05:38:08.625Z"),
  705.                 "text" : "recognise on asr failed",
  706.                 "context" : {
  707.                     "sid" : "fc4b0cbb-995e-486f-b041-76fb41de2c7b",
  708.                     "question" : "напомнить подготовку",
  709.                     "cause" : "silence"
  710.                 }
  711.             }
  712.         ],
  713.         "callId" : "e96e83a2-b336-45b0-a044-b51a4ea28ae6",
  714.         "taskId" : "5e8abff6ffbf3e00095e2937",
  715.         "resourceSpentEvents" : [
  716.             {
  717.                 "vendor" : "YANDEX_TTS",
  718.                 "amount" : {
  719.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(158)
  720.                 }
  721.             },
  722.             {
  723.                 "vendor" : "GOOGLE_ASR",
  724.                 "amount" : {
  725.                     "SPEECH_TIME" : NumberLong(3814),
  726.                     "SPEECH_CHAR_COUNT" : NumberLong(2),
  727.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  728.                 }
  729.             },
  730.             {
  731.                 "vendor" : "YANDEX_TTS",
  732.                 "amount" : {
  733.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  734.                 }
  735.             },
  736.             {
  737.                 "vendor" : "GOOGLE_ASR",
  738.                 "amount" : {
  739.                     "SPEECH_TIME" : NumberLong(7172),
  740.                     "SPEECH_CHAR_COUNT" : NumberLong(2),
  741.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  742.                 }
  743.             },
  744.             {
  745.                 "vendor" : "YANDEX_TTS",
  746.                 "amount" : {
  747.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  748.                 }
  749.             },
  750.             {
  751.                 "vendor" : "YANDEX_TTS",
  752.                 "amount" : {
  753.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  754.                 }
  755.             },
  756.             {
  757.                 "vendor" : "YANDEX_TTS",
  758.                 "amount" : {
  759.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  760.                 }
  761.             },
  762.             {
  763.                 "vendor" : "YANDEX_TTS",
  764.                 "amount" : {
  765.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  766.                 }
  767.             },
  768.             {
  769.                 "vendor" : "GOOGLE_ASR",
  770.                 "amount" : {
  771.                     "SPEECH_TIME" : NumberLong(8931),
  772.                     "SPEECH_CHAR_COUNT" : NumberLong(0),
  773.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  774.                 }
  775.             },
  776.             {
  777.                 "vendor" : "YANDEX_TTS",
  778.                 "amount" : {
  779.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  780.                 }
  781.             }
  782.         ]
  783.     }
  784. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement