Advertisement
Bobrovozka

Untitled

Mar 3rd, 2022
1,214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 38.86 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("621fc112e0c1070007fcea40"),
  3.     "phone" : "79133841262",
  4.     "campaign" : "611b7ad87d988ae12f947a25",
  5.     "state" : "PERFORMED",
  6.     "lastCallRequestTimestamp" : NumberLong(1646248225891),
  7.     "callAnsweredTimestamp" : NumberLong(1646248232830),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "ef8347f0-2d22-409a-b05e-4b971c10607a",
  12.             "request" : {
  13.                 "targetTopic" : "sip-system-originate-request-fs1-release-2-3",
  14.                 "responseTopic" : "calling-system-orig-result-app-vis",
  15.                 "scenarioResultTopic" : "scenario_result_sdk_v2_app-vis",
  16.                 "scenarioParametersApiHost" : "small-apps12-back",
  17.                 "scenarioParametersApiPort" : "8106",
  18.                 "callUrl" : "sofia/gateway/marlen-02/79133841262 ext XML outgoing-release-3.1.0",
  19.                 "createdUtcMs" : NumberLong(1646248225891),
  20.                 "callUuid" : "ef8347f0-2d22-409a-b05e-4b971c10607a",
  21.                 "callTaskUuid" : "621fc112e0c1070007fcea40",
  22.                 "client" : "5d52e4f24f3b65f11c67e41f",
  23.                 "campaign" : "611b7ad87d988ae12f947a25",
  24.                 "originateTimeoutSec" : 30,
  25.                 "sipServletHost" : "sipservlet_ms8",
  26.                 "dialplanParameters" : {
  27.                     "readLevel" : "1",
  28.                     "writeLevel" : "1",
  29.                     "sleepTime" : "10",
  30.                     "dataOptions" : []
  31.                 }
  32.             },
  33.             "talkMillis" : NumberLong(0),
  34.             "hangupByAmd" : false,
  35.             "originateResult" : {
  36.                 "timestamp" : NumberLong(1646248232830),
  37.                 "sipCode" : 200,
  38.                 "fullSipSystemResponse" : "+OK 20d85e41-acfe-4949-86e5-4fe76d45e31f",
  39.                 "callUuid" : "ef8347f0-2d22-409a-b05e-4b971c10607a",
  40.                 "callTaskId" : "621fc112e0c1070007fcea40"
  41.             },
  42.             "cdr" : {
  43.                 "cdr" : {
  44.                     "variables" : {
  45.                         "write_codec" : "PCMA",
  46.                         "sip_to_host" : "ip.beeline.ru",
  47.                         "hold_accum_usec" : 1081940,
  48.                         "bridge_uuid" : "df11a07d-42d8-4041-9a33-73f58a013109",
  49.                         "start_epoch" : 1646248225,
  50.                         "rtp_2833_send_payload" : 101,
  51.                         "original_read_rate" : 8000,
  52.                         "profile_start_epoch" : 1646248232,
  53.                         "IvoiceDialplan_SipServletSession_HangupCause" : "SUCCESS",
  54.                         "transfer_history" : "1646248232%3A52ba2a8e-5ea4-46fc-91e8-905ecfe26ce1%3Abl_xfer%3Aext/outgoing-release-3.1.0/XML",
  55.                         "sip_hangup_phrase" : "OK",
  56.                         "CallingSystemCallUuid" : "ef8347f0-2d22-409a-b05e-4b971c10607a",
  57.                         "IvoiceDialplan_State" : "IN_LUA_DIALPLAN",
  58.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.210%3A5060",
  59.                         "ignore_early_media" : true,
  60.                         "waitusec" : 11460028,
  61.                         "sip_to_user" : NumberLong(79133841262),
  62.                         "rtp_last_audio_codec_string" : "PCMA%408000h%4020i%401c",
  63.                         "rtp_audio_in_packet_count" : 954,
  64.                         "rtp_audio_in_jitter_packet_count" : 0,
  65.                         "last_arg" : "/var/lib/freeswitch/recordings/5d52e4f24f3b65f11c67e41f/611b7ad87d988ae12f947a25/621fc112e0c1070007fcea40.wav",
  66.                         "end_uepoch" : NumberLong(1646248250050136),
  67.                         "rtp_use_codec_name" : "PCMA",
  68.                         "answer_uepoch" : NumberLong(1646248232790132),
  69.                         "record_seconds" : 4,
  70.                         "start_uepoch" : NumberLong(1646248225910134),
  71.                         "sip_reinvite_sdp" : "v%3D0%0D%0Ao%3Dccs-1-275-1%20127212033393390%2031867131%20IN%20IP4%2062.105.133.230%0D%0As%3D-%0D%0Ac%3DIN%20IP4%2062.105.133.230%0D%0Ab%3DAS%3A80%0D%0Ab%3DRS%3A1000%0D%0Ab%3DRR%3A3000%0D%0At%3D0%200%0D%0Aa%3Dsendrecv%0D%0Am%3Daudio%2024222%20RTP/AVP%208%20101%0D%0Ab%3DAS%3A80%0D%0Ab%3DRS%3A1000%0D%0Ab%3DRR%3A3000%0D%0Aa%3Dmaxptime%3A40%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmsi%3Amavodi-8-14d-1e6-6-ffffffff-5cb895b6-%4062.105.133.230%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0A",
  72.                         "waitsec" : 12,
  73.                         "flow_billsec" : 25,
  74.                         "sip_call_id" : "420d887f-14ff-123b-1f82-7e81c4218fd3",
  75.                         "remote_video_media_flow" : "inactive",
  76.                         "sip_full_from" : "%3Csip%3A79133841262%40ip.beeline.ru%3E%3Btag%3D792338195-1646248226047",
  77.                         "remote_text_media_flow" : "inactive",
  78.                         "bridge_stamp" : "2022-03-02%2019%3A10%3A37",
  79.                         "sip_hangup_disposition" : "send_bye",
  80.                         "read_rate" : 8000,
  81.                         "rtp_audio_in_skip_packet_count" : 9,
  82.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3Dccs-1-275-1%20127212033393390%2031867133%20IN%20IP4%2062.105.133.230%0D%0As%3D-%0D%0Ac%3DIN%20IP4%2062.105.133.230%0D%0Ab%3DAS%3A80%0D%0At%3D0%200%0D%0Aa%3Dsendrecv%0D%0Am%3Daudio%2024222%20RTP/AVP%208%20101%0D%0Ab%3DAS%3A80%0D%0Ab%3DBW-X%3A0%0D%0Ab%3DBW-X%3A0%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dmaxptime%3A40%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmsi%3Amavodi-8-14d-1e6-6-ffffffff-5cb895b6-%4062.105.133.230%0D%0A",
  83.                         "sip_recover_via" : "SIP/2.0/UDP%20212.119.246.230%3A5060%3Brport%3D5060%3Bbranch%3Dz9hG4bKmavodi-1-110-1166-1-2000030-b8394a-1114-267f364-164694635-5424",
  84.                         "rtp_audio_rtcp_octet_count" : 0,
  85.                         "sip_reply_host" : "212.119.246.230",
  86.                         "billmsec" : 17260,
  87.                         "bridge_generate_comfort_noise" : true,
  88.                         "record_samples" : 34720,
  89.                         "answer_stamp" : "2022-03-02%2019%3A10%3A32",
  90.                         "session_id" : 4066,
  91.                         "hold_accum_seconds" : 1,
  92.                         "last_hold_epoch" : 1646248243,
  93.                         "sip_bye_h_X-Ivoice-BridgeDestination" : "sofia/gateway/marlen-02/79133841262",
  94.                         "progresssec" : 0,
  95.                         "current_application" : "stop_record_session",
  96.                         "sip_cseq" : 48570323,
  97.                         "hangup_cause" : "NORMAL_CLEARING",
  98.                         "hangup_cause_q850" : 16,
  99.                         "resurrect_epoch" : 0,
  100.                         "rtp_audio_in_flaw_total" : 5,
  101.                         "switch_m_sdp" : "v%3D0%0D%0Ao%3Dccs-1-275-10%201272101850292250%20108968248%20IN%20IP4%2062.105.133.230%0D%0As%3D-%0D%0Ac%3DIN%20IP4%2062.105.133.230%0D%0Ab%3DAS%3A80%0D%0Ab%3DBW-X%3A1000%0D%0Ab%3DBW-X%3A3000%0D%0At%3D0%200%0D%0Aa%3Dsendrecv%0D%0Am%3Daudio%2063500%20RTP/AVP%208%20101%0D%0Ab%3DAS%3A80%0D%0Ab%3DBW-X%3A1000%0D%0Ab%3DBW-X%3A3000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dmaxptime%3A40%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmsi%3Amavodi-8-14d-182-3-ffffffff-24764757-%4062.105.133.230%0D%0A",
  102.                         "advertised_media_ip" : "92.119.230.210",
  103.                         "SleepTime" : 10,
  104.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_app-vis",
  105.                         "hold_accum_ms" : 1081,
  106.                         "rtp_audio_out_packet_count" : 793,
  107.                         "hold_events" : "%7B%7B1646248243186769,1646248244268709%7D%7D",
  108.                         "sip_contact_user" : "nobody",
  109.                         "start_stamp" : "2022-03-02%2019%3A10%3A25",
  110.                         "rtp_audio_recv_pt" : 8,
  111.                         "progress_media_uepoch" : NumberLong(1646248226050112),
  112.                         "rtp_use_codec_string" : "PCMA,PCMU",
  113.                         "progressmsec" : 0,
  114.                         "bridge_hangup_cause" : "NORMAL_CLEARING",
  115.                         "rtp_audio_out_dtmf_packet_count" : 0,
  116.                         "rtp_audio_in_mos" : 4.49,
  117.                         "last_sent_callee_id_name" : "Outbound%20Call",
  118.                         "sip_local_network_addr" : "92.119.230.210",
  119.                         "rtp_audio_out_media_bytes" : 136396,
  120.                         "rtp_use_timer_name" : "soft",
  121.                         "Campaign" : "611b7ad87d988ae12f947a25",
  122.                         "text_media_flow" : "inactive",
  123.                         "answermsec" : 6880,
  124.                         "sip_profile_name" : "gateway",
  125.                         "sofia_profile_name" : "external",
  126.                         "sip_from_tag" : "792338195-1646248226047",
  127.                         "rtp_audio_in_jitter_burst_rate" : 0,
  128.                         "resurrect_uepoch" : 0,
  129.                         "last_bridge_to" : "df11a07d-42d8-4041-9a33-73f58a013109",
  130.                         "recovery_profile_name" : "external",
  131.                         "sip_bye_h_X-RestComm-CallSid" : "ID11f0bb64e3684c0aa59ac86d15678d8b-CAe9bead78e2c242bdbee92b9493a2c59e",
  132.                         "progress_mediamsec" : 140,
  133.                         "sip_from_user" : NumberLong(9061954998),
  134.                         "IvoiceDialplan_Session" : "FREESWITCH",
  135.                         "WriteLevel" : 1,
  136.                         "duration" : 25,
  137.                         "sip_contact_uri" : "nobody%40as5.sig.msk.ip.beeline.ru%3A5060",
  138.                         "local_media_port" : 21194,
  139.                         "remote_audio_media_flow" : "sendrecv",
  140.                         "audio_media_flow" : "sendrecv",
  141.                         "flow_billusec" : 24140002,
  142.                         "local_media_ip" : "92.119.230.210",
  143.                         "rtp_audio_in_jitter_loss_rate" : 0,
  144.                         "sip_from_uri" : "9061954998%40ip.beeline.ru",
  145.                         "IvoiceDialplan_Direction" : "OUTGOING",
  146.                         "ScenarioParametersApiHost" : "small-apps12-back",
  147.                         "endpoint_disposition" : "ANSWER",
  148.                         "sip_contact_host" : "as5.sig.msk.ip.beeline.ru",
  149.                         "rtp_audio_in_mean_interval" : 20,
  150.                         "sip_reply_port" : 5060,
  151.                         "sip_invite_route_uri" : "%3Csip%3Amavodi-1-10f-3fffffff-1-ffffffff-0-%40212.119.246.230%3A5060%3Blr%3Bmavsipodi-1-11b-1114-1-267f364%3E",
  152.                         "end_stamp" : "2022-03-02%2019%3A10%3A50",
  153.                         "leg_timeout" : 30,
  154.                         "waitmsec" : 11460,
  155.                         "current_application_data" : "/var/lib/freeswitch/recordings/5d52e4f24f3b65f11c67e41f/611b7ad87d988ae12f947a25/621fc112e0c1070007fcea40.wav",
  156.                         "rtp_audio_out_raw_bytes" : 136396,
  157.                         "progress_uepoch" : 0,
  158.                         "progress_media_stamp" : "2022-03-02%2019%3A10%3A26",
  159.                         "rtp_use_codec_ptime" : 20,
  160.                         "record_file_size" : 138924,
  161.                         "answersec" : 7,
  162.                         "rtp_audio_in_jitter_max_variance" : 23.61,
  163.                         "sip_full_to" : "%22%22%20%3Csip%3A9061954998%40ip.beeline.ru%3E%3Btag%3D29ZeX276XNZXN",
  164.                         "max_forwards" : 70,
  165.                         "sip_network_ip" : "212.119.246.230",
  166.                         "sip_from_host" : "ip.beeline.ru",
  167.                         "rtp_audio_in_dtmf_packet_count" : 0,
  168.                         "remote_media_port" : 24222,
  169.                         "send_silence_when_idle" : true,
  170.                         "last_sent_callee_id_number" : "%2B79133841262",
  171.                         "sip_network_port" : 5060,
  172.                         "pre_transfer_caller_id_number" : "0000000000",
  173.                         "progress_mediasec" : 1,
  174.                         "rtp_use_codec_channels" : 1,
  175.                         "sip_recover_contact" : "%3Csip%3Aas5.sig.msk.ip.beeline.ru%3A5060%3E",
  176.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201646227031%201646227035%20IN%20IP4%2092.119.230.210%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.210%0D%0At%3D0%200%0D%0Am%3Daudio%2021194%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dsendrecv%0D%0A",
  177.                         "record_completion_cause" : "success-maxtime",
  178.                         "answerusec" : 6879998,
  179.                         "sip_req_uri" : "79133841262%40ip.beeline.ru",
  180.                         "profile_start_uepoch" : NumberLong(1646248232790132),
  181.                         "RECORD_STEREO" : true,
  182.                         "rtp_audio_in_raw_bytes" : 164088,
  183.                         "rtp_audio_rtcp_packet_count" : 0,
  184.                         "bridge_epoch" : 1646248237,
  185.                         "bridge_uepoch" : NumberLong(1646248237370162),
  186.                         "sip_user_agent" : "Mavenir%20UAG/v1.0%20PCSCF/v1.0-14042501o",
  187.                         "write_rate" : 8000,
  188.                         "hold_stamp" : "2022-03-02%2019%3A10%3A43",
  189.                         "billusec" : 17260004,
  190.                         "answer_epoch" : 1646248232,
  191.                         "call_uuid" : "20d85e41-acfe-4949-86e5-4fe76d45e31f",
  192.                         "rtp_audio_out_skip_packet_count" : 0,
  193.                         "sip_invite_domain" : "ip.beeline.ru",
  194.                         "sip_full_via" : "SIP/2.0/UDP%20212.119.246.230%3A5060%3Brport%3D5060%3Bbranch%3Dz9hG4bKmavodi-1-110-1166-1-2000030-b8394a-1114-267f364-164694635-5424",
  195.                         "channel_name" : "sofia/external/79133841262",
  196.                         "rtp_audio_out_cng_packet_count" : 0,
  197.                         "progress_epoch" : 0,
  198.                         "mduration" : 24140,
  199.                         "last_bridge_hangup_cause" : "NORMAL_CLEARING",
  200.                         "record_ms" : 4340,
  201.                         "remote_media_ip" : "62.105.133.230",
  202.                         "ReadLevel" : 1,
  203.                         "ep_codec_string" : "CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b",
  204.                         "rtp_use_pt" : 8,
  205.                         "rtp_audio_in_largest_jb_size" : 0,
  206.                         "rtp_audio_in_media_bytes" : 141728,
  207.                         "transfer_source" : "1646248232%3A52ba2a8e-5ea4-46fc-91e8-905ecfe26ce1%3Abl_xfer%3Aext/outgoing-release-3.1.0/XML",
  208.                         "rtp_audio_in_cng_packet_count" : 0,
  209.                         "last_hold_uepoch" : NumberLong(1646248243186769),
  210.                         "uduration" : 24140002,
  211.                         "rtp_audio_in_quality_percentage" : 99,
  212.                         "rtp_use_codec_rate" : 8000,
  213.                         "ScenarioParametersApiPort" : 8106,
  214.                         "uuid" : "20d85e41-acfe-4949-86e5-4fe76d45e31f",
  215.                         "sip_gateway_name" : "marlen-02",
  216.                         "sip_destination_url" : "sip%3A79133841262%40ip.beeline.ru",
  217.                         "sip_to_uri" : "79133841262%40ip.beeline.ru",
  218.                         "read_codec" : "PCMA",
  219.                         "rtp_use_ssrc" : NumberLong(3391187273),
  220.                         "Client" : "5d52e4f24f3b65f11c67e41f",
  221.                         "billsec" : 18,
  222.                         "progress_media_epoch" : 1646248226,
  223.                         "IvoiceDialplan_MajorVersion" : 3,
  224.                         "rtp_2833_recv_payload" : 101,
  225.                         "CallTaskId" : "621fc112e0c1070007fcea40",
  226.                         "end_epoch" : 1646248250,
  227.                         "profile_start_stamp" : "2022-03-02%2019%3A10%3A32",
  228.                         "caller_id" : "%22Outbound%20Call%22%20%3C%2B79133841262%3E",
  229.                         "IvoiceDialplan_SipServletSession_State" : "CS_EXECUTE",
  230.                         "progressusec" : 0,
  231.                         "originate_early_media" : false,
  232.                         "SipServlet" : "sipservlet_ms8",
  233.                         "sip_outgoing_contact_uri" : "%3Csip%3Agw%2Bmarlen-02%4092.119.230.210%3A5060%3Btransport%3Dudp%3Bgw%3Dmarlen-02%3E",
  234.                         "sip_contact_port" : 5060,
  235.                         "flow_billmsec" : 24140,
  236.                         "bridge_channel" : "sofia/external/79133841262",
  237.                         "dtmf_type" : "rfc2833",
  238.                         "sip_allow" : "ACK,%20BYE,%20CANCEL,%20INFO,%20INVITE,%20OPTIONS,%20PRACK,%20REFER,%20NOTIFY,%20UPDATE",
  239.                         "rtp_audio_in_media_packet_count" : 824,
  240.                         "direction" : "outbound",
  241.                         "video_media_flow" : "inactive",
  242.                         "sip_invite_record_route" : "%3Csip%3Amavodi-1-10f-3fffffff-1-ffffffff-0-%40212.119.246.230%3A5060%3Blr%3Bmavsipodi-1-11b-1114-1-267f364%3E",
  243.                         "sip_to_tag" : "29ZeX276XNZXN",
  244.                         "rtp_audio_out_media_packet_count" : 793,
  245.                         "digits_dialed" : "none",
  246.                         "signal_bond" : "df11a07d-42d8-4041-9a33-73f58a013109",
  247.                         "progress_mediausec" : 139978,
  248.                         "last_app" : "stop_record_session",
  249.                         "is_outbound" : true,
  250.                         "rtp_audio_in_jitter_min_variance" : 4.68,
  251.                         "hangup_complete_with_xml" : true,
  252.                         "original_read_codec" : "PCMA",
  253.                         "last_bridge_proto_specific_hangup_cause" : "sip%3A200",
  254.                         "rtp_audio_in_flush_packet_count" : 130
  255.                     },
  256.                     "callflow" : [
  257.                         {
  258.                             "extension" : {
  259.                                 "number" : "ext",
  260.                                 "application" : [
  261.                                     {
  262.                                         "app_name" : "log",
  263.                                         "app_data" : "INFO outgoing-release-3.0.0 started, sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid}; ScenarioResultTopic=${ScenarioResultTopic}; ScenarioParametersApiHost=${ScenarioParametersApiHost}; ScenarioParametersApiPort=${ScenarioParametersApiPort}; SleepTime=${SleepTime}; ReadLevel=${ReadLevel}; WriteLevel=${WriteLevel};"
  264.                                     },
  265.                                     {
  266.                                         "app_name" : "set",
  267.                                         "app_data" : "SipServlet=${SipServlet}"
  268.                                     },
  269.                                     {
  270.                                         "app_name" : "set_audio_level",
  271.                                         "app_data" : "write ${WriteLevel}"
  272.                                     },
  273.                                     {
  274.                                         "app_name" : "set_audio_level",
  275.                                         "app_data" : "read ${ReadLevel}"
  276.                                     },
  277.                                     {
  278.                                         "app_name" : "set",
  279.                                         "app_data" : "send_silence_when_idle=true"
  280.                                     },
  281.                                     {
  282.                                         "app_name" : "set",
  283.                                         "app_data" : "bridge_generate_comfort_noise=true"
  284.                                     },
  285.                                     {
  286.                                         "app_name" : "set",
  287.                                         "app_data" : "SleepTime=${SleepTime}"
  288.                                     },
  289.                                     {
  290.                                         "app_name" : "set",
  291.                                         "app_data" : "IvoiceDialplan_State=IN_XML_DIALPLAN"
  292.                                     },
  293.                                     {
  294.                                         "app_name" : "set",
  295.                                         "app_data" : "IvoiceDialplan_Session=FREESWITCH"
  296.                                     },
  297.                                     {
  298.                                         "app_name" : "set",
  299.                                         "app_data" : "IvoiceDialplan_Direction=OUTGOING"
  300.                                     },
  301.                                     {
  302.                                         "app_name" : "set",
  303.                                         "app_data" : "IvoiceDialplan_MajorVersion=3"
  304.                                     },
  305.                                     {
  306.                                         "app_name" : "lua",
  307.                                         "app_data" : "lua/sdk/outgoing-release-3.1.0.lua"
  308.                                     }
  309.                                 ],
  310.                                 "name" : "ext"
  311.                             },
  312.                             "times" : {
  313.                                 "progress_time" : 0,
  314.                                 "created_time" : NumberLong(1646248225910134),
  315.                                 "hold_accum_time" : 1081940,
  316.                                 "resurrect_time" : 0,
  317.                                 "answered_time" : NumberLong(1646248232790132),
  318.                                 "transfer_time" : 0,
  319.                                 "bridged_time" : NumberLong(1646248237370162),
  320.                                 "hangup_time" : NumberLong(1646248250050136),
  321.                                 "progress_media_time" : NumberLong(1646248226050112),
  322.                                 "profile_created_time" : NumberLong(1646248232790132),
  323.                                 "last_hold_time" : NumberLong(1646248243186769)
  324.                             },
  325.                             "profile_index" : 2,
  326.                             "dialplan" : "XML",
  327.                             "clone-of" : "0d1ff8d6-32df-47c2-9793-72f1234813dd",
  328.                             "caller_profile" : {
  329.                                 "caller_id_name" : "Outbound Call",
  330.                                 "transfer_source" : "1646248232:52ba2a8e-5ea4-46fc-91e8-905ecfe26ce1:bl_xfer:ext/outgoing-release-3.1.0/XML",
  331.                                 "destination_number" : "ext",
  332.                                 "device_id" : "",
  333.                                 "chan_name" : "sofia/external/79133841262",
  334.                                 "dialplan" : "XML",
  335.                                 "callee_id_number" : "+79133841262",
  336.                                 "source" : "src/switch_ivr_originate.c",
  337.                                 "network_addr" : "212.119.246.230",
  338.                                 "uuid" : "20d85e41-acfe-4949-86e5-4fe76d45e31f",
  339.                                 "callee_id_name" : "Outbound Call",
  340.                                 "rdnis" : NumberLong(79133841262),
  341.                                 "aniii" : "",
  342.                                 "context" : "outgoing-release-3.1.0",
  343.                                 "caller_id_number" : "+79133841262",
  344.                                 "ani" : "0000000000",
  345.                                 "username" : ""
  346.                             },
  347.                             "unique-id" : "52ba2a8e-5ea4-46fc-91e8-905ecfe26ce1"
  348.                         },
  349.                         {
  350.                             "times" : {
  351.                                 "progress_time" : 0,
  352.                                 "created_time" : NumberLong(1646248225910134),
  353.                                 "hold_accum_time" : 0,
  354.                                 "resurrect_time" : 0,
  355.                                 "answered_time" : NumberLong(1646248232790132),
  356.                                 "transfer_time" : NumberLong(1646248232790132),
  357.                                 "bridged_time" : 0,
  358.                                 "hangup_time" : 0,
  359.                                 "progress_media_time" : NumberLong(1646248226050112),
  360.                                 "profile_created_time" : NumberLong(1646248225910134),
  361.                                 "last_hold_time" : 0
  362.                             },
  363.                             "profile_index" : 1,
  364.                             "clone-of" : "3058844b-97eb-445b-903b-da264cfce50a",
  365.                             "caller_profile" : {
  366.                                 "caller_id_name" : "",
  367.                                 "destination_number" : NumberLong(79133841262),
  368.                                 "device_id" : "",
  369.                                 "chan_name" : "sofia/external/79133841262",
  370.                                 "dialplan" : "",
  371.                                 "callee_id_number" : "+79133841262",
  372.                                 "source" : "src/switch_ivr_originate.c",
  373.                                 "network_addr" : "212.119.246.230",
  374.                                 "uuid" : "20d85e41-acfe-4949-86e5-4fe76d45e31f",
  375.                                 "callee_id_name" : "Outbound Call",
  376.                                 "rdnis" : "",
  377.                                 "aniii" : "",
  378.                                 "context" : "default",
  379.                                 "caller_id_number" : "0000000000",
  380.                                 "ani" : "0000000000",
  381.                                 "username" : ""
  382.                             },
  383.                             "unique-id" : "0d1ff8d6-32df-47c2-9793-72f1234813dd"
  384.                         }
  385.                     ],
  386.                     "coreUuid" : "a36ccb30-5702-4a60-bb2b-e44941714d3d",
  387.                     "channelData" : {
  388.                         "state_number" : 11,
  389.                         "flags" : "0=1;1=1;2=1;3=1;38=1;39=1;41=1;44=1;49=2;54=1;61=1;96=1;113=1;114=1;123=1;160=1;165=1;166=1",
  390.                         "state" : "CS_REPORTING",
  391.                         "direction" : "outbound",
  392.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  393.                     },
  394.                     "appLog" : {
  395.                         "application" : [
  396.                             {
  397.                                 "app_name" : "log",
  398.                                 "app_stamp" : NumberLong(1646248232810649),
  399.                                 "app_data" : "INFO outgoing-release-3.0.0 started, sip-system passed vars: ClientId=5d52e4f24f3b65f11c67e41f; CampaignId=611b7ad87d988ae12f947a25; CallTaskId=621fc112e0c1070007fcea40; CallingSystemCallUuid=ef8347f0-2d22-409a-b05e-4b971c10607a; ScenarioResultTopic=scenario_result_sdk_v2_app-vis; ScenarioParametersApiHost=small-apps12-back; ScenarioParametersApiPort=8106; SleepTime=10; ReadLevel=1; WriteLevel=1;"
  400.                             },
  401.                             {
  402.                                 "app_name" : "set",
  403.                                 "app_stamp" : NumberLong(1646248232810924),
  404.                                 "app_data" : "SipServlet=sipservlet_ms8"
  405.                             },
  406.                             {
  407.                                 "app_name" : "set_audio_level",
  408.                                 "app_stamp" : NumberLong(1646248232811202),
  409.                                 "app_data" : "write 1"
  410.                             },
  411.                             {
  412.                                 "app_name" : "set_audio_level",
  413.                                 "app_stamp" : NumberLong(1646248232811517),
  414.                                 "app_data" : "read 1"
  415.                             },
  416.                             {
  417.                                 "app_name" : "set",
  418.                                 "app_stamp" : NumberLong(1646248232811698),
  419.                                 "app_data" : "send_silence_when_idle=true"
  420.                             },
  421.                             {
  422.                                 "app_name" : "set",
  423.                                 "app_stamp" : NumberLong(1646248232812145),
  424.                                 "app_data" : "bridge_generate_comfort_noise=true"
  425.                             },
  426.                             {
  427.                                 "app_name" : "set",
  428.                                 "app_stamp" : NumberLong(1646248232812341),
  429.                                 "app_data" : "SleepTime=10"
  430.                             },
  431.                             {
  432.                                 "app_name" : "set",
  433.                                 "app_stamp" : NumberLong(1646248232812562),
  434.                                 "app_data" : "IvoiceDialplan_State=IN_XML_DIALPLAN"
  435.                             },
  436.                             {
  437.                                 "app_name" : "set",
  438.                                 "app_stamp" : NumberLong(1646248232812790),
  439.                                 "app_data" : "IvoiceDialplan_Session=FREESWITCH"
  440.                             },
  441.                             {
  442.                                 "app_name" : "set",
  443.                                 "app_stamp" : NumberLong(1646248232813038),
  444.                                 "app_data" : "IvoiceDialplan_Direction=OUTGOING"
  445.                             },
  446.                             {
  447.                                 "app_name" : "set",
  448.                                 "app_stamp" : NumberLong(1646248232813263),
  449.                                 "app_data" : "IvoiceDialplan_MajorVersion=3"
  450.                             },
  451.                             {
  452.                                 "app_name" : "lua",
  453.                                 "app_stamp" : NumberLong(1646248232813482),
  454.                                 "app_data" : "lua/sdk/outgoing-release-3.1.0.lua"
  455.                             },
  456.                             {
  457.                                 "app_name" : "set",
  458.                                 "app_stamp" : NumberLong(1646248232815573),
  459.                                 "app_data" : "RECORD_STEREO=true"
  460.                             },
  461.                             {
  462.                                 "app_name" : "record_session",
  463.                                 "app_stamp" : NumberLong(1646248232815882),
  464.                                 "app_data" : "/var/lib/freeswitch/recordings/5d52e4f24f3b65f11c67e41f/611b7ad87d988ae12f947a25/621fc112e0c1070007fcea40.wav"
  465.                             },
  466.                             {
  467.                                 "app_name" : "sleep",
  468.                                 "app_stamp" : NumberLong(1646248232830178),
  469.                                 "app_data" : 10
  470.                             },
  471.                             {
  472.                                 "app_name" : "stop_record_session",
  473.                                 "app_stamp" : NumberLong(1646248237186781),
  474.                                 "app_data" : "/var/lib/freeswitch/recordings/5d52e4f24f3b65f11c67e41f/611b7ad87d988ae12f947a25/621fc112e0c1070007fcea40.wav"
  475.                             }
  476.                         ]
  477.                     },
  478.                     "switchname" : "fs-1",
  479.                     "callStats" : {
  480.                         "audio" : {
  481.                             "inbound" : {
  482.                                 "media_packet_count" : 824,
  483.                                 "cng_packet_count" : 0,
  484.                                 "jitter_min_variance" : 4.68,
  485.                                 "skip_packet_count" : 9,
  486.                                 "mean_interval" : 20,
  487.                                 "dtmf_packet_count" : 0,
  488.                                 "jitter_loss_rate" : 0,
  489.                                 "jitter_burst_rate" : 0,
  490.                                 "flaw_total" : 5,
  491.                                 "quality_percentage" : 99,
  492.                                 "mos" : 4.49,
  493.                                 "largest_jb_size" : 0,
  494.                                 "packet_count" : 954,
  495.                                 "jitter_max_variance" : 23.61,
  496.                                 "media_bytes" : 141728,
  497.                                 "jitter_packet_count" : 0,
  498.                                 "raw_bytes" : 164088,
  499.                                 "flush_packet_count" : 130
  500.                             },
  501.                             "outbound" : {
  502.                                 "media_packet_count" : 793,
  503.                                 "cng_packet_count" : 0,
  504.                                 "skip_packet_count" : 0,
  505.                                 "dtmf_packet_count" : 0,
  506.                                 "rtcp_packet_count" : 0,
  507.                                 "packet_count" : 793,
  508.                                 "media_bytes" : 136396,
  509.                                 "rtcp_octet_count" : 0,
  510.                                 "raw_bytes" : 136396
  511.                             },
  512.                             "error-log" : {
  513.                                 "error-period" : {
  514.                                     "consecutive-flaws" : 2,
  515.                                     "duration-msec" : 2999,
  516.                                     "stop" : NumberLong(1646248247470129),
  517.                                     "start" : NumberLong(1646248244470139),
  518.                                     "flaws" : 4
  519.                                 }
  520.                             }
  521.                         }
  522.                     }
  523.                 },
  524.                 "callUuid" : "ef8347f0-2d22-409a-b05e-4b971c10607a",
  525.                 "callTaskId" : "621fc112e0c1070007fcea40"
  526.             }
  527.         }
  528.     ],
  529.     "parameters" : {
  530.         "clientName" : "Ivoicerobot",
  531.         "city" : "Новосибирск",
  532.         "clientPhone" : "79133841262",
  533.         "leadName" : "Заказ обратного звонка с сайта",
  534.         "leadId" : 29233180
  535.     },
  536.     "nextAttemptTimestamp" : NumberLong(1646193600),
  537.     "results" : {},
  538.     "ringingMillis" : NumberLong(0),
  539.     "talkMillis" : NumberLong(17260),
  540.     "reportParameters" : {
  541.         "clientName" : "Ivoicerobot",
  542.         "city" : "Новосибирск",
  543.         "leadName" : "Заказ обратного звонка с сайта",
  544.         "clientPhone" : "79133841262"
  545.     },
  546.     "created" : NumberLong(1646248210),
  547.     "reported" : false,
  548.     "testing" : true,
  549.     "performedTimestamp" : NumberLong(1646248237),
  550.     "sumConsume" : 0.0,
  551.     "processingEvents" : [
  552.         {
  553.             "timestampSecUtc" : NumberLong(1646248225),
  554.             "dateTimeFormatted" : "02.03.22 19:10",
  555.             "author" : "calling-system",
  556.             "event" : "call initiated: OutgoingCall(uuid=ef8347f0-2d22-409a-b05e-4b971c10607a, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-fs1-release-2-3, responseTopic=calling-system-orig-result-app-vis, scenarioResultTopic=scenario_result_sdk_v2_app-vis, scenarioParametersApiHost=small-apps12-back, scenarioParametersApiPort=8106, callUrl=sofia/gateway/marlen-02/79133841262 ext XML outgoing-release-3.1.0, createdUtcMs=1646248225891, callUuid=ef8347f0-2d22-409a-b05e-4b971c10607a, callTaskUuid=621fc112e0c1070007fcea40, client=5d52e4f24f3b65f11c67e41f, campaign=611b7ad87d988ae12f947a25, originateParameters=null, sipSystemParameters=null, originateTimeoutSec=30, sipServletHost=sipservlet_ms8, dialplanParameters=DialplanParameters(readLevel=1, writeLevel=1, sleepTime=10, dataOptions=[])), originateResult=null, systemError=null, cdr=null, bridgeCdr=null, talkMillis=0, hangupByAmd=false, amdScenarioResult=null); transition to DIALING; message to kafka to call task is about to be sent"
  557.         },
  558.         {
  559.             "timestampSecUtc" : NumberLong(1646248232),
  560.             "dateTimeFormatted" : "02.03.22 19:10",
  561.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  562.             "event" : "CALL_ANSWERED",
  563.             "parameters" : {
  564.                 "comment" : "transit CT to ONGOING on call answered"
  565.             }
  566.         },
  567.         {
  568.             "timestampSecUtc" : NumberLong(1646248237),
  569.             "dateTimeFormatted" : "02.03.22 19:10",
  570.             "author" : "SCENARIO_RESULT",
  571.             "event" : "got scenario result: transition to PERFORMED"
  572.         },
  573.         {
  574.             "timestampSecUtc" : NumberLong(1646248250130),
  575.             "dateTimeFormatted" : "02.03.22 19:10",
  576.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  577.             "event" : "CDR_RECEIVED",
  578.             "parameters" : {
  579.                 "comment" : "Successful SipServlet session: CDR variable IvoiceDialplan_SipServletSession_HangupCause=SUCCESS"
  580.             }
  581.         }
  582.     ],
  583.     "fullCost" : NumberLong(0),
  584.     "ivoiceCost" : NumberLong(0),
  585.     "vendorsCost" : NumberLong(0),
  586.     "fullBilling" : false,
  587.     "aggregated" : false,
  588.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  589.     "scenarioResult" : {
  590.         "time" : ISODate("2022-03-02T19:10:37.141Z"),
  591.         "items" : [
  592.             {
  593.                 "time" : ISODate("2022-03-02T19:10:32.878Z"),
  594.                 "name" : "params",
  595.                 "value" : "marlen_hook",
  596.                 "details" : {
  597.                     "sleepBeforeScenarioMs" : "10",
  598.                     "callerNumber" : "79133841262",
  599.                     "clientName" : "Ivoicerobot",
  600.                     "city" : "Новосибирск",
  601.                     "campaignId" : "611b7ad87d988ae12f947a25",
  602.                     "callTaskId" : "621fc112e0c1070007fcea40",
  603.                     "leadName" : "Заказ обратного звонка с сайта",
  604.                     "solutionName" : "marlen_hook",
  605.                     "clientPhone" : "79133841262",
  606.                     "callUuid" : "ef8347f0-2d22-409a-b05e-4b971c10607a",
  607.                     "phone" : "79133841262",
  608.                     "asrDriver" : "yandex",
  609.                     "dialplanMajorVersion" : "3",
  610.                     "scenarioId" : "611b78be7d988ae12f8e2e8e",
  611.                     "leadId" : 29233180
  612.                 }
  613.             },
  614.             {
  615.                 "time" : ISODate("2022-03-02T19:10:37.141Z"),
  616.                 "name" : "hangup",
  617.                 "value" : "bridge",
  618.                 "details" : {
  619.                     "destination" : "sofia/gateway/marlen-02/79133841262"
  620.                 }
  621.             }
  622.         ],
  623.         "log" : [],
  624.         "callId" : "ef8347f0-2d22-409a-b05e-4b971c10607a",
  625.         "taskId" : "621fc112e0c1070007fcea40",
  626.         "resourceSpentEvents" : [
  627.             {
  628.                 "vendor" : "YANDEX_TTS_EASY",
  629.                 "amount" : {
  630.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(54)
  631.                 },
  632.                 "properties" : {
  633.                     "TTS_SERVICE_KEY" : [
  634.                         {
  635.                             "vendor" : "YANDEX_TTS",
  636.                             "vendorType" : "TTS",
  637.                             "service" : "TTS_YANDEX_NODE1",
  638.                             "serviceKeyName" : "YANDEX_API_KEY_ID",
  639.                             "serviceKeyValue" : "aje3e7p63o8t6qs5mjad",
  640.                             "properties" : null
  641.                         }
  642.                     ]
  643.                 }
  644.             }
  645.         ]
  646.     }
  647. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement