From Colorant Crocodile, 3 Years ago, written in Plain Text.
- go back
Embed
Viewing differences between and Untitled
  1. Contents :
  2. 1. syslog
  3. 2. core
  4. 3. freeswitch.log
  5.  
  6.  
  7. 1. syslog
  8. ----------
  9. Dec 31 23:45:17 fssbc0b kernel: [11094507.669548] freeswitch[6389]: segfault at 18 ip 00007f92ac99f599 sp 00007f92d630bcf0 error 4 in libtiff.so.5.2.6[7f92ac987000+73000]
  10.  
  11.  
  12. 2. core
  13. --------
  14. [New LWP 22196]
  15. [Thread debugging using libthread_db enabled]
  16. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  17. Core was generated by `/usr/local/freeswitch/bin/freeswitch -u root -g root -ncwait -nonat -scripts /m'.
  18. Program terminated with signal SIGSEGV, Segmentation fault.
  19. #0  0x00007f92ac99f599 in ?? () from /usr/lib/x86_64-linux-gnu/libtiff.so.5
  20. [Current thread is 1 (Thread 0x7f92d630c700 (LWP 6389))]
  21. (gdb) bt
  22. #0  0x00007f92ac99f599 in ?? () from /usr/lib/x86_64-linux-gnu/libtiff.so.5
  23. #1  0x00007f92ad2fe844 in close_tiff_output_file (s=0x7f8edcb2be48) at t4_rx.c:727
  24. #2  tiff_rx_release (s=0x7f8edcb2be48) at t4_rx.c:752
  25. #3  t4_rx_release (s=0x7f8edcb2be48) at t4_rx.c:1393
  26. #4  0x00007f92ad2e57c5 in terminate_operation_in_progress (s=s@entry=0x7f8edcb2be48) at t30.c:516
  27. #5  0x00007f92ad2e6949 in terminate_call (s=0x7f8edcb2be48) at t30.c:2740
  28. #6  0x00007f92ad2fc808 in t38_terminal_send_timeout (s=0x7f8edcb2be48, samples=samples@entry=160) at t38_terminal.c:1208
  29. #7  0x00007f92ad2c2cf9 in timer_thread_run (thread=<optimized out>, obj=<optimized out>) at mod_spandsp_fax.c:208
  30. #8  0x00007f92dfc2eba7 in dummy_worker (opaque=0x5650d84cc890) at threadproc/unix/thread.c:151
  31. #9  0x00007f92dee0d4a4 in start_thread (arg=0x7f92d630c700) at pthread_create.c:456
  32. #10 0x00007f92de480d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
  33. (gdb)
  34.  
  35. (gdb) l
  36. 722             for (i = 0;  i < s->current_page;  i++)
  37. 723             {
  38. 724                 if (!TIFFSetDirectory(t->tiff_file, (tdir_t) i))
  39. 725                     span_log(&s->logging, SPAN_LOG_WARNING, "%s: Failed to set directory to page %d.\n", s->tiff.file, i);
  40. 726                 TIFFSetField(t->tiff_file, TIFFTAG_PAGENUMBER, i, s->current_page);
  41. 727                 if (!TIFFWriteDirectory(t->tiff_file))
  42. 728                     span_log(&s->logging, SPAN_LOG_WARNING, "%s: Failed to write directory for page %d.\n", s->tiff.file, i);
  43. 729             }
  44. 730         }
  45. 731         TIFFClose(t->tiff_file);
  46.  
  47. (gdb) info locals
  48. i = 0
  49. t = 0x7f8edcb2d3d0
  50. (gdb)
  51. (gdb) p *t
  52. $2 = {file = 0x7f8edc03f3b0 "/mnt/fax/G25/18188149140/F250299118.tif", tiff_file = 0x7f8edcaf9700, image_type = 0, compression = 4, photo_metric = 0, fill_order = 0,
  53.   pages_in_file = 2, page_start_time = 1609476253, image_buffer = 0x7f8edcb40e30 "", image_size = 0, image_buffer_size = 475200}
  54.  
  55. (gdb) p *s
  56. $4 = {row_handler = 0x7f92ad2fd9e0 <tiff_row_write_handler>, row_handler_user_data = 0x7f8edcb2be48, supported_tiff_compressions = 8196, current_page = 2,
  57.   line_image_size = 418528, decoder = {no_decoder = {buf = 0x7f92ad2fd9e0 <tiff_row_write_handler> "H\205\366\017\204\237", buf_len = -592265656, buf_ptr = 32654},
  58.     t4_t6 = {row_write_handler = 0x7f92ad2fd9e0 <tiff_row_write_handler>, row_write_user_data = 0x7f8edcb2be48, encoding = 4, image_width = 1728, image_length = 2149,
  59.       bytes_per_row = 216, row_bits = 65, row_buf = 0x7f8edc0be7b0 "", row_is_2d = 0, row_len = 0, cur_runs = 0x7f8edcae53d0, ref_runs = 0x7f8edcae6ef0,
  60.       consecutive_eols = 6, a0 = 0, b1 = 1728, run_length = 0, black_white = 0, in_black = false, a_cursor = 0, b_cursor = 1, rx_bitstream = 0, rx_bits = 0,
  61.       rx_skip_bits = 0, pixel_stream = 0, pixels = 8, min_row_bits = 14, max_row_bits = 2649, compressed_image_size = 418352, curr_bad_row_run = 0,
  62.       longest_bad_row_run = 0, bad_rows = 0, logging = {level = 0, samples_per_second = 8000, elapsed_samples = 0, tag = 0x0, protocol = 0x7f92ad350edb "T.4/T.6",
  63.         span_message = 0x7f92ad2dea20 <default_message_handler>, user_data = 0x0}}, t85 = {row_write_handler = 0x7f92ad2fd9e0 <tiff_row_write_handler>,
  64.       row_write_user_data = 0x7f8edcb2be48, comment_handler = 0x6c000000004, comment_user_data = 0xd800000865, max_comment_len = 65, min_bit_planes = 0 '\000',
  65.       max_bit_planes = 0 '\000', max_xd = 3691767728, max_yd = 32654, bit_planes = 0 '\000', current_bit_plane = 0 '\000', xd = 0, yd = 3702412240, l0 = 32654,
  66.       mx = -592548112, options = 32654, p = {6, 0, 1728}, prev_row = {0x0, 0x100000000 <error: Cannot access memory at address 0x100000000>, 0x0}, row_buf = 0x0,
  67.       row_buf_len = 8, bytes_per_row = 1796808158218841, tx = 0, bie_len = 0, buffer = '\000' <repeats 12 times>, "@\037\000\000\000\000\000", buf_len = 0,
  68.       buf_needed = 0, comment = 0x7f92ad350edb "T.4/T.6", comment_len = 2905467424, comment_progress = 32658, x = 0, y = 0, i = 0, at_moves = 0, at_row = {0},
  69.       at_tx = {0}, row_h = {0, 0, 0}, pseudo = 0, lntp = 0, interrupt = 0, end_of_data = 0, s = {a = 0, c = 0, st = '\000' <repeats 4095 times>, ct = 0,
  70.         pscd_ptr = 0x0, pscd_end = 0x0, startup = 0, nopadding = 0}, compressed_image_size = 0, logging = {level = 0, samples_per_second = 0, elapsed_samples = 0,
  71.         tag = 0x0, protocol = 0x0, span_message = 0x0, user_data = 0x0}}, t42 = {row_write_handler = 0x7f92ad2fd9e0 <tiff_row_write_handler>,
  72.       row_write_user_data = 0x7f8edcb2be48, comment_handler = 0x6c000000004, comment_user_data = 0xd800000865, max_comment_len = 65, image_width = 0,
  73.       image_length = 3691767728, samples_per_pixel = 32654, image_type = 0, itu_ycc = 0, spatial_resolution = -592555056, lab = {range_L = 4.57580001e-41,
  74.         range_a = -3.92788984e+17, range_b = 4.57580001e-41, offset_L = 8.40779079e-45, offset_a = 0, offset_b = 2.42144375e-42, ab_are_signed = 0, x_n = 0, y_n = 0,
  75.         z_n = 0, x_rn = 1.40129846e-45, y_rn = 0, z_rn = 0}, illuminant_code = "\000\000\000", illuminant_colour_temperature = 0,
  76.       comment = 0xe00000008 <error: Cannot access memory at address 0xe00000008>, comment_len = 1796808158218841, compressed_image_size = 0, buf_size = 0,
  77.       compressed_buf = 0x0, in = 0x1f4000000000, escape = {{__jmpbuf = {0, 0, 140267947888347, 140267947420192, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = {
  78.             __val = {0 <repeats 16 times>}}}}, error_message = '\000' <repeats 199 times>, decompressor = {err = 0x0, mem = 0x0, progress = 0x0, client_data = 0x0,
  79.         is_decompressor = 0, global_state = 0, src = 0x0, image_width = 0, image_height = 0, num_components = 0, jpeg_color_space = JCS_UNKNOWN,
  80.         out_color_space = JCS_UNKNOWN, scale_num = 0, scale_denom = 0, output_gamma = 0, buffered_image = 0, raw_data_out = 0, dct_method = JDCT_ISLOW,
  81.         do_fancy_upsampling = 0, do_block_smoothing = 0, quantize_colors = 0, dither_mode = JDITHER_NONE, two_pass_quantize = 0, desired_number_of_colors = 0,
  82.         enable_1pass_quant = 0, enable_external_quant = 0, enable_2pass_quant = 0, output_width = 0, output_height = 0, out_color_components = 0,
  83.         output_components = 0, rec_outbuf_height = 0, actual_number_of_colors = 0, colormap = 0x0, output_scanline = 0, input_scan_number = 0, input_iMCU_row = 0,
  84.         output_scan_number = 0, output_iMCU_row = 0, coef_bits = 0x0, quant_tbl_ptrs = {0x0, 0x0, 0x0, 0x0}, dc_huff_tbl_ptrs = {0x0, 0x0, 0x0, 0x0},
  85.         ac_huff_tbl_ptrs = {0x0, 0x0, 0x0, 0x0}, data_precision = 0, comp_info = 0x0, progressive_mode = 0, arith_code = 0, arith_dc_L = '\000' <repeats 15 times>,
  86.         arith_dc_U = '\000' <repeats 15 times>, arith_ac_K = '\000' <repeats 15 times>, restart_interval = 0, saw_JFIF_marker = 0, JFIF_major_version = 0 '\000',
  87.         JFIF_minor_version = 0 '\000', density_unit = 0 '\000', X_density = 0, Y_density = 0, saw_Adobe_marker = 0, Adobe_transform = 0 '\000', CCIR601_sampling = 0,
  88.         marker_list = 0x0, max_h_samp_factor = 0, max_v_samp_factor = 0, min_DCT_scaled_size = 0, total_iMCU_rows = 0, sample_range_limit = 0x0, comps_in_scan = 0,
  89.         cur_comp_info = {0x0, 0x0, 0x0, 0x0}, MCUs_per_row = 0, MCU_rows_in_scan = 0, blocks_in_MCU = 0, MCU_membership = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, Ss = 0,
  90.         Se = 0, Ah = 0, Al = 0, unread_marker = 0, master = 0x0, main = 0x0, coef = 0x0, post = 0x0, inputctl = 0x0, marker = 0x0, entropy = 0x0, idct = 0x0,
  91.         upsample = 0x0, cconvert = 0x0, cquantize = 0x0}, end_of_data = 0, scan_line_out = 0x0, scan_line_in = 0x0, logging = {level = 0, samples_per_second = 0,
  92.         elapsed_samples = 0, tag = 0x0, protocol = 0x0, span_message = 0x0, user_data = 0x0}}, t43 = {row_write_handler = 0x7f92ad2fd9e0 <tiff_row_write_handler>,
  93.       row_write_user_data = 0x7f8edcb2be48, lab = {range_L = 5.60519386e-45, range_a = 2.42144375e-42, range_b = 3.0113904e-42, offset_L = 3.02680468e-43,
  94.         offset_a = 9.10844002e-44, offset_b = 0, ab_are_signed = -603199568, x_n = 4.57580001e-41, y_n = 0, z_n = 0, x_rn = -3.9255039e+17, y_rn = 4.57580001e-41,
  95.         z_rn = -3.92788984e+17}, t85 = {row_write_handler = 0x6, row_write_user_data = 0x6c0, comment_handler = 0x0, comment_user_data = 0x100000000,
  96.         max_comment_len = 0, min_bit_planes = 0 '\000', max_bit_planes = 0 '\000', max_xd = 0, max_yd = 0, bit_planes = 8 '\b', current_bit_plane = 0 '\000', xd = 14,
  97.         yd = 2649, l0 = 418352, mx = 0, options = 0, p = {0, 0, 0}, prev_row = {0x0, 0x0, 0x7f92ad350edb "T.4/T.6"},
  98.         row_buf = 0x7f92ad2dea20 <default_message_handler> "H\213\005a\225)", row_buf_len = 0, bytes_per_row = 0, tx = 0, bie_len = 0,
  99.         buffer = '\000' <repeats 19 times>, buf_len = 0, buf_needed = 0, comment = 0x0, comment_len = 0, comment_progress = 0, x = 0, y = 0, i = 0, at_moves = 0,
  100.         at_row = {0}, at_tx = {0}, row_h = {0, 0, 0}, pseudo = 0, lntp = 0, interrupt = 0, end_of_data = 0, s = {a = 0, c = 0, st = '\000' <repeats 4095 times>,
  101.           ct = 0, pscd_ptr = 0x0, pscd_end = 0x0, startup = 0, nopadding = 0}, compressed_image_size = 0, logging = {level = 0, samples_per_second = 0,
  102.           elapsed_samples = 0, tag = 0x0, protocol = 0x0, span_message = 0x0, user_data = 0x0}}, image_type = 0, bit_planes = {0, 0, 0, 0}, bit_plane_mask = 0 '\000',
  103.       current_bit_plane = 0, plane_ptr = 0, colour_map_entries = 0, colour_map = '\000' <repeats 767 times>, illuminant_code = "\000\000\000",
  104.       illuminant_colour_temperature = 0, spatial_resolution = 0, samples_per_pixel = 0, buf = 0x0, ptr = 0, row = 0, logging = {level = 0, samples_per_second = 0,
  105.         elapsed_samples = 0, tag = 0x0, protocol = 0x0, span_message = 0x0, user_data = 0x0}}}, image_put_handler = 0x7f92ad31ab20 <t4_t6_decode_put>,
  106.   current_decoder = 14, metadata = {compression = 4, image_width = 1728, image_length = 2149, x_resolution = 8040, y_resolution = 7700, vendor = 0x0, model = 0x0,
  107.     far_ident = 0x7f8edcb2fab8 "16262265827", sub_address = 0x0, dcs = 0x7f8edcb2d6e2 "00 63 1E"}, tiff = {
  108.     file = 0x7f8edc03f3b0 "/mnt/fax/G25/18188149140/F250299118.tif", tiff_file = 0x7f8edcaf9700, image_type = 0, compression = 4, photo_metric = 0, fill_order = 0,
  109.     pages_in_file = 2, page_start_time = 1609476253, image_buffer = 0x7f8edcb40e30 "", image_size = 0, image_buffer_size = 475200}, logging = {level = 0,
  110.     samples_per_second = 8000, elapsed_samples = 0, tag = 0x0, protocol = 0x7f92ad32c144 "T.4", span_message = 0x7f92ad2dea20 <default_message_handler>,
  111.     user_data = 0x0}}
  112. (gdb)
  113.  
  114.  
  115. (gdb) p *pvt->session
  116. $6 = {pool = 0x7f8d28c15df8, thread = 0x7f8d164d04a0, thread_id = 140266705929984, endpoint_interface = 0x7f92d40ea3d8, id = 10490192,
  117.   flags = (SSF_WARN_TRANSCODE | SSF_THREAD_STARTED | SSF_THREAD_RUNNING | SSF_READ_TRANSCODE), channel = 0x7f8d28c15ee0, event_hooks = {outgoing_channel = 0x0,
  118.     receive_message = 0x0, receive_event = 0x0, read_frame = 0x0, video_read_frame = 0x0, write_frame = 0x0, video_write_frame = 0x0, text_write_frame = 0x0,
  119.     text_read_frame = 0x0, kill_channel = 0x0, send_dtmf = 0x0, recv_dtmf = 0x0, state_change = 0x0, state_run = 0x0}, read_codec = 0x7f92632e36d0,
  120.   real_read_codec = 0x7f8d28e38ee0, write_codec = 0x7f8d28e38f40, real_write_codec = 0x0, video_read_codec = 0x0, video_write_codec = 0x0, read_impl = {
  121.     codec_type = SWITCH_CODEC_TYPE_AUDIO, ianacode = 100 'd', iananame = 0x5650d82f41b8 "L16", fmtp = 0x0, samples_per_second = 8000,
  122.     actual_samples_per_second = 8000, bits_per_second = 128000, microseconds_per_packet = 20000, samples_per_packet = 160, decoded_bytes_per_packet = 320,
  123.     encoded_bytes_per_packet = 320, number_of_channels = 1 '\001', codec_frames_per_packet = 160, init = 0x7f92df9c6d90 <switch_raw_init>,
  124.     encode = 0x7f92df9c6870 <switch_raw_encode>, decode = 0x7f92df9c6da0 <switch_raw_decode>, encode_video = 0x0, decode_video = 0x0, codec_control = 0x0,
  125.     destroy = 0x7f92df9c6980 <switch_raw_destroy>, codec_id = 6, impl_id = 27, modname = 0x5650d82f3510 "CORE_PCM_MODULE", next = 0x5650d82f4090}, real_read_impl = {
  126.     codec_type = SWITCH_CODEC_TYPE_AUDIO, ianacode = 0 '\000', iananame = 0x5650d82f8578 "PCMU", fmtp = 0x0, samples_per_second = 8000,
  127.     actual_samples_per_second = 8000, bits_per_second = 64000, microseconds_per_packet = 20000, samples_per_packet = 160, decoded_bytes_per_packet = 320,
  128.     encoded_bytes_per_packet = 160, number_of_channels = 1 '\001', codec_frames_per_packet = 160, init = 0x7f92df9c6d80 <switch_g711u_init>,
  129.     encode = 0x7f92df9c66f0 <switch_g711u_encode>, decode = 0x7f92df9c6e00 <switch_g711u_decode>, encode_video = 0x0, decode_video = 0x0, codec_control = 0x0,
  130.     destroy = 0x7f92df9c6d70 <switch_g711u_destroy>, codec_id = 123, impl_id = 138, modname = 0x5650d82f7c70 "CORE_PCM_MODULE", next = 0x5650d82f8450}, write_impl = {
  131.     codec_type = SWITCH_CODEC_TYPE_AUDIO, ianacode = 0 '\000', iananame = 0x5650d82f8578 "PCMU", fmtp = 0x0, samples_per_second = 8000,
  132.     actual_samples_per_second = 8000, bits_per_second = 64000, microseconds_per_packet = 20000, samples_per_packet = 160, decoded_bytes_per_packet = 320,
  133.     encoded_bytes_per_packet = 160, number_of_channels = 1 '\001', codec_frames_per_packet = 160, init = 0x7f92df9c6d80 <switch_g711u_init>,
  134.     encode = 0x7f92df9c66f0 <switch_g711u_encode>, decode = 0x7f92df9c6e00 <switch_g711u_decode>, encode_video = 0x0, decode_video = 0x0, codec_control = 0x0,
  135.     destroy = 0x7f92df9c6d70 <switch_g711u_destroy>, codec_id = 123, impl_id = 138, modname = 0x5650d82f7c70 "CORE_PCM_MODULE", next = 0x5650d82f8450},
  136.   video_read_impl = {codec_type = SWITCH_CODEC_TYPE_AUDIO, ianacode = 0 '\000', iananame = 0x0, fmtp = 0x0, samples_per_second = 0, actual_samples_per_second = 0,
  137.     bits_per_second = 0, microseconds_per_packet = 0, samples_per_packet = 0, decoded_bytes_per_packet = 0, encoded_bytes_per_packet = 0,
  138.     number_of_channels = 0 '\000', codec_frames_per_packet = 0, init = 0x0, encode = 0x0, decode = 0x0, encode_video = 0x0, decode_video = 0x0, codec_control = 0x0,
  139.     destroy = 0x0, codec_id = 0, impl_id = 0, modname = 0x0, next = 0x0}, video_write_impl = {codec_type = SWITCH_CODEC_TYPE_AUDIO, ianacode = 0 '\000',
  140.     iananame = 0x0, fmtp = 0x0, samples_per_second = 0, actual_samples_per_second = 0, bits_per_second = 0, microseconds_per_packet = 0, samples_per_packet = 0,
  141.     decoded_bytes_per_packet = 0, encoded_bytes_per_packet = 0, number_of_channels = 0 '\000', codec_frames_per_packet = 0, init = 0x0, encode = 0x0, decode = 0x0,
  142.     encode_video = 0x0, decode_video = 0x0, codec_control = 0x0, destroy = 0x0, codec_id = 0, impl_id = 0, modname = 0x0, next = 0x0}, read_resampler = 0x0,
  143.   write_resampler = 0x0, mutex = 0x7f8d28c16770, resample_mutex = 0x7f8d28c167c0, codec_read_mutex = 0x7f8d28c16810, codec_write_mutex = 0x7f8d28c16860,
  144.   video_codec_read_mutex = 0x7f8d28c168b0, video_codec_write_mutex = 0x7f8d28c16900, cond = 0x7f8d28c16a00, frame_read_mutex = 0x7f8d28c16950,
  145.   rwlock = 0x7f8d28c16a58, io_rwlock = 0x7f8d28c16ab8, streams = {0x0 <repeats 128 times>}, stream_count = 1,
  146.   uuid_str = "539f46f6-138b-4bbf-84c3-b8e34d6e0619", '\000' <repeats 220 times>, private_info = {0x7f8d28b5a958, 0x0}, event_queue = 0x7f8d28b58d38,
  147.   message_queue = 0x7f8d28c16b18, signal_data_queue = 0x7f8d28c17478, private_event_queue = 0x7f8d28b59698, private_event_queue_pri = 0x7f8d28b59ff8,
  148.   bug_rwlock = 0x7f8d28c169a0, bugs = 0x0, app_log = 0x7f8d290c9588, stack_count = 0, raw_write_buffer = 0x0, raw_write_frame = {codec = 0x7f92632e36d0, source = 0x0,
  149.     packet = 0x0, packetlen = 0, extra_data = 0x0, data = 0x7f8d2909c3b8, datalen = 8192, buflen = 8192, samples = 0, rate = 0, channels = 0, payload = 0 '\000',
  150.     timestamp = 0, seq = 0, ssrc = 0, m = SWITCH_FALSE, flags = 0, user_data = 0x0, pmap = 0x0, img = 0x0, geometry = {w = 0, h = 0, x = 0, y = 0, z = 0, M = 0,
  151.       X = 0}}, enc_write_frame = {codec = 0x7f8d28e38f40, source = 0x0, packet = 0x0, packetlen = 0, extra_data = 0x0, data = 0x7f8d2909e3b8, datalen = 160,
  152.     buflen = 8192, samples = 160, rate = 0, channels = 1, payload = 0 '\000', timestamp = 0, seq = 0, ssrc = 0, m = SWITCH_FALSE, flags = 0, user_data = 0x0,
  153.     pmap = 0x0, img = 0x0, geometry = {w = 0, h = 0, x = 0, y = 0, z = 0, M = 0, X = 0}}, raw_write_buf = '\000' <repeats 8191 times>,
  154.   enc_write_buf = "\377\246N'\277\250\070*\261\254-/\253\264);\247\306&[\246]&Ƨ;)\264\253/-\254\261*8\250\277'M\246\377&Χ?(\270\252\061,\255\257+4\251\273'F\246\333&ݦF'\273\251\064+\257\255,1\252\270(?\247\315&\377\246N'\277\250\070*\261\254-/\253\264);\247\306&[\246]&Ƨ;)\264\253/-\254\261*8\250\277'M\246\377&Χ?(\270\252\061,\255\257+4\251\273'F\246\333&ݦF'\273\251\064+\257\255,1\252\270(?\247\315&", '\000' <repeats 8031 times>, raw_read_buffer = 0x0, raw_read_frame = {
  155.     codec = 0x7f92632e36d0, source = 0x0, packet = 0x0, packetlen = 0, extra_data = 0x0, data = 0x7f8d290a04f0, datalen = 320, buflen = 8192, samples = 160,
  156.     rate = 8000, channels = 1, payload = 100 'd', timestamp = 25600, seq = 160, ssrc = 1310506848, m = SWITCH_FALSE, flags = 0, user_data = 0x0, pmap = 0x0,
  157. ---Type <return> to continue, or q <return> to quit---
  158.     img = 0x0, geometry = {w = 0, h = 0, x = 0, y = 0, z = 0, M = 0, X = 0}}, enc_read_frame = {codec = 0x7f92632e36d0, source = 0x0, packet = 0x0, packetlen = 0,
  159.     extra_data = 0x0, data = 0x7f8d290a24f0, datalen = 8192, buflen = 8192, samples = 0, rate = 0, channels = 0, payload = 0 '\000', timestamp = 0, seq = 0, ssrc = 0,
  160.     m = SWITCH_FALSE, flags = 0, user_data = 0x0, pmap = 0x0, img = 0x0, geometry = {w = 0, h = 0, x = 0, y = 0, z = 0, M = 0, X = 0}},
  161.   raw_read_buf = '\000' <repeats 8191 times>, enc_read_buf = '\000' <repeats 8191 times>, video_raw_write_buffer = 0x0, video_raw_write_frame = {codec = 0x0,
  162.     source = 0x0, packet = 0x0, packetlen = 0, extra_data = 0x0, data = 0x0, datalen = 0, buflen = 0, samples = 0, rate = 0, channels = 0, payload = 0 '\000',
  163.     timestamp = 0, seq = 0, ssrc = 0, m = SWITCH_FALSE, flags = 0, user_data = 0x0, pmap = 0x0, img = 0x0, geometry = {w = 0, h = 0, x = 0, y = 0, z = 0, M = 0,
  164.       X = 0}}, video_raw_read_buffer = 0x0, video_raw_read_frame = {codec = 0x0, source = 0x0, packet = 0x0, packetlen = 0, extra_data = 0x0, data = 0x0, datalen = 0,
  165.     buflen = 0, samples = 0, rate = 0, channels = 0, payload = 0 '\000', timestamp = 0, seq = 0, ssrc = 0, m = SWITCH_FALSE, flags = 0, user_data = 0x0, pmap = 0x0,
  166.     img = 0x0, geometry = {w = 0, h = 0, x = 0, y = 0, z = 0, M = 0, X = 0}}, bug_codec = {codec_interface = 0x0, implementation = 0x0, fmtp_in = 0x0, fmtp_out = 0x0,
  167.     flags = 0, memory_pool = 0x0, private_info = 0x0, agreed_pt = 0 '\000', mutex = 0x0, next = 0x0, session = 0x0, cur_frame = 0x0}, read_frame_count = 0,
  168.   track_duration = 0, track_id = 0, loglevel = SWITCH_LOG_CONSOLE, soft_lock = 0, dmachine = {0x0, 0x0}, plc = 0x0, media_handle = 0x7f8d28e386b8, decoder_errors = 0,
  169.   video_read_callback = 0x0, video_read_user_data = 0x0, text_read_callback = 0x0, text_read_user_data = 0x0, io_override = 0x0, sdata = 0x0, text_buffer = 0x0,
  170.   text_line_buffer = 0x0, text_mutex = 0x0}
  171. (gdb)
  172.  
  173.  
  174. 3. freeswitch.log  
  175. ------------------
  176. root@fssbc0b [Fri Jan 01 09:58 AM]  /usr/local/freeswitch/log                   #### grep for session uuid
  177. <3>:grep 539f46f6-138b-4bbf-84c3-b8e34d6e0619   freeswitch.log
  178. 539f46f6-138b-4bbf-84c3-b8e34d6e0619 2020-12-31 23:43:40.090588 [NOTICE] switch_channel.c:1104 New Channel sofia/ha0_external/18187683000@10.10.10.121 [539f46f6-138b-4bbf-84c3-b8e34d6e0619]
  179. 539f46f6-138b-4bbf-84c3-b8e34d6e0619 2020-12-31 23:43:40.090588 [INFO] mod_dialplan_xml.c:637 Processing 18187683000 <18187683000>->18188149140 in context public
  180. 539f46f6-138b-4bbf-84c3-b8e34d6e0619 2020-12-31 23:43:40.130585 [ALERT] mod_dptools.c:1809 cnam dip not enabled for dnis = 18188149140
  181. 539f46f6-138b-4bbf-84c3-b8e34d6e0619 2020-12-31 23:43:40.130585 [NOTICE] switch_ivr.c:2231 Transfer sofia/ha0_external/18187683000@10.10.10.121 to XML[18188149140@30348.cmvtele.com]
  182. 539f46f6-138b-4bbf-84c3-b8e34d6e0619 2020-12-31 23:43:40.130585 [INFO] mod_dialplan_xml.c:637 Processing 18187683000 <18187683000>->18188149140 in context 30348.cmvtele.com
  183. 539f46f6-138b-4bbf-84c3-b8e34d6e0619 2020-12-31 23:43:40.270586 [NOTICE] mod_dptools.c:1377 Channel [sofia/ha0_external/18187683000@10.10.10.121] has been answered
  184.  
  185.  
  186. bottom of log
  187.  
  188. 2020-12-31 23:44:54.890587 [WARNING] sofia_reg.c:2941 Can't find user [99@29363.cmvtele.com] from 10.10.100.20
  189. You must define a domain called '29363.cmvtele.com' in your directory and add a user with the id="99" attribute
  190. and you must configure your device to use the proper domain in it's authentication credentials.
  191. c82d6bd3-9391-49d7-b262-8dfdc33c61a5 2020-12-31 23:44:59.230589 [NOTICE] switch_core_state_machine.c:386 sofia/ha0_external/18187683000@10.10.10.121 has executed the last dialplan instruction, hanging up.
  192. c82d6bd3-9391-49d7-b262-8dfdc33c61a5 2020-12-31 23:44:59.230589 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/ha0_external/18187683000@10.10.10.121 [CS_EXECUTE] [NORMAL_CLEARING]
  193. 2020-12-31 23:44:59.230589 [ALERT] switch_cpp.cpp:1443 api.lua trying primary_url = http://ha0.xmlcurl.cmvlocal.com/api/default.aspx
  194. 2020-12-31 23:44:59.270590 [ALERT] switch_cpp.cpp:1443 api.lua primary_url_post_response = ok
  195. c82d6bd3-9391-49d7-b262-8dfdc33c61a5 2020-12-31 23:44:59.270590 [NOTICE] switch_core_session.c:1733 Session 10490193 (sofia/ha0_external/18187683000@10.10.10.121) Ended
  196. c82d6bd3-9391-49d7-b262-8dfdc33c61a5 2020-12-31 23:44:59.270590 [NOTICE] switch_core_session.c:1737 Close Channel sofia/ha0_external/18187683000@10.10.10.121 [CS_DESTROY]
  197. 2020-12-31 23:45:01.910589 [NOTICE] mod_cdr_csv.c:127 Rotated CDR logfile /usr/local/freeswitch/log/cdr-csv/Master.csv
  198. 2020-12-31 23:45:04.610587 [WARNING] sofia_reg.c:2941 Can't find user [99@29363.cmvtele.com] from 10.10.100.20
  199. You must define a domain called '29363.cmvtele.com' in your directory and add a user with the id="99" attribute
  200. and you must configure your device to use the proper domain in it's authentication credentials.
  201. 2020-12-31 23:45:15.510590 [WARNING] sofia_reg.c:2941 Can't find user [99@29363.cmvtele.com] from 10.10.100.20
  202. You must define a domain called '29363.cmvtele.com' in your directory and add a user with the id="99" attribute
  203. and you must configure your device to use the proper domain in it's authentication credentials.
  204.