Advertisement
ScrappyCocoJamba

arsmd-halfbug

Feb 21st, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 36.63 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("5e4f79243561d30007b30e1b"),
  3.     "phone" : "89993003295",
  4.     "campaign" : "5e4269ae1755e0b8c4546919",
  5.     "state" : "PERFORMED",
  6.     "lastCallRequestTimestamp" : NumberLong(1582266660538),
  7.     "callAnsweredTimestamp" : NumberLong(1582266672953),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "2f9f32ea-2c73-4a4e-a1af-0959de8fd55f",
  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/89993003295 ext XML outgoing-release-2-6-arsmedika-broker-sleep0",
  19.                 "createdUtcMs" : NumberLong(1582266660538),
  20.                 "callUuid" : "2f9f32ea-2c73-4a4e-a1af-0959de8fd55f",
  21.                 "callTaskUuid" : "5e4f79243561d30007b30e1b",
  22.                 "client" : "5d9cfcf83563935855038f70",
  23.                 "campaign" : "5e4269ae1755e0b8c4546919",
  24.                 "originateParameters" : {},
  25.                 "originateTimeoutSec" : 40
  26.             },
  27.             "originateResult" : {
  28.                 "timestamp" : NumberLong(1582266672953),
  29.                 "sipCode" : 200,
  30.                 "fullSipSystemResponse" : "+OK 8d1485b1-96cc-4acc-8bd2-21bbef83bbe1",
  31.                 "callUuid" : "2f9f32ea-2c73-4a4e-a1af-0959de8fd55f",
  32.                 "callTaskId" : "5e4f79243561d30007b30e1b"
  33.             },
  34.             "cdr" : {
  35.                 "cdr" : {
  36.                     "variables" : {
  37.                         "write_codec" : "PCMA",
  38.                         "rtp_audio_in_mean_interval" : 20,
  39.                         "sip_reply_port" : 5060,
  40.                         "sip_to_host" : "83.219.150.111",
  41.                         "hold_accum_usec" : 0,
  42.                         "bridge_uuid" : "f7b9049a-cee5-43ff-93c6-c0b9f3eb1425",
  43.                         "start_epoch" : 1582266660,
  44.                         "rtp_2833_send_payload" : 101,
  45.                         "original_read_rate" : 8000,
  46.                         "end_stamp" : "2020-02-21%2006%3A31%3A51",
  47.                         "profile_start_epoch" : 1582266672,
  48.                         "leg_timeout" : 40,
  49.                         "waitmsec" : 14380,
  50.                         "transfer_history" : "1582266672%3A7aa8ad0f-e06f-471f-ab6a-e7b6262de598%3Abl_xfer%3Aext/outgoing-release-2-6-arsmedika-broker-sleep0/XML",
  51.                         "sip_hangup_phrase" : "OK",
  52.                         "CallingSystemCallUuid" : "2f9f32ea-2c73-4a4e-a1af-0959de8fd55f",
  53.                         "current_application_data" : "http%3A//small-apps9-back%3A8315/manager/next",
  54.                         "rtp_audio_out_raw_bytes" : 318888,
  55.                         "progress_uepoch" : 0,
  56.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.210%3A5060",
  57.                         "progress_media_stamp" : "2020-02-21%2006%3A31%3A00",
  58.                         "ignore_early_media" : true,
  59.                         "rtp_use_codec_ptime" : 20,
  60.                         "waitusec" : 14379903,
  61.                         "sip_to_user" : NumberLong(89993003295),
  62.                         "rtp_last_audio_codec_string" : "PCMA%408000h%4020i%401c",
  63.                         "answersec" : 12,
  64.                         "rtp_audio_in_packet_count" : 2041,
  65.                         "rtp_audio_in_jitter_packet_count" : 0,
  66.                         "rtp_audio_in_jitter_max_variance" : 7.91,
  67.                         "sip_full_to" : "%3Csip%3A89993003295%4083.219.150.111%3E%3Btag%3Das3b4d907a",
  68.                         "max_forwards" : 70,
  69.                         "last_arg" : "http%3A//small-apps9-back%3A8315/manager/next",
  70.                         "sip_network_ip" : "83.219.150.111",
  71.                         "sip_from_host" : "83.219.150.111",
  72.                         "end_uepoch" : NumberLong(1582266711920095),
  73.                         "rtp_audio_in_dtmf_packet_count" : 0,
  74.                         "rtp_use_codec_name" : "PCMA",
  75.                         "remote_media_port" : 19822,
  76.                         "answer_uepoch" : NumberLong(1582266672920101),
  77.                         "start_uepoch" : NumberLong(1582266660540163),
  78.                         "last_sent_callee_id_number" : "outgoingSolution%3FtaskId%3D5e4f79243561d30007b30e1b%26callUuid%3D2f9f32ea-2c73-4a4e-a1af-0959de8fd55f%26callTaskServiceHost%3Dsmall-apps9-back%26callTaskServicePort%3D8101%26scenarioResultTopic%3Dscenario_result_sdk_v2_apps9%26sleepBeforeScenarioMs%3D1000",
  79.                         "sip_network_port" : 5060,
  80.                         "waitsec" : 14,
  81.                         "flow_billsec" : 51,
  82.                         "sip_call_id" : "914b3c1d-cf16-1238-1893-7e81c4218fd3",
  83.                         "remote_video_media_flow" : "inactive",
  84.                         "sip_full_from" : "%22%22%20%3Csip%3Aivoice%4083.219.150.111%3E%3Btag%3DN648pZjr6jQrB",
  85.                         "pre_transfer_caller_id_number" : "0000000000",
  86.                         "progress_mediasec" : 0,
  87.                         "rtp_use_codec_channels" : 1,
  88.                         "sip_recover_contact" : "%3Csip%3A89993003295%4083.219.150.111%3A5060%3E",
  89.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201582247712%201582247713%20IN%20IP4%2092.119.230.210%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.210%0D%0At%3D0%200%0D%0Am%3Daudio%2018948%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-21%2006%3A31%3A14",
  92.                         "answerusec" : 12379938,
  93.                         "sip_hangup_disposition" : "send_bye",
  94.                         "sip_req_uri" : "89993003295%4083.219.150.111",
  95.                         "profile_start_uepoch" : NumberLong(1582266672920101),
  96.                         "read_rate" : 8000,
  97.                         "rtp_audio_in_raw_bytes" : 351052,
  98.                         "rtp_audio_in_skip_packet_count" : 6,
  99.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3Droot%20423685387%20423685387%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%2019822%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.                         "ServletBrokerApi" : "http%3A//small-apps9-back%3A8315",
  101.                         "rtp_audio_rtcp_packet_count" : 0,
  102.                         "sip_recover_via" : "SIP/2.0/UDP%2092.119.230.210%3Bbranch%3Dz9hG4bKNFm4KKDK4745m%3Breceived%3D92.119.230.210%3Brport%3D5060",
  103.                         "bridge_epoch" : 1582266674,
  104.                         "bridge_uepoch" : NumberLong(1582266674920066),
  105.                         "sip_user_agent" : "FPBX-13.0.197(13.24.1)",
  106.                         "write_rate" : 8000,
  107.                         "rtp_audio_rtcp_octet_count" : 0,
  108.                         "sip_reply_host" : "83.219.150.111",
  109.                         "billusec" : 38999994,
  110.                         "answer_epoch" : 1582266672,
  111.                         "billmsec" : 39000,
  112.                         "call_uuid" : "8d1485b1-96cc-4acc-8bd2-21bbef83bbe1",
  113.                         "rtp_audio_out_skip_packet_count" : 0,
  114.                         "sip_invite_domain" : "83.219.150.111",
  115.                         "sip_full_via" : "SIP/2.0/UDP%2092.119.230.210%3Bbranch%3Dz9hG4bKNFm4KKDK4745m%3Breceived%3D92.119.230.210%3Brport%3D5060",
  116.                         "channel_name" : "sofia/external/89993003295",
  117.                         "rtp_audio_out_cng_packet_count" : 0,
  118.                         "answer_stamp" : "2020-02-21%2006%3A31%3A12",
  119.                         "progress_epoch" : 0,
  120.                         "mduration" : 51380,
  121.                         "session_id" : 73644,
  122.                         "last_bridge_hangup_cause" : "NORMAL_CLEARING",
  123.                         "hold_accum_seconds" : 0,
  124.                         "remote_media_ip" : "83.219.150.111",
  125.                         "ep_codec_string" : "CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b",
  126.                         "last_hold_epoch" : 0,
  127.                         "progresssec" : 0,
  128.                         "rtp_use_pt" : 8,
  129.                         "rtp_audio_in_largest_jb_size" : 0,
  130.                         "sip_cseq" : 16579539,
  131.                         "current_application" : "curl",
  132.                         "rtp_audio_in_media_bytes" : 326800,
  133.                         "hangup_cause" : "NORMAL_CLEARING",
  134.                         "hangup_cause_q850" : 16,
  135.                         "resurrect_epoch" : 0,
  136.                         "transfer_source" : "1582266672%3A7aa8ad0f-e06f-471f-ab6a-e7b6262de598%3Abl_xfer%3Aext/outgoing-release-2-6-arsmedika-broker-sleep0/XML",
  137.                         "rtp_audio_in_cng_packet_count" : 0,
  138.                         "rtp_audio_in_flaw_total" : 0,
  139.                         "last_hold_uepoch" : 0,
  140.                         "uduration" : 51379932,
  141.                         "advertised_media_ip" : "92.119.230.210",
  142.                         "rtp_audio_in_quality_percentage" : 100,
  143.                         "rtp_use_codec_rate" : 8000,
  144.                         "ScenarioParametersApiPort" : 8101,
  145.                         "SleepTime" : 1000,
  146.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_apps9",
  147.                         "hold_accum_ms" : 0,
  148.                         "uuid" : "8d1485b1-96cc-4acc-8bd2-21bbef83bbe1",
  149.                         "sip_gateway_name" : "ars-medika-01",
  150.                         "rtp_audio_out_packet_count" : 1854,
  151.                         "sip_destination_url" : "sip%3A89993003295%4083.219.150.111",
  152.                         "curl_response_code" : 200,
  153.                         "sip_to_uri" : "89993003295%4083.219.150.111",
  154.                         "read_codec" : "PCMA",
  155.                         "sip_contact_user" : NumberLong(89993003295),
  156.                         "start_stamp" : "2020-02-21%2006%3A31%3A00",
  157.                         "rtp_audio_recv_pt" : 8,
  158.                         "rtp_use_ssrc" : NumberLong(4266728572),
  159.                         "Client" : "5d9cfcf83563935855038f70",
  160.                         "billsec" : 39,
  161.                         "progress_media_epoch" : 1582266660,
  162.                         "progress_media_uepoch" : NumberLong(1582266660740107),
  163.                         "rtp_use_codec_string" : "PCMA,PCMU",
  164.                         "progressmsec" : 0,
  165.                         "bridge_hangup_cause" : "NORMAL_CLEARING",
  166.                         "rtp_audio_out_dtmf_packet_count" : 0,
  167.                         "rtp_audio_in_mos" : 4.5,
  168.                         "last_sent_callee_id_name" : "Outbound%20Call",
  169.                         "sip_local_network_addr" : "92.119.230.210",
  170.                         "rtp_audio_out_media_bytes" : 318888,
  171.                         "rtp_use_timer_name" : "soft",
  172.                         "Campaign" : "5e4269ae1755e0b8c4546919",
  173.                         "rtp_2833_recv_payload" : 101,
  174.                         "CallTaskId" : "5e4f79243561d30007b30e1b",
  175.                         "text_media_flow" : "disabled",
  176.                         "end_epoch" : 1582266711,
  177.                         "profile_start_stamp" : "2020-02-21%2006%3A31%3A12",
  178.                         "caller_id" : "%22Outbound%20Call%22%20%3C89993003295%3E",
  179.                         "answermsec" : 12380,
  180.                         "sip_profile_name" : "gateway",
  181.                         "sofia_profile_name" : "external",
  182.                         "sip_from_tag" : "N648pZjr6jQrB",
  183.                         "progressusec" : 0,
  184.                         "rtp_audio_in_jitter_burst_rate" : 0,
  185.                         "resurrect_uepoch" : 0,
  186.                         "originate_early_media" : false,
  187.                         "last_bridge_to" : "f7b9049a-cee5-43ff-93c6-c0b9f3eb1425",
  188.                         "recovery_profile_name" : "external",
  189.                         "sip_bye_h_X-RestComm-CallSid" : "ID11f0bb64e3684c0aa59ac86d15678d8b-CAff36b3ca8d9f4f73a29e4d6decf5dc6c",
  190.                         "progress_mediamsec" : 200,
  191.                         "sip_from_user" : "ivoice",
  192.                         "sip_outgoing_contact_uri" : "%3Csip%3Agw%2Bars-medika-01%4092.119.230.210%3A5060%3Btransport%3Dudp%3Bgw%3Dars-medika-01%3E",
  193.                         "duration" : 51,
  194.                         "sip_contact_port" : 5060,
  195.                         "sip_contact_uri" : "89993003295%4083.219.150.111%3A5060",
  196.                         "local_media_port" : 18948,
  197.                         "flow_billmsec" : 51380,
  198.                         "remote_audio_media_flow" : "sendrecv",
  199.                         "bridge_channel" : "sofia/external/outgoingSolution%3FtaskId%3D5e4f79243561d30007b30e1b%26callUuid%3D2f9f32ea-2c73-4a4e-a1af-0959de8fd55f%26callTaskServiceHost%3Dsmall-apps9-back%26callTaskServicePort%3D8101%26scenarioResultTopic%3Dscenario_result_sdk_v2_apps9%26sleepBeforeScenarioMs%3D1000",
  200.                         "audio_media_flow" : "sendrecv",
  201.                         "dtmf_type" : "rfc2833",
  202.                         "flow_billusec" : 51379932,
  203.                         "local_media_ip" : "92.119.230.210",
  204.                         "sip_allow" : "INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE",
  205.                         "rtp_audio_in_media_packet_count" : 1900,
  206.                         "direction" : "outbound",
  207.                         "curl_response_data" : "sipservlet_ms13",
  208.                         "video_media_flow" : "disabled",
  209.                         "rtp_audio_in_jitter_loss_rate" : 0,
  210.                         "sip_to_tag" : "as3b4d907a",
  211.                         "rtp_audio_out_media_packet_count" : 1854,
  212.                         "sip_from_uri" : "ivoice%4083.219.150.111",
  213.                         "digits_dialed" : "none",
  214.                         "signal_bond" : "f7b9049a-cee5-43ff-93c6-c0b9f3eb1425",
  215.                         "progress_mediausec" : 199944,
  216.                         "ScenarioParametersApiHost" : "small-apps9-back",
  217.                         "last_app" : "curl",
  218.                         "is_outbound" : true,
  219.                         "rtp_audio_in_jitter_min_variance" : 0.19,
  220.                         "hangup_complete_with_xml" : true,
  221.                         "endpoint_disposition" : "ANSWER",
  222.                         "original_read_codec" : "PCMA",
  223.                         "last_bridge_proto_specific_hangup_cause" : "sip%3A200",
  224.                         "rtp_audio_in_flush_packet_count" : 141,
  225.                         "sip_contact_host" : "83.219.150.111"
  226.                     },
  227.                     "callflow" : [
  228.                         {
  229.                             "extension" : {
  230.                                 "number" : "ext",
  231.                                 "application" : [
  232.                                     {
  233.                                         "app_name" : "log",
  234.                                         "app_data" : "INFO sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid}; ScenarioResultTopic=${ScenarioResultTopic}; ScenarioParametersApiHost=${ScenarioParametersApiHost}; ScenarioParametersApiPort=${ScenarioParametersApiPort}"
  235.                                     },
  236.                                     {
  237.                                         "app_name" : "wait_for_answer",
  238.                                         "app_data" : ""
  239.                                     },
  240.                                     {
  241.                                         "app_name" : "sched_hangup",
  242.                                         "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  243.                                     },
  244.                                     {
  245.                                         "app_name" : "set",
  246.                                         "app_data" : "SleepTime=1000"
  247.                                     },
  248.                                     {
  249.                                         "app_name" : "sleep",
  250.                                         "app_data" : "${SleepTime}"
  251.                                     },
  252.                                     {
  253.                                         "app_name" : "set",
  254.                                         "app_data" : "ServletBrokerApi=http://small-apps9-back:8315"
  255.                                     },
  256.                                     {
  257.                                         "app_name" : "set_audio_level",
  258.                                         "app_data" : "read 4"
  259.                                     },
  260.                                     {
  261.                                         "app_name" : "set_audio_level",
  262.                                         "app_data" : "write 4"
  263.                                     },
  264.                                     {
  265.                                         "app_name" : "lua",
  266.                                         "app_data" : "lua/sdk/outgoing-release-2.6-arsmedika.lua"
  267.                                     }
  268.                                 ],
  269.                                 "name" : "ext"
  270.                             },
  271.                             "times" : {
  272.                                 "progress_time" : 0,
  273.                                 "created_time" : NumberLong(1582266660540163),
  274.                                 "hold_accum_time" : 0,
  275.                                 "resurrect_time" : 0,
  276.                                 "answered_time" : NumberLong(1582266672920101),
  277.                                 "transfer_time" : 0,
  278.                                 "bridged_time" : NumberLong(1582266674920066),
  279.                                 "hangup_time" : NumberLong(1582266711920095),
  280.                                 "progress_media_time" : NumberLong(1582266660740107),
  281.                                 "profile_created_time" : NumberLong(1582266672920101),
  282.                                 "last_hold_time" : 0
  283.                             },
  284.                             "profile_index" : 2,
  285.                             "dialplan" : "XML",
  286.                             "clone-of" : "ac2db102-a249-42d2-abc4-38567f716387",
  287.                             "caller_profile" : {
  288.                                 "caller_id_name" : "Outbound Call",
  289.                                 "transfer_source" : "1582266672:7aa8ad0f-e06f-471f-ab6a-e7b6262de598:bl_xfer:ext/outgoing-release-2-6-arsmedika-broker-sleep0/XML",
  290.                                 "destination_number" : "ext",
  291.                                 "device_id" : "",
  292.                                 "chan_name" : "sofia/external/89993003295",
  293.                                 "dialplan" : "XML",
  294.                                 "callee_id_number" : "outgoingSolution?taskId=5e4f79243561d30007b30e1b&callUuid=2f9f32ea-2c73-4a4e-a1af-0959de8fd55f&callTaskServiceHost=small-apps9-back&callTaskServicePort=8101&scenarioResultTopic=scenario_result_sdk_v2_apps9&sleepBeforeScenarioMs=1000",
  295.                                 "source" : "src/switch_ivr_originate.c",
  296.                                 "network_addr" : "83.219.150.111",
  297.                                 "uuid" : "8d1485b1-96cc-4acc-8bd2-21bbef83bbe1",
  298.                                 "callee_id_name" : "Outbound Call",
  299.                                 "rdnis" : NumberLong(89993003295),
  300.                                 "aniii" : "",
  301.                                 "context" : "outgoing-release-2-6-arsmedika-broker-sleep0",
  302.                                 "caller_id_number" : NumberLong(89993003295),
  303.                                 "ani" : "0000000000",
  304.                                 "username" : ""
  305.                             },
  306.                             "unique-id" : "7aa8ad0f-e06f-471f-ab6a-e7b6262de598"
  307.                         },
  308.                         {
  309.                             "times" : {
  310.                                 "progress_time" : 0,
  311.                                 "created_time" : NumberLong(1582266660540163),
  312.                                 "hold_accum_time" : 0,
  313.                                 "resurrect_time" : 0,
  314.                                 "answered_time" : NumberLong(1582266672920101),
  315.                                 "transfer_time" : NumberLong(1582266672920101),
  316.                                 "bridged_time" : 0,
  317.                                 "hangup_time" : 0,
  318.                                 "progress_media_time" : NumberLong(1582266660740107),
  319.                                 "profile_created_time" : NumberLong(1582266660540163),
  320.                                 "last_hold_time" : 0
  321.                             },
  322.                             "profile_index" : 1,
  323.                             "clone-of" : "ca95c92c-9b03-4100-9770-ba61f7651253",
  324.                             "caller_profile" : {
  325.                                 "caller_id_name" : "",
  326.                                 "destination_number" : NumberLong(89993003295),
  327.                                 "device_id" : "",
  328.                                 "chan_name" : "sofia/external/89993003295",
  329.                                 "dialplan" : "",
  330.                                 "callee_id_number" : NumberLong(89993003295),
  331.                                 "source" : "src/switch_ivr_originate.c",
  332.                                 "network_addr" : "83.219.150.111",
  333.                                 "uuid" : "8d1485b1-96cc-4acc-8bd2-21bbef83bbe1",
  334.                                 "callee_id_name" : "Outbound Call",
  335.                                 "rdnis" : "",
  336.                                 "aniii" : "",
  337.                                 "context" : "default",
  338.                                 "caller_id_number" : "0000000000",
  339.                                 "ani" : "0000000000",
  340.                                 "username" : ""
  341.                             },
  342.                             "unique-id" : "ac2db102-a249-42d2-abc4-38567f716387"
  343.                         }
  344.                     ],
  345.                     "core-uuid" : "e540fe66-7abe-4122-a05e-8ec885873054",
  346.                     "channel_data" : {
  347.                         "state_number" : 11,
  348.                         "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",
  349.                         "state" : "CS_REPORTING",
  350.                         "direction" : "outbound",
  351.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  352.                     },
  353.                     "app_log" : {
  354.                         "application" : [
  355.                             {
  356.                                 "app_name" : "log",
  357.                                 "app_stamp" : NumberLong(1582266672936900),
  358.                                 "app_data" : "INFO sip-system passed vars: ClientId=5d9cfcf83563935855038f70; CampaignId=5e4269ae1755e0b8c4546919; CallTaskId=5e4f79243561d30007b30e1b; CallingSystemCallUuid=2f9f32ea-2c73-4a4e-a1af-0959de8fd55f; ScenarioResultTopic=scenario_result_sdk_v2_apps9; ScenarioParametersApiHost=small-apps9-back; ScenarioParametersApiPort=8101"
  359.                             },
  360.                             {
  361.                                 "app_name" : "wait_for_answer",
  362.                                 "app_stamp" : NumberLong(1582266672937108),
  363.                                 "app_data" : ""
  364.                             },
  365.                             {
  366.                                 "app_name" : "sched_hangup",
  367.                                 "app_stamp" : NumberLong(1582266672937294),
  368.                                 "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
  369.                             },
  370.                             {
  371.                                 "app_name" : "set",
  372.                                 "app_stamp" : NumberLong(1582266672937503),
  373.                                 "app_data" : "SleepTime=1000"
  374.                             },
  375.                             {
  376.                                 "app_name" : "sleep",
  377.                                 "app_stamp" : NumberLong(1582266672937719),
  378.                                 "app_data" : 1000
  379.                             },
  380.                             {
  381.                                 "app_name" : "set",
  382.                                 "app_stamp" : NumberLong(1582266673925958),
  383.                                 "app_data" : "ServletBrokerApi=http://small-apps9-back:8315"
  384.                             },
  385.                             {
  386.                                 "app_name" : "set_audio_level",
  387.                                 "app_stamp" : NumberLong(1582266673926165),
  388.                                 "app_data" : "read 4"
  389.                             },
  390.                             {
  391.                                 "app_name" : "set_audio_level",
  392.                                 "app_stamp" : NumberLong(1582266673926489),
  393.                                 "app_data" : "write 4"
  394.                             },
  395.                             {
  396.                                 "app_name" : "lua",
  397.                                 "app_stamp" : NumberLong(1582266673926656),
  398.                                 "app_data" : "lua/sdk/outgoing-release-2.6-arsmedika.lua"
  399.                             },
  400.                             {
  401.                                 "app_name" : "curl",
  402.                                 "app_stamp" : NumberLong(1582266673927434),
  403.                                 "app_data" : "http://small-apps9-back:8315/manager/next"
  404.                             }
  405.                         ]
  406.                     },
  407.                     "switchname" : "fs-1",
  408.                     "call-stats" : {
  409.                         "audio" : {
  410.                             "inbound" : {
  411.                                 "media_packet_count" : 1900,
  412.                                 "cng_packet_count" : 0,
  413.                                 "jitter_min_variance" : 0.19,
  414.                                 "skip_packet_count" : 6,
  415.                                 "mean_interval" : 20,
  416.                                 "dtmf_packet_count" : 0,
  417.                                 "jitter_loss_rate" : 0,
  418.                                 "jitter_burst_rate" : 0,
  419.                                 "flaw_total" : 0,
  420.                                 "quality_percentage" : 100,
  421.                                 "mos" : 4.5,
  422.                                 "largest_jb_size" : 0,
  423.                                 "packet_count" : 2041,
  424.                                 "jitter_max_variance" : 7.91,
  425.                                 "media_bytes" : 326800,
  426.                                 "jitter_packet_count" : 0,
  427.                                 "raw_bytes" : 351052,
  428.                                 "flush_packet_count" : 141
  429.                             },
  430.                             "outbound" : {
  431.                                 "media_packet_count" : 1854,
  432.                                 "cng_packet_count" : 0,
  433.                                 "skip_packet_count" : 0,
  434.                                 "dtmf_packet_count" : 0,
  435.                                 "rtcp_packet_count" : 0,
  436.                                 "packet_count" : 1854,
  437.                                 "media_bytes" : 318888,
  438.                                 "rtcp_octet_count" : 0,
  439.                                 "raw_bytes" : 318888
  440.                             }
  441.                         }
  442.                     }
  443.                 },
  444.                 "callUuid" : "2f9f32ea-2c73-4a4e-a1af-0959de8fd55f",
  445.                 "callTaskId" : "5e4f79243561d30007b30e1b"
  446.             }
  447.         }
  448.     ],
  449.     "parameters" : {
  450.         "date" : "2019-12-19 17:00",
  451.         "doctor" : "Антон",
  452.         "specialty" : "африканский шаман",
  453.         "address" : "236006, Калининградская обл., г. Калининград, пр. Московский, 50.",
  454.         "visitID" : "2308171",
  455.         "name" : "Лейла",
  456.         "room" : ""
  457.     },
  458.     "nextAttemptTimestamp" : NumberLong(0),
  459.     "results" : {},
  460.     "ringingMillis" : NumberLong(0),
  461.     "talkMillis" : NumberLong(37975),
  462.     "reportParameters" : {
  463.         "date" : "2019-12-19 17:00",
  464.         "doctor" : "Антон",
  465.         "specialty" : "африканский шаман",
  466.         "address" : "236006, Калининградская обл., г. Калининград, пр. Московский, 50.",
  467.         "visitID" : "2308171",
  468.         "name" : "Лейла",
  469.         "room" : ""
  470.     },
  471.     "created" : NumberLong(1582266660),
  472.     "reported" : false,
  473.     "testing" : false,
  474.     "performedTimestamp" : NumberLong(1582266712),
  475.     "sumConsume" : 0.0,
  476.     "processingEvents" : [
  477.         {
  478.             "timestampSecUtc" : NumberLong(1582266660),
  479.             "dateTimeFormatted" : "21.02.20 06:31",
  480.             "author" : "calling-system",
  481.             "event" : "call initiated: OutgoingCall(uuid=2f9f32ea-2c73-4a4e-a1af-0959de8fd55f, 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/89993003295 ext XML outgoing-release-2-6-arsmedika-broker-sleep0, createdUtcMs=1582266660538, callUuid=2f9f32ea-2c73-4a4e-a1af-0959de8fd55f, callTaskUuid=5e4f79243561d30007b30e1b, client=5d9cfcf83563935855038f70, campaign=5e4269ae1755e0b8c4546919, originateParameters={}, originateTimeoutSec=40), originateResult=null, systemError=null, cdr=null); message to kafka to call task is about to be sent"
  482.         },
  483.         {
  484.             "timestampSecUtc" : NumberLong(1582266672),
  485.             "dateTimeFormatted" : "21.02.20 06:31",
  486.             "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
  487.             "event" : "transition to ONGOING on call answered"
  488.         },
  489.         {
  490.             "timestampSecUtc" : NumberLong(1582266711950),
  491.             "dateTimeFormatted" : "21.02.20 06:31",
  492.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  493.             "event" : "CDR_RECEIVED",
  494.             "parameters" : {
  495.                 "nextState" : "PERFORMED",
  496.                 "talkMillis" : NumberLong(39000)
  497.             }
  498.         }
  499.     ],
  500.     "fullCost" : NumberLong(0),
  501.     "fullBilling" : false,
  502.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  503.     "scenarioResult" : {
  504.         "time" : ISODate("2020-02-21T06:31:51.890Z"),
  505.         "items" : [
  506.             {
  507.                 "time" : ISODate("2020-02-21T06:31:14.911Z"),
  508.                 "name" : "params",
  509.                 "value" : "medika_visit",
  510.                 "details" : {
  511.                     "date" : "2019-12-19 17:00",
  512.                     "sleepBeforeScenarioMs" : "1000",
  513.                     "specialty" : "африканский шаман",
  514.                     "address" : "236006, Калининградская обл., г. Калининград, пр. Московский, 50.",
  515.                     "campaignId" : "5e4269ae1755e0b8c4546919",
  516.                     "callTaskId" : "5e4f79243561d30007b30e1b",
  517.                     "solutionName" : "medika_visit",
  518.                     "room" : "",
  519.                     "callUuid" : "2f9f32ea-2c73-4a4e-a1af-0959de8fd55f",
  520.                     "doctor" : "Антон",
  521.                     "visitID" : "2308171",
  522.                     "phone" : "89993003295",
  523.                     "name" : "Лейла",
  524.                     "scenarioId" : "5d9cfcc4356393585502eb13"
  525.                 }
  526.             },
  527.             {
  528.                 "time" : ISODate("2020-02-21T06:31:43.548Z"),
  529.                 "name" : "прием подтвержден",
  530.                 "value" : "confirmed",
  531.                 "details" : {}
  532.             },
  533.             {
  534.                 "time" : ISODate("2020-02-21T06:31:51.886Z"),
  535.                 "name" : "hangup",
  536.                 "value" : "solution",
  537.                 "details" : {}
  538.             }
  539.         ],
  540.         "log" : [
  541.             {
  542.                 "time" : ISODate("2020-02-21T06:31:27.410Z"),
  543.                 "text" : "start requesting option (yes, no)",
  544.                 "context" : {
  545.                     "sid" : "def3bf9c-a908-44e6-b00f-f52bf53c0a9e",
  546.                     "question" : "прием подтвержден"
  547.                 }
  548.             },
  549.             {
  550.                 "time" : ISODate("2020-02-21T06:31:37.961Z"),
  551.                 "text" : "recognise on asr failed",
  552.                 "context" : {
  553.                     "sid" : "def3bf9c-a908-44e6-b00f-f52bf53c0a9e",
  554.                     "question" : "прием подтвержден",
  555.                     "cause" : "silence"
  556.                 }
  557.             },
  558.             {
  559.                 "time" : ISODate("2020-02-21T06:31:37.962Z"),
  560.                 "text" : "retry requesting option (yes, no)",
  561.                 "context" : {
  562.                     "sid" : "e2010156-f28a-4372-8749-e698ef06ec02",
  563.                     "question" : "прием подтвержден"
  564.                 }
  565.             },
  566.             {
  567.                 "time" : ISODate("2020-02-21T06:31:43.516Z"),
  568.                 "text" : "recognise option(yes) on asr",
  569.                 "context" : {
  570.                     "sid" : "e2010156-f28a-4372-8749-e698ef06ec02",
  571.                     "question" : "прием подтвержден",
  572.                     "recognition" : [
  573.                         {
  574.                             "text" : "да",
  575.                             "confidence" : 0.0
  576.                         }
  577.                     ]
  578.                 }
  579.             }
  580.         ],
  581.         "callId" : "2f9f32ea-2c73-4a4e-a1af-0959de8fd55f",
  582.         "taskId" : "5e4f79243561d30007b30e1b",
  583.         "resourceSpentEvents" : [
  584.             {
  585.                 "vendor" : "YANDEX_TTS",
  586.                 "amount" : {
  587.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  588.                 }
  589.             },
  590.             {
  591.                 "vendor" : "YANDEX_TTS",
  592.                 "amount" : {
  593.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(5)
  594.                 }
  595.             },
  596.             {
  597.                 "vendor" : "YANDEX_TTS",
  598.                 "amount" : {
  599.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  600.                 }
  601.             },
  602.             {
  603.                 "vendor" : "YANDEX_TTS",
  604.                 "amount" : {
  605.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(28)
  606.                 }
  607.             },
  608.             {
  609.                 "vendor" : "YANDEX_TTS",
  610.                 "amount" : {
  611.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  612.                 }
  613.             },
  614.             {
  615.                 "vendor" : "YANDEX_TTS",
  616.                 "amount" : {
  617.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(23)
  618.                 }
  619.             },
  620.             {
  621.                 "vendor" : "YANDEX_TTS",
  622.                 "amount" : {
  623.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  624.                 }
  625.             },
  626.             {
  627.                 "vendor" : "GOOGLE_ASR",
  628.                 "amount" : {
  629.                     "SPEECH_TIME" : NumberLong(10539),
  630.                     "SPEECH_CHAR_COUNT" : NumberLong(0),
  631.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  632.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(10539)
  633.                 }
  634.             },
  635.             {
  636.                 "vendor" : "YANDEX_TTS",
  637.                 "amount" : {
  638.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  639.                 }
  640.             },
  641.             {
  642.                 "vendor" : "GOOGLE_ASR",
  643.                 "amount" : {
  644.                     "SPEECH_TIME" : NumberLong(1523),
  645.                     "SPEECH_CHAR_COUNT" : NumberLong(2),
  646.                     "SPEECH_DTMF_DIGIT_COUNT" : NumberLong(0),
  647.                     "SPEECH_DTMF_DIGIT_TIME" : NumberLong(1523)
  648.                 }
  649.             },
  650.             {
  651.                 "vendor" : "YANDEX_TTS",
  652.                 "amount" : {
  653.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  654.                 }
  655.             },
  656.             {
  657.                 "vendor" : "YANDEX_TTS",
  658.                 "amount" : {
  659.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(41)
  660.                 }
  661.             },
  662.             {
  663.                 "vendor" : "YANDEX_TTS",
  664.                 "amount" : {
  665.                     "SYNTHESIS_CHAR_COUNT" : NumberLong(0)
  666.                 }
  667.             }
  668.         ]
  669.     }
  670. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement