Advertisement
Guest User

Untitled

a guest
Sep 8th, 2017
496
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.12 KB | None | 0 0
  1. {
  2. "core-uuid": "c4e46972-b683-40cb-8da0-6408ffef61dd",
  3. "switchname": "f8603a950870",
  4. "channel_data": {
  5. "state": "CS_REPORTING",
  6. "direction": "inbound",
  7. "state_number": "11",
  8. "flags": "0=1;1=1;3=1;29=1;37=1;38=1;40=1;43=1;48=2;53=1;68=1;74=1;94=1;111=1;112=1;121=1;133=1",
  9. "caps": "1=1;2=1;3=1;4=1;5=1;6=1"
  10. },
  11. "callStats": {
  12. "audio": {
  13. "inbound": {
  14. "raw_bytes": 316952,
  15. "media_bytes": 313358,
  16. "packet_count": 3565,
  17. "media_packet_count": 3525,
  18. "skip_packet_count": 52,
  19. "jitter_packet_count": 0,
  20. "dtmf_packet_count": 0,
  21. "cng_packet_count": 0,
  22. "flush_packet_count": 40,
  23. "largest_jb_size": 0,
  24. "jitter_min_variance": 8.333333,
  25. "jitter_max_variance": 256.717949,
  26. "jitter_loss_rate": 56.852555,
  27. "jitter_burst_rate": 55.852555,
  28. "mean_interval": 20.058295,
  29. "flaw_total": 2,
  30. "quality_percentage": 99,
  31. "mos": 4.492027,
  32. "errorLog": [
  33. {
  34. "start": 1504890150695665,
  35. "stop": 1504890153698078,
  36. "flaws": 0,
  37. "consecutiveFlaws": 0,
  38. "durationMS": 3002
  39. },
  40. {
  41. "start": 1504890136595632,
  42. "stop": 1504890139575787,
  43. "flaws": 1,
  44. "consecutiveFlaws": 0,
  45. "durationMS": 2980
  46. },
  47. {
  48. "start": 1504890119656007,
  49. "stop": 1504890127515514,
  50. "flaws": 185071,
  51. "consecutiveFlaws": 0,
  52. "durationMS": 7859
  53. }
  54. ]
  55. },
  56. "outbound": {
  57. "raw_bytes": 329025,
  58. "media_bytes": 329025,
  59. "packet_count": 3569,
  60. "media_packet_count": 3569,
  61. "skip_packet_count": 0,
  62. "dtmf_packet_count": 0,
  63. "cng_packet_count": 0,
  64. "rtcp_packet_count": 26208,
  65. "rtcp_octet_count": 2031656
  66. }
  67. }
  68. },
  69. "variables": {
  70. "direction": "inbound",
  71. "uuid": "810ab0bc-bee4-4210-beba-866eaf0d228c",
  72. "session_id": "34",
  73. "sip_from_user": "551123456789",
  74. "sip_from_uri": "551123456789@callix.com",
  75. "sip_from_host": "callix.com",
  76. "channel_name": "sofia/internal/551123456789@callix.com",
  77. "ep_codec_string": "mod_opus.opus@48000h@20i@2c,mod_spandsp.G722@8000h@20i@64000b,CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b",
  78. "sip_local_network_addr": "172.18.0.9",
  79. "sip_network_ip": "172.18.0.11",
  80. "sip_network_port": "5060",
  81. "sip_received_ip": "172.18.0.11",
  82. "sip_received_port": "5060",
  83. "sip_via_protocol": "udp",
  84. "sip_from_user_stripped": "551123456789",
  85. "sofia_profile_name": "internal",
  86. "recovery_profile_name": "internal",
  87. "sip_invite_route_uri": "<sip:172.18.0.11;r2=on;lr=on;ftag=ba14f9cd;nat=yes>,<sip:192.168.1.212;r2=on;lr=on;ftag=ba14f9cd;nat=yes>",
  88. "sip_invite_record_route": "<sip:192.168.1.212;r2=on;lr=on;ftag=ba14f9cd;nat=yes>,<sip:172.18.0.11;r2=on;lr=on;ftag=ba14f9cd;nat=yes>",
  89. "sip_req_user": "0000000001_fila-de-suporte",
  90. "sip_req_uri": "0000000001_fila-de-suporte@callix.com",
  91. "sip_req_host": "callix.com",
  92. "sip_to_user": "551123456789",
  93. "sip_to_uri": "551123456789@callix.com",
  94. "sip_to_host": "callix.com",
  95. "sip_contact_params": "transport=udp;registering_acc=callix_com;alias=192.168.1.201~5060~1",
  96. "sip_contact_user": "551123456789",
  97. "sip_contact_port": "5060",
  98. "sip_contact_uri": "551123456789@192.168.1.201:5060",
  99. "sip_contact_host": "192.168.1.201",
  100. "sip_user_agent": "Jitsi2.10.5550Linux",
  101. "sip_via_host": "172.18.0.11",
  102. "max_forwards": "69",
  103. "presence_id": "551123456789@callix.com",
  104. "switch_r_sdp": "v=0\r\no=551123456789-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 30658 RTP/AVP 96 97 98 9 100 102 0 8 103 3 104 101\r\na=rtpmap:96 opus/48000/2\r\na=fmtp:96 usedtx=1\r\na=rtpmap:97 SILK/24000\r\na=rtpmap:98 SILK/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:100 speex/32000\r\na=rtpmap:102 speex/16000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:103 iLBC/8000\r\na=rtpmap:3 GSM/8000\r\na=rtpmap:104 speex/8000\r\na=rtpmap:101 telephone-event/8000\r\na=ptime:20\r\na=rtcp-xr:voip-metrics\r\na=rtcp:30659\r\nm=video 30674 RTP/AVP 105 99\r\na=rtpmap:105 H264/90000\r\na=fmtp:105 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:105 send * recv [x=[1:1920],y=[1:1080]]\r\na=imageattr:99 send * recv [x=[1:1920],y=[1:1080]]\r\na=rtcp:30675\r\n",
  105. "timezone": "America/Sao_Paulo",
  106. "tenant_id": "1",
  107. "call_queue_id": "2",
  108. "original_call_uuid": "810ab0bc-bee4-4210-beba-866eaf0d228c",
  109. "sip_h_X-TENANT_ID": "1",
  110. "sip_h_X-CALL_QUEUE_ID": "2",
  111. "sip_h_X-CALL_UUID": "810ab0bc-bee4-4210-beba-866eaf0d228c",
  112. "leg_timeout": "60",
  113. "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",
  114. "audio_media_flow": "sendrecv",
  115. "rtp_use_codec_string": "OPUS,G722,PCMU,PCMA,G729",
  116. "rtp_remote_audio_rtcp_port": "30659",
  117. "rtp_audio_recv_pt": "96",
  118. "rtp_use_codec_name": "opus",
  119. "rtp_use_codec_fmtp": "usedtx=1",
  120. "rtp_use_codec_rate": "48000",
  121. "rtp_use_codec_ptime": "20",
  122. "rtp_use_codec_channels": "1",
  123. "rtp_last_audio_codec_string": "opus@48000h@20i@1c",
  124. "read_codec": "opus",
  125. "original_read_codec": "opus",
  126. "read_rate": "48000",
  127. "original_read_rate": "48000",
  128. "write_codec": "opus",
  129. "write_rate": "48000",
  130. "dtmf_type": "rfc2833",
  131. "video_possible": "true",
  132. "video_media_flow": "sendonly",
  133. "rtp_remote_video_rtcp_port": "30675",
  134. "local_media_ip": "172.18.0.9",
  135. "local_media_port": "35580",
  136. "advertised_media_ip": "172.18.0.9",
  137. "rtp_use_timer_name": "soft",
  138. "rtp_use_pt": "96",
  139. "rtp_use_ssrc": "4059297558",
  140. "rtp_2833_send_payload": "101",
  141. "rtp_2833_recv_payload": "101",
  142. "remote_media_ip": "172.18.0.11",
  143. "remote_media_port": "30658",
  144. "rtp_local_sdp_str": "v=0\r\no=FreeSWITCH 1504854538 1504854539 IN IP4 172.18.0.9\r\ns=FreeSWITCH\r\nc=IN IP4 172.18.0.9\r\nt=0 0\r\nm=audio 35580 RTP/AVP 96 101\r\na=rtpmap:96 opus/48000/2\r\na=fmtp:96 useinbandfec=1; maxplaybackrate=8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=ptime:20\r\na=sendrecv\r\na=rtcp:35581 IN IP4 172.18.0.9\r\nm=video 0 RTP/AVP 19\r\n",
  145. "endpoint_disposition": "ANSWER",
  146. "call_timeout": "60",
  147. "continue_on_fail": "true",
  148. "hangup_after_bridge": "false",
  149. "cc_outbound_announce": "/srv/shared/default_data/callix.com/sound_files/call_queue/call_notice_sound.wav",
  150. "hold_music": "/srv/shared/default_data/callix.com/sound_files/call_queue/hold_sound.wav",
  151. "sip_to_tag": "U231N416HZa7K",
  152. "sip_from_tag": "ba14f9cd",
  153. "sip_cseq": "1",
  154. "sip_call_id": "2e9b8e6c2e70353b7bd43f308d15bb75@0:0:0:0:0:0:0:0",
  155. "sip_full_via": "SIP/2.0/UDP 172.18.0.11;branch=z9hG4bKfbe5.b5eed98a84be87740c2f1fa0bb92d549.0,SIP/2.0/UDP 192.168.1.201:5060;rport=5060;branch=z9hG4bK-333534-34cf5155f496a68f7436796659f54d8f",
  156. "sip_from_display": "551123456789",
  157. "sip_full_from": "\"551123456789\" <sip:551123456789@callix.com>;tag=ba14f9cd",
  158. "sip_full_to": "<sip:551123456789@callix.com>;tag=U231N416HZa7K",
  159. "cc_side": "member",
  160. "cc_member_uuid": "931738f3-ecbc-46db-98d6-fbd9b2ffb7da",
  161. "cc_queue_joined_epoch": "1504890125",
  162. "cc_queue": "0000000001_fila-de-suporte",
  163. "cc_record_filename": "/srv/shared/tenant_data/callix.com/tenant_0000000001/call_recordings/2017-09-08/17/810ab0bc-bee4-4210-beba-866eaf0d228c.mp3",
  164. "transfer_history": "ARRAY::1504890126:83f9dda0-8a60-495a-a4a3-339a11e54845:uuid_br:ba4cc8ee-d43a-49be-ac6c-804cfe460c08|:1504890172:83f9dda0-8a60-495a-a4a3-339a11e54845:att_xfer:agent_0000000001_operador2@172.18.0.11/551123456789@callix.com|:1504890172:f309f357-09ae-4b8b-94d6-a4fbd995fe40:uuid_br:ebf019d1-f268-4905-8a9c-ed3d6ad1ab41",
  165. "cc_cause": "answered",
  166. "cc_agent_bridged": "true",
  167. "cc_agent_uuid": "ba4cc8ee-d43a-49be-ac6c-804cfe460c08",
  168. "cc_agent": "agent_0000000001_operador2",
  169. "cc_queue_answered_epoch": "1504890126",
  170. "switch_m_sdp": "v=0\r\no=- 1230320163801437165 3 IN IP4 172.18.0.11\r\ns=-\r\nt=0 0\r\na=msid-semantic: WMS DjqsH8CFOn9tbU1JZ3CkmVxNbAIlCJK9pV0m\r\nm=audio 30688 RTP/AVP 102 9 0 8 103 101 127 104 106 105 13 112 113\r\nc=IN IP4 172.18.0.11\r\na=rtpmap:102 opus/48000/2\r\na=fmtp:102 minptime=10;useinbandfec=1\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:103 telephone-event/48000\r\na=rtpmap:101 telephone-event/8000\r\na=rtpmap:127 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=sendonly\r\na=ssrc:2803750763 cname:r7OvH5ftYjvWVtF0\r\na=ssrc:2803750763 msid:DjqsH8CFOn9tbU1JZ3CkmVxNbAIlCJK9pV0m 816946c0-b593-4533-8236-6ac3ef562bb1\r\na=ssrc:2803750763 mslabel:DjqsH8CFOn9tbU1JZ3CkmVxNbAIlCJK9pV0m\r\na=ssrc:2803750763 label:816946c0-b593-4533-8236-6ac3ef562bb1\r\na=rtcp:30689\r\na=rtcp-mux\r\n",
  171. "RECORD_TITLE": "100",
  172. "original_destination_number": "0000000001_fila-de-suporte",
  173. "original_caller_id_name": "551123456789",
  174. "original_caller_id_number": "551123456789",
  175. "transfer_source": "1504890172:f309f357-09ae-4b8b-94d6-a4fbd995fe40:uuid_br:ebf019d1-f268-4905-8a9c-ed3d6ad1ab41",
  176. "playback_last_offset_pos": "328320",
  177. "playback_seconds": "8",
  178. "playback_ms": "8192",
  179. "playback_samples": "65536",
  180. "last_bridge_to": "ebf019d1-f268-4905-8a9c-ed3d6ad1ab41",
  181. "bridge_channel": "sofia/internal/agent_0000000001_operador1",
  182. "bridge_uuid": "ebf019d1-f268-4905-8a9c-ed3d6ad1ab41",
  183. "signal_bond": "ebf019d1-f268-4905-8a9c-ed3d6ad1ab41",
  184. "last_sent_callee_id_name": "Outbound Call",
  185. "last_sent_callee_id_number": "agent_0000000001_operador1",
  186. "cc_queue_terminated_epoch": "1504890172",
  187. "sip_hangup_phrase": "OK",
  188. "last_bridge_hangup_cause": "NORMAL_CLEARING",
  189. "last_bridge_proto_specific_hangup_cause": "sip:200",
  190. "bridge_hangup_cause": "NORMAL_CLEARING",
  191. "call_uuid": "810ab0bc-bee4-4210-beba-866eaf0d228c",
  192. "current_application": "hangup",
  193. "record_samples": "3094080",
  194. "record_seconds": "64",
  195. "record_ms": "64460",
  196. "record_completion_cause": "success-silence",
  197. "hangup_cause": "NORMAL_CLEARING",
  198. "hangup_cause_q850": "16",
  199. "digits_dialed": "none",
  200. "start_stamp": "2017-09-08 17:01:58",
  201. "profile_start_stamp": "2017-09-08 17:02:52",
  202. "answer_stamp": "2017-09-08 17:01:58",
  203. "bridge_stamp": "2017-09-08 17:02:52",
  204. "progress_media_stamp": "2017-09-08 17:01:58",
  205. "end_stamp": "2017-09-08 17:03:10",
  206. "start_epoch": "1504890118",
  207. "start_uepoch": "1504890118796496",
  208. "profile_start_epoch": "1504890172",
  209. "profile_start_uepoch": "1504890172835973",
  210. "answer_epoch": "1504890118",
  211. "answer_uepoch": "1504890118858946",
  212. "bridge_epoch": "1504890172",
  213. "bridge_uepoch": "1504890172935710",
  214. "last_hold_epoch": "0",
  215. "last_hold_uepoch": "0",
  216. "hold_accum_seconds": "0",
  217. "hold_accum_usec": "0",
  218. "hold_accum_ms": "0",
  219. "resurrect_epoch": "0",
  220. "resurrect_uepoch": "0",
  221. "progress_epoch": "0",
  222. "progress_uepoch": "0",
  223. "progress_media_epoch": "1504890118",
  224. "progress_media_uepoch": "1504890118858946",
  225. "end_epoch": "1504890190",
  226. "end_uepoch": "1504890190440625",
  227. "last_app": "hangup",
  228. "caller_id": "\"551123456789\" <551123456789>",
  229. "duration": "72",
  230. "billsec": "72",
  231. "progresssec": "0",
  232. "answersec": "0",
  233. "waitsec": "54",
  234. "progress_mediasec": "0",
  235. "flow_billsec": "72",
  236. "mduration": "71644",
  237. "billmsec": "71582",
  238. "progressmsec": "0",
  239. "answermsec": "62",
  240. "waitmsec": "54139",
  241. "progress_mediamsec": "62",
  242. "flow_billmsec": "71644",
  243. "uduration": "71644129",
  244. "billusec": "71581679",
  245. "progressusec": "0",
  246. "answerusec": "62450",
  247. "waitusec": "54139214",
  248. "progress_mediausec": "62450",
  249. "flow_billusec": "71644129",
  250. "sip_hangup_disposition": "send_bye",
  251. "rtp_audio_in_raw_bytes": "316952",
  252. "rtp_audio_in_media_bytes": "313358",
  253. "rtp_audio_in_packet_count": "3565",
  254. "rtp_audio_in_media_packet_count": "3525",
  255. "rtp_audio_in_skip_packet_count": "52",
  256. "rtp_audio_in_jitter_packet_count": "0",
  257. "rtp_audio_in_dtmf_packet_count": "0",
  258. "rtp_audio_in_cng_packet_count": "0",
  259. "rtp_audio_in_flush_packet_count": "40",
  260. "rtp_audio_in_largest_jb_size": "0",
  261. "rtp_audio_in_jitter_min_variance": "8.33",
  262. "rtp_audio_in_jitter_max_variance": "256.72",
  263. "rtp_audio_in_jitter_loss_rate": "56.85",
  264. "rtp_audio_in_jitter_burst_rate": "55.85",
  265. "rtp_audio_in_mean_interval": "20.06",
  266. "rtp_audio_in_flaw_total": "2",
  267. "rtp_audio_in_quality_percentage": "99.00",
  268. "rtp_audio_in_mos": "4.49",
  269. "rtp_audio_out_raw_bytes": "329025",
  270. "rtp_audio_out_media_bytes": "329025",
  271. "rtp_audio_out_packet_count": "3569",
  272. "rtp_audio_out_media_packet_count": "3569",
  273. "rtp_audio_out_skip_packet_count": "0",
  274. "rtp_audio_out_dtmf_packet_count": "0",
  275. "rtp_audio_out_cng_packet_count": "0",
  276. "rtp_audio_rtcp_packet_count": "26208",
  277. "rtp_audio_rtcp_octet_count": "2031656"
  278. },
  279. "app_log": {
  280. "applications": [
  281. {
  282. "app_name": "set",
  283. "app_data": "timezone=America/Sao_Paulo",
  284. "app_stamp": "1504890118838565"
  285. },
  286. {
  287. "app_name": "set",
  288. "app_data": "tenant_id=1",
  289. "app_stamp": "1504890118839035"
  290. },
  291. {
  292. "app_name": "set",
  293. "app_data": "call_queue_id=2",
  294. "app_stamp": "1504890118839375"
  295. },
  296. {
  297. "app_name": "set",
  298. "app_data": "original_call_uuid=810ab0bc-bee4-4210-beba-866eaf0d228c",
  299. "app_stamp": "1504890118840087"
  300. },
  301. {
  302. "app_name": "set",
  303. "app_data": "sip_h_X-TENANT_ID=1",
  304. "app_stamp": "1504890118843722"
  305. },
  306. {
  307. "app_name": "set",
  308. "app_data": "sip_h_X-CALL_QUEUE_ID=2",
  309. "app_stamp": "1504890118846295"
  310. },
  311. {
  312. "app_name": "set",
  313. "app_data": "sip_h_X-CALL_UUID=810ab0bc-bee4-4210-beba-866eaf0d228c",
  314. "app_stamp": "1504890118848696"
  315. },
  316. {
  317. "app_name": "set",
  318. "app_data": "leg_timeout=60",
  319. "app_stamp": "1504890118849079"
  320. },
  321. {
  322. "app_name": "set",
  323. "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",
  324. "app_stamp": "1504890118850421"
  325. },
  326. {
  327. "app_name": "answer",
  328. "app_data": "",
  329. "app_stamp": "1504890118855703"
  330. },
  331. {
  332. "app_name": "set_zombie_exec",
  333. "app_data": "",
  334. "app_stamp": "1504890118874950"
  335. },
  336. {
  337. "app_name": "set",
  338. "app_data": "call_timeout=60",
  339. "app_stamp": "1504890118875636"
  340. },
  341. {
  342. "app_name": "set",
  343. "app_data": "continue_on_fail=true",
  344. "app_stamp": "1504890118876037"
  345. },
  346. {
  347. "app_name": "set",
  348. "app_data": "hangup_after_bridge=false",
  349. "app_stamp": "1504890118876372"
  350. },
  351. {
  352. "app_name": "set",
  353. "app_data": "cc_outbound_announce=/srv/shared/default_data/callix.com/sound_files/call_queue/call_notice_sound.wav",
  354. "app_stamp": "1504890118876720"
  355. },
  356. {
  357. "app_name": "set",
  358. "app_data": "hold_music=/srv/shared/default_data/callix.com/sound_files/call_queue/hold_sound.wav",
  359. "app_stamp": "1504890118877077"
  360. },
  361. {
  362. "app_name": "playback",
  363. "app_data": "/srv/shared/default_data/callix.com/sound_files/call_queue/welcome_sound.wav",
  364. "app_stamp": "1504890118877458"
  365. },
  366. {
  367. "app_name": "lua",
  368. "app_data": "/etc/freeswitch/scripts/delay_callback.lua 1 551123456789",
  369. "app_stamp": "1504890125102985"
  370. },
  371. {
  372. "app_name": "callcenter",
  373. "app_data": "0000000001_fila-de-suporte",
  374. "app_stamp": "1504890125108788"
  375. },
  376. {
  377. "app_name": "playback",
  378. "app_data": "/srv/shared/default_data/callix.com/sound_files/call_queue/hold_sound.wav",
  379. "app_stamp": "1504890165921230"
  380. },
  381. {
  382. "app_name": "set",
  383. "app_data": "result_cause=",
  384. "app_stamp": "1504890190447017"
  385. },
  386. {
  387. "app_name": "hangup",
  388. "app_data": "",
  389. "app_stamp": "1504890190447853"
  390. }
  391. ]
  392. },
  393. "callflow": [
  394. {
  395. "dialplan": "XML",
  396. "profile_index": "3",
  397. "extension": {
  398. "name": "0000000001_fila-de-suporte_recur_1",
  399. "number": "0000000001_fila-de-suporte",
  400. "applications": [
  401. {
  402. "app_name": "set",
  403. "app_data": "result_cause=${lua(${script_dir}/set_hangup_cause.lua)}"
  404. },
  405. {
  406. "app_name": "hangup",
  407. "app_data": ""
  408. }
  409. ]
  410. },
  411. "caller_profile": {
  412. "username": "551123456789",
  413. "dialplan": "XML",
  414. "caller_id_name": "551123456789",
  415. "ani": "551123456789",
  416. "aniii": "",
  417. "caller_id_number": "551123456789",
  418. "network_addr": "172.18.0.11",
  419. "rdnis": "",
  420. "destination_number": "0000000001_fila-de-suporte",
  421. "uuid": "810ab0bc-bee4-4210-beba-866eaf0d228c",
  422. "source": "mod_sofia",
  423. "context": "public",
  424. "chan_name": "sofia/internal/551123456789@callix.com",
  425. "originatee": {
  426. "originatee_caller_profiles": [
  427. {
  428. "username": "agent_0000000001_operador2",
  429. "dialplan": "XML",
  430. "caller_id_name": "agent_0000000001_operador2",
  431. "ani": "agent_0000000001_operador2",
  432. "aniii": "",
  433. "caller_id_number": "agent_0000000001_operador2",
  434. "network_addr": "172.18.0.11",
  435. "rdnis": "",
  436. "destination_number": "agent_0000000001_operador1",
  437. "uuid": "ebf019d1-f268-4905-8a9c-ed3d6ad1ab41",
  438. "source": "mod_sofia",
  439. "context": "public",
  440. "chan_name": "sofia/internal/agent_0000000001_operador1"
  441. }
  442. ]
  443. }
  444. },
  445. "times": {
  446. "created_time": "1504890118796496",
  447. "profile_created_time": "1504890172835973",
  448. "progress_time": "0",
  449. "progress_media_time": "1504890118858946",
  450. "answered_time": "1504890118858946",
  451. "bridged_time": "1504890172935710",
  452. "last_hold_time": "0",
  453. "hold_accum_time": "0",
  454. "hangup_time": "1504890190440625",
  455. "resurrect_time": "0",
  456. "transfer_time": "0"
  457. }
  458. },
  459. {
  460. "dialplan": "XML",
  461. "profile_index": "2",
  462. "extension": {
  463. "name": "0000000001_fila-de-suporte_recur_1",
  464. "number": "0000000001_fila-de-suporte",
  465. "applications": [
  466. {
  467. "last_executed": "true",
  468. "app_name": "set",
  469. "app_data": "result_cause=${lua(${script_dir}/set_hangup_cause.lua)}"
  470. },
  471. {
  472. "app_name": "hangup",
  473. "app_data": ""
  474. }
  475. ],
  476. "current_app": "set"
  477. },
  478. "caller_profile": {
  479. "username": "551123456789",
  480. "dialplan": "XML",
  481. "caller_id_name": "551123456789",
  482. "ani": "551123456789",
  483. "aniii": "",
  484. "caller_id_number": "551123456789",
  485. "network_addr": "172.18.0.11",
  486. "rdnis": "",
  487. "destination_number": "0000000001_fila-de-suporte",
  488. "uuid": "810ab0bc-bee4-4210-beba-866eaf0d228c",
  489. "source": "mod_sofia",
  490. "context": "public",
  491. "chan_name": "sofia/internal/551123456789@callix.com",
  492. "originatee": {
  493. "originatee_caller_profiles": [
  494. {
  495. "username": "",
  496. "dialplan": "",
  497. "caller_id_name": "551123456789",
  498. "ani": "551123456789",
  499. "aniii": "",
  500. "caller_id_number": "551123456789",
  501. "network_addr": "172.18.0.11",
  502. "rdnis": "",
  503. "destination_number": "agent_0000000001_operador2",
  504. "uuid": "ba4cc8ee-d43a-49be-ac6c-804cfe460c08",
  505. "source": "src/switch_ivr_originate.c",
  506. "context": "default",
  507. "chan_name": "sofia/internal/agent_0000000001_operador2"
  508. }
  509. ]
  510. }
  511. },
  512. "times": {
  513. "created_time": "1504890118796496",
  514. "profile_created_time": "1504890126955523",
  515. "progress_time": "0",
  516. "progress_media_time": "1504890118858946",
  517. "answered_time": "1504890118858946",
  518. "bridged_time": "1504890126978121",
  519. "last_hold_time": "0",
  520. "hold_accum_time": "0",
  521. "hangup_time": "0",
  522. "resurrect_time": "0",
  523. "transfer_time": "1504890172835973"
  524. }
  525. },
  526. {
  527. "dialplan": "XML",
  528. "profile_index": "1",
  529. "extension": {
  530. "name": "0000000001_fila-de-suporte_recur_1",
  531. "number": "0000000001_fila-de-suporte",
  532. "applications": [
  533. {
  534. "app_name": "set",
  535. "app_data": "sip_h_X-TENANT_ID=1"
  536. },
  537. {
  538. "app_name": "set",
  539. "app_data": "sip_h_X-CALL_QUEUE_ID=2"
  540. },
  541. {
  542. "app_name": "set",
  543. "app_data": "sip_h_X-CALL_UUID=${call_uuid}"
  544. },
  545. {
  546. "app_name": "set",
  547. "app_data": "leg_timeout=60"
  548. },
  549. {
  550. "app_name": "set",
  551. "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"
  552. },
  553. {
  554. "app_name": "answer",
  555. "app_data": ""
  556. },
  557. {
  558. "app_name": "set_zombie_exec",
  559. "app_data": ""
  560. },
  561. {
  562. "app_name": "set",
  563. "app_data": "call_timeout=60"
  564. },
  565. {
  566. "app_name": "set",
  567. "app_data": "continue_on_fail=true"
  568. },
  569. {
  570. "app_name": "set",
  571. "app_data": "hangup_after_bridge=false"
  572. },
  573. {
  574. "app_name": "set",
  575. "app_data": "cc_outbound_announce=/srv/shared/default_data/callix.com/sound_files/call_queue/call_notice_sound.wav"
  576. },
  577. {
  578. "app_name": "set",
  579. "app_data": "hold_music=/srv/shared/default_data/callix.com/sound_files/call_queue/hold_sound.wav"
  580. },
  581. {
  582. "app_name": "playback",
  583. "app_data": "/srv/shared/default_data/callix.com/sound_files/call_queue/welcome_sound.wav"
  584. },
  585. {
  586. "app_name": "lua",
  587. "app_data": "${script_dir}/delay_callback.lua 1 ${caller_id_number}"
  588. },
  589. {
  590. "app_name": "callcenter",
  591. "app_data": "0000000001_fila-de-suporte"
  592. },
  593. {
  594. "last_executed": "true",
  595. "app_name": "set",
  596. "app_data": "result_cause=${lua(${script_dir}/set_hangup_cause.lua)}"
  597. },
  598. {
  599. "app_name": "hangup",
  600. "app_data": ""
  601. }
  602. ],
  603. "current_app": "set"
  604. },
  605. "caller_profile": {
  606. "username": "551123456789",
  607. "dialplan": "XML",
  608. "caller_id_name": "551123456789",
  609. "ani": "551123456789",
  610. "aniii": "",
  611. "caller_id_number": "551123456789",
  612. "network_addr": "172.18.0.11",
  613. "rdnis": "",
  614. "destination_number": "0000000001_fila-de-suporte",
  615. "uuid": "810ab0bc-bee4-4210-beba-866eaf0d228c",
  616. "source": "mod_sofia",
  617. "context": "public",
  618. "chan_name": "sofia/internal/551123456789@callix.com"
  619. },
  620. "times": {
  621. "created_time": "1504890118796496",
  622. "profile_created_time": "1504890118796496",
  623. "progress_time": "0",
  624. "progress_media_time": "1504890118858946",
  625. "answered_time": "1504890118858946",
  626. "bridged_time": "0",
  627. "last_hold_time": "0",
  628. "hold_accum_time": "0",
  629. "hangup_time": "0",
  630. "resurrect_time": "0",
  631. "transfer_time": "1504890126955523"
  632. }
  633. }
  634. ]
  635. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement