Advertisement
ScrappyCocoJamba

arsmedica-confirmed1

Feb 11th, 2020
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 35.05 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("5e4385613561d30007cef743"),
  3.     "phone" : "89955979744",
  4.     "campaign" : "5e4269ae1755e0b8c4546919",
  5.     "state" : "PERFORMED",
  6.     "lastCallRequestTimestamp" : NumberLong(1581483362859),
  7.     "callAnsweredTimestamp" : NumberLong(1581483376232),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "26063a69-c8ea-4c8d-9f34-582b3f01d022",
  12.             "request" : {
  13.                 "targetTopic" : "sip-system-originate-request-fs1-release-2-3",
  14.                 "responseTopic" : "calling-system-orig-result-apps9",
  15.                 "scenarioResultTopic" : "scenario_result_sdk_v2_apps9",
  16.                 "scenarioParametersApiHost" : "small-apps9-back",
  17.                 "scenarioParametersApiPort" : "8101",
  18.                 "callUrl" : "sofia/gateway/ars-medika-01/89955979744 ext XML outgoing-release-2-6-ms11-sleep0",
  19.                 "createdUtcMs" : NumberLong(1581483362859),
  20.                 "callUuid" : "26063a69-c8ea-4c8d-9f34-582b3f01d022",
  21.                 "callTaskUuid" : "5e4385613561d30007cef743",
  22.                 "client" : "5d9cfcf83563935855038f70",
  23.                 "campaign" : "5e4269ae1755e0b8c4546919",
  24.                 "originateParameters" : {},
  25.                 "originateTimeoutSec" : 40
  26.             },
  27.             "originateResult" : {
  28.                 "timestamp" : NumberLong(1581483376232),
  29.                 "sipCode" : 200,
  30.                 "fullSipSystemResponse" : "+OK 8ad49348-7092-43d0-aec0-3f1cc526f46d",
  31.                 "callUuid" : "26063a69-c8ea-4c8d-9f34-582b3f01d022",
  32.                 "callTaskId" : "5e4385613561d30007cef743"
  33.             },
  34.             "cdr" : {
  35.                 "cdr" : {
  36.                     "variables" : {
  37.                         "write_codec" : "PCMA",
  38.                         "rtp_audio_in_mean_interval" : 20.01,
  39.                         "sip_reply_port" : 5060,
  40.                         "sip_to_host" : "83.219.150.111",
  41.                         "hold_accum_usec" : 0,
  42.                         "bridge_uuid" : "bc3e419e-303b-42f8-a3a2-21f6fb95a7aa",
  43.                         "start_epoch" : 1581483362,
  44.                         "rtp_2833_send_payload" : 101,
  45.                         "original_read_rate" : 8000,
  46.                         "end_stamp" : "2020-02-12%2004%3A56%3A48",
  47.                         "profile_start_epoch" : 1581483376,
  48.                         "leg_timeout" : 40,
  49.                         "waitmsec" : 13420,
  50.                         "transfer_history" : "1581483376%3A3b50812c-4b8b-448f-a847-39b47995f1ef%3Abl_xfer%3Aext/outgoing-release-2-6-ms11-sleep0/XML",
  51.                         "sip_hangup_phrase" : "OK",
  52.                         "CallingSystemCallUuid" : "26063a69-c8ea-4c8d-9f34-582b3f01d022",
  53.                         "current_application_data" : "lua/sdk/outgoing-release-2.6-arsmedika.lua",
  54.                         "rtp_audio_out_raw_bytes" : 275544,
  55.                         "progress_uepoch" : 0,
  56.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.210%3A5060",
  57.                         "progress_media_stamp" : "2020-02-12%2004%3A56%3A03",
  58.                         "ignore_early_media" : true,
  59.                         "rtp_use_codec_ptime" : 20,
  60.                         "waitusec" : 13420029,
  61.                         "sip_to_user" : NumberLong(89955979744),
  62.                         "rtp_last_audio_codec_string" : "PCMA%408000h%4020i%401c",
  63.                         "answersec" : 14,
  64.                         "rtp_audio_in_packet_count" : 1698,
  65.                         "rtp_audio_in_jitter_packet_count" : 0,
  66.                         "rtp_audio_in_jitter_max_variance" : 1.68,
  67.                         "sip_full_to" : "%3Csip%3A89955979744%4083.219.150.111%3E%3Btag%3Das11942c2c",
  68.                         "max_forwards" : 70,
  69.                         "last_arg" : "lua/sdk/outgoing-release-2.6-arsmedika.lua",
  70.                         "sip_network_ip" : "83.219.150.111",
  71.                         "sip_from_host" : "83.219.150.111",
  72.                         "end_uepoch" : NumberLong(1581483408340060),
  73.                         "rtp_audio_in_dtmf_packet_count" : 0,
  74.                         "rtp_use_codec_name" : "PCMA",
  75.                         "remote_media_port" : 10046,
  76.                         "answer_uepoch" : NumberLong(1581483376200105),
  77.                         "start_uepoch" : NumberLong(1581483362860072),
  78.                         "last_sent_callee_id_number" : "outgoingSolution%3FtaskId%3D5e4385613561d30007cef743%26callUuid%3D26063a69-c8ea-4c8d-9f34-582b3f01d022%26callTaskServiceHost%3Dsmall-apps9-back%26callTaskServicePort%3D8101%26scenarioResultTopic%3Dscenario_result_sdk_v2_apps9%26sleepBeforeScenarioMs%3D16",
  79.                         "sip_network_port" : 5060,
  80.                         "waitsec" : 14,
  81.                         "flow_billsec" : 46,
  82.                         "sip_call_id" : "cf7e99ae-c7f6-1238-1893-7e81c4218fd3",
  83.                         "remote_video_media_flow" : "inactive",
  84.                         "sip_full_from" : "%22%22%20%3Csip%3Aivoice%4083.219.150.111%3E%3Btag%3DXXtX47gZUy7gj",
  85.                         "pre_transfer_caller_id_number" : "0000000000",
  86.                         "progress_mediasec" : 1,
  87.                         "rtp_use_codec_channels" : 1,
  88.                         "sip_recover_contact" : "%3Csip%3A89955979744%4083.219.150.111%3A5060%3E",
  89.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201581462290%201581462291%20IN%20IP4%2092.119.230.210%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.210%0D%0At%3D0%200%0D%0Am%3Daudio%2021072%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",
  90.                         "remote_text_media_flow" : "inactive",
  91.                         "bridge_stamp" : "2020-02-12%2004%3A56%3A16",
  92.                         "answerusec" : 13340033,
  93.                         "sip_hangup_disposition" : "send_bye",
  94.                         "sip_req_uri" : "89955979744%4083.219.150.111",
  95.                         "profile_start_uepoch" : NumberLong(1581483376200105),
  96.                         "read_rate" : 8000,
  97.                         "rtp_audio_in_raw_bytes" : 292056,
  98.                         "rtp_audio_in_skip_packet_count" : 5,
  99.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3Droot%201756785267%201756785267%20IN%20IP4%2083.219.150.111%0D%0As%3DAsterisk%20PBX%2013.24.1%0D%0Ac%3DIN%20IP4%2083.219.150.111%0D%0At%3D0%200%0D%0Am%3Daudio%2010046%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dmaxptime%3A150%0D%0A",
  100.                         "rtp_audio_rtcp_packet_count" : 0,
  101.                         "sip_recover_via" : "SIP/2.0/UDP%2092.119.230.210%3Bbranch%3Dz9hG4bKN88taeH3v7y1B%3Breceived%3D92.119.230.210%3Brport%3D5060",
  102.                         "bridge_epoch" : 1581483376,
  103.                         "bridge_uepoch" : NumberLong(1581483376280101),
  104.                         "sip_user_agent" : "FPBX-13.0.197(13.24.1)",
  105.                         "write_rate" : 8000,
  106.                         "rtp_audio_rtcp_octet_count" : 0,
  107.                         "sip_reply_host" : "83.219.150.111",
  108.                         "billusec" : 32139955,
  109.                         "answer_epoch" : 1581483376,
  110.                         "billmsec" : 32140,
  111.                         "call_uuid" : "8ad49348-7092-43d0-aec0-3f1cc526f46d",
  112.                         "rtp_audio_out_skip_packet_count" : 0,
  113.                         "sip_invite_domain" : "83.219.150.111",
  114.                         "sip_full_via" : "SIP/2.0/UDP%2092.119.230.210%3Bbranch%3Dz9hG4bKN88taeH3v7y1B%3Breceived%3D92.119.230.210%3Brport%3D5060",
  115.                         "channel_name" : "sofia/external/89955979744",
  116.                         "rtp_audio_out_cng_packet_count" : 0,
  117.                         "answer_stamp" : "2020-02-12%2004%3A56%3A16",
  118.                         "progress_epoch" : 0,
  119.                         "mduration" : 45480,
  120.                         "session_id" : 31673,
  121.                         "last_bridge_hangup_cause" : "NORMAL_CLEARING",
  122.                         "hold_accum_seconds" : 0,
  123.                         "remote_media_ip" : "83.219.150.111",
  124.                         "ep_codec_string" : "CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b",
  125.                         "last_hold_epoch" : 0,
  126.                         "progresssec" : 0,
  127.                         "rtp_use_pt" : 8,
  128.                         "rtp_audio_in_largest_jb_size" : 0,
  129.                         "sip_cseq" : 16187890,
  130.                         "current_application" : "lua",
  131.                         "rtp_audio_in_media_bytes" : 275888,
  132.                         "hangup_cause" : "NORMAL_CLEARING",
  133.                         "hangup_cause_q850" : 16,
  134.                         "resurrect_epoch" : 0,
  135.                         "transfer_source" : "1581483376%3A3b50812c-4b8b-448f-a847-39b47995f1ef%3Abl_xfer%3Aext/outgoing-release-2-6-ms11-sleep0/XML",
  136.                         "rtp_audio_in_cng_packet_count" : 0,
  137.                         "rtp_audio_in_flaw_total" : 5,
  138.                         "last_hold_uepoch" : 0,
  139.                         "uduration" : 45479988,
  140.                         "advertised_media_ip" : "92.119.230.210",
  141.                         "rtp_audio_in_quality_percentage" : 99,
  142.                         "rtp_use_codec_rate" : 8000,
  143.                         "ScenarioParametersApiPort" : 8101,
  144.                         "SleepTime" : 16,
  145.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_apps9",
  146.                         "hold_accum_ms" : 0,
  147.                         "uuid" : "8ad49348-7092-43d0-aec0-3f1cc526f46d",
  148.                         "sip_gateway_name" : "ars-medika-01",
  149.                         "rtp_audio_out_packet_count" : 1602,
  150.                         "sip_destination_url" : "sip%3A89955979744%4083.219.150.111",
  151.                         "sip_to_uri" : "89955979744%4083.219.150.111",
  152.                         "read_codec" : "PCMA",
  153.                         "sip_contact_user" : NumberLong(89955979744),
  154.                         "start_stamp" : "2020-02-12%2004%3A56%3A02",
  155.                         "rtp_audio_recv_pt" : 8,
  156.                         "rtp_use_ssrc" : 1380264410,
  157.                         "Client" : "5d9cfcf83563935855038f70",
  158.                         "billsec" : 32,
  159.                         "progress_media_epoch" : 1581483363,
  160.                         "progress_media_uepoch" : NumberLong(1581483363000102),
  161.                         "rtp_use_codec_string" : "PCMA,PCMU",
  162.                         "progressmsec" : 0,
  163.                         "bridge_hangup_cause" : "NORMAL_CLEARING",
  164.                         "rtp_audio_out_dtmf_packet_count" : 0,
  165.                         "rtp_audio_in_mos" : 4.49,
  166.                         "last_sent_callee_id_name" : "Outbound%20Call",
  167.                         "sip_local_network_addr" : "92.119.230.210",
  168.                         "rtp_audio_out_media_bytes" : 275544,
  169.                         "rtp_use_timer_name" : "soft",
  170.                         "Campaign" : "5e4269ae1755e0b8c4546919",
  171.                         "rtp_2833_recv_payload" : 101,
  172.                         "CallTaskId" : "5e4385613561d30007cef743",
  173.                         "text_media_flow" : "disabled",
  174.                         "end_epoch" : 1581483408,
  175.                         "profile_start_stamp" : "2020-02-12%2004%3A56%3A16",
  176.                         "caller_id" : "%22Outbound%20Call%22%20%3C89955979744%3E",
  177.                         "answermsec" : 13340,
  178.                         "sip_profile_name" : "gateway",
  179.                         "sofia_profile_name" : "external",
  180.                         "sip_from_tag" : "XXtX47gZUy7gj",
  181.                         "progressusec" : 0,
  182.                         "rtp_audio_in_jitter_burst_rate" : 1,
  183.                         "resurrect_uepoch" : 0,
  184.                         "originate_early_media" : false,
  185.                         "last_bridge_to" : "bc3e419e-303b-42f8-a3a2-21f6fb95a7aa",
  186.                         "recovery_profile_name" : "external",
  187.                         "sip_bye_h_X-RestComm-CallSid" : "ID11f0bb64e3684c0aa59ac86d15678d8b-CAa855aaf018564028ba2ec7c55358aaef",
  188.                         "progress_mediamsec" : 140,
  189.                         "SipServlet" : "sipservlet_ms11",
  190.                         "sip_from_user" : "ivoice",
  191.                         "sip_outgoing_contact_uri" : "%3Csip%3Agw%2Bars-medika-01%4092.119.230.210%3A5060%3Btransport%3Dudp%3Bgw%3Dars-medika-01%3E",
  192.                         "duration" : 46,
  193.                         "sip_contact_port" : 5060,
  194.                         "sip_contact_uri" : "89955979744%4083.219.150.111%3A5060",
  195.                         "local_media_port" : 21072,
  196.                         "flow_billmsec" : 45480,
  197.                         "remote_audio_media_flow" : "sendrecv",
  198.                         "bridge_channel" : "sofia/external/outgoingSolution%3FtaskId%3D5e4385613561d30007cef743%26callUuid%3D26063a69-c8ea-4c8d-9f34-582b3f01d022%26callTaskServiceHost%3Dsmall-apps9-back%26callTaskServicePort%3D8101%26scenarioResultTopic%3Dscenario_result_sdk_v2_apps9%26sleepBeforeScenarioMs%3D16",
  199.                         "audio_media_flow" : "sendrecv",
  200.                         "dtmf_type" : "rfc2833",
  201.                         "flow_billusec" : 45479988,
  202.                         "local_media_ip" : "92.119.230.210",
  203.                         "sip_allow" : "INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE",
  204.                         "rtp_audio_in_media_packet_count" : 1604,
  205.                         "direction" : "outbound",
  206.                         "video_media_flow" : "disabled",
  207.                         "rtp_audio_in_jitter_loss_rate" : 0,
  208.                         "sip_to_tag" : "as11942c2c",
  209.                         "rtp_audio_out_media_packet_count" : 1602,
  210.                         "sip_from_uri" : "ivoice%4083.219.150.111",
  211.                         "digits_dialed" : "none",
  212.                         "signal_bond" : "bc3e419e-303b-42f8-a3a2-21f6fb95a7aa",
  213.                         "progress_mediausec" : 140030,
  214.                         "ScenarioParametersApiHost" : "small-apps9-back",
  215.                         "last_app" : "lua",
  216.                         "is_outbound" : true,
  217.                         "rtp_audio_in_jitter_min_variance" : 0.58,
  218.                         "hangup_complete_with_xml" : true,
  219.                         "endpoint_disposition" : "ANSWER",
  220.                         "original_read_codec" : "PCMA",
  221.                         "last_bridge_proto_specific_hangup_cause" : "sip%3A200",
  222.                         "rtp_audio_in_flush_packet_count" : 94,
  223.                         "sip_contact_host" : "83.219.150.111"
  224.                     },
  225.                     "callflow" : [
  226.                         {
  227.                             "extension" : {
  228.                                 "number" : "ext",
  229.                                 "application" : [
  230.                                     {
  231.                                         "app_name" : "log",
  232.                                         "app_data" : "INFO sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid}; ScenarioResultTopic=${ScenarioResultTopic}; ScenarioParametersApiHost=${ScenarioParametersApiHost}; ScenarioParametersApiPort=${ScenarioParametersApiPort}"
  233.                                     },
  234.                                     {
  235.                                         "app_name" : "wait_for_answer",
  236.                                         "app_data" : ""
  237.                                     },
  238.                                     {
  239.                                         "app_name" : "sched_hangup",
  240.                                         "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  241.                                     },
  242.                                     {
  243.                                         "app_name" : "set",
  244.                                         "app_data" : "SleepTime=16"
  245.                                     },
  246.                                     {
  247.                                         "app_name" : "sleep",
  248.                                         "app_data" : "${SleepTime}"
  249.                                     },
  250.                                     {
  251.                                         "app_name" : "set",
  252.                                         "app_data" : "SipServlet=sipservlet_ms11"
  253.                                     },
  254.                                     {
  255.                                         "app_name" : "set_audio_level",
  256.                                         "app_data" : "read 4"
  257.                                     },
  258.                                     {
  259.                                         "app_name" : "set_audio_level",
  260.                                         "app_data" : "write 4"
  261.                                     },
  262.                                     {
  263.                                         "app_name" : "lua",
  264.                                         "app_data" : "lua/sdk/outgoing-release-2.6-arsmedika.lua"
  265.                                     }
  266.                                 ],
  267.                                 "name" : "ext"
  268.                             },
  269.                             "times" : {
  270.                                 "progress_time" : 0,
  271.                                 "created_time" : NumberLong(1581483362860072),
  272.                                 "hold_accum_time" : 0,
  273.                                 "resurrect_time" : 0,
  274.                                 "answered_time" : NumberLong(1581483376200105),
  275.                                 "transfer_time" : 0,
  276.                                 "bridged_time" : NumberLong(1581483376280101),
  277.                                 "hangup_time" : NumberLong(1581483408340060),
  278.                                 "progress_media_time" : NumberLong(1581483363000102),
  279.                                 "profile_created_time" : NumberLong(1581483376200105),
  280.                                 "last_hold_time" : 0
  281.                             },
  282.                             "profile_index" : 2,
  283.                             "dialplan" : "XML",
  284.                             "clone-of" : "e30e531d-b111-441f-adca-f6b0d47cbaf1",
  285.                             "caller_profile" : {
  286.                                 "caller_id_name" : "Outbound Call",
  287.                                 "transfer_source" : "1581483376:3b50812c-4b8b-448f-a847-39b47995f1ef:bl_xfer:ext/outgoing-release-2-6-ms11-sleep0/XML",
  288.                                 "destination_number" : "ext",
  289.                                 "device_id" : "",
  290.                                 "chan_name" : "sofia/external/89955979744",
  291.                                 "dialplan" : "XML",
  292.                                 "callee_id_number" : "outgoingSolution?taskId=5e4385613561d30007cef743&callUuid=26063a69-c8ea-4c8d-9f34-582b3f01d022&callTaskServiceHost=small-apps9-back&callTaskServicePort=8101&scenarioResultTopic=scenario_result_sdk_v2_apps9&sleepBeforeScenarioMs=16",
  293.                                 "source" : "src/switch_ivr_originate.c",
  294.                                 "network_addr" : "83.219.150.111",
  295.                                 "uuid" : "8ad49348-7092-43d0-aec0-3f1cc526f46d",
  296.                                 "callee_id_name" : "Outbound Call",
  297.                                 "rdnis" : NumberLong(89955979744),
  298.                                 "aniii" : "",
  299.                                 "context" : "outgoing-release-2-6-ms11-sleep0",
  300.                                 "caller_id_number" : NumberLong(89955979744),
  301.                                 "ani" : "0000000000",
  302.                                 "username" : ""
  303.                             },
  304.                             "unique-id" : "3b50812c-4b8b-448f-a847-39b47995f1ef"
  305.                         },
  306.                         {
  307.                             "times" : {
  308.                                 "progress_time" : 0,
  309.                                 "created_time" : NumberLong(1581483362860072),
  310.                                 "hold_accum_time" : 0,
  311.                                 "resurrect_time" : 0,
  312.                                 "answered_time" : NumberLong(1581483376200105),
  313.                                 "transfer_time" : NumberLong(1581483376200105),
  314.                                 "bridged_time" : 0,
  315.                                 "hangup_time" : 0,
  316.                                 "progress_media_time" : NumberLong(1581483363000102),
  317.                                 "profile_created_time" : NumberLong(1581483362860072),
  318.                                 "last_hold_time" : 0
  319.                             },
  320.                             "profile_index" : 1,
  321.                             "clone-of" : "e63c2dea-9433-42e4-a7c4-fe3d8e261ef8",
  322.                             "caller_profile" : {
  323.                                 "caller_id_name" : "",
  324.                                 "destination_number" : NumberLong(89955979744),
  325.                                 "device_id" : "",
  326.                                 "chan_name" : "sofia/external/89955979744",
  327.                                 "dialplan" : "",
  328.                                 "callee_id_number" : NumberLong(89955979744),
  329.                                 "source" : "src/switch_ivr_originate.c",
  330.                                 "network_addr" : "83.219.150.111",
  331.                                 "uuid" : "8ad49348-7092-43d0-aec0-3f1cc526f46d",
  332.                                 "callee_id_name" : "Outbound Call",
  333.                                 "rdnis" : "",
  334.                                 "aniii" : "",
  335.                                 "context" : "default",
  336.                                 "caller_id_number" : "0000000000",
  337.                                 "ani" : "0000000000",
  338.                                 "username" : ""
  339.                             },
  340.                             "unique-id" : "e30e531d-b111-441f-adca-f6b0d47cbaf1"
  341.                         }
  342.                     ],
  343.                     "core-uuid" : "e540fe66-7abe-4122-a05e-8ec885873054",
  344.                     "channel_data" : {
  345.                         "state_number" : 11,
  346.                         "flags" : "0=1;1=1;2=1;3=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",
  347.                         "state" : "CS_REPORTING",
  348.                         "direction" : "outbound",
  349.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  350.                     },
  351.                     "app_log" : {
  352.                         "application" : [
  353.                             {
  354.                                 "app_name" : "log",
  355.                                 "app_stamp" : NumberLong(1581483376219577),
  356.                                 "app_data" : "INFO sip-system passed vars: ClientId=5d9cfcf83563935855038f70; CampaignId=5e4269ae1755e0b8c4546919; CallTaskId=5e4385613561d30007cef743; CallingSystemCallUuid=26063a69-c8ea-4c8d-9f34-582b3f01d022; ScenarioResultTopic=scenario_result_sdk_v2_apps9; ScenarioParametersApiHost=small-apps9-back; ScenarioParametersApiPort=8101"
  357.                             },
  358.                             {
  359.                                 "app_name" : "wait_for_answer",
  360.                                 "app_stamp" : NumberLong(1581483376219808),
  361.                                 "app_data" : ""
  362.                             },
  363.                             {
  364.                                 "app_name" : "sched_hangup",
  365.                                 "app_stamp" : NumberLong(1581483376220098),
  366.                                 "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  367.                             },
  368.                             {
  369.                                 "app_name" : "set",
  370.                                 "app_stamp" : NumberLong(1581483376220441),
  371.                                 "app_data" : "SleepTime=16"
  372.                             },
  373.                             {
  374.                                 "app_name" : "sleep",
  375.                                 "app_stamp" : NumberLong(1581483376220760),
  376.                                 "app_data" : 16
  377.                             },
  378.                             {
  379.                                 "app_name" : "set",
  380.                                 "app_stamp" : NumberLong(1581483376241280),
  381.                                 "app_data" : "SipServlet=sipservlet_ms11"
  382.                             },
  383.                             {
  384.                                 "app_name" : "set_audio_level",
  385.                                 "app_stamp" : NumberLong(1581483376241484),
  386.                                 "app_data" : "read 4"
  387.                             },
  388.                             {
  389.                                 "app_name" : "set_audio_level",
  390.                                 "app_stamp" : NumberLong(1581483376241856),
  391.                                 "app_data" : "write 4"
  392.                             },
  393.                             {
  394.                                 "app_name" : "lua",
  395.                                 "app_stamp" : NumberLong(1581483376242403),
  396.                                 "app_data" : "lua/sdk/outgoing-release-2.6-arsmedika.lua"
  397.                             }
  398.                         ]
  399.                     },
  400.                     "switchname" : "fs-1",
  401.                     "call-stats" : {
  402.                         "audio" : {
  403.                             "inbound" : {
  404.                                 "media_packet_count" : 1604,
  405.                                 "cng_packet_count" : 0,
  406.                                 "jitter_min_variance" : 0.58,
  407.                                 "skip_packet_count" : 5,
  408.                                 "mean_interval" : 20.01,
  409.                                 "dtmf_packet_count" : 0,
  410.                                 "jitter_loss_rate" : 0,
  411.                                 "jitter_burst_rate" : 1,
  412.                                 "flaw_total" : 5,
  413.                                 "quality_percentage" : 99,
  414.                                 "mos" : 4.49,
  415.                                 "largest_jb_size" : 0,
  416.                                 "packet_count" : 1698,
  417.                                 "jitter_max_variance" : 1.68,
  418.                                 "media_bytes" : 275888,
  419.                                 "jitter_packet_count" : 0,
  420.                                 "raw_bytes" : 292056,
  421.                                 "flush_packet_count" : 94
  422.                             },
  423.                             "outbound" : {
  424.                                 "media_packet_count" : 1602,
  425.                                 "cng_packet_count" : 0,
  426.                                 "skip_packet_count" : 0,
  427.                                 "dtmf_packet_count" : 0,
  428.                                 "rtcp_packet_count" : 0,
  429.                                 "packet_count" : 1602,
  430.                                 "media_bytes" : 275544,
  431.                                 "rtcp_octet_count" : 0,
  432.                                 "raw_bytes" : 275544
  433.                             },
  434.                             "error-log" : {
  435.                                 "error-period" : {
  436.                                     "consecutive-flaws" : 2,
  437.                                     "duration-msec" : 3020,
  438.                                     "stop" : NumberLong(1581483391800106),
  439.                                     "start" : NumberLong(1581483388780058),
  440.                                     "flaws" : 4
  441.                                 }
  442.                             }
  443.                         }
  444.                     }
  445.                 },
  446.                 "callUuid" : "26063a69-c8ea-4c8d-9f34-582b3f01d022",
  447.                 "callTaskId" : "5e4385613561d30007cef743"
  448.             }
  449.         }
  450.     ],
  451.     "parameters" : {
  452.         "date" : "2019-12-19 17:00",
  453.         "doctor" : " Фёдор Никифорович",
  454.         "specialty" : "африканский шаман",
  455.         "address" : "236006, Калининградская обл., г. Калининград, пр. Московский, 50.",
  456.         "visitID" : "2308171",
  457.         "name" : "Константин",
  458.         "room" : ""
  459.     },
  460.     "nextAttemptTimestamp" : NumberLong(0),
  461.     "results" : {},
  462.     "ringingMillis" : NumberLong(0),
  463.     "talkMillis" : NumberLong(32140),
  464.     "reportParameters" : {},
  465.     "created" : NumberLong(1581483361),
  466.     "reported" : false,
  467.     "testing" : false,
  468.     "performedTimestamp" : NumberLong(1581483408),
  469.     "sumConsume" : 0.0,
  470.     "processingEvents" : [
  471.         {
  472.             "timestampSecUtc" : NumberLong(1581483362),
  473.             "dateTimeFormatted" : "12.02.20 04:56",
  474.             "author" : "calling-system",
  475.             "event" : "call initiated: OutgoingCall(uuid=26063a69-c8ea-4c8d-9f34-582b3f01d022, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-fs1-release-2-3, responseTopic=calling-system-orig-result-apps9, scenarioResultTopic=scenario_result_sdk_v2_apps9, scenarioParametersApiHost=small-apps9-back, scenarioParametersApiPort=8101, callUrl=sofia/gateway/ars-medika-01/89955979744 ext XML outgoing-release-2-6-ms11-sleep0, createdUtcMs=1581483362859, callUuid=26063a69-c8ea-4c8d-9f34-582b3f01d022, callTaskUuid=5e4385613561d30007cef743, client=5d9cfcf83563935855038f70, campaign=5e4269ae1755e0b8c4546919, originateParameters={}, originateTimeoutSec=40), originateResult=null, systemError=null, cdr=null); message to kafka to call task is about to be sent"
  476.         },
  477.         {
  478.             "timestampSecUtc" : NumberLong(1581483376),
  479.             "dateTimeFormatted" : "12.02.20 04:56",
  480.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  481.             "event" : "transition to ONGOING on call answered"
  482.         },
  483.         {
  484.             "timestampSecUtc" : NumberLong(1581483408365),
  485.             "dateTimeFormatted" : "12.02.20 04:56",
  486.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  487.             "event" : "CDR_RECEIVED",
  488.             "parameters" : {
  489.                 "nextState" : "PERFORMED",
  490.                 "talkMillis" : NumberLong(32140)
  491.             }
  492.         }
  493.     ],
  494.     "fullCost" : NumberLong(0),
  495.     "fullBilling" : false,
  496.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  497.     "scenarioResult" : {
  498.         "time" : ISODate("2020-02-12T04:56:48.313Z"),
  499.         "items" : [
  500.             {
  501.                 "time" : ISODate("2020-02-12T04:56:16.281Z"),
  502.                 "name" : "params",
  503.                 "value" : "medika_visit",
  504.                 "details" : {
  505.                     "date" : "2019-12-19 17:00",
  506.                     "sleepBeforeScenarioMs" : "16",
  507.                     "specialty" : "африканский шаман",
  508.                     "address" : "236006, Калининградская обл., г. Калининград, пр. Московский, 50.",
  509.                     "campaignId" : "5e4269ae1755e0b8c4546919",
  510.                     "callTaskId" : "5e4385613561d30007cef743",
  511.                     "solutionName" : "medika_visit",
  512.                     "room" : "",
  513.                     "callUuid" : "26063a69-c8ea-4c8d-9f34-582b3f01d022",
  514.                     "doctor" : " Фёдор Никифорович",
  515.                     "visitID" : "2308171",
  516.                     "phone" : "89955979744",
  517.                     "name" : "Константин",
  518.                     "scenarioId" : "5d9cfcc4356393585502eb13"
  519.                 }
  520.             },
  521.             {
  522.                 "time" : ISODate("2020-02-12T04:56:40.018Z"),
  523.                 "name" : "прием подтвержден",
  524.                 "value" : "confirmed",
  525.                 "details" : {}
  526.             },
  527.             {
  528.                 "time" : ISODate("2020-02-12T04:56:48.313Z"),
  529.                 "name" : "hangup",
  530.                 "value" : "solution",
  531.                 "details" : {}
  532.             }
  533.         ],
  534.         "log" : [
  535.             {
  536.                 "time" : ISODate("2020-02-12T04:56:30.332Z"),
  537.                 "text" : "start requesting option (no, yes)",
  538.                 "context" : {
  539.                     "sid" : "12b7096c-fff5-474a-85c2-f75816823a59",
  540.                     "question" : "прием подтвержден"
  541.                 }
  542.             },
  543.             {
  544.                 "time" : ISODate("2020-02-12T04:56:40.018Z"),
  545.                 "text" : "recognise option(yes) on asr",
  546.                 "context" : {
  547.                     "sid" : "12b7096c-fff5-474a-85c2-f75816823a59",
  548.                     "question" : "прием подтвержден",
  549.                     "recognition" : [
  550.                         {
  551.                             "text" : "да",
  552.                             "confidence" : 0.952758312225342
  553.                         }
  554.                     ]
  555.                 }
  556.             }
  557.         ],
  558.         "callId" : "26063a69-c8ea-4c8d-9f34-582b3f01d022",
  559.         "taskId" : "5e4385613561d30007cef743",
  560.         "resourceSpentEvents" : [
  561.             {
  562.                 "vendor" : "YANDEX_TTS",
  563.                 "amount" : {
  564.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  565.                 }
  566.             },
  567.             {
  568.                 "vendor" : "YANDEX_TTS",
  569.                 "amount" : {
  570.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(10)
  571.                 }
  572.             },
  573.             {
  574.                 "vendor" : "YANDEX_TTS",
  575.                 "amount" : {
  576.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  577.                 }
  578.             },
  579.             {
  580.                 "vendor" : "YANDEX_TTS",
  581.                 "amount" : {
  582.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(28)
  583.                 }
  584.             },
  585.             {
  586.                 "vendor" : "YANDEX_TTS",
  587.                 "amount" : {
  588.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  589.                 }
  590.             },
  591.             {
  592.                 "vendor" : "YANDEX_TTS",
  593.                 "amount" : {
  594.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(36)
  595.                 }
  596.             },
  597.             {
  598.                 "vendor" : "YANDEX_TTS",
  599.                 "amount" : {
  600.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  601.                 }
  602.             },
  603.             {
  604.                 "vendor" : "GOOGLE_ASR",
  605.                 "amount" : {
  606.                     "SPEECH_TIME" : NumberLong(9685),
  607.                     "SPEECH_CHAR_COUNT" : NumberLong(2),
  608.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  609.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(9685)
  610.                 }
  611.             },
  612.             {
  613.                 "vendor" : "YANDEX_TTS",
  614.                 "amount" : {
  615.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  616.                 }
  617.             },
  618.             {
  619.                 "vendor" : "YANDEX_TTS",
  620.                 "amount" : {
  621.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(41)
  622.                 }
  623.             },
  624.             {
  625.                 "vendor" : "YANDEX_TTS",
  626.                 "amount" : {
  627.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  628.                 }
  629.             }
  630.         ]
  631.     }
  632. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement