Advertisement
BoberDiversant

Untitled

Mar 17th, 2019
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 30.99 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("5c8e06410748c90007a313f6"),
  3.     "phone" : "79133841262",
  4.     "campaign" : "5c8cae4f988b32c2aa883c51",
  5.     "state" : "FAILED",
  6.     "lastCallRequestTimestamp" : NumberLong(1552811585605),
  7.     "callAnsweredTimestamp" : NumberLong(0),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "967a52d0-ed6f-4146-82a2-b8923fd6491f",
  12.             "request" : {
  13.                 "targetTopic" : "sip-system-originate-request-mtt1-tel",
  14.                 "responseTopic" : "calling-system-orig-result-outgoing-apps-v2",
  15.                 "callUrl" : "sofia/gateway/mttVoip79587616509/79133841262 ext XML outgoingV2PauseBridge",
  16.                 "createdUtcMs" : NumberLong(1552811585605),
  17.                 "callUuid" : "967a52d0-ed6f-4146-82a2-b8923fd6491f",
  18.                 "callTaskUuid" : "5c8e06410748c90007a313f6",
  19.                 "client" : "5c6da9ac2066320001397594",
  20.                 "campaign" : "5c8cae4f988b32c2aa883c51",
  21.                 "originateParameters" : {
  22.                     "sip_cid_type" : "rpid",
  23.                     "origination_caller_id_number" : "79587616509"
  24.                 },
  25.                 "originateTimeoutSec" : 30
  26.             },
  27.             "originateResult" : {
  28.                 "timestamp" : NumberLong(1552811591745),
  29.                 "sipCode" : 200,
  30.                 "fullSipSystemResponse" : "+OK 4fa4b2e1-e34d-4f11-93ce-33a269eaec5d",
  31.                 "callUuid" : "967a52d0-ed6f-4146-82a2-b8923fd6491f",
  32.                 "callTaskId" : "5c8e06410748c90007a313f6"
  33.             },
  34.             "cdr" : {
  35.                 "cdr" : {
  36.                     "variables" : {
  37.                         "write_codec" : "PCMU",
  38.                         "rtp_audio_in_mean_interval" : 20,
  39.                         "sip_reply_port" : 5060,
  40.                         "sip_to_host" : "80.75.130.147",
  41.                         "hold_accum_usec" : 0,
  42.                         "sip_from_port" : 5060,
  43.                         "start_epoch" : 1552811585,
  44.                         "rtp_2833_send_payload" : 101,
  45.                         "original_read_rate" : 8000,
  46.                         "end_stamp" : "2019-03-17%2008%3A33%3A13",
  47.                         "profile_start_epoch" : 1552811591,
  48.                         "leg_timeout" : 30,
  49.                         "waitmsec" : 0,
  50.                         "transfer_history" : "1552811591%3A3abf59fb-55dc-4ace-9ef9-8c05759bef80%3Abl_xfer%3Aext/outgoingV2PauseBridge/XML",
  51.                         "CallingSystemCallUuid" : "967a52d0-ed6f-4146-82a2-b8923fd6491f",
  52.                         "sip_h_Campaign" : "5c8cae4f988b32c2aa883c51",
  53.                         "current_application_data" : "lua/sdk/outgoing-v2-bridge.lua",
  54.                         "rtp_audio_out_raw_bytes" : 0,
  55.                         "progress_uepoch" : 0,
  56.                         "sofia_profile_url" : "sip%3Amod_sofia%40176.118.166.116%3A5060",
  57.                         "progress_media_stamp" : "2019-03-17%2008%3A33%3A09",
  58.                         "ignore_early_media" : true,
  59.                         "rtp_use_codec_ptime" : 20,
  60.                         "CallTaskServicePort" : 8105,
  61.                         "waitusec" : 0,
  62.                         "sip_to_user" : NumberLong(79133841262),
  63.                         "record_file_size" : 44,
  64.                         "rtp_last_audio_codec_string" : "PCMU%408000h%4020i%401c",
  65.                         "answersec" : 6,
  66.                         "rtp_audio_in_packet_count" : 193,
  67.                         "rtp_audio_in_jitter_packet_count" : 0,
  68.                         "rtp_audio_in_jitter_max_variance" : 0,
  69.                         "sip_full_to" : "%3Csip%3A79133841262%4080.75.130.147%3A5060%3E%3Btag%3DpYBE8uEKhR0WE8nhCoUdHBPDnaufAQAq",
  70.                         "max_forwards" : 70,
  71.                         "last_arg" : "lua/sdk/outgoing-v2-bridge.lua",
  72.                         "sip_network_ip" : "80.75.130.147",
  73.                         "sip_from_host" : "80.75.130.147",
  74.                         "end_uepoch" : NumberLong(1552811593735057),
  75.                         "rtp_audio_in_dtmf_packet_count" : 0,
  76.                         "rtp_use_codec_name" : "PCMU",
  77.                         "remote_media_port" : 22998,
  78.                         "answer_uepoch" : NumberLong(1552811591695077),
  79.                         "record_seconds" : 0,
  80.                         "start_uepoch" : NumberLong(1552811585595158),
  81.                         "sip_h_CallingSystemCallUuid" : "967a52d0-ed6f-4146-82a2-b8923fd6491f",
  82.                         "sip_network_port" : 5060,
  83.                         "waitsec" : 0,
  84.                         "flow_billsec" : 8,
  85.                         "sip_call_id" : "20828a03-c332-1237-e291-82859753578d",
  86.                         "sip_full_from" : "%22%22%20%3Csip%3A79587616509%4080.75.130.147%3A5060%3E%3Btag%3DXXaD21mU41vyB",
  87.                         "pre_transfer_caller_id_number" : NumberLong(79587616509),
  88.                         "progress_mediasec" : 4,
  89.                         "rtp_use_codec_channels" : 1,
  90.                         "sip_recover_contact" : "%3Csip%3A79133841262%4080.75.130.147%3A5060%3Btransport%3Dudp%3E",
  91.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201552790549%201552790550%20IN%20IP4%20176.118.166.116%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%20176.118.166.116%0D%0At%3D0%200%0D%0Am%3Daudio%2021036%20RTP/AVP%200%209%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A9%20G722/8000%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",
  92.                         "record_completion_cause" : "empty-file",
  93.                         "answerusec" : 6099919,
  94.                         "sip_hangup_disposition" : "send_bye",
  95.                         "sip_req_uri" : "79133841262%4080.75.130.147%3A5060",
  96.                         "profile_start_uepoch" : NumberLong(1552811591715101),
  97.                         "read_rate" : 8000,
  98.                         "RECORD_STEREO" : true,
  99.                         "rtp_audio_in_raw_bytes" : 33196,
  100.                         "rtp_audio_in_skip_packet_count" : 2,
  101.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3D-%201552811585%201552811585%20IN%20IP4%2080.75.130.147%0D%0As%3D-%0D%0Ac%3DIN%20IP4%2080.75.130.147%0D%0At%3D0%200%0D%0Am%3Daudio%2022998%20RTP/AVP%200%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dptime%3A20%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0A",
  102.                         "rtp_audio_rtcp_packet_count" : 0,
  103.                         "sip_recover_via" : "SIP/2.0/UDP%20176.118.166.116%3Breceived%3D176.118.166.116%3Bbranch%3Dz9hG4bKFKe6Q0XS2B9QF%3Brport%3D5060",
  104.                         "bridge_epoch" : 0,
  105.                         "bridge_uepoch" : 0,
  106.                         "sip_user_agent" : "TS-v4.7.2-16",
  107.                         "write_rate" : 8000,
  108.                         "rtp_audio_rtcp_octet_count" : 0,
  109.                         "sip_reply_host" : "80.75.130.147",
  110.                         "billusec" : 2039980,
  111.                         "answer_epoch" : 1552811591,
  112.                         "sip_cid_type" : "rpid",
  113.                         "billmsec" : 2040,
  114.                         "call_uuid" : "4fa4b2e1-e34d-4f11-93ce-33a269eaec5d",
  115.                         "rtp_audio_out_skip_packet_count" : 0,
  116.                         "sip_full_via" : "SIP/2.0/UDP%20176.118.166.116%3Breceived%3D176.118.166.116%3Bbranch%3Dz9hG4bKFKe6Q0XS2B9QF%3Brport%3D5060",
  117.                         "channel_name" : "sofia/external/79133841262",
  118.                         "rtp_audio_out_cng_packet_count" : 0,
  119.                         "record_samples" : 0,
  120.                         "answer_stamp" : "2019-03-17%2008%3A33%3A11",
  121.                         "progress_epoch" : 0,
  122.                         "mduration" : 8140,
  123.                         "session_id" : 1825,
  124.                         "hold_accum_seconds" : 0,
  125.                         "record_ms" : 0,
  126.                         "remote_media_ip" : "80.75.130.147",
  127.                         "ep_codec_string" : "CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b",
  128.                         "origination_caller_id_number" : NumberLong(79587616509),
  129.                         "last_hold_epoch" : 0,
  130.                         "CallTaskServiceHost" : "small-apps2-back",
  131.                         "progresssec" : 0,
  132.                         "rtp_use_pt" : 0,
  133.                         "RECORD_DISCARDED" : true,
  134.                         "sip_h_CallTaskId" : "5c8e06410748c90007a313f6",
  135.                         "rtp_audio_in_largest_jb_size" : 0,
  136.                         "sip_cseq" : 1852000,
  137.                         "current_application" : "lua",
  138.                         "rtp_audio_in_media_bytes" : 17372,
  139.                         "hangup_cause" : "NORMAL_CLEARING",
  140.                         "hangup_cause_q850" : 16,
  141.                         "resurrect_epoch" : 0,
  142.                         "transfer_source" : "1552811591%3A3abf59fb-55dc-4ace-9ef9-8c05759bef80%3Abl_xfer%3Aext/outgoingV2PauseBridge/XML",
  143.                         "rtp_audio_in_cng_packet_count" : 0,
  144.                         "rtp_audio_in_flaw_total" : 0,
  145.                         "last_hold_uepoch" : 0,
  146.                         "uduration" : 8139899,
  147.                         "advertised_media_ip" : "176.118.166.116",
  148.                         "hangup_after_bridge" : false,
  149.                         "rtp_audio_in_quality_percentage" : 100,
  150.                         "rtp_use_codec_rate" : 8000,
  151.                         "hold_accum_ms" : 0,
  152.                         "uuid" : "4fa4b2e1-e34d-4f11-93ce-33a269eaec5d",
  153.                         "sip_gateway_name" : "mttVoip79587616509",
  154.                         "rtp_audio_out_packet_count" : 0,
  155.                         "sip_destination_url" : "sip%3A79133841262%4080.75.130.147%3A5060",
  156.                         "sip_to_uri" : "79133841262%4080.75.130.147%3A5060",
  157.                         "read_codec" : "PCMU",
  158.                         "sip_contact_user" : NumberLong(79133841262),
  159.                         "start_stamp" : "2019-03-17%2008%3A33%3A05",
  160.                         "rtp_audio_recv_pt" : 0,
  161.                         "rtp_use_ssrc" : NumberLong(4170163913),
  162.                         "Client" : "5c6da9ac2066320001397594",
  163.                         "billsec" : 2,
  164.                         "progress_media_epoch" : 1552811589,
  165.                         "progress_media_uepoch" : NumberLong(1552811589355076),
  166.                         "rtp_use_codec_string" : "PCMU,G722,G722.1,PCMA",
  167.                         "progressmsec" : 0,
  168.                         "rtp_audio_out_dtmf_packet_count" : 0,
  169.                         "rtp_audio_in_mos" : 4.5,
  170.                         "sip_local_network_addr" : "176.118.166.116",
  171.                         "rtp_audio_out_media_bytes" : 0,
  172.                         "rtp_use_timer_name" : "soft",
  173.                         "Campaign" : "5c8cae4f988b32c2aa883c51",
  174.                         "rtp_2833_recv_payload" : 101,
  175.                         "CallTaskId" : "5c8e06410748c90007a313f6",
  176.                         "text_media_flow" : "disabled",
  177.                         "end_epoch" : 1552811593,
  178.                         "profile_start_stamp" : "2019-03-17%2008%3A33%3A11",
  179.                         "caller_id" : "%22Outbound%20Call%22%20%3C79133841262%3E",
  180.                         "answermsec" : 6100,
  181.                         "sip_profile_name" : "gateway",
  182.                         "sofia_profile_name" : "external",
  183.                         "sip_from_tag" : "XXaD21mU41vyB",
  184.                         "progressusec" : 0,
  185.                         "rtp_audio_in_jitter_burst_rate" : 0,
  186.                         "resurrect_uepoch" : 0,
  187.                         "originate_early_media" : false,
  188.                         "recovery_profile_name" : "external",
  189.                         "progress_mediamsec" : 3760,
  190.                         "sip_from_user" : NumberLong(79587616509),
  191.                         "sip_outgoing_contact_uri" : "%3Csip%3Agw%2BmttVoip79587616509%40176.118.166.116%3A5060%3Btport%3Dudp%3Btransport%3Dudp%3Bgw%3DmttVoip79587616509%3E",
  192.                         "duration" : 8,
  193.                         "sip_contact_port" : 5060,
  194.                         "sip_contact_uri" : "79133841262%4080.75.130.147%3A5060",
  195.                         "local_media_port" : 21036,
  196.                         "flow_billmsec" : 8140,
  197.                         "remote_audio_media_flow" : "sendrecv",
  198.                         "audio_media_flow" : "sendrecv",
  199.                         "dtmf_type" : "rfc2833",
  200.                         "flow_billusec" : 8139899,
  201.                         "local_media_ip" : "176.118.166.116",
  202.                         "sip_allow" : "ACK,%20BYE,%20CANCEL,%20INFO,%20INVITE,%20OPTIONS,%20REFER,%20REGISTER,%20SUBSCRIBE,%20UPDATE",
  203.                         "rtp_audio_in_media_packet_count" : 101,
  204.                         "direction" : "outbound",
  205.                         "video_media_flow" : "disabled",
  206.                         "sip_contact_params" : "transport%3Dudp",
  207.                         "sip_h_Client" : "5c6da9ac2066320001397594",
  208.                         "rtp_audio_in_jitter_loss_rate" : 0,
  209.                         "sip_to_tag" : "pYBE8uEKhR0WE8nhCoUdHBPDnaufAQAq",
  210.                         "sip_to_port" : 5060,
  211.                         "rtp_audio_out_media_packet_count" : 0,
  212.                         "sip_from_uri" : "79587616509%4080.75.130.147%3A5060",
  213.                         "digits_dialed" : "none",
  214.                         "progress_mediausec" : 3759918,
  215.                         "last_app" : "lua",
  216.                         "is_outbound" : true,
  217.                         "rtp_audio_in_jitter_min_variance" : 0,
  218.                         "hangup_complete_with_xml" : true,
  219.                         "endpoint_disposition" : "ANSWER",
  220.                         "original_read_codec" : "PCMU",
  221.                         "rtp_audio_in_flush_packet_count" : 92,
  222.                         "sip_contact_host" : "80.75.130.147"
  223.                     },
  224.                     "callflow" : [
  225.                         {
  226.                             "extension" : {
  227.                                 "number" : "ext",
  228.                                 "application" : [
  229.                                     {
  230.                                         "app_name" : "log",
  231.                                         "app_data" : "INFO sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid};"
  232.                                     },
  233.                                     {
  234.                                         "app_name" : "wait_for_answer",
  235.                                         "app_data" : ""
  236.                                     },
  237.                                     {
  238.                                         "app_name" : "set",
  239.                                         "app_data" : "sip_h_Client=${Client}"
  240.                                     },
  241.                                     {
  242.                                         "app_name" : "set",
  243.                                         "app_data" : "sip_h_Campaign=${Campaign}"
  244.                                     },
  245.                                     {
  246.                                         "app_name" : "set",
  247.                                         "app_data" : "sip_h_CallTaskId=${CallTaskId}"
  248.                                     },
  249.                                     {
  250.                                         "app_name" : "set",
  251.                                         "app_data" : "sip_h_CallingSystemCallUuid=${CallingSystemCallUuid}"
  252.                                     },
  253.                                     {
  254.                                         "app_name" : "set",
  255.                                         "app_data" : "CallTaskServiceHost=small-apps2-back"
  256.                                     },
  257.                                     {
  258.                                         "app_name" : "set",
  259.                                         "app_data" : "CallTaskServicePort=8105"
  260.                                     },
  261.                                     {
  262.                                         "app_name" : "sched_hangup",
  263.                                         "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  264.                                     },
  265.                                     {
  266.                                         "app_name" : "sleep",
  267.                                         "app_data" : 2000
  268.                                     },
  269.                                     {
  270.                                         "app_name" : "set",
  271.                                         "app_data" : "RECORD_STEREO=true"
  272.                                     },
  273.                                     {
  274.                                         "app_name" : "record_session",
  275.                                         "app_data" : "/var/lib/freeswitch/recordings/${Client}/${Campaign}/${CallTaskId}.wav"
  276.                                     },
  277.                                     {
  278.                                         "app_name" : "set",
  279.                                         "app_data" : "hangup_after_bridge=false"
  280.                                     },
  281.                                     {
  282.                                         "app_name" : "lua",
  283.                                         "app_data" : "lua/sdk/outgoing-v2-bridge.lua"
  284.                                     }
  285.                                 ],
  286.                                 "name" : "ext"
  287.                             },
  288.                             "times" : {
  289.                                 "progress_time" : 0,
  290.                                 "created_time" : NumberLong(1552811585595158),
  291.                                 "hold_accum_time" : 0,
  292.                                 "resurrect_time" : 0,
  293.                                 "answered_time" : NumberLong(1552811591695077),
  294.                                 "transfer_time" : 0,
  295.                                 "bridged_time" : 0,
  296.                                 "hangup_time" : NumberLong(1552811593735057),
  297.                                 "progress_media_time" : NumberLong(1552811589355076),
  298.                                 "profile_created_time" : NumberLong(1552811591715101),
  299.                                 "last_hold_time" : 0
  300.                             },
  301.                             "profile_index" : 2,
  302.                             "dialplan" : "XML",
  303.                             "clone-of" : "218553a1-6fa6-4d5f-bd88-92d15ee0073d",
  304.                             "caller_profile" : {
  305.                                 "caller_id_name" : "Outbound Call",
  306.                                 "transfer_source" : "1552811591:3abf59fb-55dc-4ace-9ef9-8c05759bef80:bl_xfer:ext/outgoingV2PauseBridge/XML",
  307.                                 "destination_number" : "ext",
  308.                                 "device_id" : "",
  309.                                 "chan_name" : "sofia/external/79133841262",
  310.                                 "dialplan" : "XML",
  311.                                 "callee_id_number" : NumberLong(79587616509),
  312.                                 "source" : "src/switch_ivr_originate.c",
  313.                                 "network_addr" : "80.75.130.147",
  314.                                 "uuid" : "4fa4b2e1-e34d-4f11-93ce-33a269eaec5d",
  315.                                 "callee_id_name" : "",
  316.                                 "rdnis" : NumberLong(79133841262),
  317.                                 "aniii" : "",
  318.                                 "context" : "outgoingV2PauseBridge",
  319.                                 "caller_id_number" : NumberLong(79133841262),
  320.                                 "ani" : NumberLong(79587616509),
  321.                                 "username" : ""
  322.                             },
  323.                             "unique-id" : "3abf59fb-55dc-4ace-9ef9-8c05759bef80"
  324.                         },
  325.                         {
  326.                             "times" : {
  327.                                 "progress_time" : 0,
  328.                                 "created_time" : NumberLong(1552811585595158),
  329.                                 "hold_accum_time" : 0,
  330.                                 "resurrect_time" : 0,
  331.                                 "answered_time" : NumberLong(1552811591695077),
  332.                                 "transfer_time" : NumberLong(1552811591715101),
  333.                                 "bridged_time" : 0,
  334.                                 "hangup_time" : 0,
  335.                                 "progress_media_time" : NumberLong(1552811589355076),
  336.                                 "profile_created_time" : NumberLong(1552811585595158),
  337.                                 "last_hold_time" : 0
  338.                             },
  339.                             "profile_index" : 1,
  340.                             "clone-of" : "1be66f43-6711-476f-a241-704a9205edc5",
  341.                             "caller_profile" : {
  342.                                 "caller_id_name" : "",
  343.                                 "destination_number" : NumberLong(79133841262),
  344.                                 "device_id" : "",
  345.                                 "chan_name" : "sofia/external/79133841262",
  346.                                 "dialplan" : "",
  347.                                 "callee_id_number" : NumberLong(79133841262),
  348.                                 "source" : "src/switch_ivr_originate.c",
  349.                                 "network_addr" : "80.75.130.147",
  350.                                 "uuid" : "4fa4b2e1-e34d-4f11-93ce-33a269eaec5d",
  351.                                 "callee_id_name" : "Outbound Call",
  352.                                 "rdnis" : "",
  353.                                 "aniii" : "",
  354.                                 "context" : "default",
  355.                                 "caller_id_number" : NumberLong(79587616509),
  356.                                 "ani" : NumberLong(79587616509),
  357.                                 "username" : ""
  358.                             },
  359.                             "unique-id" : "218553a1-6fa6-4d5f-bd88-92d15ee0073d"
  360.                         }
  361.                     ],
  362.                     "core-uuid" : "e283fd34-9a66-42d2-a6e3-067e9da7a4f3",
  363.                     "channel_data" : {
  364.                         "state_number" : 11,
  365.                         "flags" : "0=1;1=1;2=1;3=1;38=1;39=1;41=1;44=1;54=1;61=1;96=1;113=1;114=1;123=1;160=1",
  366.                         "state" : "CS_REPORTING",
  367.                         "direction" : "outbound",
  368.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  369.                     },
  370.                     "app_log" : {
  371.                         "application" : [
  372.                             {
  373.                                 "app_name" : "log",
  374.                                 "app_stamp" : NumberLong(1552811591720627),
  375.                                 "app_data" : "INFO sip-system passed vars: ClientId=5c6da9ac2066320001397594; CampaignId=5c8cae4f988b32c2aa883c51; CallTaskId=5c8e06410748c90007a313f6; CallingSystemCallUuid=967a52d0-ed6f-4146-82a2-b8923fd6491f;"
  376.                             },
  377.                             {
  378.                                 "app_name" : "wait_for_answer",
  379.                                 "app_stamp" : NumberLong(1552811591720889),
  380.                                 "app_data" : ""
  381.                             },
  382.                             {
  383.                                 "app_name" : "set",
  384.                                 "app_stamp" : NumberLong(1552811591721116),
  385.                                 "app_data" : "sip_h_Client=5c6da9ac2066320001397594"
  386.                             },
  387.                             {
  388.                                 "app_name" : "set",
  389.                                 "app_stamp" : NumberLong(1552811591721421),
  390.                                 "app_data" : "sip_h_Campaign=5c8cae4f988b32c2aa883c51"
  391.                             },
  392.                             {
  393.                                 "app_name" : "set",
  394.                                 "app_stamp" : NumberLong(1552811591721676),
  395.                                 "app_data" : "sip_h_CallTaskId=5c8e06410748c90007a313f6"
  396.                             },
  397.                             {
  398.                                 "app_name" : "set",
  399.                                 "app_stamp" : NumberLong(1552811591721929),
  400.                                 "app_data" : "sip_h_CallingSystemCallUuid=967a52d0-ed6f-4146-82a2-b8923fd6491f"
  401.                             },
  402.                             {
  403.                                 "app_name" : "set",
  404.                                 "app_stamp" : NumberLong(1552811591722124),
  405.                                 "app_data" : "CallTaskServiceHost=small-apps2-back"
  406.                             },
  407.                             {
  408.                                 "app_name" : "set",
  409.                                 "app_stamp" : NumberLong(1552811591722332),
  410.                                 "app_data" : "CallTaskServicePort=8105"
  411.                             },
  412.                             {
  413.                                 "app_name" : "sched_hangup",
  414.                                 "app_stamp" : NumberLong(1552811591722613),
  415.                                 "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  416.                             },
  417.                             {
  418.                                 "app_name" : "sleep",
  419.                                 "app_stamp" : NumberLong(1552811591722892),
  420.                                 "app_data" : 2000
  421.                             },
  422.                             {
  423.                                 "app_name" : "set",
  424.                                 "app_stamp" : NumberLong(1552811593729235),
  425.                                 "app_data" : "RECORD_STEREO=true"
  426.                             },
  427.                             {
  428.                                 "app_name" : "record_session",
  429.                                 "app_stamp" : NumberLong(1552811593729493),
  430.                                 "app_data" : "/var/lib/freeswitch/recordings/5c6da9ac2066320001397594/5c8cae4f988b32c2aa883c51/5c8e06410748c90007a313f6.wav"
  431.                             },
  432.                             {
  433.                                 "app_name" : "set",
  434.                                 "app_stamp" : NumberLong(1552811593747429),
  435.                                 "app_data" : "hangup_after_bridge=false"
  436.                             },
  437.                             {
  438.                                 "app_name" : "lua",
  439.                                 "app_stamp" : NumberLong(1552811593747991),
  440.                                 "app_data" : "lua/sdk/outgoing-v2-bridge.lua"
  441.                             }
  442.                         ]
  443.                     },
  444.                     "switchname" : "multifon-tel",
  445.                     "call-stats" : {
  446.                         "audio" : {
  447.                             "inbound" : {
  448.                                 "media_packet_count" : 101,
  449.                                 "cng_packet_count" : 0,
  450.                                 "jitter_min_variance" : 0,
  451.                                 "skip_packet_count" : 2,
  452.                                 "mean_interval" : 20,
  453.                                 "dtmf_packet_count" : 0,
  454.                                 "jitter_loss_rate" : 0,
  455.                                 "jitter_burst_rate" : 0,
  456.                                 "flaw_total" : 0,
  457.                                 "quality_percentage" : 100,
  458.                                 "mos" : 4.5,
  459.                                 "largest_jb_size" : 0,
  460.                                 "packet_count" : 193,
  461.                                 "jitter_max_variance" : 0,
  462.                                 "media_bytes" : 17372,
  463.                                 "jitter_packet_count" : 0,
  464.                                 "raw_bytes" : 33196,
  465.                                 "flush_packet_count" : 92
  466.                             },
  467.                             "outbound" : {
  468.                                 "media_packet_count" : 0,
  469.                                 "cng_packet_count" : 0,
  470.                                 "skip_packet_count" : 0,
  471.                                 "dtmf_packet_count" : 0,
  472.                                 "rtcp_packet_count" : 0,
  473.                                 "packet_count" : 0,
  474.                                 "media_bytes" : 0,
  475.                                 "rtcp_octet_count" : 0,
  476.                                 "raw_bytes" : 0
  477.                             }
  478.                         }
  479.                     }
  480.                 },
  481.                 "callUuid" : "967a52d0-ed6f-4146-82a2-b8923fd6491f",
  482.                 "callTaskId" : "5c8e06410748c90007a313f6"
  483.             }
  484.         }
  485.     ],
  486.     "failComment" : "системная ошибка: звонок прошел (взяли трубку), но не получен результат сценария, см. cdr и логи процессора сценариев",
  487.     "parameters" : {},
  488.     "nextAttemptTimestamp" : NumberLong(0),
  489.     "results" : {},
  490.     "ringingMillis" : NumberLong(0),
  491.     "talkMillis" : NumberLong(2040),
  492.     "reportParameters" : {},
  493.     "created" : NumberLong(1552811585),
  494.     "reported" : false,
  495.     "testing" : true,
  496.     "performedTimestamp" : NumberLong(0),
  497.     "sumConsume" : 0.0,
  498.     "processingEvents" : [
  499.         {
  500.             "timestampSecUtc" : NumberLong(1552811585),
  501.             "dateTimeFormatted" : "17.03.19 08:33",
  502.             "author" : "calling-system",
  503.             "event" : "call initiated: OutgoingCall(uuid=967a52d0-ed6f-4146-82a2-b8923fd6491f, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-mtt1-tel, responseTopic=calling-system-orig-result-outgoing-apps-v2, callUrl=sofia/gateway/mttVoip79587616509/79133841262 ext XML outgoingV2PauseBridge, createdUtcMs=1552811585605, callUuid=967a52d0-ed6f-4146-82a2-b8923fd6491f, callTaskUuid=5c8e06410748c90007a313f6, client=5c6da9ac2066320001397594, campaign=5c8cae4f988b32c2aa883c51, originateParameters={sip_cid_type=rpid, origination_caller_id_number=79587616509}, originateTimeoutSec=30), originateResult=null, systemError=null, cdr=null); message to kafka to call task is about to be sent"
  504.         },
  505.         {
  506.             "timestampSecUtc" : NumberLong(1552811591),
  507.             "dateTimeFormatted" : "17.03.19 08:33",
  508.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  509.             "event" : "transition to ONGOING on call answered"
  510.         },
  511.         {
  512.             "timestampSecUtc" : NumberLong(1552811593822),
  513.             "dateTimeFormatted" : "17.03.19 08:33",
  514.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  515.             "event" : "CDR_RECEIVED"
  516.         },
  517.         {
  518.             "timestampSecUtc" : NumberLong(1552811603),
  519.             "dateTimeFormatted" : "17.03.19 08:33",
  520.             "author" : "tech.ivoice.platform.ctservice.service.impl.CallTaskFinalizerImpl",
  521.             "event" : "FAILED_ON_NO_RESULT",
  522.             "parameters" : {
  523.                 "SCENARIO_RESULT_TIMEOUT_SEC" : NumberLong(10)
  524.             }
  525.         }
  526.     ],
  527.     "fullCost" : NumberLong(0),
  528.     "_class" : "tech.ivoice.common.model.calls.CallTask"
  529. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement