Advertisement
Guest User

Untitled

a guest
Sep 8th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.02 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": 550969,
  15. "media_bytes": 547341,
  16. "packet_count": 5990,
  17. "media_packet_count": 5951,
  18. "skip_packet_count": 51,
  19. "jitter_packet_count": 0,
  20. "dtmf_packet_count": 0,
  21. "cng_packet_count": 0,
  22. "flush_packet_count": 39,
  23. "largest_jb_size": 0,
  24. "jitter_min_variance": 1.5,
  25. "jitter_max_variance": 204.5,
  26. "jitter_loss_rate": 66.329464,
  27. "jitter_burst_rate": 65.329464,
  28. "mean_interval": 20.053866,
  29. "flaw_total": 1,
  30. "quality_percentage": 99,
  31. "mos": 4.492027,
  32. "errorLog": [
  33. {
  34. "start": 1504900944456406,
  35. "stop": 1504900947438453,
  36. "flaws": 0,
  37. "consecutiveFlaws": 0,
  38. "durationMS": 2982
  39. },
  40. {
  41. "start": 1504900877995598,
  42. "stop": 1504900885437441,
  43. "flaws": 358316,
  44. "consecutiveFlaws": 0,
  45. "durationMS": 7441
  46. }
  47. ]
  48. },
  49. "outbound": {
  50. "raw_bytes": 706357,
  51. "media_bytes": 706357,
  52. "packet_count": 5991,
  53. "media_packet_count": 5991,
  54. "skip_packet_count": 0,
  55. "dtmf_packet_count": 0,
  56. "cng_packet_count": 0,
  57. "rtcp_packet_count": 75086,
  58. "rtcp_octet_count": 5995872
  59. }
  60. }
  61. },
  62. "variables": {
  63. "direction": "inbound",
  64. "uuid": "d6318b56-c2ab-42e6-a426-b7dc00134212",
  65. "session_id": "70",
  66. "sip_from_user": "551123456789",
  67. "sip_from_uri": "551123456789@callix.com",
  68. "sip_from_host": "callix.com",
  69. "channel_name": "sofia/internal/551123456789@callix.com",
  70. "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",
  71. "sip_local_network_addr": "172.18.0.9",
  72. "sip_network_ip": "172.18.0.11",
  73. "sip_network_port": "5060",
  74. "sip_received_ip": "172.18.0.11",
  75. "sip_received_port": "5060",
  76. "sip_via_protocol": "udp",
  77. "sip_from_user_stripped": "551123456789",
  78. "sofia_profile_name": "internal",
  79. "recovery_profile_name": "internal",
  80. "sip_invite_route_uri": "<sip:172.18.0.11;r2=on;lr=on;ftag=96651477;nat=yes>,<sip:192.168.1.212;r2=on;lr=on;ftag=96651477;nat=yes>",
  81. "sip_invite_record_route": "<sip:192.168.1.212;r2=on;lr=on;ftag=96651477;nat=yes>,<sip:172.18.0.11;r2=on;lr=on;ftag=96651477;nat=yes>",
  82. "sip_req_user": "0000000001_fila-de-suporte",
  83. "sip_req_uri": "0000000001_fila-de-suporte@callix.com",
  84. "sip_req_host": "callix.com",
  85. "sip_to_user": "551123456789",
  86. "sip_to_uri": "551123456789@callix.com",
  87. "sip_to_host": "callix.com",
  88. "sip_contact_params": "transport=udp;registering_acc=callix_com;alias=192.168.1.201~5060~1",
  89. "sip_contact_user": "551123456789",
  90. "sip_contact_port": "5060",
  91. "sip_contact_uri": "551123456789@192.168.1.201:5060",
  92. "sip_contact_host": "192.168.1.201",
  93. "sip_user_agent": "Jitsi2.10.5550Linux",
  94. "sip_via_host": "172.18.0.11",
  95. "max_forwards": "69",
  96. "presence_id": "551123456789@callix.com",
  97. "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 31234 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:31235\r\nm=video 31256 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:31257\r\n",
  98. "timezone": "America/Sao_Paulo",
  99. "tenant_id": "1",
  100. "call_queue_id": "2",
  101. "original_call_uuid": "d6318b56-c2ab-42e6-a426-b7dc00134212",
  102. "sip_h_X-TENANT_ID": "1",
  103. "sip_h_X-CALL_QUEUE_ID": "2",
  104. "sip_h_X-CALL_UUID": "d6318b56-c2ab-42e6-a426-b7dc00134212",
  105. "leg_timeout": "60",
  106. "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",
  107. "audio_media_flow": "sendrecv",
  108. "rtp_use_codec_string": "OPUS,G722,PCMU,PCMA,G729",
  109. "rtp_remote_audio_rtcp_port": "31235",
  110. "rtp_audio_recv_pt": "96",
  111. "rtp_use_codec_name": "opus",
  112. "rtp_use_codec_fmtp": "usedtx=1",
  113. "rtp_use_codec_rate": "48000",
  114. "rtp_use_codec_ptime": "20",
  115. "rtp_use_codec_channels": "1",
  116. "rtp_last_audio_codec_string": "opus@48000h@20i@1c",
  117. "read_codec": "opus",
  118. "original_read_codec": "opus",
  119. "read_rate": "48000",
  120. "original_read_rate": "48000",
  121. "write_codec": "opus",
  122. "write_rate": "48000",
  123. "dtmf_type": "rfc2833",
  124. "video_possible": "true",
  125. "video_media_flow": "sendonly",
  126. "rtp_remote_video_rtcp_port": "31257",
  127. "local_media_ip": "172.18.0.9",
  128. "local_media_port": "36546",
  129. "advertised_media_ip": "172.18.0.9",
  130. "rtp_use_timer_name": "soft",
  131. "rtp_use_pt": "96",
  132. "rtp_use_ssrc": "4057217773",
  133. "rtp_2833_send_payload": "101",
  134. "rtp_2833_recv_payload": "101",
  135. "remote_media_ip": "172.18.0.11",
  136. "remote_media_port": "31234",
  137. "rtp_local_sdp_str": "v=0\r\no=FreeSWITCH 1504864331 1504864332 IN IP4 172.18.0.9\r\ns=FreeSWITCH\r\nc=IN IP4 172.18.0.9\r\nt=0 0\r\nm=audio 36546 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:36547 IN IP4 172.18.0.9\r\nm=video 0 RTP/AVP 19\r\n",
  138. "endpoint_disposition": "ANSWER",
  139. "call_timeout": "60",
  140. "continue_on_fail": "true",
  141. "hangup_after_bridge": "false",
  142. "cc_outbound_announce": "/srv/shared/default_data/callix.com/sound_files/call_queue/call_notice_sound.wav",
  143. "sip_to_tag": "e5KyHFgDc6yae",
  144. "sip_from_tag": "96651477",
  145. "sip_cseq": "1",
  146. "sip_call_id": "866a4975419413b08f3604e0baa61a5f@0:0:0:0:0:0:0:0",
  147. "sip_full_via": "SIP/2.0/UDP 172.18.0.11;branch=z9hG4bK4bf.195544ac0280d0d40a85d0cf08feab93.0,SIP/2.0/UDP 192.168.1.201:5060;rport=5060;branch=z9hG4bK-333534-75149643dc4a44c74e683977b4aa3c34",
  148. "sip_from_display": "551123456789",
  149. "sip_full_from": "\"551123456789\" <sip:551123456789@callix.com>;tag=96651477",
  150. "sip_full_to": "<sip:551123456789@callix.com>;tag=e5KyHFgDc6yae",
  151. "cc_side": "member",
  152. "cc_member_uuid": "9d33bfd9-2cc1-45dc-9ce1-732a227f8125",
  153. "cc_queue_joined_epoch": "1504900883",
  154. "cc_queue": "0000000001_fila-de-suporte",
  155. "cc_record_filename": "/srv/shared/tenant_data/callix.com/tenant_0000000001/call_recordings/2017-09-08/20/d6318b56-c2ab-42e6-a426-b7dc00134212.mp3",
  156. "transfer_history": "ARRAY::1504900941:44e85069-3025-48bd-b847-8f643e677a15:uuid_br:e9548886-9591-4bef-b6e8-bf1f39f7a3b3|:1504900988:44e85069-3025-48bd-b847-8f643e677a15:att_xfer:agent_0000000001_operador2@172.18.0.11/551123456789@callix.com|:1504900988:661910e1-f61e-45ab-82d9-c52648d7a725:uuid_br:2df59874-027d-4a48-9d6b-9f22c7339ddd",
  157. "cc_cause": "answered",
  158. "cc_agent_bridged": "true",
  159. "cc_agent_uuid": "e9548886-9591-4bef-b6e8-bf1f39f7a3b3",
  160. "cc_agent": "agent_0000000001_operador2",
  161. "cc_queue_answered_epoch": "1504900941",
  162. "switch_m_sdp": "v=0\r\no=- 8573006564879112287 3 IN IP4 172.18.0.11\r\ns=-\r\nt=0 0\r\na=msid-semantic: WMS P6yrf45jDE9uqYqSmgaadRrEUTx9nDGmw7Kh\r\nm=audio 31290 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:2159171381 cname:gdGMfycCa6bDgiJS\r\na=ssrc:2159171381 msid:P6yrf45jDE9uqYqSmgaadRrEUTx9nDGmw7Kh f9b98ff7-c14d-4887-b685-43722bf49f80\r\na=ssrc:2159171381 mslabel:P6yrf45jDE9uqYqSmgaadRrEUTx9nDGmw7Kh\r\na=ssrc:2159171381 label:f9b98ff7-c14d-4887-b685-43722bf49f80\r\na=rtcp:31291\r\na=rtcp-mux\r\n",
  163. "RECORD_TITLE": "100",
  164. "original_destination_number": "0000000001_fila-de-suporte",
  165. "original_caller_id_name": "551123456789",
  166. "original_caller_id_number": "551123456789",
  167. "transfer_source": "1504900988:661910e1-f61e-45ab-82d9-c52648d7a725:uuid_br:2df59874-027d-4a48-9d6b-9f22c7339ddd",
  168. "playback_last_offset_pos": "791040",
  169. "playback_seconds": "18",
  170. "playback_ms": "18432",
  171. "playback_samples": "147456",
  172. "cc_queue_terminated_epoch": "1504900988",
  173. "bridge_export_vars": "hold_music",
  174. "hold_music": "/srv/shared/default_data/callix.com/sound_files/tenant/hold_sound.wav",
  175. "last_bridge_to": "2df59874-027d-4a48-9d6b-9f22c7339ddd",
  176. "bridge_channel": "sofia/internal/021969648749",
  177. "bridge_uuid": "2df59874-027d-4a48-9d6b-9f22c7339ddd",
  178. "signal_bond": "2df59874-027d-4a48-9d6b-9f22c7339ddd",
  179. "last_sent_callee_id_name": "Outbound Call",
  180. "last_sent_callee_id_number": "021969648749",
  181. "sip_hangup_phrase": "OK",
  182. "sip_bye_h_X-Asterisk-HangupCause": "Normal Clearing",
  183. "sip_bye_h_X-Asterisk-HangupCauseCode": "16",
  184. "last_bridge_hangup_cause": "NORMAL_CLEARING",
  185. "last_bridge_proto_specific_hangup_cause": "sip:200",
  186. "bridge_hangup_cause": "NORMAL_CLEARING",
  187. "call_uuid": "d6318b56-c2ab-42e6-a426-b7dc00134212",
  188. "current_application": "hangup",
  189. "record_samples": "2722560",
  190. "record_seconds": "56",
  191. "record_ms": "56720",
  192. "record_completion_cause": "success-silence",
  193. "hangup_cause": "NORMAL_CLEARING",
  194. "hangup_cause_q850": "16",
  195. "digits_dialed": "none",
  196. "start_stamp": "2017-09-08 20:01:17",
  197. "profile_start_stamp": "2017-09-08 20:03:08",
  198. "answer_stamp": "2017-09-08 20:01:17",
  199. "bridge_stamp": "2017-09-08 20:03:08",
  200. "progress_media_stamp": "2017-09-08 20:01:17",
  201. "end_stamp": "2017-09-08 20:03:17",
  202. "start_epoch": "1504900877",
  203. "start_uepoch": "1504900877436439",
  204. "profile_start_epoch": "1504900988",
  205. "profile_start_uepoch": "1504900988655537",
  206. "answer_epoch": "1504900877",
  207. "answer_uepoch": "1504900877476076",
  208. "bridge_epoch": "1504900988",
  209. "bridge_uepoch": "1504900988718173",
  210. "last_hold_epoch": "0",
  211. "last_hold_uepoch": "0",
  212. "hold_accum_seconds": "0",
  213. "hold_accum_usec": "0",
  214. "hold_accum_ms": "0",
  215. "resurrect_epoch": "0",
  216. "resurrect_uepoch": "0",
  217. "progress_epoch": "0",
  218. "progress_uepoch": "0",
  219. "progress_media_epoch": "1504900877",
  220. "progress_media_uepoch": "1504900877476076",
  221. "end_epoch": "1504900997",
  222. "end_uepoch": "1504900997435755",
  223. "last_app": "hangup",
  224. "caller_id": "\"551123456789\" <551123456789>",
  225. "duration": "120",
  226. "billsec": "120",
  227. "progresssec": "0",
  228. "answersec": "0",
  229. "waitsec": "111",
  230. "progress_mediasec": "0",
  231. "flow_billsec": "120",
  232. "mduration": "119999",
  233. "billmsec": "119959",
  234. "progressmsec": "0",
  235. "answermsec": "40",
  236. "waitmsec": "111282",
  237. "progress_mediamsec": "40",
  238. "flow_billmsec": "119999",
  239. "uduration": "119999316",
  240. "billusec": "119959679",
  241. "progressusec": "0",
  242. "answerusec": "39637",
  243. "waitusec": "111281734",
  244. "progress_mediausec": "39637",
  245. "flow_billusec": "119999316",
  246. "sip_hangup_disposition": "send_bye",
  247. "rtp_audio_in_raw_bytes": "550969",
  248. "rtp_audio_in_media_bytes": "547341",
  249. "rtp_audio_in_packet_count": "5990",
  250. "rtp_audio_in_media_packet_count": "5951",
  251. "rtp_audio_in_skip_packet_count": "51",
  252. "rtp_audio_in_jitter_packet_count": "0",
  253. "rtp_audio_in_dtmf_packet_count": "0",
  254. "rtp_audio_in_cng_packet_count": "0",
  255. "rtp_audio_in_flush_packet_count": "39",
  256. "rtp_audio_in_largest_jb_size": "0",
  257. "rtp_audio_in_jitter_min_variance": "1.50",
  258. "rtp_audio_in_jitter_max_variance": "204.50",
  259. "rtp_audio_in_jitter_loss_rate": "66.33",
  260. "rtp_audio_in_jitter_burst_rate": "65.33",
  261. "rtp_audio_in_mean_interval": "20.05",
  262. "rtp_audio_in_flaw_total": "1",
  263. "rtp_audio_in_quality_percentage": "99.00",
  264. "rtp_audio_in_mos": "4.49",
  265. "rtp_audio_out_raw_bytes": "706357",
  266. "rtp_audio_out_media_bytes": "706357",
  267. "rtp_audio_out_packet_count": "5991",
  268. "rtp_audio_out_media_packet_count": "5991",
  269. "rtp_audio_out_skip_packet_count": "0",
  270. "rtp_audio_out_dtmf_packet_count": "0",
  271. "rtp_audio_out_cng_packet_count": "0",
  272. "rtp_audio_rtcp_packet_count": "75086",
  273. "rtp_audio_rtcp_octet_count": "5995872"
  274. },
  275. "app_log": {
  276. "applications": [
  277. {
  278. "app_name": "set",
  279. "app_data": "timezone=America/Sao_Paulo",
  280. "app_stamp": "1504900877461868"
  281. },
  282. {
  283. "app_name": "set",
  284. "app_data": "tenant_id=1",
  285. "app_stamp": "1504900877462473"
  286. },
  287. {
  288. "app_name": "set",
  289. "app_data": "call_queue_id=2",
  290. "app_stamp": "1504900877463389"
  291. },
  292. {
  293. "app_name": "set",
  294. "app_data": "original_call_uuid=d6318b56-c2ab-42e6-a426-b7dc00134212",
  295. "app_stamp": "1504900877463947"
  296. },
  297. {
  298. "app_name": "set",
  299. "app_data": "sip_h_X-TENANT_ID=1",
  300. "app_stamp": "1504900877472767"
  301. },
  302. {
  303. "app_name": "set",
  304. "app_data": "sip_h_X-CALL_QUEUE_ID=2",
  305. "app_stamp": "1504900877473044"
  306. },
  307. {
  308. "app_name": "set",
  309. "app_data": "sip_h_X-CALL_UUID=d6318b56-c2ab-42e6-a426-b7dc00134212",
  310. "app_stamp": "1504900877474359"
  311. },
  312. {
  313. "app_name": "set",
  314. "app_data": "leg_timeout=60",
  315. "app_stamp": "1504900877474613"
  316. },
  317. {
  318. "app_name": "set",
  319. "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",
  320. "app_stamp": "1504900877474882"
  321. },
  322. {
  323. "app_name": "answer",
  324. "app_data": "",
  325. "app_stamp": "1504900877475254"
  326. },
  327. {
  328. "app_name": "set_zombie_exec",
  329. "app_data": "",
  330. "app_stamp": "1504900877484828"
  331. },
  332. {
  333. "app_name": "set",
  334. "app_data": "call_timeout=60",
  335. "app_stamp": "1504900877486421"
  336. },
  337. {
  338. "app_name": "set",
  339. "app_data": "continue_on_fail=true",
  340. "app_stamp": "1504900877487625"
  341. },
  342. {
  343. "app_name": "set",
  344. "app_data": "hangup_after_bridge=false",
  345. "app_stamp": "1504900877488070"
  346. },
  347. {
  348. "app_name": "set",
  349. "app_data": "cc_outbound_announce=/srv/shared/default_data/callix.com/sound_files/call_queue/call_notice_sound.wav",
  350. "app_stamp": "1504900877488380"
  351. },
  352. {
  353. "app_name": "set",
  354. "app_data": "hold_music=/srv/shared/default_data/callix.com/sound_files/call_queue/hold_sound.wav",
  355. "app_stamp": "1504900877488661"
  356. },
  357. {
  358. "app_name": "playback",
  359. "app_data": "/srv/shared/default_data/callix.com/sound_files/call_queue/welcome_sound.wav",
  360. "app_stamp": "1504900877489089"
  361. },
  362. {
  363. "app_name": "lua",
  364. "app_data": "/etc/freeswitch/scripts/delay_callback.lua 1 551123456789",
  365. "app_stamp": "1504900883708415"
  366. },
  367. {
  368. "app_name": "callcenter",
  369. "app_data": "0000000001_fila-de-suporte",
  370. "app_stamp": "1504900883716559"
  371. },
  372. {
  373. "app_name": "playback",
  374. "app_data": "/srv/shared/default_data/callix.com/sound_files/call_queue/hold_sound.wav",
  375. "app_stamp": "1504900972160883"
  376. },
  377. {
  378. "app_name": "set",
  379. "app_data": "result_cause=",
  380. "app_stamp": "1504900997445651"
  381. },
  382. {
  383. "app_name": "hangup",
  384. "app_data": "",
  385. "app_stamp": "1504900997446175"
  386. }
  387. ]
  388. },
  389. "callflow": [
  390. {
  391. "dialplan": "XML",
  392. "profile_index": "3",
  393. "extension": {
  394. "name": "0000000001_fila-de-suporte_recur_1",
  395. "number": "0000000001_fila-de-suporte",
  396. "applications": [
  397. {
  398. "app_name": "set",
  399. "app_data": "result_cause=${lua(${script_dir}/set_hangup_cause.lua)}"
  400. },
  401. {
  402. "app_name": "hangup",
  403. "app_data": ""
  404. }
  405. ]
  406. },
  407. "caller_profile": {
  408. "username": "551123456789",
  409. "dialplan": "XML",
  410. "caller_id_name": "551123456789",
  411. "ani": "551123456789",
  412. "aniii": "",
  413. "caller_id_number": "551123456789",
  414. "network_addr": "172.18.0.11",
  415. "rdnis": "",
  416. "destination_number": "0000000001_fila-de-suporte",
  417. "uuid": "d6318b56-c2ab-42e6-a426-b7dc00134212",
  418. "source": "mod_sofia",
  419. "context": "public",
  420. "chan_name": "sofia/internal/551123456789@callix.com",
  421. "originatee": {
  422. "originatee_caller_profiles": [
  423. {
  424. "username": "agent_0000000001_operador2",
  425. "dialplan": "XML",
  426. "caller_id_name": "agent_0000000001_operador2",
  427. "ani": "agent_0000000001_operador2",
  428. "aniii": "",
  429. "caller_id_number": "agent_0000000001_operador2",
  430. "network_addr": "172.18.0.11",
  431. "rdnis": "",
  432. "destination_number": "021969648749",
  433. "uuid": "2df59874-027d-4a48-9d6b-9f22c7339ddd",
  434. "source": "mod_sofia",
  435. "context": "public",
  436. "chan_name": "sofia/internal/021969648749"
  437. }
  438. ]
  439. }
  440. },
  441. "times": {
  442. "created_time": "1504900877436439",
  443. "profile_created_time": "1504900988655537",
  444. "progress_time": "0",
  445. "progress_media_time": "1504900877476076",
  446. "answered_time": "1504900877476076",
  447. "bridged_time": "1504900988718173",
  448. "last_hold_time": "0",
  449. "hold_accum_time": "0",
  450. "hangup_time": "1504900997435755",
  451. "resurrect_time": "0",
  452. "transfer_time": "0"
  453. }
  454. },
  455. {
  456. "dialplan": "XML",
  457. "profile_index": "2",
  458. "extension": {
  459. "name": "0000000001_fila-de-suporte_recur_1",
  460. "number": "0000000001_fila-de-suporte",
  461. "applications": [
  462. {
  463. "last_executed": "true",
  464. "app_name": "set",
  465. "app_data": "result_cause=${lua(${script_dir}/set_hangup_cause.lua)}"
  466. },
  467. {
  468. "app_name": "hangup",
  469. "app_data": ""
  470. }
  471. ],
  472. "current_app": "set"
  473. },
  474. "caller_profile": {
  475. "username": "551123456789",
  476. "dialplan": "XML",
  477. "caller_id_name": "551123456789",
  478. "ani": "551123456789",
  479. "aniii": "",
  480. "caller_id_number": "551123456789",
  481. "network_addr": "172.18.0.11",
  482. "rdnis": "",
  483. "destination_number": "0000000001_fila-de-suporte",
  484. "uuid": "d6318b56-c2ab-42e6-a426-b7dc00134212",
  485. "source": "mod_sofia",
  486. "context": "public",
  487. "chan_name": "sofia/internal/551123456789@callix.com",
  488. "originatee": {
  489. "originatee_caller_profiles": [
  490. {
  491. "username": "",
  492. "dialplan": "",
  493. "caller_id_name": "551123456789",
  494. "ani": "551123456789",
  495. "aniii": "",
  496. "caller_id_number": "551123456789",
  497. "network_addr": "172.18.0.11",
  498. "rdnis": "",
  499. "destination_number": "agent_0000000001_operador2",
  500. "uuid": "e9548886-9591-4bef-b6e8-bf1f39f7a3b3",
  501. "source": "src/switch_ivr_originate.c",
  502. "context": "default",
  503. "chan_name": "sofia/internal/agent_0000000001_operador2"
  504. }
  505. ]
  506. }
  507. },
  508. "times": {
  509. "created_time": "1504900877436439",
  510. "profile_created_time": "1504900941756336",
  511. "progress_time": "0",
  512. "progress_media_time": "1504900877476076",
  513. "answered_time": "1504900877476076",
  514. "bridged_time": "1504900941815514",
  515. "last_hold_time": "0",
  516. "hold_accum_time": "0",
  517. "hangup_time": "0",
  518. "resurrect_time": "0",
  519. "transfer_time": "1504900988655537"
  520. }
  521. },
  522. {
  523. "dialplan": "XML",
  524. "profile_index": "1",
  525. "extension": {
  526. "name": "0000000001_fila-de-suporte_recur_1",
  527. "number": "0000000001_fila-de-suporte",
  528. "applications": [
  529. {
  530. "app_name": "set",
  531. "app_data": "sip_h_X-TENANT_ID=1"
  532. },
  533. {
  534. "app_name": "set",
  535. "app_data": "sip_h_X-CALL_QUEUE_ID=2"
  536. },
  537. {
  538. "app_name": "set",
  539. "app_data": "sip_h_X-CALL_UUID=${call_uuid}"
  540. },
  541. {
  542. "app_name": "set",
  543. "app_data": "leg_timeout=60"
  544. },
  545. {
  546. "app_name": "set",
  547. "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"
  548. },
  549. {
  550. "app_name": "answer",
  551. "app_data": ""
  552. },
  553. {
  554. "app_name": "set_zombie_exec",
  555. "app_data": ""
  556. },
  557. {
  558. "app_name": "set",
  559. "app_data": "call_timeout=60"
  560. },
  561. {
  562. "app_name": "set",
  563. "app_data": "continue_on_fail=true"
  564. },
  565. {
  566. "app_name": "set",
  567. "app_data": "hangup_after_bridge=false"
  568. },
  569. {
  570. "app_name": "set",
  571. "app_data": "cc_outbound_announce=/srv/shared/default_data/callix.com/sound_files/call_queue/call_notice_sound.wav"
  572. },
  573. {
  574. "app_name": "set",
  575. "app_data": "hold_music=/srv/shared/default_data/callix.com/sound_files/call_queue/hold_sound.wav"
  576. },
  577. {
  578. "app_name": "playback",
  579. "app_data": "/srv/shared/default_data/callix.com/sound_files/call_queue/welcome_sound.wav"
  580. },
  581. {
  582. "app_name": "lua",
  583. "app_data": "${script_dir}/delay_callback.lua 1 ${caller_id_number}"
  584. },
  585. {
  586. "app_name": "callcenter",
  587. "app_data": "0000000001_fila-de-suporte"
  588. },
  589. {
  590. "last_executed": "true",
  591. "app_name": "set",
  592. "app_data": "result_cause=${lua(${script_dir}/set_hangup_cause.lua)}"
  593. },
  594. {
  595. "app_name": "hangup",
  596. "app_data": ""
  597. }
  598. ],
  599. "current_app": "set"
  600. },
  601. "caller_profile": {
  602. "username": "551123456789",
  603. "dialplan": "XML",
  604. "caller_id_name": "551123456789",
  605. "ani": "551123456789",
  606. "aniii": "",
  607. "caller_id_number": "551123456789",
  608. "network_addr": "172.18.0.11",
  609. "rdnis": "",
  610. "destination_number": "0000000001_fila-de-suporte",
  611. "uuid": "d6318b56-c2ab-42e6-a426-b7dc00134212",
  612. "source": "mod_sofia",
  613. "context": "public",
  614. "chan_name": "sofia/internal/551123456789@callix.com"
  615. },
  616. "times": {
  617. "created_time": "1504900877436439",
  618. "profile_created_time": "1504900877436439",
  619. "progress_time": "0",
  620. "progress_media_time": "1504900877476076",
  621. "answered_time": "1504900877476076",
  622. "bridged_time": "0",
  623. "last_hold_time": "0",
  624. "hold_accum_time": "0",
  625. "hangup_time": "0",
  626. "resurrect_time": "0",
  627. "transfer_time": "1504900941756336"
  628. }
  629. }
  630. ]
  631. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement