Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "core-uuid": "c8f0df55-2b60-4a54-898d-c3d58a358d4d",
- "switchname": "0cd26e55a744",
- "channel_data": {
- "state": "CS_REPORTING",
- "direction": "inbound",
- "state_number": "11",
- "flags": "0=1;1=1;3=1;37=1;38=1;40=1;43=1;48=1;53=1;68=1;74=1;94=1;111=1;112=1;121=1;133=1",
- "caps": "1=1;2=1;3=1;4=1;5=1;6=1"
- },
- "callStats": {
- "audio": {
- "inbound": {
- "raw_bytes": 376084,
- "media_bytes": 371956,
- "packet_count": 2207,
- "media_packet_count": 2183,
- "skip_packet_count": 13,
- "jitter_packet_count": 0,
- "dtmf_packet_count": 0,
- "cng_packet_count": 0,
- "flush_packet_count": 24,
- "largest_jb_size": 0,
- "jitter_min_variance": 80,
- "jitter_max_variance": 336.857143,
- "jitter_loss_rate": 242.995972,
- "jitter_burst_rate": 241.995972,
- "mean_interval": 19.972171,
- "flaw_total": 0,
- "quality_percentage": 100,
- "mos": 4.5,
- "errorLog": [
- {
- "start": 1506020406620372,
- "stop": 1506020414021065,
- "flaws": 458546,
- "consecutiveFlaws": 0,
- "durationMS": 7400
- }
- ]
- },
- "outbound": {
- "raw_bytes": 375820,
- "media_bytes": 375820,
- "packet_count": 2185,
- "media_packet_count": 2185,
- "skip_packet_count": 0,
- "dtmf_packet_count": 0,
- "cng_packet_count": 0,
- "rtcp_packet_count": 9332,
- "rtcp_octet_count": 1494560
- }
- }
- },
- "variables": {
- "direction": "inbound",
- "uuid": "87005394-6286-40ec-a1e8-f719cdc1a6ab",
- "session_id": "79",
- "sip_from_user": "5511987654321",
- "sip_from_uri": "5511987654321@callix.com",
- "sip_from_host": "callix.com",
- "channel_name": "sofia/internal/5511987654321@callix.com",
- "ep_codec_string": "CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b,mod_opus.opus@48000h@20i@2c",
- "sip_local_network_addr": "172.18.0.8",
- "sip_network_ip": "172.18.0.11",
- "sip_network_port": "5060",
- "sip_received_ip": "172.18.0.11",
- "sip_received_port": "5060",
- "sip_via_protocol": "udp",
- "sip_from_user_stripped": "5511987654321",
- "sofia_profile_name": "internal",
- "recovery_profile_name": "internal",
- "sip_invite_route_uri": "<sip:172.18.0.11;r2=on;lr=on;ftag=eff1ddab;nat=yes>,<sip:192.168.1.188;r2=on;lr=on;ftag=eff1ddab;nat=yes>",
- "sip_invite_record_route": "<sip:192.168.1.188;r2=on;lr=on;ftag=eff1ddab;nat=yes>,<sip:172.18.0.11;r2=on;lr=on;ftag=eff1ddab;nat=yes>",
- "sip_req_user": "0000000001_fila-de-ramais",
- "sip_req_uri": "0000000001_fila-de-ramais@callix.com",
- "sip_req_host": "callix.com",
- "sip_to_user": "0000000001_fila-de-ramais",
- "sip_to_uri": "0000000001_fila-de-ramais@callix.com",
- "sip_to_host": "callix.com",
- "sip_contact_params": "transport=udp;registering_acc=callix_com;alias=192.168.1.107~5060~1",
- "sip_contact_user": "5511987654321",
- "sip_contact_port": "5060",
- "sip_contact_uri": "5511987654321@192.168.1.107:5060",
- "sip_contact_host": "192.168.1.107",
- "sip_user_agent": "Jitsi2.10.5550Linux",
- "sip_via_host": "172.18.0.11",
- "max_forwards": "69",
- "presence_id": "5511987654321@callix.com",
- "switch_r_sdp": "v=0\r\no=5511987654321-jitsi.org 0 0 IN IP4 172.18.0.11\r\ns=-\r\nc=IN IP4 172.18.0.11\r\nt=0 0\r\nm=audio 31320 RTP/AVP 0 8 96 101\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:96 opus/48000/2\r\na=fmtp:96 usedtx=1\r\na=rtpmap:101 telephone-event/8000\r\na=ptime:20\r\na=rtcp-xr:voip-metrics\r\na=rtcp:31321\r\nm=video 31342 RTP/AVP 97 99\r\na=rtpmap:97 H264/90000\r\na=fmtp:97 profile-level-id=4DE01f;packetization-mode=1\r\na=rtpmap:99 H264/90000\r\na=fmtp:99 profile-level-id=4DE01f\r\na=recvonly\r\na=imageattr:97 send * recv [x=[1:1920],y=[1:1080]]\r\na=imageattr:99 send * recv [x=[1:1920],y=[1:1080]]\r\na=rtcp:31343\r\n",
- "timezone": "America/Sao_Paulo",
- "tenant_id": "1",
- "call_queue_id": "3",
- "original_call_uuid": "87005394-6286-40ec-a1e8-f719cdc1a6ab",
- "sip_h_X-TENANT_ID": "1",
- "sip_h_X-CALL_QUEUE_ID": "3",
- "sip_h_X-CALL_UUID": "87005394-6286-40ec-a1e8-f719cdc1a6ab",
- "leg_timeout": "60",
- "cc_export_vars": "hold_music,tenant_id,call_queue_id,exit_cause,miss_cause,original_call_uuid, leg_timeout, sip_h_X-TENANT_ID, sip_h_X-CALL_QUEUE_ID, sip_h_X-CALL_UUID",
- "audio_media_flow": "sendrecv",
- "rtp_use_codec_string": "OPUS,G722,PCMU,PCMA,G729",
- "rtp_remote_audio_rtcp_port": "31321",
- "rtp_audio_recv_pt": "0",
- "rtp_use_codec_name": "PCMU",
- "rtp_use_codec_rate": "8000",
- "rtp_use_codec_ptime": "20",
- "rtp_use_codec_channels": "1",
- "rtp_last_audio_codec_string": "PCMU@8000h@20i@1c",
- "read_codec": "PCMU",
- "original_read_codec": "PCMU",
- "read_rate": "8000",
- "original_read_rate": "8000",
- "write_codec": "PCMU",
- "write_rate": "8000",
- "dtmf_type": "rfc2833",
- "video_possible": "true",
- "video_media_flow": "sendonly",
- "rtp_remote_video_rtcp_port": "31343",
- "local_media_ip": "172.18.0.8",
- "local_media_port": "43604",
- "advertised_media_ip": "172.18.0.8",
- "rtp_use_timer_name": "soft",
- "rtp_use_pt": "0",
- "rtp_use_ssrc": "3991185558",
- "rtp_2833_send_payload": "101",
- "rtp_2833_recv_payload": "101",
- "remote_media_ip": "172.18.0.11",
- "remote_media_port": "31320",
- "rtp_local_sdp_str": "v=0\r\no=FreeSWITCH 1505976802 1505976803 IN IP4 172.18.0.8\r\ns=FreeSWITCH\r\nc=IN IP4 172.18.0.8\r\nt=0 0\r\nm=audio 43604 RTP/AVP 0 101\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=ptime:20\r\na=sendrecv\r\na=rtcp:43605 IN IP4 172.18.0.8\r\nm=video 0 RTP/AVP 19\r\n",
- "endpoint_disposition": "ANSWER",
- "call_timeout": "60",
- "continue_on_fail": "true",
- "hangup_after_bridge": "false",
- "cc_outbound_announce": "/srv/shared/default_data/callix.com/sound_files/call_queue/call_notice_sound.wav",
- "hold_music": "/srv/shared/default_data/callix.com/sound_files/call_queue/hold_sound.wav",
- "RECORD_SOFTWARE": "Lavf57.57.100",
- "sip_to_tag": "g731m7KZ704vB",
- "sip_from_tag": "eff1ddab",
- "sip_cseq": "2",
- "sip_call_id": "1793aa66db50a776eba02218be7fc89b@0:0:0:0:0:0:0:0",
- "sip_full_via": "SIP/2.0/UDP 172.18.0.11;branch=z9hG4bK00f2.b407581691cb7ceaf5a22b205dce97ca.0,SIP/2.0/UDP 192.168.1.107:5060;rport=5060;branch=z9hG4bK-373035-fce4e832660aabe0d86d770f98abccbc",
- "sip_from_display": "5511987654321",
- "sip_full_from": "\"5511987654321\" <sip:5511987654321@callix.com>;tag=eff1ddab",
- "sip_full_to": "<sip:0000000001_fila-de-ramais@callix.com>;tag=g731m7KZ704vB",
- "cc_side": "member",
- "cc_member_uuid": "780ba179-93f7-4619-891c-cbbfaf7ba8bc",
- "cc_queue_joined_epoch": "1506020412",
- "cc_queue": "0000000001_fila-de-ramais",
- "RECORD_TITLE": "100",
- "original_destination_number": "0000000001_fila-de-ramais",
- "original_caller_id_name": "5511987654321",
- "original_caller_id_number": "5511987654321",
- "transfer_history": "1506020439:e4cbac46-19b1-4497-bd82-741f154df2a3:uuid_br:a682fca8-7559-4322-b118-323d3e092e42",
- "transfer_source": "1506020439:e4cbac46-19b1-4497-bd82-741f154df2a3:uuid_br:a682fca8-7559-4322-b118-323d3e092e42",
- "playback_last_offset_pos": "214720",
- "playback_seconds": "28",
- "playback_ms": "28672",
- "playback_samples": "229376",
- "cc_queue_canceled_epoch": "1506020439",
- "cc_cause": "cancel",
- "cc_cancel_reason": "BREAK_OUT",
- "last_bridge_to": "a682fca8-7559-4322-b118-323d3e092e42",
- "bridge_channel": "sofia/internal/11112@cliente1.callix.com",
- "bridge_uuid": "a682fca8-7559-4322-b118-323d3e092e42",
- "signal_bond": "a682fca8-7559-4322-b118-323d3e092e42",
- "last_sent_callee_id_name": "11112",
- "last_sent_callee_id_number": "11112",
- "sip_hangup_phrase": "OK",
- "last_bridge_hangup_cause": "NORMAL_CLEARING",
- "last_bridge_proto_specific_hangup_cause": "sip:200",
- "bridge_hangup_cause": "NORMAL_CLEARING",
- "call_uuid": "87005394-6286-40ec-a1e8-f719cdc1a6ab",
- "miss_cause": "abandonment",
- "exit_cause": "caller_hangup",
- "current_application": "hangup",
- "hangup_cause": "NORMAL_CLEARING",
- "hangup_cause_q850": "16",
- "digits_dialed": "none",
- "start_stamp": "2017-09-21 19:00:06",
- "profile_start_stamp": "2017-09-21 19:00:39",
- "answer_stamp": "2017-09-21 19:00:06",
- "bridge_stamp": "2017-09-21 19:00:39",
- "progress_media_stamp": "2017-09-21 19:00:06",
- "end_stamp": "2017-09-21 19:00:50",
- "start_epoch": "1506020406",
- "start_uepoch": "1506020406160827",
- "profile_start_epoch": "1506020439",
- "profile_start_uepoch": "1506020439240866",
- "answer_epoch": "1506020406",
- "answer_uepoch": "1506020406200095",
- "bridge_epoch": "1506020439",
- "bridge_uepoch": "1506020439300083",
- "last_hold_epoch": "0",
- "last_hold_uepoch": "0",
- "hold_accum_seconds": "0",
- "hold_accum_usec": "0",
- "hold_accum_ms": "0",
- "resurrect_epoch": "0",
- "resurrect_uepoch": "0",
- "progress_epoch": "0",
- "progress_uepoch": "0",
- "progress_media_epoch": "1506020406",
- "progress_media_uepoch": "1506020406200095",
- "end_epoch": "1506020450",
- "end_uepoch": "1506020450120088",
- "last_app": "hangup",
- "caller_id": "\"5511987654321\" <5511987654321>",
- "duration": "44",
- "billsec": "44",
- "progresssec": "0",
- "answersec": "0",
- "waitsec": "33",
- "progress_mediasec": "0",
- "flow_billsec": "44",
- "mduration": "43960",
- "billmsec": "43920",
- "progressmsec": "0",
- "answermsec": "40",
- "waitmsec": "33140",
- "progress_mediamsec": "40",
- "flow_billmsec": "43960",
- "uduration": "43959261",
- "billusec": "43919993",
- "progressusec": "0",
- "answerusec": "39268",
- "waitusec": "33139256",
- "progress_mediausec": "39268",
- "flow_billusec": "43959261",
- "sip_hangup_disposition": "send_bye",
- "rtp_audio_in_raw_bytes": "376084",
- "rtp_audio_in_media_bytes": "371956",
- "rtp_audio_in_packet_count": "2207",
- "rtp_audio_in_media_packet_count": "2183",
- "rtp_audio_in_skip_packet_count": "13",
- "rtp_audio_in_jitter_packet_count": "0",
- "rtp_audio_in_dtmf_packet_count": "0",
- "rtp_audio_in_cng_packet_count": "0",
- "rtp_audio_in_flush_packet_count": "24",
- "rtp_audio_in_largest_jb_size": "0",
- "rtp_audio_in_jitter_min_variance": "80.00",
- "rtp_audio_in_jitter_max_variance": "336.86",
- "rtp_audio_in_jitter_loss_rate": "243.00",
- "rtp_audio_in_jitter_burst_rate": "242.00",
- "rtp_audio_in_mean_interval": "19.97",
- "rtp_audio_in_flaw_total": "0",
- "rtp_audio_in_quality_percentage": "100.00",
- "rtp_audio_in_mos": "4.50",
- "rtp_audio_out_raw_bytes": "375820",
- "rtp_audio_out_media_bytes": "375820",
- "rtp_audio_out_packet_count": "2185",
- "rtp_audio_out_media_packet_count": "2185",
- "rtp_audio_out_skip_packet_count": "0",
- "rtp_audio_out_dtmf_packet_count": "0",
- "rtp_audio_out_cng_packet_count": "0",
- "rtp_audio_rtcp_packet_count": "9332",
- "rtp_audio_rtcp_octet_count": "1494560"
- },
- "app_log": {
- "applications": [
- {
- "app_name": "set",
- "app_data": "timezone=America/Sao_Paulo",
- "app_stamp": "1506020406191766"
- },
- {
- "app_name": "set",
- "app_data": "tenant_id=1",
- "app_stamp": "1506020406191994"
- },
- {
- "app_name": "set",
- "app_data": "call_queue_id=3",
- "app_stamp": "1506020406192195"
- },
- {
- "app_name": "set",
- "app_data": "original_call_uuid=87005394-6286-40ec-a1e8-f719cdc1a6ab",
- "app_stamp": "1506020406192458"
- },
- {
- "app_name": "set",
- "app_data": "sip_h_X-TENANT_ID=1",
- "app_stamp": "1506020406192869"
- },
- {
- "app_name": "set",
- "app_data": "sip_h_X-CALL_QUEUE_ID=3",
- "app_stamp": "1506020406193093"
- },
- {
- "app_name": "set",
- "app_data": "sip_h_X-CALL_UUID=87005394-6286-40ec-a1e8-f719cdc1a6ab",
- "app_stamp": "1506020406193286"
- },
- {
- "app_name": "set",
- "app_data": "leg_timeout=60",
- "app_stamp": "1506020406193481"
- },
- {
- "app_name": "set",
- "app_data": "cc_export_vars=hold_music,tenant_id,call_queue_id,exit_cause,miss_cause,original_call_uuid, leg_timeout, sip_h_X-TENANT_ID, sip_h_X-CALL_QUEUE_ID, sip_h_X-CALL_UUID",
- "app_stamp": "1506020406193673"
- },
- {
- "app_name": "answer",
- "app_data": "",
- "app_stamp": "1506020406193868"
- },
- {
- "app_name": "set_zombie_exec",
- "app_data": "",
- "app_stamp": "1506020406202477"
- },
- {
- "app_name": "set",
- "app_data": "call_timeout=60",
- "app_stamp": "1506020406202715"
- },
- {
- "app_name": "set",
- "app_data": "continue_on_fail=true",
- "app_stamp": "1506020406203950"
- },
- {
- "app_name": "set",
- "app_data": "hangup_after_bridge=false",
- "app_stamp": "1506020406204188"
- },
- {
- "app_name": "set",
- "app_data": "cc_outbound_announce=/srv/shared/default_data/callix.com/sound_files/call_queue/call_notice_sound.wav",
- "app_stamp": "1506020406204476"
- },
- {
- "app_name": "set",
- "app_data": "hold_music=/srv/shared/default_data/callix.com/sound_files/call_queue/hold_sound.wav",
- "app_stamp": "1506020406204713"
- },
- {
- "app_name": "db",
- "app_data": "insert/last_dial/1/87005394-6286-40ec-a1e8-f719cdc1a6ab",
- "app_stamp": "1506020406204970"
- },
- {
- "app_name": "playback",
- "app_data": "/srv/shared/default_data/callix.com/sound_files/call_queue/welcome_sound.wav",
- "app_stamp": "1506020406208696"
- },
- {
- "app_name": "callcenter",
- "app_data": "0000000001_fila-de-ramais",
- "app_stamp": "1506020412421055"
- },
- {
- "app_name": "set",
- "app_data": "result_cause=",
- "app_stamp": "1506020450122417"
- },
- {
- "app_name": "hangup",
- "app_data": "",
- "app_stamp": "1506020450122726"
- }
- ]
- },
- "callflow": [
- {
- "dialplan": "XML",
- "profile_index": "2",
- "extension": {
- "name": "0000000001_fila-de-ramais_recur_1",
- "number": "0000000001_fila-de-ramais",
- "applications": [
- {
- "app_name": "set",
- "app_data": "result_cause=${lua(${script_dir}/set_hangup_cause.lua)}"
- },
- {
- "app_name": "hangup",
- "app_data": ""
- }
- ]
- },
- "caller_profile": {
- "username": "5511987654321",
- "dialplan": "XML",
- "caller_id_name": "5511987654321",
- "ani": "5511987654321",
- "aniii": "",
- "caller_id_number": "5511987654321",
- "network_addr": "172.18.0.11",
- "rdnis": "",
- "destination_number": "0000000001_fila-de-ramais",
- "uuid": "87005394-6286-40ec-a1e8-f719cdc1a6ab",
- "source": "mod_sofia",
- "context": "public",
- "chan_name": "sofia/internal/5511987654321@callix.com",
- "originatee": {
- "originatee_caller_profiles": [
- {
- "username": "11112",
- "dialplan": "XML",
- "caller_id_name": "Unknown",
- "ani": "11112",
- "aniii": "",
- "caller_id_number": "Unknown",
- "network_addr": "172.18.0.11",
- "rdnis": "",
- "destination_number": "*8",
- "uuid": "a682fca8-7559-4322-b118-323d3e092e42",
- "source": "mod_sofia",
- "context": "public",
- "chan_name": "sofia/internal/11112@cliente1.callix.com"
- }
- ]
- }
- },
- "times": {
- "created_time": "1506020406160827",
- "profile_created_time": "1506020439240866",
- "progress_time": "0",
- "progress_media_time": "1506020406200095",
- "answered_time": "1506020406200095",
- "bridged_time": "1506020439300083",
- "last_hold_time": "0",
- "hold_accum_time": "0",
- "hangup_time": "1506020450120088",
- "resurrect_time": "0",
- "transfer_time": "0"
- }
- },
- {
- "dialplan": "XML",
- "profile_index": "1",
- "extension": {
- "name": "0000000001_fila-de-ramais_recur_1",
- "number": "0000000001_fila-de-ramais",
- "applications": [
- {
- "app_name": "set",
- "app_data": "sip_h_X-TENANT_ID=1"
- },
- {
- "app_name": "set",
- "app_data": "sip_h_X-CALL_QUEUE_ID=3"
- },
- {
- "app_name": "set",
- "app_data": "sip_h_X-CALL_UUID=${call_uuid}"
- },
- {
- "app_name": "set",
- "app_data": "leg_timeout=60"
- },
- {
- "app_name": "set",
- "app_data": "cc_export_vars=hold_music,tenant_id,call_queue_id,exit_cause,miss_cause,original_call_uuid, leg_timeout, sip_h_X-TENANT_ID, sip_h_X-CALL_QUEUE_ID, sip_h_X-CALL_UUID"
- },
- {
- "app_name": "answer",
- "app_data": ""
- },
- {
- "app_name": "set_zombie_exec",
- "app_data": ""
- },
- {
- "app_name": "set",
- "app_data": "call_timeout=60"
- },
- {
- "app_name": "set",
- "app_data": "continue_on_fail=true"
- },
- {
- "app_name": "set",
- "app_data": "hangup_after_bridge=false"
- },
- {
- "app_name": "set",
- "app_data": "cc_outbound_announce=/srv/shared/default_data/callix.com/sound_files/call_queue/call_notice_sound.wav"
- },
- {
- "app_name": "set",
- "app_data": "hold_music=/srv/shared/default_data/callix.com/sound_files/call_queue/hold_sound.wav"
- },
- {
- "app_name": "db",
- "app_data": "insert/last_dial/1/${call_uuid}"
- },
- {
- "app_name": "playback",
- "app_data": "/srv/shared/default_data/callix.com/sound_files/call_queue/welcome_sound.wav"
- },
- {
- "app_name": "callcenter",
- "app_data": "0000000001_fila-de-ramais"
- },
- {
- "last_executed": "true",
- "app_name": "set",
- "app_data": "result_cause=${lua(${script_dir}/set_hangup_cause.lua)}"
- },
- {
- "app_name": "hangup",
- "app_data": ""
- }
- ],
- "current_app": "set"
- },
- "caller_profile": {
- "username": "5511987654321",
- "dialplan": "XML",
- "caller_id_name": "5511987654321",
- "ani": "5511987654321",
- "aniii": "",
- "caller_id_number": "5511987654321",
- "network_addr": "172.18.0.11",
- "rdnis": "",
- "destination_number": "0000000001_fila-de-ramais",
- "uuid": "87005394-6286-40ec-a1e8-f719cdc1a6ab",
- "source": "mod_sofia",
- "context": "public",
- "chan_name": "sofia/internal/5511987654321@callix.com"
- },
- "times": {
- "created_time": "1506020406160827",
- "profile_created_time": "1506020406160827",
- "progress_time": "0",
- "progress_media_time": "1506020406200095",
- "answered_time": "1506020406200095",
- "bridged_time": "0",
- "last_hold_time": "0",
- "hold_accum_time": "0",
- "hangup_time": "0",
- "resurrect_time": "0",
- "transfer_time": "1506020439240866"
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement