Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "_id" : ObjectId("5e184eaf09c39000075c4fb0"),
- "phone" : "79913770847",
- "campaign" : "5e1729bc813d886edc23d8c5",
- "state" : "PERFORMED",
- "lastCallRequestTimestamp" : NumberLong(1578651312031),
- "callAnsweredTimestamp" : NumberLong(1578651319390),
- "calls" : [],
- "outgoingCalls" : [
- {
- "uuid" : "b5fa852e-e5d8-41bb-80b6-b0b181445dfd",
- "request" : {
- "targetTopic" : "sip-system-originate-request-sa6tel-release-2-3",
- "responseTopic" : "calling-system-orig-result-app-voicebot",
- "scenarioResultTopic" : "scenario_result_sdk_v2_app-voicebot",
- "scenarioParametersApiHost" : "voicebot",
- "scenarioParametersApiPort" : "8101",
- "callUrl" : "sofia/gateway/atlanta/79913770847 ext XML outgoing-release-2-3",
- "createdUtcMs" : NumberLong(1578651312031),
- "callUuid" : "b5fa852e-e5d8-41bb-80b6-b0b181445dfd",
- "callTaskUuid" : "5e184eaf09c39000075c4fb0",
- "client" : "5d1b94e07c53f5000151d56c",
- "campaign" : "5e1729bc813d886edc23d8c5",
- "originateTimeoutSec" : 30
- },
- "originateResult" : {
- "timestamp" : NumberLong(1578651319390),
- "sipCode" : 200,
- "fullSipSystemResponse" : "+OK 839738fd-ecda-4737-8b1d-d18b6a05b2d1",
- "callUuid" : "b5fa852e-e5d8-41bb-80b6-b0b181445dfd",
- "callTaskId" : "5e184eaf09c39000075c4fb0"
- },
- "cdr" : {
- "cdr" : {
- "variables" : {
- "write_codec" : "PCMA",
- "sip_reason" : "Q.850%3Bcause%3D16",
- "rtp_audio_in_mean_interval" : 0,
- "sip_reply_port" : 5060,
- "sip_to_host" : "sipvpbx.mcn.ru",
- "hold_accum_usec" : 0,
- "start_epoch" : 1578651310,
- "rtp_2833_send_payload" : 101,
- "original_read_rate" : 8000,
- "end_stamp" : "2020-01-10%2013%3A16%3A18",
- "profile_start_epoch" : 1578651318,
- "leg_timeout" : 30,
- "waitmsec" : 0,
- "transfer_history" : "1578651318%3A1fd62a97-7975-47e9-b6b5-6b6d88f7ff95%3Abl_xfer%3Aext/outgoing-release-2-3/XML",
- "sip_bye_h_X-Asterisk-HangupCauseCode" : 16,
- "CallingSystemCallUuid" : "b5fa852e-e5d8-41bb-80b6-b0b181445dfd",
- "current_application_data" : "lua/sdk/outgoing-release-2.3.lua",
- "rtp_audio_out_raw_bytes" : 0,
- "progress_uepoch" : 0,
- "sofia_profile_url" : "sip%3Amod_sofia%4092.119.230.62%3A5060",
- "sip_term_cause" : 16,
- "progress_media_stamp" : "2020-01-10%2013%3A15%3A16",
- "ignore_early_media" : true,
- "rtp_use_codec_ptime" : 20,
- "waitusec" : 0,
- "sip_to_user" : NumberLong(79913770847),
- "record_file_size" : 44,
- "rtp_last_audio_codec_string" : "PCMA%408000h%4020i%401c",
- "answersec" : 8,
- "rtp_audio_in_packet_count" : 0,
- "rtp_audio_in_jitter_packet_count" : 0,
- "rtp_audio_in_jitter_max_variance" : 0,
- "sip_full_to" : "%3Csip%3A79913770847%40sipvpbx.mcn.ru%3E%3Btag%3DSDgp2n199-as3ae34dd4",
- "max_forwards" : 70,
- "last_arg" : "lua/sdk/outgoing-release-2.3.lua",
- "sip_network_ip" : "85.94.32.220",
- "sip_from_host" : "sipvpbx.mcn.ru",
- "end_uepoch" : NumberLong(1578651378028971),
- "rtp_audio_in_dtmf_packet_count" : 0,
- "rtp_use_codec_name" : "PCMA",
- "remote_media_port" : 64168,
- "answer_uepoch" : NumberLong(1578651318209013),
- "record_seconds" : 0,
- "start_uepoch" : NumberLong(1578651310889049),
- "sip_network_port" : 5060,
- "waitsec" : 0,
- "flow_billsec" : 68,
- "sip_call_id" : "edab7f40-ae34-1238-b7b5-2ae0ee7661e9",
- "sip_full_from" : "%22%22%20%3Csip%3A24420717%40sipvpbx.mcn.ru%3E%3Btag%3Dye7e733pm2S6B",
- "pre_transfer_caller_id_number" : "0000000000",
- "progress_mediasec" : 6,
- "rtp_use_codec_channels" : 1,
- "sip_recover_contact" : "%3Csip%3A79913770847%4085.94.32.220%3A5060%3Btransport%3Dudp%3E",
- "rtp_local_sdp_str" : "v%3D0%0D%0Ao%3DFreeSWITCH%201578626744%201578626745%20IN%20IP4%2092.119.230.62%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2092.119.230.62%0D%0At%3D0%200%0D%0Am%3Daudio%2024566%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",
- "record_completion_cause" : "empty-file",
- "sip_hangup_disposition" : "recv_bye",
- "answerusec" : 7319964,
- "sip_req_uri" : "79913770847%40sipvpbx.mcn.ru",
- "profile_start_uepoch" : NumberLong(1578651318209013),
- "read_rate" : 8000,
- "RECORD_STEREO" : true,
- "rtp_audio_in_raw_bytes" : 0,
- "rtp_audio_in_skip_packet_count" : 0,
- "switch_r_sdp" : "v%3D0%0D%0Ao%3DMCN-MEDIA-GW%201224275957%201224275957%20IN%20IP4%2085.94.32.220%0D%0As%3DMCN-MEDIA-GW%0D%0Ac%3DIN%20IP4%2085.94.32.220%0D%0At%3D0%200%0D%0Am%3Daudio%2064168%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A",
- "rtp_audio_rtcp_packet_count" : 0,
- "sip_recover_via" : "SIP/2.0/UDP%2092.119.230.62%3Breceived%3D92.119.230.62%3Bbranch%3Dz9hG4bKmtjDNB9mSttyc%3Brport%3D5060",
- "bridge_epoch" : 0,
- "bridge_uepoch" : 0,
- "sip_user_agent" : "MCN-SS",
- "write_rate" : 8000,
- "rtp_audio_rtcp_octet_count" : 0,
- "sip_reply_host" : "85.94.32.220",
- "billusec" : 59819958,
- "answer_epoch" : 1578651318,
- "billmsec" : 59819,
- "call_uuid" : "839738fd-ecda-4737-8b1d-d18b6a05b2d1",
- "rtp_audio_out_skip_packet_count" : 0,
- "sip_full_via" : "SIP/2.0/UDP%2092.119.230.62%3Breceived%3D92.119.230.62%3Bbranch%3Dz9hG4bKmtjDNB9mSttyc%3Brport%3D5060",
- "channel_name" : "sofia/external/79913770847",
- "rtp_audio_out_cng_packet_count" : 0,
- "record_samples" : 0,
- "answer_stamp" : "2020-01-10%2013%3A15%3A18",
- "progress_epoch" : 0,
- "mduration" : 67139,
- "session_id" : 27797,
- "hold_accum_seconds" : 0,
- "record_ms" : 0,
- "remote_media_ip" : "85.94.32.220",
- "sip_bye_h_X-Asterisk-HangupCause" : "Normal%20Clearing",
- "ep_codec_string" : "CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b",
- "last_hold_epoch" : 0,
- "progresssec" : 0,
- "rtp_use_pt" : 8,
- "RECORD_DISCARDED" : true,
- "rtp_audio_in_largest_jb_size" : 0,
- "sip_cseq" : 14771865,
- "current_application" : "lua",
- "rtp_audio_in_media_bytes" : 0,
- "hangup_cause" : "NORMAL_CLEARING",
- "hangup_cause_q850" : 16,
- "resurrect_epoch" : 0,
- "transfer_source" : "1578651318%3A1fd62a97-7975-47e9-b6b5-6b6d88f7ff95%3Abl_xfer%3Aext/outgoing-release-2-3/XML",
- "rtp_audio_in_cng_packet_count" : 0,
- "rtp_audio_in_flaw_total" : 0,
- "last_hold_uepoch" : 0,
- "uduration" : 67139922,
- "advertised_media_ip" : "92.119.230.62",
- "hangup_after_bridge" : false,
- "rtp_audio_in_quality_percentage" : 100,
- "rtp_use_codec_rate" : 8000,
- "ScenarioParametersApiPort" : 8101,
- "ScenarioResultTopic" : "scenario_result_sdk_v2_app-voicebot",
- "hold_accum_ms" : 0,
- "uuid" : "839738fd-ecda-4737-8b1d-d18b6a05b2d1",
- "sip_gateway_name" : "atlanta",
- "rtp_audio_out_packet_count" : 0,
- "sip_destination_url" : "sip%3A79913770847%40sipvpbx.mcn.ru",
- "sip_to_uri" : "79913770847%40sipvpbx.mcn.ru",
- "read_codec" : "PCMA",
- "sip_contact_user" : NumberLong(79913770847),
- "start_stamp" : "2020-01-10%2013%3A15%3A10",
- "rtp_audio_recv_pt" : 8,
- "rtp_use_ssrc" : 572596712,
- "Client" : "5d1b94e07c53f5000151d56c",
- "billsec" : 60,
- "progress_media_epoch" : 1578651316,
- "progress_media_uepoch" : NumberLong(1578651316849028),
- "rtp_use_codec_string" : "PCMU,PCMA",
- "progressmsec" : 0,
- "rtp_audio_out_dtmf_packet_count" : 0,
- "proto_specific_hangup_cause" : "sip%3A200",
- "rtp_audio_in_mos" : 4.5,
- "sip_local_network_addr" : "92.119.230.62",
- "rtp_audio_out_media_bytes" : 0,
- "rtp_use_timer_name" : "soft",
- "Campaign" : "5e1729bc813d886edc23d8c5",
- "rtp_2833_recv_payload" : 101,
- "CallTaskId" : "5e184eaf09c39000075c4fb0",
- "text_media_flow" : "disabled",
- "end_epoch" : 1578651378,
- "profile_start_stamp" : "2020-01-10%2013%3A15%3A18",
- "caller_id" : "%22Outbound%20Call%22%20%3C79913770847%3E",
- "sip_term_status" : 200,
- "answermsec" : 7320,
- "sip_profile_name" : "gateway",
- "sofia_profile_name" : "external",
- "sip_from_tag" : "ye7e733pm2S6B",
- "progressusec" : 0,
- "rtp_audio_in_jitter_burst_rate" : 0,
- "resurrect_uepoch" : 0,
- "originate_early_media" : false,
- "recovery_profile_name" : "external",
- "progress_mediamsec" : 5960,
- "sip_from_user" : 24420717,
- "sip_outgoing_contact_uri" : "%3Csip%3Agw%2Batlanta%4092.119.230.62%3A5060%3Btransport%3Dudp%3Bgw%3Datlanta%3E",
- "duration" : 68,
- "sip_contact_port" : 5060,
- "sip_contact_uri" : "79913770847%4085.94.32.220%3A5060",
- "local_media_port" : 24566,
- "flow_billmsec" : 67139,
- "remote_audio_media_flow" : "sendrecv",
- "audio_media_flow" : "sendrecv",
- "dtmf_type" : "rfc2833",
- "flow_billusec" : 67139922,
- "local_media_ip" : "92.119.230.62",
- "sip_allow" : "INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE",
- "rtp_audio_in_media_packet_count" : 0,
- "direction" : "outbound",
- "video_media_flow" : "disabled",
- "sip_contact_params" : "transport%3Dudp",
- "rtp_audio_in_jitter_loss_rate" : 0,
- "sip_to_tag" : "SDgp2n199-as3ae34dd4",
- "rtp_audio_out_media_packet_count" : 0,
- "sip_from_uri" : "24420717%40sipvpbx.mcn.ru",
- "digits_dialed" : "none",
- "progress_mediausec" : 5959979,
- "ScenarioParametersApiHost" : "voicebot",
- "last_app" : "lua",
- "is_outbound" : true,
- "rtp_audio_in_jitter_min_variance" : 0,
- "hangup_complete_with_xml" : true,
- "endpoint_disposition" : "ANSWER",
- "original_read_codec" : "PCMA",
- "rtp_audio_in_flush_packet_count" : 0,
- "sip_contact_host" : "85.94.32.220"
- },
- "callflow" : [
- {
- "extension" : {
- "number" : "ext",
- "application" : [
- {
- "app_name" : "log",
- "app_data" : "INFO sip-system passed vars: ClientId=${Client}; CampaignId=${Campaign}; CallTaskId=${CallTaskId}; CallingSystemCallUuid=${CallingSystemCallUuid}; ScenarioResultTopic=${ScenarioResultTopic}; ScenarioParametersApiHost=${ScenarioParametersApiHost}; ScenarioParametersApiPort=${ScenarioParametersApiPort}"
- },
- {
- "app_name" : "wait_for_answer",
- "app_data" : ""
- },
- {
- "app_name" : "sched_hangup",
- "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
- },
- {
- "app_name" : "set",
- "app_data" : "RECORD_STEREO=true"
- },
- {
- "app_name" : "record_session",
- "app_data" : "/var/lib/freeswitch/recordings/${Client}/${Campaign}/${CallTaskId}.wav"
- },
- {
- "app_name" : "sleep",
- "app_data" : 0
- },
- {
- "app_name" : "set",
- "app_data" : "hangup_after_bridge=false"
- },
- {
- "app_name" : "lua",
- "app_data" : "lua/sdk/outgoing-release-2.3.lua"
- }
- ],
- "name" : "ext"
- },
- "times" : {
- "progress_time" : 0,
- "created_time" : NumberLong(1578651310889049),
- "hold_accum_time" : 0,
- "resurrect_time" : 0,
- "answered_time" : NumberLong(1578651318209013),
- "transfer_time" : 0,
- "bridged_time" : 0,
- "hangup_time" : NumberLong(1578651378028971),
- "progress_media_time" : NumberLong(1578651316849028),
- "profile_created_time" : NumberLong(1578651318209013),
- "last_hold_time" : 0
- },
- "profile_index" : 2,
- "dialplan" : "XML",
- "clone-of" : "58fa4970-0991-4d60-804a-c77ce76f89b7",
- "caller_profile" : {
- "caller_id_name" : "Outbound Call",
- "transfer_source" : "1578651318:1fd62a97-7975-47e9-b6b5-6b6d88f7ff95:bl_xfer:ext/outgoing-release-2-3/XML",
- "destination_number" : "ext",
- "device_id" : "",
- "chan_name" : "sofia/external/79913770847",
- "dialplan" : "XML",
- "callee_id_number" : "0000000000",
- "source" : "src/switch_ivr_originate.c",
- "network_addr" : "85.94.32.220",
- "uuid" : "839738fd-ecda-4737-8b1d-d18b6a05b2d1",
- "callee_id_name" : "",
- "rdnis" : NumberLong(79913770847),
- "aniii" : "",
- "context" : "outgoing-release-2-3",
- "caller_id_number" : NumberLong(79913770847),
- "ani" : "0000000000",
- "username" : ""
- },
- "unique-id" : "1fd62a97-7975-47e9-b6b5-6b6d88f7ff95"
- },
- {
- "times" : {
- "progress_time" : 0,
- "created_time" : NumberLong(1578651310889049),
- "hold_accum_time" : 0,
- "resurrect_time" : 0,
- "answered_time" : NumberLong(1578651318209013),
- "transfer_time" : NumberLong(1578651318209013),
- "bridged_time" : 0,
- "hangup_time" : 0,
- "progress_media_time" : NumberLong(1578651316849028),
- "profile_created_time" : NumberLong(1578651310889049),
- "last_hold_time" : 0
- },
- "profile_index" : 1,
- "clone-of" : "ec61222f-be11-41d6-b390-9a0ae3305ffa",
- "caller_profile" : {
- "caller_id_name" : "",
- "destination_number" : NumberLong(79913770847),
- "device_id" : "",
- "chan_name" : "sofia/external/79913770847",
- "dialplan" : "",
- "callee_id_number" : NumberLong(79913770847),
- "source" : "src/switch_ivr_originate.c",
- "network_addr" : "85.94.32.220",
- "uuid" : "839738fd-ecda-4737-8b1d-d18b6a05b2d1",
- "callee_id_name" : "Outbound Call",
- "rdnis" : "",
- "aniii" : "",
- "context" : "default",
- "caller_id_number" : "0000000000",
- "ani" : "0000000000",
- "username" : ""
- },
- "unique-id" : "58fa4970-0991-4d60-804a-c77ce76f89b7"
- }
- ],
- "core-uuid" : "b5ed7c16-c8fa-45b2-89b4-b9ff62cfe251",
- "channel_data" : {
- "state_number" : 11,
- "flags" : "0=1;1=1;2=1;3=1;38=1;39=1;41=1;44=1;54=1;61=1;96=1;113=1;114=1;123=1;160=1;165=1;166=1",
- "state" : "CS_REPORTING",
- "direction" : "outbound",
- "caps" : "1=1;2=1;3=1;4=1;5=1;6=1;8=1;9=1"
- },
- "app_log" : {
- "application" : [
- {
- "app_name" : "log",
- "app_stamp" : NumberLong(1578651319369537),
- "app_data" : "INFO sip-system passed vars: ClientId=5d1b94e07c53f5000151d56c; CampaignId=5e1729bc813d886edc23d8c5; CallTaskId=5e184eaf09c39000075c4fb0; CallingSystemCallUuid=b5fa852e-e5d8-41bb-80b6-b0b181445dfd; ScenarioResultTopic=scenario_result_sdk_v2_app-voicebot; ScenarioParametersApiHost=voicebot; ScenarioParametersApiPort=8101"
- },
- {
- "app_name" : "wait_for_answer",
- "app_stamp" : NumberLong(1578651319369743),
- "app_data" : ""
- },
- {
- "app_name" : "sched_hangup",
- "app_stamp" : NumberLong(1578651319369908),
- "app_data" : "+600 CHANNEL_HANGUP_COMPLETE"
- },
- {
- "app_name" : "set",
- "app_stamp" : NumberLong(1578651319370145),
- "app_data" : "RECORD_STEREO=true"
- },
- {
- "app_name" : "record_session",
- "app_stamp" : NumberLong(1578651319370315),
- "app_data" : "/var/lib/freeswitch/recordings/5d1b94e07c53f5000151d56c/5e1729bc813d886edc23d8c5/5e184eaf09c39000075c4fb0.wav"
- },
- {
- "app_name" : "sleep",
- "app_stamp" : NumberLong(1578651319590782),
- "app_data" : 0
- },
- {
- "app_name" : "set",
- "app_stamp" : NumberLong(1578651319591028),
- "app_data" : "hangup_after_bridge=false"
- },
- {
- "app_name" : "lua",
- "app_stamp" : NumberLong(1578651319591250),
- "app_data" : "lua/sdk/outgoing-release-2.3.lua"
- }
- ]
- },
- "switchname" : "small-apps6-tel",
- "call-stats" : {
- "audio" : {
- "inbound" : {
- "media_packet_count" : 0,
- "cng_packet_count" : 0,
- "jitter_min_variance" : 0,
- "skip_packet_count" : 0,
- "mean_interval" : 0,
- "dtmf_packet_count" : 0,
- "jitter_loss_rate" : 0,
- "jitter_burst_rate" : 0,
- "flaw_total" : 0,
- "quality_percentage" : 100,
- "mos" : 4.5,
- "largest_jb_size" : 0,
- "packet_count" : 0,
- "jitter_max_variance" : 0,
- "media_bytes" : 0,
- "jitter_packet_count" : 0,
- "raw_bytes" : 0,
- "flush_packet_count" : 0
- },
- "outbound" : {
- "media_packet_count" : 0,
- "cng_packet_count" : 0,
- "skip_packet_count" : 0,
- "dtmf_packet_count" : 0,
- "rtcp_packet_count" : 0,
- "packet_count" : 0,
- "media_bytes" : 0,
- "rtcp_octet_count" : 0,
- "raw_bytes" : 0
- }
- }
- }
- },
- "callUuid" : "b5fa852e-e5d8-41bb-80b6-b0b181445dfd",
- "callTaskId" : "5e184eaf09c39000075c4fb0"
- }
- }
- ],
- "parameters" : {},
- "nextAttemptTimestamp" : NumberLong(0),
- "results" : {},
- "ringingMillis" : NumberLong(0),
- "talkMillis" : NumberLong(59819),
- "reportParameters" : {},
- "created" : NumberLong(0),
- "reported" : false,
- "testing" : true,
- "performedTimestamp" : NumberLong(0),
- "sumConsume" : 0.0,
- "processingEvents" : [
- {
- "timestampSecUtc" : NumberLong(1578651312),
- "dateTimeFormatted" : "10.01.20 10:15",
- "author" : "calling-system",
- "event" : "call initiated: OutgoingCall(uuid=b5fa852e-e5d8-41bb-80b6-b0b181445dfd, request=RequestOutgoingCall(targetTopic=sip-system-originate-request-sa6tel-release-2-3, responseTopic=calling-system-orig-result-app-voicebot, scenarioResultTopic=scenario_result_sdk_v2_app-voicebot, scenarioParametersApiHost=voicebot, scenarioParametersApiPort=8101, callUrl=sofia/gateway/atlanta/79913770847 ext XML outgoing-release-2-3, createdUtcMs=1578651312031, callUuid=b5fa852e-e5d8-41bb-80b6-b0b181445dfd, callTaskUuid=5e184eaf09c39000075c4fb0, client=5d1b94e07c53f5000151d56c, campaign=5e1729bc813d886edc23d8c5, originateParameters=null, originateTimeoutSec=30), originateResult=null, systemError=null, cdr=null); message to kafka to call task is about to be sent"
- },
- {
- "timestampSecUtc" : NumberLong(1578651319),
- "dateTimeFormatted" : "10.01.20 10:15",
- "author" : "tech.ivoice.calls.taskproc.service.CallOriginateResultService",
- "event" : "transition to ONGOING on call answered"
- },
- {
- "timestampSecUtc" : NumberLong(1578651379217),
- "dateTimeFormatted" : "10.01.20 10:16",
- "author" : "tech.ivoice.platform.ctservice.service.CdrService",
- "event" : "CDR_RECEIVED",
- "parameters" : {
- "nextState" : "PERFORMED",
- "talkMillis" : NumberLong(59819)
- }
- }
- ],
- "uniqueTag" : "5e1729bc813d886edc23d8c5_79913770847_c4d352de-6d0a-4fe0-8ab0-f69d22d81f71",
- "fullCost" : NumberLong(0),
- "fullBilling" : false,
- "_class" : "tech.ivoice.common.model.calls.CallTask"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement