BoberDiversant

Untitled

Jul 19th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 14.22 KB | None | 0 0
  1. {
  2.     "_id" : ObjectId("5d2d549c31afe300016a5071"),
  3.     "phone" : "79000508801",
  4.     "campaign" : "5ce5598d672f18000139de2a",
  5.     "state" : "FAILED",
  6.     "lastCallRequestTimestamp" : NumberLong(1563251869939),
  7.     "callAnsweredTimestamp" : NumberLong(0),
  8.     "calls" : [],
  9.     "outgoingCalls" : [
  10.         {
  11.             "uuid" : "6a6bc896-a7ba-44c7-9eb9-6a68bd71a891",
  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/79000508801 ext XML outgoing-release-2-3",
  19.                 "createdUtcMs" : NumberLong(1563251869939),
  20.                 "callUuid" : "6a6bc896-a7ba-44c7-9eb9-6a68bd71a891",
  21.                 "callTaskUuid" : "5d2d549c31afe300016a5071",
  22.                 "client" : "5ce671260c962c1e6c8da5eb",
  23.                 "campaign" : "5ce5598d672f18000139de2a",
  24.                 "originateTimeoutSec" : 30
  25.             },
  26.             "originateResult" : {
  27.                 "timestamp" : NumberLong(1563251870023),
  28.                 "sipCode" : 404,
  29.                 "fullSipSystemResponse" : "-ERR UNALLOCATED_NUMBER",
  30.                 "callUuid" : "6a6bc896-a7ba-44c7-9eb9-6a68bd71a891",
  31.                 "callTaskId" : "5d2d549c31afe300016a5071"
  32.             },
  33.             "cdr" : {
  34.                 "cdr" : {
  35.                     "variables" : {
  36.                         "last_hold_uepoch" : 0,
  37.                         "uduration" : 59993,
  38.                         "sip_to_host" : "mpbx.sip.beeline.ru",
  39.                         "sip_reply_port" : 5060,
  40.                         "hold_accum_usec" : 0,
  41.                         "start_epoch" : 1563251869,
  42.                         "advertised_media_ip" : "92.119.230.60",
  43.                         "end_stamp" : "2019-07-16%2007%3A37%3A49",
  44.                         "profile_start_epoch" : 1563251869,
  45.                         "ScenarioParametersApiPort" : 8106,
  46.                         "leg_timeout" : 30,
  47.                         "ScenarioResultTopic" : "scenario_result_sdk_v2_apps4",
  48.                         "hold_accum_ms" : 0,
  49.                         "uuid" : "d226349f-ebf6-40a4-b6a5-36d8cd210a92",
  50.                         "sip_gateway_name" : "sushi",
  51.                         "sip_destination_url" : "sip%3A79000508801%40mpbx.sip.beeline.ru",
  52.                         "waitmsec" : 0,
  53.                         "CallingSystemCallUuid" : "6a6bc896-a7ba-44c7-9eb9-6a68bd71a891",
  54.                         "start_stamp" : "2019-07-16%2007%3A37%3A49",
  55.                         "progress_uepoch" : 0,
  56.                         "Client" : "5ce671260c962c1e6c8da5eb",
  57.                         "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.60%3A5060",
  58.                         "sip_term_cause" : 1,
  59.                         "billsec" : 0,
  60.                         "ignore_early_media" : true,
  61.                         "progress_media_epoch" : 0,
  62.                         "progress_media_uepoch" : 0,
  63.                         "waitusec" : 0,
  64.                         "rtp_use_codec_string" : "PCMU,PCMA",
  65.                         "progressmsec" : 0,
  66.                         "answersec" : 0,
  67.                         "sip_invite_failure_status" : 404,
  68.                         "sip_invite_failure_phrase" : "Called%20User%20Unknown",
  69.                         "proto_specific_hangup_cause" : "sip%3A404",
  70.                         "sip_from_host" : "mpbx.sip.beeline.ru",
  71.                         "sip_network_ip" : "195.239.174.100",
  72.                         "end_uepoch" : NumberLong(1563251869992980),
  73.                         "answer_uepoch" : 0,
  74.                         "sip_local_network_addr" : "92.119.230.60",
  75.                         "start_uepoch" : NumberLong(1563251869932987),
  76.                         "Campaign" : "5ce5598d672f18000139de2a",
  77.                         "CallTaskId" : "5d2d549c31afe300016a5071",
  78.                         "text_media_flow" : "disabled",
  79.                         "sip_network_port" : 5060,
  80.                         "end_epoch" : 1563251869,
  81.                         "waitsec" : 0,
  82.                         "profile_start_stamp" : "2019-07-16%2007%3A37%3A49",
  83.                         "caller_id" : "0000000000",
  84.                         "flow_billsec" : 0,
  85.                         "sip_call_id" : "4ee72716-2226-1238-3c81-0618689519a7",
  86.                         "sip_term_status" : 404,
  87.                         "answermsec" : 0,
  88.                         "sip_profile_name" : "gateway",
  89.                         "sofia_profile_name" : "external",
  90.                         "progress_mediasec" : 0,
  91.                         "progressusec" : 0,
  92.                         "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201563208523%201563208524%20IN%20IP4%2092.119.230.60%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.60%0D%0At%3D0%200%0D%0Am%3Daudio%2043346%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",
  93.                         "resurrect_uepoch" : 0,
  94.                         "originate_early_media" : false,
  95.                         "sip_hangup_disposition" : "recv_refuse",
  96.                         "answerusec" : 0,
  97.                         "recovery_profile_name" : "external",
  98.                         "sip_req_uri" : "79000508801%40mpbx.sip.beeline.ru",
  99.                         "profile_start_uepoch" : NumberLong(1563251869932987),
  100.                         "progress_mediamsec" : 0,
  101.                         "sip_outgoing_contact_uri" : "%3Csip%3Agw%2Bsushi%4092.119.230.60%3A5060%3Btransport%3Dudp%3Bgw%3Dsushi%3E",
  102.                         "duration" : 0,
  103.                         "bridge_epoch" : 0,
  104.                         "bridge_uepoch" : 0,
  105.                         "local_media_port" : 43346,
  106.                         "sip_reply_host" : "195.239.174.100",
  107.                         "flow_billmsec" : 0,
  108.                         "billusec" : 0,
  109.                         "answer_epoch" : 0,
  110.                         "audio_media_flow" : "sendrecv",
  111.                         "billmsec" : 0,
  112.                         "call_uuid" : "d226349f-ebf6-40a4-b6a5-36d8cd210a92",
  113.                         "flow_billusec" : 0,
  114.                         "local_media_ip" : "92.119.230.60",
  115.                         "direction" : "outbound",
  116.                         "video_media_flow" : "disabled",
  117.                         "channel_name" : "sofia/external/79000508801",
  118.                         "progress_epoch" : 0,
  119.                         "mduration" : 60,
  120.                         "session_id" : 2952,
  121.                         "digits_dialed" : "none",
  122.                         "hold_accum_seconds" : 0,
  123.                         "progress_mediausec" : 0,
  124.                         "ScenarioParametersApiHost" : "small-apps4-back",
  125.                         "last_hold_epoch" : 0,
  126.                         "is_outbound" : true,
  127.                         "hangup_complete_with_xml" : true,
  128.                         "progresssec" : 0,
  129.                         "hangup_cause" : "UNALLOCATED_NUMBER",
  130.                         "hangup_cause_q850" : 1,
  131.                         "resurrect_epoch" : 0
  132.                     },
  133.                     "callflow" : {
  134.                         "times" : {
  135.                             "progress_time" : 0,
  136.                             "created_time" : NumberLong(1563251869932987),
  137.                             "hold_accum_time" : 0,
  138.                             "resurrect_time" : 0,
  139.                             "answered_time" : 0,
  140.                             "transfer_time" : 0,
  141.                             "bridged_time" : 0,
  142.                             "hangup_time" : NumberLong(1563251869992980),
  143.                             "progress_media_time" : 0,
  144.                             "profile_created_time" : NumberLong(1563251869932987),
  145.                             "last_hold_time" : 0
  146.                         },
  147.                         "profile_index" : 1,
  148.                         "clone-of" : "3b2ae963-3819-4d58-b615-d7feddcf43f0",
  149.                         "caller_profile" : {
  150.                             "caller_id_name" : "",
  151.                             "destination_number" : NumberLong(79000508801),
  152.                             "device_id" : "",
  153.                             "chan_name" : "sofia/external/79000508801",
  154.                             "dialplan" : "",
  155.                             "callee_id_number" : NumberLong(79000508801),
  156.                             "source" : "src/switch_ivr_originate.c",
  157.                             "network_addr" : "195.239.174.100",
  158.                             "uuid" : "d226349f-ebf6-40a4-b6a5-36d8cd210a92",
  159.                             "callee_id_name" : "Outbound Call",
  160.                             "rdnis" : "",
  161.                             "aniii" : "",
  162.                             "context" : "default",
  163.                             "caller_id_number" : "0000000000",
  164.                             "ani" : "0000000000",
  165.                             "username" : ""
  166.                         },
  167.                         "unique-id" : "9d10c812-bef4-428e-ab41-ea61ff0e445c"
  168.                     },
  169.                     "core-uuid" : "1177c3af-56b5-4593-be22-e955f1873f49",
  170.                     "channel_data" : {
  171.                         "state_number" : 11,
  172.                         "flags" : "0=1;2=1;29=1;39=1;41=1;113=1;114=1",
  173.                         "state" : "CS_REPORTING",
  174.                         "direction" : "outbound",
  175.                         "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
  176.                     },
  177.                     "switchname" : "small-apps4-tel",
  178.                     "call-stats" : ""
  179.                 },
  180.                 "callUuid" : "6a6bc896-a7ba-44c7-9eb9-6a68bd71a891",
  181.                 "callTaskId" : "5d2d549c31afe300016a5071"
  182.             }
  183.         }
  184.     ],
  185.     "parameters" : {
  186.         "address" : "таганрогская, 22/1-66",
  187.         "shippingCost" : 0.0,
  188.         "created" : "22.05.2018 23:51:50",
  189.         "acceptanceMethod" : "Интернет магазин",
  190.         "discount" : 0.0,
  191.         "extraCharge" : 0.0,
  192.         "kitchenComment" : null,
  193.         "operator" : "Жукова Елена Сергеевна",
  194.         "products" : [
  195.             {
  196.                 "name" : "Салфетки",
  197.                 "count" : 1,
  198.                 "price" : 0.0
  199.             },
  200.             {
  201.                 "name" : "Эби темпура",
  202.                 "count" : 1,
  203.                 "price" : 199.0
  204.             },
  205.             {
  206.                 "name" : "Васаби",
  207.                 "count" : 1,
  208.                 "price" : 15.0
  209.             },
  210.             {
  211.                 "name" : "Соевый соус",
  212.                 "count" : 2,
  213.                 "price" : 35.0
  214.             },
  215.             {
  216.                 "name" : "Икэ Маки",
  217.                 "count" : 1,
  218.                 "price" : 99.0
  219.             },
  220.             {
  221.                 "name" : "Сет Бали SILVER (3 ролла)",
  222.                 "count" : 1,
  223.                 "price" : 399.0
  224.             }
  225.         ],
  226.         "dispatcherComment" : "Безналичный курьеру  доставить в ближайшее время ",
  227.         "courier" : null,
  228.         "price" : 782.0,
  229.         "closed" : "23.05.2018 10:03:48",
  230.         "client" : {
  231.             "name" : "Олег",
  232.             "phone" : "89000508801"
  233.         },
  234.         "overallCost" : 782.0,
  235.         "id" : "409879",
  236.         "commentToCourier" : "Безналичный курьеру  доставить в ближайшее время ",
  237.         "status" : "EMPTY",
  238.         "statusCode" : 10
  239.     },
  240.     "nextAttemptTimestamp" : NumberLong(0),
  241.     "results" : {},
  242.     "ringingMillis" : NumberLong(0),
  243.     "talkMillis" : NumberLong(0),
  244.     "reportParameters" : {},
  245.     "created" : NumberLong(1563251868),
  246.     "reported" : false,
  247.     "testing" : false,
  248.     "performedTimestamp" : NumberLong(1563251870),
  249.     "sumConsume" : 0.0,
  250.     "processingEvents" : [
  251.         {
  252.             "timestampSecUtc" : NumberLong(1563251869),
  253.             "dateTimeFormatted" : "16.07.19 04:37",
  254.             "author" : "calling-system",
  255.             "event" : "call initiated: OutgoingCall(uuid=6a6bc896-a7ba-44c7-9eb9-6a68bd71a891, 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/79000508801 ext XML outgoing-release-2-3, createdUtcMs=1563251869939, callUuid=6a6bc896-a7ba-44c7-9eb9-6a68bd71a891, callTaskUuid=5d2d549c31afe300016a5071, 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"
  256.         },
  257.         {
  258.             "timestampSecUtc" : NumberLong(1563251870),
  259.             "dateTimeFormatted" : "16.07.19 04:37",
  260.             "author" : "tech.ivoice.calls.taskproc.service.DialingFailedTransitionService",
  261.             "event" : "dialing failed, failure caused not by user actions",
  262.             "parameters" : {
  263.                 "timestamp" : NumberLong(1563251870023),
  264.                 "sipCode" : 404,
  265.                 "fullSipSystemResponse" : "-ERR UNALLOCATED_NUMBER",
  266.                 "callUuid" : "6a6bc896-a7ba-44c7-9eb9-6a68bd71a891",
  267.                 "callTaskId" : "5d2d549c31afe300016a5071"
  268.             }
  269.         },
  270.         {
  271.             "timestampSecUtc" : NumberLong(1563251870033),
  272.             "dateTimeFormatted" : "16.07.19 04:37",
  273.             "author" : "tech.ivoice.platform.ctservice.service.CdrService",
  274.             "event" : "CDR_RECEIVED"
  275.         }
  276.     ],
  277.     "fullCost" : NumberLong(0),
  278.     "fullBilling" : false,
  279.     "_class" : "tech.ivoice.common.model.calls.CallTask",
  280.     "failComment" : "Не удалось дозвониться, код SIP 404"
  281. }
Add Comment
Please, Sign In to add comment