Advertisement
BoberDiversant

Untitled

Jul 19th, 2019
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 20.88 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("5d2d549c31afe300016a5070"),
  3.     "phone" : "79231075258",
  4.     "campaign" : "5ce5598d672f18000139de2a",
  5.     "state" : "FAILED",
  6.     "lastCallRequestTimestamp" : NumberLong(1563251868845),
  7.     "callAnsweredTimestamp" : NumberLong(0),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "e955920c-e7f6-420e-985a-492ced227bd1",
  12.             "request" : {
  13.                 "targetTopic" : "sip-system-originate-request-small-apps4-tel-release-2-3",
  14.                 "responseTopic" : "calling-system-orig-result-apps4",
  15.                 "scenarioResultTopic" : "scenario_result_sdk_v2_apps4",
  16.                 "scenarioParametersApiHost" : "small-apps4-back",
  17.                 "scenarioParametersApiPort" : "8106",
  18.                 "callUrl" : "sofia/gateway/sushi/79231075258 ext XML outgoing-release-2-3",
  19.                 "createdUtcMs" : NumberLong(1563251868845),
  20.                 "callUuid" : "e955920c-e7f6-420e-985a-492ced227bd1",
  21.                 "callTaskUuid" : "5d2d549c31afe300016a5070",
  22.                 "client" : "5ce671260c962c1e6c8da5eb",
  23.                 "campaign" : "5ce5598d672f18000139de2a",
  24.                 "originateTimeoutSec" : 30
  25.             },
  26.             "cdr" : {
  27.                 "cdr" : {
  28.                     "variables" : {
  29.                         "write_codec" : "PCMA",
  30.                         "rtp_audio_in_mean_interval" : 0,
  31.                         "sip_reply_port" : 5060,
  32.                         "sip_to_host" : "mpbx.sip.beeline.ru",
  33.                         "hold_accum_usec" : 0,
  34.                         "sip_invite_route_uri" : "%3Csip%3A195.239.174.100%3Btransport%3Dudp%3Blr%3E",
  35.                         "start_epoch" : 1563251868,
  36.                         "rtp_2833_send_payload" : 101,
  37.                         "original_read_rate" : 8000,
  38.                         "end_stamp" : "2019-07-16%2007%3A38%3A19",
  39.                         "profile_start_epoch" : 1563251868,
  40.                         "leg_timeout" : 30,
  41.                         "waitmsec" : 0,
  42.                         "CallingSystemCallUuid" : "e955920c-e7f6-420e-985a-492ced227bd1",
  43.                         "rtp_audio_out_raw_bytes" : 0,
  44.                         "progress_uepoch" : 0,
  45.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.60%3A5060",
  46.                         "progress_media_stamp" : "2019-07-16%2007%3A37%3A49",
  47.                         "ignore_early_media" : true,
  48.                         "rtp_use_codec_ptime" : 20,
  49.                         "waitusec" : 0,
  50.                         "sip_to_user" : NumberLong(79231075258),
  51.                         "rtp_last_audio_codec_string" : "PCMA%408000h%4020i%401c",
  52.                         "answersec" : 0,
  53.                         "sip_invite_failure_status" : 487,
  54.                         "rtp_audio_in_packet_count" : 0,
  55.                         "rtp_audio_in_jitter_packet_count" : 0,
  56.                         "rtp_audio_in_jitter_max_variance" : 0,
  57.                         "sip_full_to" : "%3Csip%3A79231075258%40mpbx.sip.beeline.ru%3E%3Btag%3Dh7g4Esbg_1710304024-1563251869241",
  58.                         "sip_network_ip" : "195.239.174.100",
  59.                         "sip_from_host" : "mpbx.sip.beeline.ru",
  60.                         "end_uepoch" : NumberLong(1563251899033057),
  61.                         "rtp_audio_in_dtmf_packet_count" : 0,
  62.                         "rtp_use_codec_name" : "PCMA",
  63.                         "remote_media_port" : 5652,
  64.                         "answer_uepoch" : 0,
  65.                         "start_uepoch" : NumberLong(1563251868852955),
  66.                         "sip_network_port" : 5060,
  67.                         "waitsec" : 0,
  68.                         "flow_billsec" : 0,
  69.                         "sip_call_id" : "4e40d11e-2226-1238-3c81-0618689519a7",
  70.                         "sip_full_from" : "%22%22%20%3Csip%3A9059353767%40mpbx.sip.beeline.ru%3E%3Btag%3DrypHXNjc2Fg3H",
  71.                         "progress_mediasec" : 1,
  72.                         "sip_recover_contact" : "%3Csip%3Asgc_c%40195.239.174.100%3Btransport%3Dudp%3E",
  73.                         "rtp_use_codec_channels" : 1,
  74.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201563233026%201563233027%20IN%20IP4%2092.119.230.60%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.60%0D%0At%3D0%200%0D%0Am%3Daudio%2018842%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/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",
  75.                         "answerusec" : 0,
  76.                         "sip_hangup_disposition" : "send_cancel",
  77.                         "sip_req_uri" : "79231075258%40mpbx.sip.beeline.ru",
  78.                         "profile_start_uepoch" : NumberLong(1563251868852955),
  79.                         "read_rate" : 8000,
  80.                         "rtp_audio_in_raw_bytes" : 0,
  81.                         "rtp_audio_in_skip_packet_count" : 0,
  82.                         "switch_r_sdp" : "v%3D0%0D%0Ao%3DBroadWorks%201437411486%201%20IN%20IP4%20195.239.174.100%0D%0As%3D-%0D%0Ac%3DIN%20IP4%20195.239.174.71%0D%0At%3D0%200%0D%0Aa%3Dsendrecv%0D%0Am%3Daudio%205652%20RTP/AVP%208%20101%0D%0Ac%3DIN%20IP4%20195.239.174.71%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dmaxptime%3A40%0D%0A",
  83.                         "rtp_audio_rtcp_packet_count" : 0,
  84.                         "sip_recover_via" : "SIP/2.0/UDP%2092.119.230.60%3Breceived%3D92.119.230.60%3Brport%3D5060%3Bbranch%3Dz9hG4bK0eHm13t6gj41K",
  85.                         "bridge_epoch" : 0,
  86.                         "bridge_uepoch" : 0,
  87.                         "write_rate" : 8000,
  88.                         "rtp_audio_rtcp_octet_count" : 0,
  89.                         "sip_reply_host" : "195.239.174.100",
  90.                         "billusec" : 0,
  91.                         "answer_epoch" : 0,
  92.                         "billmsec" : 0,
  93.                         "call_uuid" : "c3cb970f-1140-49a2-a16e-d19416de8853",
  94.                         "rtp_audio_out_skip_packet_count" : 0,
  95.                         "sip_full_via" : "SIP/2.0/UDP%2092.119.230.60%3Breceived%3D92.119.230.60%3Brport%3D5060%3Bbranch%3Dz9hG4bK0eHm13t6gj41K",
  96.                         "channel_name" : "sofia/external/79231075258",
  97.                         "rtp_audio_out_cng_packet_count" : 0,
  98.                         "progress_epoch" : 0,
  99.                         "mduration" : 30181,
  100.                         "session_id" : 2951,
  101.                         "hold_accum_seconds" : 0,
  102.                         "remote_media_ip" : "195.239.174.71",
  103.                         "ep_codec_string" : "CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b",
  104.                         "last_hold_epoch" : 0,
  105.                         "progresssec" : 0,
  106.                         "rtp_use_pt" : 8,
  107.                         "rtp_audio_in_largest_jb_size" : 0,
  108.                         "sip_cseq" : 7072142,
  109.                         "rtp_audio_in_media_bytes" : 0,
  110.                         "hangup_cause" : "ALLOTTED_TIMEOUT",
  111.                         "hangup_cause_q850" : 16,
  112.                         "resurrect_epoch" : 0,
  113.                         "rtp_audio_in_cng_packet_count" : 0,
  114.                         "rtp_audio_in_flaw_total" : 0,
  115.                         "last_hold_uepoch" : 0,
  116.                         "uduration" : 30180102,
  117.                         "advertised_media_ip" : "92.119.230.60",
  118.                         "rtp_audio_in_quality_percentage" : 100,
  119.                         "rtp_use_codec_rate" : 8000,
  120.                         "ScenarioParametersApiPort" : 8106,
  121.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_apps4",
  122.                         "hold_accum_ms" : 0,
  123.                         "uuid" : "c3cb970f-1140-49a2-a16e-d19416de8853",
  124.                         "sip_gateway_name" : "sushi",
  125.                         "rtp_audio_out_packet_count" : 0,
  126.                         "sip_destination_url" : "sip%3A79231075258%40mpbx.sip.beeline.ru",
  127.                         "sip_to_uri" : "79231075258%40mpbx.sip.beeline.ru",
  128.                         "read_codec" : "PCMA",
  129.                         "sip_contact_user" : "sgc_c",
  130.                         "start_stamp" : "2019-07-16%2007%3A37%3A48",
  131.                         "rtp_audio_recv_pt" : 8,
  132.                         "rtp_use_ssrc" : 1160744340,
  133.                         "Client" : "5ce671260c962c1e6c8da5eb",
  134.                         "billsec" : 0,
  135.                         "progress_media_epoch" : 1563251869,
  136.                         "progress_media_uepoch" : NumberLong(1563251869253011),
  137.                         "rtp_use_codec_string" : "PCMU,PCMA",
  138.                         "progressmsec" : 0,
  139.                         "sip_invite_failure_phrase" : "CANCEL",
  140.                         "rtp_audio_out_dtmf_packet_count" : 0,
  141.                         "rtp_audio_in_mos" : 4.5,
  142.                         "sip_local_network_addr" : "92.119.230.60",
  143.                         "rtp_audio_out_media_bytes" : 0,
  144.                         "rtp_use_timer_name" : "soft",
  145.                         "Campaign" : "5ce5598d672f18000139de2a",
  146.                         "rtp_2833_recv_payload" : 101,
  147.                         "CallTaskId" : "5d2d549c31afe300016a5070",
  148.                         "text_media_flow" : "disabled",
  149.                         "end_epoch" : 1563251899,
  150.                         "profile_start_stamp" : "2019-07-16%2007%3A37%3A48",
  151.                         "caller_id" : "0000000000",
  152.                         "answermsec" : 0,
  153.                         "sip_profile_name" : "gateway",
  154.                         "sofia_profile_name" : "external",
  155.                         "sip_from_tag" : "rypHXNjc2Fg3H",
  156.                         "progressusec" : 0,
  157.                         "rtp_audio_in_jitter_burst_rate" : 0,
  158.                         "resurrect_uepoch" : 0,
  159.                         "originate_early_media" : false,
  160.                         "recovery_profile_name" : "external",
  161.                         "progress_mediamsec" : 401,
  162.                         "sip_from_user" : NumberLong(9059353767),
  163.                         "sip_outgoing_contact_uri" : "%3Csip%3Agw%2Bsushi%4092.119.230.60%3A5060%3Btransport%3Dudp%3Bgw%3Dsushi%3E",
  164.                         "duration" : 31,
  165.                         "sip_contact_uri" : "sgc_c%40195.239.174.100",
  166.                         "local_media_port" : 18842,
  167.                         "flow_billmsec" : 0,
  168.                         "remote_audio_media_flow" : "sendrecv",
  169.                         "audio_media_flow" : "sendrecv",
  170.                         "dtmf_type" : "rfc2833",
  171.                         "flow_billusec" : 0,
  172.                         "sip_allow" : "ACK,%20BYE,%20CANCEL,%20INFO,%20INVITE,%20OPTIONS,%20PRACK,%20REFER,%20NOTIFY,%20UPDATE",
  173.                         "local_media_ip" : "92.119.230.60",
  174.                         "rtp_audio_in_media_packet_count" : 0,
  175.                         "direction" : "outbound",
  176.                         "video_media_flow" : "disabled",
  177.                         "sip_contact_params" : "transport%3Dudp",
  178.                         "sip_invite_record_route" : "%3Csip%3A195.239.174.100%3Btransport%3Dudp%3Blr%3E",
  179.                         "rtp_audio_in_jitter_loss_rate" : 0,
  180.                         "sip_to_tag" : "h7g4Esbg_1710304024-1563251869241",
  181.                         "rtp_audio_out_media_packet_count" : 0,
  182.                         "sip_from_uri" : "9059353767%40mpbx.sip.beeline.ru",
  183.                         "digits_dialed" : "none",
  184.                         "progress_mediausec" : 400056,
  185.                         "ScenarioParametersApiHost" : "small-apps4-back",
  186.                         "is_outbound" : true,
  187.                         "rtp_audio_in_jitter_min_variance" : 0,
  188.                         "hangup_complete_with_xml" : true,
  189.                         "endpoint_disposition" : "EARLY%20MEDIA",
  190.                         "original_read_codec" : "PCMA",
  191.                         "rtp_audio_in_flush_packet_count" : 0,
  192.                         "sip_contact_host" : "195.239.174.100"
  193.                     },
  194.                     "callflow" : {
  195.                         "times" : {
  196.                             "progress_time" : 0,
  197.                             "created_time" : NumberLong(1563251868852955),
  198.                             "hold_accum_time" : 0,
  199.                             "resurrect_time" : 0,
  200.                             "answered_time" : 0,
  201.                             "transfer_time" : 0,
  202.                             "bridged_time" : 0,
  203.                             "hangup_time" : NumberLong(1563251899033057),
  204.                             "progress_media_time" : NumberLong(1563251869253011),
  205.                             "profile_created_time" : NumberLong(1563251868852955),
  206.                             "last_hold_time" : 0
  207.                         },
  208.                         "profile_index" : 1,
  209.                         "clone-of" : "a0496888-38c0-47e6-b032-67f7ddb6c138",
  210.                         "caller_profile" : {
  211.                             "caller_id_name" : "",
  212.                             "destination_number" : NumberLong(79231075258),
  213.                             "device_id" : "",
  214.                             "chan_name" : "sofia/external/79231075258",
  215.                             "dialplan" : "",
  216.                             "callee_id_number" : "+79231075258",
  217.                             "source" : "src/switch_ivr_originate.c",
  218.                             "network_addr" : "195.239.174.100",
  219.                             "uuid" : "c3cb970f-1140-49a2-a16e-d19416de8853",
  220.                             "callee_id_name" : "Outbound Call",
  221.                             "rdnis" : "",
  222.                             "aniii" : "",
  223.                             "context" : "default",
  224.                             "caller_id_number" : "0000000000",
  225.                             "ani" : "0000000000",
  226.                             "username" : ""
  227.                         },
  228.                         "unique-id" : "9daf0c93-349e-4144-aa41-ac9c491bcb5d"
  229.                     },
  230.                     "core-uuid" : "1177c3af-56b5-4593-be22-e955f1873f49",
  231.                     "channel_data" : {
  232.                         "state_number" : 11,
  233.                         "flags" : "0=1;2=1;3=1;29=1;38=1;39=1;41=1;44=1;54=1;96=1;113=1;114=1;160=1",
  234.                         "state" : "CS_REPORTING",
  235.                         "direction" : "outbound",
  236.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  237.                     },
  238.                     "switchname" : "small-apps4-tel",
  239.                     "call-stats" : {
  240.                         "audio" : {
  241.                             "inbound" : {
  242.                                 "media_packet_count" : 0,
  243.                                 "cng_packet_count" : 0,
  244.                                 "jitter_min_variance" : 0,
  245.                                 "skip_packet_count" : 0,
  246.                                 "mean_interval" : 0,
  247.                                 "dtmf_packet_count" : 0,
  248.                                 "jitter_loss_rate" : 0,
  249.                                 "jitter_burst_rate" : 0,
  250.                                 "flaw_total" : 0,
  251.                                 "quality_percentage" : 100,
  252.                                 "mos" : 4.5,
  253.                                 "largest_jb_size" : 0,
  254.                                 "packet_count" : 0,
  255.                                 "jitter_max_variance" : 0,
  256.                                 "media_bytes" : 0,
  257.                                 "jitter_packet_count" : 0,
  258.                                 "raw_bytes" : 0,
  259.                                 "flush_packet_count" : 0
  260.                             },
  261.                             "outbound" : {
  262.                                 "media_packet_count" : 0,
  263.                                 "cng_packet_count" : 0,
  264.                                 "skip_packet_count" : 0,
  265.                                 "dtmf_packet_count" : 0,
  266.                                 "rtcp_packet_count" : 0,
  267.                                 "packet_count" : 0,
  268.                                 "media_bytes" : 0,
  269.                                 "rtcp_octet_count" : 0,
  270.                                 "raw_bytes" : 0
  271.                             }
  272.                         }
  273.                     }
  274.                 },
  275.                 "callUuid" : "e955920c-e7f6-420e-985a-492ced227bd1",
  276.                 "callTaskId" : "5d2d549c31afe300016a5070"
  277.             },
  278.             "originateResult" : {
  279.                 "timestamp" : NumberLong(1563251899073),
  280.                 "sipCode" : 480,
  281.                 "fullSipSystemResponse" : "-ERR ALLOTTED_TIMEOUT",
  282.                 "callUuid" : "e955920c-e7f6-420e-985a-492ced227bd1",
  283.                 "callTaskId" : "5d2d549c31afe300016a5070"
  284.             }
  285.         }
  286.     ],
  287.     "parameters" : {
  288.         "address" : "таганрогская, 22/1-66",
  289.         "shippingCost" : 0.0,
  290.         "created" : "22.05.2018 23:51:50",
  291.         "acceptanceMethod" : "Интернет магазин",
  292.         "discount" : 0.0,
  293.         "extraCharge" : 0.0,
  294.         "kitchenComment" : null,
  295.         "operator" : "Жукова Елена Сергеевна",
  296.         "products" : [
  297.             {
  298.                 "name" : "Салфетки",
  299.                 "count" : 1,
  300.                 "price" : 0.0
  301.             },
  302.             {
  303.                 "name" : "Эби темпура",
  304.                 "count" : 1,
  305.                 "price" : 199.0
  306.             },
  307.             {
  308.                 "name" : "Васаби",
  309.                 "count" : 1,
  310.                 "price" : 15.0
  311.             },
  312.             {
  313.                 "name" : "Соевый соус",
  314.                 "count" : 2,
  315.                 "price" : 35.0
  316.             },
  317.             {
  318.                 "name" : "Икэ Маки",
  319.                 "count" : 1,
  320.                 "price" : 99.0
  321.             },
  322.             {
  323.                 "name" : "Сет Бали SILVER (3 ролла)",
  324.                 "count" : 1,
  325.                 "price" : 399.0
  326.             }
  327.         ],
  328.         "dispatcherComment" : "Безналичный курьеру  доставить в ближайшее время ",
  329.         "courier" : null,
  330.         "price" : 782.0,
  331.         "closed" : "23.05.2018 10:03:48",
  332.         "client" : {
  333.             "name" : "Олег",
  334.             "phone" : "89231075258"
  335.         },
  336.         "overallCost" : 782.0,
  337.         "id" : "409878",
  338.         "commentToCourier" : "Безналичный курьеру  доставить в ближайшее время ",
  339.         "status" : "EMPTY",
  340.         "statusCode" : 10
  341.     },
  342.     "nextAttemptTimestamp" : NumberLong(0),
  343.     "results" : {},
  344.     "ringingMillis" : NumberLong(0),
  345.     "talkMillis" : NumberLong(0),
  346.     "reportParameters" : {},
  347.     "created" : NumberLong(1563251868),
  348.     "reported" : false,
  349.     "testing" : false,
  350.     "performedTimestamp" : NumberLong(1563251899),
  351.     "sumConsume" : 0.0,
  352.     "processingEvents" : [
  353.         {
  354.             "timestampSecUtc" : NumberLong(1563251868),
  355.             "dateTimeFormatted" : "16.07.19 04:37",
  356.             "author" : "calling-system",
  357.             "event" : "call initiated: OutgoingCall(uuid=e955920c-e7f6-420e-985a-492ced227bd1, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-small-apps4-tel-release-2-3, responseTopic=calling-system-orig-result-apps4, scenarioResultTopic=scenario_result_sdk_v2_apps4, scenarioParametersApiHost=small-apps4-back, scenarioParametersApiPort=8106, callUrl=sofia/gateway/sushi/79231075258 ext XML outgoing-release-2-3, createdUtcMs=1563251868845, callUuid=e955920c-e7f6-420e-985a-492ced227bd1, callTaskUuid=5d2d549c31afe300016a5070, client=5ce671260c962c1e6c8da5eb, campaign=5ce5598d672f18000139de2a, originateParameters=null, originateTimeoutSec=30), originateResult=null, systemError=null, cdr=null); message to kafka to call task is about to be sent"
  358.         },
  359.         {
  360.             "timestampSecUtc" : NumberLong(1563251899057),
  361.             "dateTimeFormatted" : "16.07.19 04:38",
  362.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  363.             "event" : "CDR_RECEIVED"
  364.         },
  365.         {
  366.             "timestampSecUtc" : NumberLong(1563251899),
  367.             "dateTimeFormatted" : "16.07.19 04:38",
  368.             "author" : "tech.ivoice.calls.taskproc.service.DialingFailedTransitionService",
  369.             "event" : "dialing failed, failure caused not by user actions",
  370.             "parameters" : {
  371.                 "timestamp" : NumberLong(1563251899073),
  372.                 "sipCode" : 480,
  373.                 "fullSipSystemResponse" : "-ERR ALLOTTED_TIMEOUT",
  374.                 "callUuid" : "e955920c-e7f6-420e-985a-492ced227bd1",
  375.                 "callTaskId" : "5d2d549c31afe300016a5070"
  376.             }
  377.         }
  378.     ],
  379.     "fullCost" : NumberLong(0),
  380.     "fullBilling" : false,
  381.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  382.     "failComment" : "Не удалось дозвониться, код SIP 480"
  383. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement