Advertisement
ScrappyCocoJamba

cnmt-1

Apr 6th, 2020
670
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 41.65 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("5e8abf84ffbf3e00095e2936"),
  3.     "phone" : "89955979744",
  4.     "campaign" : "5e5e56113554309633698211",
  5.     "state" : "PERFORMED",
  6.     "lastCallRequestTimestamp" : NumberLong(1586151301660),
  7.     "callAnsweredTimestamp" : NumberLong(1586151311337),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "93344810-7e4d-4c94-b9d8-3d7911999c4b",
  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(1586151301660),
  20.                 "callUuid" : "93344810-7e4d-4c94-b9d8-3d7911999c4b",
  21.                 "callTaskUuid" : "5e8abf84ffbf3e00095e2936",
  22.                 "client" : "5e5e52dc355430963359fd93",
  23.                 "campaign" : "5e5e56113554309633698211",
  24.                 "originateParameters" : {},
  25.                 "originateTimeoutSec" : 20
  26.             },
  27.             "originateResult" : {
  28.                 "timestamp" : NumberLong(1586151311337),
  29.                 "sipCode" : 200,
  30.                 "fullSipSystemResponse" : "+OK cf8a1433-0b27-4eff-9e26-8308beb5d89f",
  31.                 "callUuid" : "93344810-7e4d-4c94-b9d8-3d7911999c4b",
  32.                 "callTaskId" : "5e8abf84ffbf3e00095e2936"
  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" : "3c21b827-6133-4dec-8287-b129f22b743e",
  42.                         "start_epoch" : 1586151301,
  43.                         "rtp_2833_send_payload" : 101,
  44.                         "original_read_rate" : 8000,
  45.                         "profile_start_epoch" : 1586151311,
  46.                         "transfer_history" : "1586151311%3A7ca33b33-e724-4421-9b06-f41e7b02ee82%3Abl_xfer%3Aext/outgoing-release-2-6-ms10-cnmt/XML",
  47.                         "sip_hangup_phrase" : "OK",
  48.                         "CallingSystemCallUuid" : "93344810-7e4d-4c94-b9d8-3d7911999c4b",
  49.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.222%3A5060",
  50.                         "ignore_early_media" : true,
  51.                         "waitusec" : 9840070,
  52.                         "sip_to_user" : NumberLong(89955979744),
  53.                         "rtp_last_audio_codec_string" : "PCMA%408000h%4020i%401c",
  54.                         "rtp_audio_in_packet_count" : 2203,
  55.                         "rtp_audio_in_jitter_packet_count" : 0,
  56.                         "last_arg" : "lua/sdk/outgoing-release-2.6-cnmt.lua",
  57.                         "end_uepoch" : NumberLong(1586151356050379),
  58.                         "rtp_use_codec_name" : "PCMA",
  59.                         "answer_uepoch" : NumberLong(1586151311310354),
  60.                         "record_seconds" : 44,
  61.                         "start_uepoch" : NumberLong(1586151301670324),
  62.                         "waitsec" : 10,
  63.                         "flow_billsec" : 55,
  64.                         "sip_call_id" : "33d615c3-f26b-1238-1483-7a0bcb97d606",
  65.                         "sip_full_from" : "%22%22%20%3Csip%3AFreeSWITCH%40109.202.17.156%3A5060%3E%3Btag%3DaHcKD7apZDDtD",
  66.                         "remote_video_media_flow" : "inactive",
  67.                         "remote_text_media_flow" : "inactive",
  68.                         "bridge_stamp" : "2020-04-06%2005%3A35%3A11",
  69.                         "sip_hangup_disposition" : "send_bye",
  70.                         "read_rate" : 8000,
  71.                         "rtp_audio_in_skip_packet_count" : 31,
  72.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3D-%202768248155%204027652728%20IN%20IP4%20109.202.17.156%0D%0As%3DOktell%0D%0Ac%3DIN%20IP4%20109.202.17.156%0D%0At%3D0%200%0D%0Am%3Daudio%2018710%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",
  73.                         "sip_recover_via" : "SIP/2.0/UDP%2092.119.230.222%3A5060%3Bbranch%3Dz9hG4bKFac88N6c66K7j%3Breceived%3D92.119.230.222%3Brport%3D5060",
  74.                         "rtp_audio_rtcp_octet_count" : 0,
  75.                         "sip_reply_host" : "109.202.17.156",
  76.                         "billmsec" : 44740,
  77.                         "record_samples" : 356480,
  78.                         "answer_stamp" : "2020-04-06%2005%3A35%3A11",
  79.                         "session_id" : 9280,
  80.                         "progress_stamp" : "2020-04-06%2005%3A35%3A01",
  81.                         "hold_accum_seconds" : 0,
  82.                         "last_hold_epoch" : 0,
  83.                         "progresssec" : 0,
  84.                         "sip_cseq" : 18521858,
  85.                         "current_application" : "lua",
  86.                         "hangup_cause" : "NORMAL_CLEARING",
  87.                         "hangup_cause_q850" : 16,
  88.                         "resurrect_epoch" : 0,
  89.                         "rtp_audio_in_flaw_total" : 54,
  90.                         "advertised_media_ip" : "92.119.230.222",
  91.                         "SleepTime" : 16,
  92.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_apps10",
  93.                         "hold_accum_ms" : 0,
  94.                         "rtp_audio_out_packet_count" : 2227,
  95.                         "sip_contact_user" : NumberLong(89955979744),
  96.                         "start_stamp" : "2020-04-06%2005%3A35%3A01",
  97.                         "rtp_audio_recv_pt" : 8,
  98.                         "progress_media_uepoch" : 0,
  99.                         "rtp_use_codec_string" : "PCMA,PCMU",
  100.                         "progressmsec" : 60,
  101.                         "bridge_hangup_cause" : "NORMAL_CLEARING",
  102.                         "rtp_audio_out_dtmf_packet_count" : 0,
  103.                         "rtp_audio_in_mos" : 4.47,
  104.                         "last_sent_callee_id_name" : "Outbound%20Call",
  105.                         "sip_local_network_addr" : "92.119.230.222",
  106.                         "rtp_audio_out_media_bytes" : 383044,
  107.                         "rtp_use_timer_name" : "soft",
  108.                         "Campaign" : "5e5e56113554309633698211",
  109.                         "text_media_flow" : "disabled",
  110.                         "answermsec" : 9640,
  111.                         "sip_profile_name" : "gateway",
  112.                         "sofia_profile_name" : "external",
  113.                         "sip_from_tag" : "aHcKD7apZDDtD",
  114.                         "rtp_audio_in_jitter_burst_rate" : 0.99,
  115.                         "resurrect_uepoch" : 0,
  116.                         "last_bridge_to" : "3c21b827-6133-4dec-8287-b129f22b743e",
  117.                         "recovery_profile_name" : "external",
  118.                         "sip_bye_h_X-RestComm-CallSid" : "ID11f0bb64e3684c0aa59ac86d15678d8b-CAcaa0226143754a3d9d7ab8413451ad0e",
  119.                         "progress_mediamsec" : 0,
  120.                         "sip_from_user" : "FreeSWITCH",
  121.                         "duration" : 55,
  122.                         "sip_contact_uri" : "89955979744%40109.202.17.156%3A5060",
  123.                         "local_media_port" : 18230,
  124.                         "remote_audio_media_flow" : "sendrecv",
  125.                         "audio_media_flow" : "sendrecv",
  126.                         "flow_billusec" : 54380055,
  127.                         "local_media_ip" : "92.119.230.222",
  128.                         "rtp_audio_in_jitter_loss_rate" : 0.01,
  129.                         "sip_from_uri" : "FreeSWITCH%40109.202.17.156%3A5060",
  130.                         "ScenarioParametersApiHost" : "small-apps10-back",
  131.                         "endpoint_disposition" : "ANSWER",
  132.                         "sip_contact_host" : "109.202.17.156",
  133.                         "rtp_audio_in_mean_interval" : 20.17,
  134.                         "sip_reply_port" : 5060,
  135.                         "end_stamp" : "2020-04-06%2005%3A35%3A56",
  136.                         "leg_timeout" : 20,
  137.                         "waitmsec" : 9840,
  138.                         "current_application_data" : "lua/sdk/outgoing-release-2.6-cnmt.lua",
  139.                         "rtp_audio_out_raw_bytes" : 383044,
  140.                         "progress_uepoch" : NumberLong(1586151301730366),
  141.                         "rtp_use_codec_ptime" : 20,
  142.                         "record_file_size" : 1425964,
  143.                         "answersec" : 10,
  144.                         "rtp_audio_in_jitter_max_variance" : 169.07,
  145.                         "sip_full_to" : "%3Csip%3A89955979744%40109.202.17.156%3A5060%3E%3Btag%3Dee9427ec-fe4f0000-0c61770a",
  146.                         "max_forwards" : 70,
  147.                         "sip_network_ip" : "109.202.17.156",
  148.                         "sip_from_host" : "109.202.17.156",
  149.                         "rtp_audio_in_dtmf_packet_count" : 0,
  150.                         "remote_media_port" : 18710,
  151.                         "last_sent_callee_id_number" : "outgoingSolution%3FtaskId%3D5e8abf84ffbf3e00095e2936%26callUuid%3D93344810-7e4d-4c94-b9d8-3d7911999c4b%26callTaskServiceHost%3Dsmall-apps10-back%26callTaskServicePort%3D8106%26scenarioResultTopic%3Dscenario_result_sdk_v2_apps10%26sleepBeforeScenarioMs%3D16",
  152.                         "sip_network_port" : 5060,
  153.                         "pre_transfer_caller_id_number" : "0000000000",
  154.                         "progress_mediasec" : 0,
  155.                         "sip_recover_contact" : "%3Csip%3A89955979744%40109.202.17.156%3A5060%3Btransport%3DUDP%3E",
  156.                         "rtp_use_codec_channels" : 1,
  157.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201586133071%201586133072%20IN%20IP4%2092.119.230.222%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.222%0D%0At%3D0%200%0D%0Am%3Daudio%2018230%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",
  158.                         "record_completion_cause" : "success-silence",
  159.                         "answerusec" : 9640030,
  160.                         "sip_req_uri" : "89955979744%40109.202.17.156%3A5060",
  161.                         "profile_start_uepoch" : NumberLong(1586151311330339),
  162.                         "RECORD_STEREO" : true,
  163.                         "rtp_audio_in_raw_bytes" : 378916,
  164.                         "rtp_audio_rtcp_packet_count" : 0,
  165.                         "bridge_epoch" : 1586151311,
  166.                         "bridge_uepoch" : NumberLong(1586151311510394),
  167.                         "sip_user_agent" : "Oktell%202.15.3%20HCS%202.16.72.231%20Nov%2028%202019",
  168.                         "write_rate" : 8000,
  169.                         "billusec" : 44740025,
  170.                         "answer_epoch" : 1586151311,
  171.                         "call_uuid" : "cf8a1433-0b27-4eff-9e26-8308beb5d89f",
  172.                         "rtp_audio_out_skip_packet_count" : 0,
  173.                         "sip_full_via" : "SIP/2.0/UDP%2092.119.230.222%3A5060%3Bbranch%3Dz9hG4bKFac88N6c66K7j%3Breceived%3D92.119.230.222%3Brport%3D5060",
  174.                         "channel_name" : "sofia/external/89955979744",
  175.                         "rtp_audio_out_cng_packet_count" : 0,
  176.                         "progress_epoch" : 1586151301,
  177.                         "mduration" : 54380,
  178.                         "last_bridge_hangup_cause" : "NORMAL_CLEARING",
  179.                         "record_ms" : 44560,
  180.                         "remote_media_ip" : "109.202.17.156",
  181.                         "ep_codec_string" : "CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b",
  182.                         "rtp_use_pt" : 8,
  183.                         "rtp_audio_in_largest_jb_size" : 0,
  184.                         "rtp_audio_in_media_bytes" : 378572,
  185.                         "transfer_source" : "1586151311%3A7ca33b33-e724-4421-9b06-f41e7b02ee82%3Abl_xfer%3Aext/outgoing-release-2-6-ms10-cnmt/XML",
  186.                         "rtp_audio_in_cng_packet_count" : 0,
  187.                         "last_hold_uepoch" : 0,
  188.                         "uduration" : 54380055,
  189.                         "rtp_audio_in_quality_percentage" : 97,
  190.                         "rtp_use_codec_rate" : 8000,
  191.                         "ScenarioParametersApiPort" : 8106,
  192.                         "uuid" : "cf8a1433-0b27-4eff-9e26-8308beb5d89f",
  193.                         "sip_gateway_name" : "cnmt-01",
  194.                         "sip_destination_url" : "sip%3A89955979744%40109.202.17.156%3A5060",
  195.                         "sip_to_uri" : "89955979744%40109.202.17.156%3A5060",
  196.                         "read_codec" : "PCMA",
  197.                         "rtp_use_ssrc" : NumberLong(2861326861),
  198.                         "Client" : "5e5e52dc355430963359fd93",
  199.                         "billsec" : 45,
  200.                         "progress_media_epoch" : 0,
  201.                         "rtp_2833_recv_payload" : 101,
  202.                         "CallTaskId" : "5e8abf84ffbf3e00095e2936",
  203.                         "end_epoch" : 1586151356,
  204.                         "profile_start_stamp" : "2020-04-06%2005%3A35%3A11",
  205.                         "caller_id" : "%22Outbound%20Call%22%20%3C89955979744%3E",
  206.                         "progressusec" : 60042,
  207.                         "originate_early_media" : false,
  208.                         "SipServlet" : "sipservlet_ms10",
  209.                         "sip_outgoing_contact_uri" : "%3Csip%3Agw%2Bcnmt-01%4092.119.230.222%3A5060%3Btransport%3Dudp%3Bgw%3Dcnmt-01%3E",
  210.                         "sip_contact_port" : 5060,
  211.                         "flow_billmsec" : 54380,
  212.                         "bridge_channel" : "sofia/external/outgoingSolution%3FtaskId%3D5e8abf84ffbf3e00095e2936%26callUuid%3D93344810-7e4d-4c94-b9d8-3d7911999c4b%26callTaskServiceHost%3Dsmall-apps10-back%26callTaskServicePort%3D8106%26scenarioResultTopic%3Dscenario_result_sdk_v2_apps10%26sleepBeforeScenarioMs%3D16",
  213.                         "dtmf_type" : "rfc2833",
  214.                         "rtp_audio_in_media_packet_count" : 2201,
  215.                         "direction" : "outbound",
  216.                         "video_media_flow" : "disabled",
  217.                         "sip_contact_params" : "transport%3DUDP",
  218.                         "sip_to_tag" : "ee9427ec-fe4f0000-0c61770a",
  219.                         "sip_to_port" : 5060,
  220.                         "rtp_audio_out_media_packet_count" : 2227,
  221.                         "digits_dialed" : "none",
  222.                         "signal_bond" : "3c21b827-6133-4dec-8287-b129f22b743e",
  223.                         "progress_mediausec" : 0,
  224.                         "last_app" : "lua",
  225.                         "is_outbound" : true,
  226.                         "rtp_audio_in_jitter_min_variance" : 47.97,
  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" : 2
  231.                     },
  232.                     "callflow" : [
  233.                         {
  234.                             "extension" : {
  235.                                 "current_app" : "set_audio_level",
  236.                                 "number" : "ext",
  237.                                 "application" : [
  238.                                     {
  239.                                         "app_name" : "log",
  240.                                         "app_data" : "INFO sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid}; ScenarioResultTopic=${ScenarioResultTopic}; ScenarioParametersApiHost=${ScenarioParametersApiHost}; ScenarioParametersApiPort=${ScenarioParametersApiPort}"
  241.                                     },
  242.                                     {
  243.                                         "app_name" : "wait_for_answer",
  244.                                         "app_data" : ""
  245.                                     },
  246.                                     {
  247.                                         "app_name" : "sched_hangup",
  248.                                         "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  249.                                     },
  250.                                     {
  251.                                         "app_name" : "set",
  252.                                         "app_data" : "RECORD_STEREO=true"
  253.                                     },
  254.                                     {
  255.                                         "app_name" : "record_session",
  256.                                         "app_data" : "/var/lib/freeswitch/recordings/${Client}/${Campaign}/${CallTaskId}.wav"
  257.                                     },
  258.                                     {
  259.                                         "app_name" : "set",
  260.                                         "app_data" : "SleepTime=16"
  261.                                     },
  262.                                     {
  263.                                         "app_name" : "sleep",
  264.                                         "app_data" : "${SleepTime}"
  265.                                     },
  266.                                     {
  267.                                         "app_name" : "set",
  268.                                         "app_data" : "SipServlet=sipservlet_ms10"
  269.                                     },
  270.                                     {
  271.                                         "app_name" : "lua",
  272.                                         "app_data" : "lua/sdk/outgoing-release-2.6-cnmt.lua"
  273.                                     },
  274.                                     {
  275.                                         "app_name" : "set_audio_level",
  276.                                         "app_data" : "read 4",
  277.                                         "last_executed" : true
  278.                                     },
  279.                                     {
  280.                                         "app_name" : "set_audio_level",
  281.                                         "app_data" : "write 4"
  282.                                     }
  283.                                 ],
  284.                                 "name" : "ext"
  285.                             },
  286.                             "times" : {
  287.                                 "progress_time" : NumberLong(1586151301730366),
  288.                                 "created_time" : NumberLong(1586151301670324),
  289.                                 "hold_accum_time" : 0,
  290.                                 "resurrect_time" : 0,
  291.                                 "answered_time" : NumberLong(1586151311310354),
  292.                                 "transfer_time" : 0,
  293.                                 "bridged_time" : NumberLong(1586151311510394),
  294.                                 "hangup_time" : NumberLong(1586151356050379),
  295.                                 "progress_media_time" : 0,
  296.                                 "profile_created_time" : NumberLong(1586151311330339),
  297.                                 "last_hold_time" : 0
  298.                             },
  299.                             "profile_index" : 2,
  300.                             "dialplan" : "XML",
  301.                             "clone-of" : "ab7550f5-c6f2-4d4b-94c2-b95460dd07c5",
  302.                             "caller_profile" : {
  303.                                 "caller_id_name" : "Outbound Call",
  304.                                 "transfer_source" : "1586151311:7ca33b33-e724-4421-9b06-f41e7b02ee82:bl_xfer:ext/outgoing-release-2-6-ms10-cnmt/XML",
  305.                                 "destination_number" : "ext",
  306.                                 "device_id" : "",
  307.                                 "chan_name" : "sofia/external/89955979744",
  308.                                 "dialplan" : "XML",
  309.                                 "callee_id_number" : "outgoingSolution?taskId=5e8abf84ffbf3e00095e2936&callUuid=93344810-7e4d-4c94-b9d8-3d7911999c4b&callTaskServiceHost=small-apps10-back&callTaskServicePort=8106&scenarioResultTopic=scenario_result_sdk_v2_apps10&sleepBeforeScenarioMs=16",
  310.                                 "source" : "src/switch_ivr_originate.c",
  311.                                 "network_addr" : "109.202.17.156",
  312.                                 "uuid" : "cf8a1433-0b27-4eff-9e26-8308beb5d89f",
  313.                                 "callee_id_name" : "Outbound Call",
  314.                                 "rdnis" : NumberLong(89955979744),
  315.                                 "aniii" : "",
  316.                                 "context" : "outgoing-release-2-6-ms10-cnmt",
  317.                                 "caller_id_number" : NumberLong(89955979744),
  318.                                 "ani" : "0000000000",
  319.                                 "username" : ""
  320.                             },
  321.                             "unique-id" : "7ca33b33-e724-4421-9b06-f41e7b02ee82"
  322.                         },
  323.                         {
  324.                             "times" : {
  325.                                 "progress_time" : NumberLong(1586151301730366),
  326.                                 "created_time" : NumberLong(1586151301670324),
  327.                                 "hold_accum_time" : 0,
  328.                                 "resurrect_time" : 0,
  329.                                 "answered_time" : NumberLong(1586151311310354),
  330.                                 "transfer_time" : NumberLong(1586151311330339),
  331.                                 "bridged_time" : 0,
  332.                                 "hangup_time" : 0,
  333.                                 "progress_media_time" : 0,
  334.                                 "profile_created_time" : NumberLong(1586151301670324),
  335.                                 "last_hold_time" : 0
  336.                             },
  337.                             "profile_index" : 1,
  338.                             "clone-of" : "bd855ed3-51fd-4c2a-86bb-9914acb24fe1",
  339.                             "caller_profile" : {
  340.                                 "caller_id_name" : "",
  341.                                 "destination_number" : NumberLong(89955979744),
  342.                                 "device_id" : "",
  343.                                 "chan_name" : "sofia/external/89955979744",
  344.                                 "dialplan" : "",
  345.                                 "callee_id_number" : NumberLong(89955979744),
  346.                                 "source" : "src/switch_ivr_originate.c",
  347.                                 "network_addr" : "109.202.17.156",
  348.                                 "uuid" : "cf8a1433-0b27-4eff-9e26-8308beb5d89f",
  349.                                 "callee_id_name" : "Outbound Call",
  350.                                 "rdnis" : "",
  351.                                 "aniii" : "",
  352.                                 "context" : "default",
  353.                                 "caller_id_number" : "0000000000",
  354.                                 "ani" : "0000000000",
  355.                                 "username" : ""
  356.                             },
  357.                             "unique-id" : "ab7550f5-c6f2-4d4b-94c2-b95460dd07c5"
  358.                         }
  359.                     ],
  360.                     "core-uuid" : "ca997e1a-1db2-4ae8-9a18-df43d40d46b2",
  361.                     "channel_data" : {
  362.                         "state_number" : 11,
  363.                         "flags" : "0=1;1=1;2=1;21=1;38=1;39=1;41=1;44=1;49=1;54=1;61=1;96=1;113=1;114=1;123=1;160=1;166=1",
  364.                         "state" : "CS_REPORTING",
  365.                         "direction" : "outbound",
  366.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  367.                     },
  368.                     "app_log" : {
  369.                         "application" : [
  370.                             {
  371.                                 "app_name" : "log",
  372.                                 "app_stamp" : NumberLong(1586151311335204),
  373.                                 "app_data" : "INFO sip-system passed vars: ClientId=5e5e52dc355430963359fd93; CampaignId=5e5e56113554309633698211; CallTaskId=5e8abf84ffbf3e00095e2936; CallingSystemCallUuid=93344810-7e4d-4c94-b9d8-3d7911999c4b; ScenarioResultTopic=scenario_result_sdk_v2_apps10; ScenarioParametersApiHost=small-apps10-back; ScenarioParametersApiPort=8106"
  374.                             },
  375.                             {
  376.                                 "app_name" : "wait_for_answer",
  377.                                 "app_stamp" : NumberLong(1586151311335481),
  378.                                 "app_data" : ""
  379.                             },
  380.                             {
  381.                                 "app_name" : "sched_hangup",
  382.                                 "app_stamp" : NumberLong(1586151311335834),
  383.                                 "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  384.                             },
  385.                             {
  386.                                 "app_name" : "set",
  387.                                 "app_stamp" : NumberLong(1586151311336136),
  388.                                 "app_data" : "RECORD_STEREO=true"
  389.                             },
  390.                             {
  391.                                 "app_name" : "record_session",
  392.                                 "app_stamp" : NumberLong(1586151311336417),
  393.                                 "app_data" : "/var/lib/freeswitch/recordings/5e5e52dc355430963359fd93/5e5e56113554309633698211/5e8abf84ffbf3e00095e2936.wav"
  394.                             },
  395.                             {
  396.                                 "app_name" : "set",
  397.                                 "app_stamp" : NumberLong(1586151311352293),
  398.                                 "app_data" : "SleepTime=16"
  399.                             },
  400.                             {
  401.                                 "app_name" : "sleep",
  402.                                 "app_stamp" : NumberLong(1586151311352619),
  403.                                 "app_data" : 16
  404.                             },
  405.                             {
  406.                                 "app_name" : "set",
  407.                                 "app_stamp" : NumberLong(1586151311378338),
  408.                                 "app_data" : "SipServlet=sipservlet_ms10"
  409.                             },
  410.                             {
  411.                                 "app_name" : "lua",
  412.                                 "app_stamp" : NumberLong(1586151311378665),
  413.                                 "app_data" : "lua/sdk/outgoing-release-2.6-cnmt.lua"
  414.                             }
  415.                         ]
  416.                     },
  417.                     "switchname" : "fs2",
  418.                     "call-stats" : {
  419.                         "audio" : {
  420.                             "inbound" : {
  421.                                 "media_packet_count" : 2201,
  422.                                 "cng_packet_count" : 0,
  423.                                 "jitter_min_variance" : 47.97,
  424.                                 "skip_packet_count" : 31,
  425.                                 "mean_interval" : 20.17,
  426.                                 "dtmf_packet_count" : 0,
  427.                                 "jitter_loss_rate" : 0.01,
  428.                                 "jitter_burst_rate" : 0.99,
  429.                                 "flaw_total" : 54,
  430.                                 "quality_percentage" : 97,
  431.                                 "mos" : 4.47,
  432.                                 "largest_jb_size" : 0,
  433.                                 "packet_count" : 2203,
  434.                                 "jitter_max_variance" : 169.07,
  435.                                 "media_bytes" : 378572,
  436.                                 "jitter_packet_count" : 0,
  437.                                 "raw_bytes" : 378916,
  438.                                 "flush_packet_count" : 2
  439.                             },
  440.                             "outbound" : {
  441.                                 "media_packet_count" : 2227,
  442.                                 "cng_packet_count" : 0,
  443.                                 "skip_packet_count" : 0,
  444.                                 "dtmf_packet_count" : 0,
  445.                                 "rtcp_packet_count" : 0,
  446.                                 "packet_count" : 2227,
  447.                                 "media_bytes" : 383044,
  448.                                 "rtcp_octet_count" : 0,
  449.                                 "raw_bytes" : 383044
  450.                             },
  451.                             "error-log" : {
  452.                                 "error-period" : [
  453.                                     {
  454.                                         "consecutive-flaws" : 4,
  455.                                         "duration-msec" : 4140,
  456.                                         "stop" : NumberLong(1586151353430400),
  457.                                         "start" : NumberLong(1586151349290331),
  458.                                         "flaws" : 10
  459.                                     },
  460.                                     {
  461.                                         "consecutive-flaws" : 2,
  462.                                         "duration-msec" : 4979,
  463.                                         "stop" : NumberLong(1586151346030350),
  464.                                         "start" : NumberLong(1586151341050366),
  465.                                         "flaws" : 6
  466.                                     },
  467.                                     {
  468.                                         "consecutive-flaws" : 2,
  469.                                         "duration-msec" : 3359,
  470.                                         "stop" : NumberLong(1586151339770326),
  471.                                         "start" : NumberLong(1586151336410334),
  472.                                         "flaws" : 6
  473.                                     },
  474.                                     {
  475.                                         "consecutive-flaws" : 1,
  476.                                         "duration-msec" : 3039,
  477.                                         "stop" : NumberLong(1586151336210324),
  478.                                         "start" : NumberLong(1586151333170355),
  479.                                         "flaws" : 3
  480.                                     },
  481.                                     {
  482.                                         "consecutive-flaws" : 1,
  483.                                         "duration-msec" : 3020,
  484.                                         "stop" : NumberLong(1586151330970391),
  485.                                         "start" : NumberLong(1586151327950326),
  486.                                         "flaws" : 3
  487.                                     },
  488.                                     {
  489.                                         "consecutive-flaws" : 1,
  490.                                         "duration-msec" : 3020,
  491.                                         "stop" : NumberLong(1586151326030392),
  492.                                         "start" : NumberLong(1586151323010328),
  493.                                         "flaws" : 3
  494.                                     },
  495.                                     {
  496.                                         "consecutive-flaws" : 5,
  497.                                         "duration-msec" : 5859,
  498.                                         "stop" : NumberLong(1586151322710324),
  499.                                         "start" : NumberLong(1586151316850360),
  500.                                         "flaws" : 16
  501.                                     },
  502.                                     {
  503.                                         "consecutive-flaws" : 2,
  504.                                         "duration-msec" : 4400,
  505.                                         "stop" : NumberLong(1586151316210345),
  506.                                         "start" : NumberLong(1586151311810337),
  507.                                         "flaws" : 6
  508.                                     }
  509.                                 ]
  510.                             }
  511.                         }
  512.                     }
  513.                 },
  514.                 "callUuid" : "93344810-7e4d-4c94-b9d8-3d7911999c4b",
  515.                 "callTaskId" : "5e8abf84ffbf3e00095e2936"
  516.             }
  517.         }
  518.     ],
  519.     "parameters" : {
  520.         "date" : "08.04.2020",
  521.         "phone" : "123456789",
  522.         "clientName" : "Николай Петрович",
  523.         "records" : [
  524.             {
  525.                 "time" : "17:50",
  526.                 "doctor" : "Ангмар Трокаль",
  527.                 "type" : "лечение болезни",
  528.                 "address" : "Камышовая бухта, 35"
  529.             }
  530.         ],
  531.         "preparationTexts" : [
  532.             "115"
  533.         ],
  534.         "age" : "27"
  535.     },
  536.     "nextAttemptTimestamp" : NumberLong(0),
  537.     "results" : {},
  538.     "ringingMillis" : NumberLong(0),
  539.     "talkMillis" : NumberLong(44740),
  540.     "reportParameters" : {
  541.         "date" : "08.04.2020",
  542.         "phone" : "123456789",
  543.         "clientName" : "Николай Петрович",
  544.         "age" : "27"
  545.     },
  546.     "created" : NumberLong(1586151300),
  547.     "reported" : false,
  548.     "testing" : false,
  549.     "performedTimestamp" : NumberLong(1586151356),
  550.     "sumConsume" : 0.0,
  551.     "processingEvents" : [
  552.         {
  553.             "timestampSecUtc" : NumberLong(1586151301),
  554.             "dateTimeFormatted" : "06.04.20 05:35",
  555.             "author" : "calling-system",
  556.             "event" : "call initiated: OutgoingCall(uuid=93344810-7e4d-4c94-b9d8-3d7911999c4b, 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=1586151301660, callUuid=93344810-7e4d-4c94-b9d8-3d7911999c4b, callTaskUuid=5e8abf84ffbf3e00095e2936, client=5e5e52dc355430963359fd93, campaign=5e5e56113554309633698211, originateParameters={}, originateTimeoutSec=20), originateResult=null, systemError=null, cdr=null); message to kafka to call task is about to be sent"
  557.         },
  558.         {
  559.             "timestampSecUtc" : NumberLong(1586151311),
  560.             "dateTimeFormatted" : "06.04.20 05:35",
  561.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  562.             "event" : "transition to ONGOING on call answered"
  563.         },
  564.         {
  565.             "timestampSecUtc" : NumberLong(1586151356100),
  566.             "dateTimeFormatted" : "06.04.20 05:35",
  567.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  568.             "event" : "CDR_RECEIVED",
  569.             "parameters" : {
  570.                 "nextState" : "PERFORMED",
  571.                 "talkMillis" : NumberLong(44740)
  572.             }
  573.         }
  574.     ],
  575.     "fullCost" : NumberLong(0),
  576.     "fullBilling" : false,
  577.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  578.     "scenarioResult" : {
  579.         "time" : ISODate("2020-04-06T05:35:56.026Z"),
  580.         "items" : [
  581.             {
  582.                 "time" : ISODate("2020-04-06T05:35:11.498Z"),
  583.                 "name" : "params",
  584.                 "value" : "reminder",
  585.                 "details" : {
  586.                     "date" : "08.04.2020",
  587.                     "sleepBeforeScenarioMs" : "16",
  588.                     "phone" : "123456789",
  589.                     "clientName" : "Николай Петрович",
  590.                     "records" : [
  591.                         {
  592.                             "time" : "17:50",
  593.                             "doctor" : "Ангмар Трокаль",
  594.                             "type" : "лечение болезни",
  595.                             "address" : "Камышовая бухта, 35"
  596.                         }
  597.                     ],
  598.                     "preparationTexts" : [
  599.                         "115"
  600.                     ],
  601.                     "campaignId" : "5e5e56113554309633698211",
  602.                     "callTaskId" : "5e8abf84ffbf3e00095e2936",
  603.                     "solutionName" : "reminder",
  604.                     "scenarioId" : "5e5e77d03554309633eadbb9",
  605.                     "age" : "27",
  606.                     "callUuid" : "93344810-7e4d-4c94-b9d8-3d7911999c4b"
  607.                 }
  608.             },
  609.             {
  610.                 "time" : ISODate("2020-04-06T05:35:37.797Z"),
  611.                 "name" : "вы придете на прием",
  612.                 "value" : "да",
  613.                 "details" : {}
  614.             },
  615.             {
  616.                 "time" : ISODate("2020-04-06T05:35:43.968Z"),
  617.                 "name" : "напомнить подготовку",
  618.                 "value" : "да",
  619.                 "details" : {}
  620.             },
  621.             {
  622.                 "time" : ISODate("2020-04-06T05:35:53.851Z"),
  623.                 "name" : "остались вопросы",
  624.                 "value" : "нет",
  625.                 "details" : {}
  626.             },
  627.             {
  628.                 "time" : ISODate("2020-04-06T05:35:56.026Z"),
  629.                 "name" : "hangup",
  630.                 "value" : "solution",
  631.                 "details" : {}
  632.             }
  633.         ],
  634.         "log" : [
  635.             {
  636.                 "time" : ISODate("2020-04-06T05:35:11.505Z"),
  637.                 "text" : "start requesting option (no, yes)",
  638.                 "context" : {
  639.                     "sid" : "b83e33e9-55e0-4eec-9422-ff65d84db652",
  640.                     "question" : "вы придете на прием"
  641.                 }
  642.             },
  643.             {
  644.                 "time" : ISODate("2020-04-06T05:35:37.783Z"),
  645.                 "text" : "recognise option(yes) on asr",
  646.                 "context" : {
  647.                     "sid" : "b83e33e9-55e0-4eec-9422-ff65d84db652",
  648.                     "question" : "вы придете на прием",
  649.                     "recognition" : [
  650.                         {
  651.                             "text" : "да",
  652.                             "confidence" : 0.0
  653.                         }
  654.                     ]
  655.                 }
  656.             },
  657.             {
  658.                 "time" : ISODate("2020-04-06T05:35:37.797Z"),
  659.                 "text" : "start requesting option (yes, no)",
  660.                 "context" : {
  661.                     "sid" : "b4fce31b-b031-40dc-9d3c-0f3b1ed244a9",
  662.                     "question" : "напомнить подготовку"
  663.                 }
  664.             },
  665.             {
  666.                 "time" : ISODate("2020-04-06T05:35:43.964Z"),
  667.                 "text" : "recognise option(yes) on asr",
  668.                 "context" : {
  669.                     "sid" : "b4fce31b-b031-40dc-9d3c-0f3b1ed244a9",
  670.                     "question" : "напомнить подготовку",
  671.                     "recognition" : [
  672.                         {
  673.                             "text" : "да",
  674.                             "confidence" : 0.0
  675.                         }
  676.                     ]
  677.                 }
  678.             },
  679.             {
  680.                 "time" : ISODate("2020-04-06T05:35:47.665Z"),
  681.                 "text" : "start requesting option (yes, no)",
  682.                 "context" : {
  683.                     "sid" : "1c1a729b-d30b-43fe-a55c-2f328e8891eb",
  684.                     "question" : "напомнить подготовку"
  685.                 }
  686.             },
  687.             {
  688.                 "time" : ISODate("2020-04-06T05:35:53.844Z"),
  689.                 "text" : "recognise option(no) on asr",
  690.                 "context" : {
  691.                     "sid" : "1c1a729b-d30b-43fe-a55c-2f328e8891eb",
  692.                     "question" : "напомнить подготовку",
  693.                     "recognition" : [
  694.                         {
  695.                             "text" : "нет",
  696.                             "confidence" : 0.0
  697.                         }
  698.                     ]
  699.                 }
  700.             }
  701.         ],
  702.         "callId" : "93344810-7e4d-4c94-b9d8-3d7911999c4b",
  703.         "taskId" : "5e8abf84ffbf3e00095e2936",
  704.         "resourceSpentEvents" : [
  705.             {
  706.                 "vendor" : "YANDEX_TTS",
  707.                 "amount" : {
  708.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(158)
  709.                 }
  710.             },
  711.             {
  712.                 "vendor" : "GOOGLE_ASR",
  713.                 "amount" : {
  714.                     "SPEECH_TIME" : NumberLong(3439),
  715.                     "SPEECH_CHAR_COUNT" : NumberLong(2),
  716.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  717.                 }
  718.             },
  719.             {
  720.                 "vendor" : "YANDEX_TTS",
  721.                 "amount" : {
  722.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  723.                 }
  724.             },
  725.             {
  726.                 "vendor" : "GOOGLE_ASR",
  727.                 "amount" : {
  728.                     "SPEECH_TIME" : NumberLong(5152),
  729.                     "SPEECH_CHAR_COUNT" : NumberLong(2),
  730.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  731.                 }
  732.             },
  733.             {
  734.                 "vendor" : "YANDEX_TTS",
  735.                 "amount" : {
  736.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  737.                 }
  738.             },
  739.             {
  740.                 "vendor" : "YANDEX_TTS",
  741.                 "amount" : {
  742.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  743.                 }
  744.             },
  745.             {
  746.                 "vendor" : "YANDEX_TTS",
  747.                 "amount" : {
  748.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  749.                 }
  750.             },
  751.             {
  752.                 "vendor" : "YANDEX_TTS",
  753.                 "amount" : {
  754.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  755.                 }
  756.             },
  757.             {
  758.                 "vendor" : "GOOGLE_ASR",
  759.                 "amount" : {
  760.                     "SPEECH_TIME" : NumberLong(6156),
  761.                     "SPEECH_CHAR_COUNT" : NumberLong(3),
  762.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0)
  763.                 }
  764.             },
  765.             {
  766.                 "vendor" : "YANDEX_TTS",
  767.                 "amount" : {
  768.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  769.                 }
  770.             }
  771.         ]
  772.     }
  773. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement