#0 __clock_nanosleep (clock_id=<optimized out>, flags=0, req=0x7f04383d1d50, rem=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
#1 0x00007f04aec9778b in do_sleep (t=<optimized out>) at src/switch_time.c:173
#2 0x00007f04aec63036 in recording_thread (thread=<optimized out>, obj=<optimized out>) at src/switch_ivr_async.c:1271
#3 0x00007f04aef17647 in dummy_worker (opaque=0x7f04001e3668) at threadproc/unix/thread.c:151
#4 0x00007f04ad9f74a4 in start_thread (arg=0x7f04383d2700) at pthread_create.c:456
#5 0x00007f04ad739d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
(gdb) print ((switch_media_bug_t)(*(apr_thread_t*)opaque)->data)
$200 = {
raw_write_buffer = 0x7f04001dd1e8,
raw_read_buffer = 0x7f04aec62d50 <recording_thread>,
read_replace_frame_in = 0x100000000,
read_replace_frame_out = 0x7f04383d2700,
write_replace_frame_in = 0x7571696e75202265,
write_replace_frame_out = 0x3935223d64692d65,
native_read_frame = 0x642d636564363134,
native_write_frame = 0x656234342d373462,
callback = 0x33382d653632622d,
read_mutex = 0x3664326361323239,
write_mutex = 0x6e6f6c6320223635,
session = 0x6132223d666f2d65,
user_data = 0x662d336333343033,
flags = 761541685,
ready = 52 '4',
data = "051-bb4c-3de46abe2602\" profile_index=\"4\">\n <extension name=\"inline\" number=\"inline\">\n <application app_name=\"set\" app_data=\"playback_delimiter=~\"></application>\n <application app_name=\"set\" app_data=\"app_uuid=emds.cloud.epbx.com af8a4ca9-33bd-4701-acfe-497a29f53b5b\"></application>\n <application app_name=\"play_and_get_digits\" app_data=\"1 1 4 5000 _ https://manage.coredial.com/ivr/emds/Prompts/470.wav~https://manage.coredial.com/ivr/emds/Prompts/479.wav~https://manage.coredial.com/ivr/emds/Prompts/484.wav silence_stream://10 dtmf (^#$)|(^\\*$)|(^0$)|(^9$)|(^8$)|(^7$)|(^6$)|(^5$)|(^4$)|(^3$)|(^2$)|(^1$) 5000\"></application>\n <application app_name=\"set\" app_data=\"park_reason=playback_stopped\"></application>\n <application app_name=\"park\" app_data=\"\"></application>\n </extension>\n <caller_profile>\n <username>5087524511</username>\n <dialplan>inline</dialplan>\n <caller_id_name>5087524511</caller_id_name>\n <caller_id_number>5087524511</caller_id_number>\n <callee_id_name></callee_id_name>\n <callee_id_number></callee_id_number>\n <ani>5087524511</ani>\n <aniii></aniii>\n <network_addr>10.0.28.87</network_addr>\n <rdnis></rdnis>\n <destination_number>18669606890</destination_number>\n <uuid>70c78423-0356-4b01-9c6e-2073ed36a260</uuid>\n <source>mod_sofia</source>\n <transfer_source>1587560300:59416dec-db47-44be-b26e-83922ac2d656:bl_xfer:set:playback_delimiter=~,set:app_uuid=emds.cloud.epbx.com af8a4ca9-33bd-4701-acfe-497a29f53b5b,play_and_get_digits:1 1 4 5000 _ https://manage.coredial.com/ivr/emds/Prompts/470.wav~https://manage.coredial.com/ivr/emds/Prompts/479.wav~https://manage.coredial.com/ivr/emds/Prompts/484.wav silence_stream://10 dtmf (^#$)|(^\\*$)|(^0$)|(^9$)|(^8$)|(^7$)|(^6$)|(^5$)|(^4$)|(^3$)|(^2$)|(^1$) 5000,set:park_reason=playback_stopped,park:/default/inline</transfer_source>\n <context>default</context>\n <chan_name>sofia/internal/5087524511@emds.cloud.epbx.com:5060</chan_name>\n </caller_profile>\n <times>\n <created_time>1587560290351118</created_time>\n <profile_created_time>1587560300811101</profile_created_time>\n <progress_time>0</progress_time>\n <progress_media_time>1587560290391095</progress_media_time>\n <answered_time>1587560290391095</answered_time>\n <bridged_time>0</bridged_time>\n <last_hold_time>0</last_hold_time>\n <hold_accum_time>0</hold_accum_time>\n <hangup_time>0</hangup_time>\n <resurrect_time>0</resurrect_time>\n <transfer_time>1587560319711110</transfer_time>\n </times>\n </callflow>\n <callflow dialplan=\"inline\" unique-id=\"2a3043c3-f54d-4051-bb4c-3de46abe2602\" clone-of=\"4ac1ab4b-e4d4-4526-bc1b-d9746ff429d2\" profile_index=\"3\">\n <extension name=\"inline\" number\201q\000\000\000\000\000\000\270\a\000\000\004\177\000\000\270\a\000\000\004\177\000\000\300A\036\000\004\177\000\000\300A\036\000\004\177\000\000\320a\036\000\004\177\000\000\350\335\330\257jU\000\000\000\000\000\000\000\000\000\000\370{I0\004\177\000\000(\202\036\000\004\177", '\000' <repeats 18 times>, "\360\237X\000\004\177", '\000' <repeats 18 times>, "\210E\036\000\004\177\000\000\300B\036\000\004\177\000\000pB\036\000\004\177\000\000\320A\036\000\004\177\000\000\320A\036\000\004\177\000\000pB\036\000\004\177\000\000\370A\036\000\004\177", '\000' <repeats 18 times>, "\377\377\377\377", '\000' <repeats 28 times>, "pB\036\000\004\177\000\000\000\024\361\256\004\177\000\000\240\062\361\256\004\177\000\000mod_event_socket.c:2339\000\bD\036\000\004\177\000\000 D\036\000\004\177\000\000\310U\276\065\004\177\000\000blue-house-rentals.cloud.epbx.com 89838195-a1b5-491f-8a2e-7bda1d43a1f1", '\000' <repeats 190 times>, "\001\000\000\000\001\000\000\000\000\000\000\000\370A\036\000\004\177\000\000uuid_setvar_multi\000\000=\"\"><f4f6c97a-7ea6-4f9f-8ac6-387e86f41ec8 RECORD_COPYRIGHT=(c) 2020;RECORD_SOFTWARE=FreeSWITCH;RECORD_ARTIST=FreeSWITCH;RECORD_COMMENT=FreeSWITCH;RECORD_DATE=2020-04-22 08:12:44;RECORD_STEREO=false;record_sample_rate=8000;recording_follow_transfer=false\000\000</call\370A\036\000\004\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\020", '\000' <repeats 15 times>, "\300\003", '\000' <repeats 21 times>, "\001\000\000\000\060\070\067\065\240B\036\000\004\177\000\000 E\036\000\004\177\000\000\340u\361\256\004\177\000\000\240\062\361\256\004\177\000\000\370A\036\000\004\177\000\000\320E\036\000\004\177\000\000_addr>10.0.28.87</network_addr>\n\001\000\000\000\017\000\000\000`\347\360\256\004\177", '\000' <repeats 114 times>, "`F\036\000\004\177", '\000' <repeats 18 times>, "_in_thread\000ource\000\000\000\000\000\000\000\000\r\324LrnsfePF\036\000\004\177\000\000\n\000\000\000\000\000\000\000H5\"\257\004\177\000\000\bb\036\000\004\177\000\000\260F\036\000\004\177\000\000\330B\036\000\004\177\000\000 \224\342\245\004\177\000\000\000\000\000\000\001\000\000\000\000w\253\233\003\177\000\000yback_delimiter=~,set:app_uuid=emds.cloud.epbx.com 8e5ff16f-c250-41e4-b18a-3287c9bcceb5,play_and_get_digits:1 1 4 5000 _ https://manage.coredial.com/ivr/emds/Prompts/482.wav silence_stream://10 dtmf (^#$)|(^\\*$)|(^0$)|(^9$)|(^8$)|(^7$)|(^6$)|(^5$)|(^4$)|(^3$)|(^2$)|(^1$) 5000,set:park_reason=playback_stopped,park:/default/inline</transfer_source>\n <context>default</context>\n <chan_name>sofia/internal/5087524511@emds.cloud.epbx.com:5060</chan_name>\n </caller_profile>\n <times>\n <created_time>1587560290351118</created_time>\n <profile_created_time>1587560296611106</profile_created_time>\n <progress_time>0</progress_time>\n <progress_media_time>1587560290391095</progress_media_time>\n <answered_time>1587560290391095</answered_time>\n <bridged_time>0</bridged_time>\n <last_hold_time>0</last_hold_time>\n <hold_accum_time>0</hold_accum_time>\n <hangup_time>0</hangup_time>\n <resurrect_time>0</resurrect_time>\n <transfer_time>1587560300811101</transfer_time>\n </times>\n </callflow>\n <callflow dialplan=\"inline\" unique-id=\"4ac1ab4b-e4d4-4526-bc1b-d9746ff429d2\" clone-of=\"cdb02eb2-569e-4b13-97ae-ea687d45526a\" profile_index=\"2\">\n <extension name=\"inline\" number=\"inline\">\n <application app_name=\"set\" app_data=\"playback_delimiter=~\"></application>\n <application app_name=\"unset\" app_data=\"transfer_history\"></application>\n <application app_name=\"set\" app_data=\"app_uuid=emds.cloud.epbx.com b462bd44-708b-4084-b494-6d645d397589\"></application>\n <application app_name=\"playback\" app_data=\"https://manage.coredial.com/ivr/emds/Prompts/343.wav~https://manage.coredial.com/ivr/emds/Prompts/481.wav\"></application>\n <application app_name=\"set\" app_data=\"park_reason=playback_stopped\"></application>\n <application app_name=\"park\" app_data=\"\"></application>\n </extension>\n <caller_profile>\n <username>5087524511</username>\n <dialplan>inline</dialplan>\n <caller_id_name>5087524511</caller_id_name>\n <caller_id_number>5087524511</caller_id_number>\n <callee_id_name></callee_id_name>\n <callee_id_number></callee_id_number>\n <ani>5087524511</ani>\n <aniii></aniii>\n <network_addr>10.0.28.87</network_addr>\n <rdnis></rdnis>\n <destination_number>18669606890</destination_number>\n <uuid>70c78423-0356-4b01-9c6e-2073ed36a260</uuid>\n <source>mod_sofia</source>\n <transfer_source>1587560290:4ac1ab4b-e4d4-4526-bc1b-d9746ff429d2:bl_xfer:set:playback_delimiter=~,unset:transfer_history,set:app_uuid=emds.cloud.epbx.com b462bd44-708b-4084-b494-6d645d397589,playback:https://manage.coredial.com/ivr/emds/Prompts/343.wav~https://manage.coredial.com/ivr/emds/Prompts/481.wav,set:park_reason=playback_stopped,park:/default/inline</transfer_source>\n <context>default</context>\n <chan_name>sofia/internal/5087524511@emds.cloud.epbx.com:5060</chan_name>\n </caller_profile>\n <times>\n <created_time>1587560290351118</created_time>\n <profile_created_time>1587560290431103</profile_created_time>\n <progress_time>0</progress_time>\n <progress_media_time>1587560290391095</progress_media_time>\n <answered_time>1587560290391095</answered_time>\n <bridged_time>0</bridged_time>\n <last_hold_time>0</last_hold_time>\n <hold_accum_time>0</hold_accum_time>\n <hangup_time>0</hangup_time>\n <resurrect_time>0</resurrect_time>\n <transfer_time>1587560296611106</transfer_time>\n </times>\n </callflow>\n <callflow dialplan=\"XML\" unique-id=\"cdb02eb2-569e-4b13-97ae-ea687d45526a\" profile_index=\"1\">\n <extension name=\"01_accept_sip_authorized_recur_1\" number=\"18669606890\">\n <application app_name=\"set\" app_data=\"park_reason=emds_new_call\"></application>\n <application app_name=\"park\" app_data=\"\"></application>\n </extension>\n <caller_profile>\n <username>5087524511</username>\n <dialplan>XML</dialplan>\n <caller_id_name>5087524511</caller_id_name>\n <caller_id_number>5087524511</caller_id_number>\n <callee_id_name></callee_id_name>\n <callee_id_number></callee_id_number>\n <ani>5087524511",
stop_time = 6709112638126170767,
thread_id = 14434373968041043491,
function = 0x94767f9ea9a1aa86 <error: Cannot access memory at address 0x94767f9ea9a1aa86>,
target = 0xc8d5f041b76ca6c2 <error: Cannot access memory at address 0xc8d5f041b76ca6c2>,
read_impl = {
codec_type = 3571857414,
ianacode = 12 '\f',
iananame = 0xc12783c48c506d4c <error: Cannot access memory at address 0xc12783c48c506d4c>,
fmtp = 0xb674759e3d598413 <error: Cannot access memory at address 0xb674759e3d598413>,
samples_per_second = 979239640,
actual_samples_per_second = 1119910544,
bits_per_second = 1793880630,
microseconds_per_packet = -990913459,
samples_per_packet = 403955456,
decoded_bytes_per_packet = 2015780695,
encoded_bytes_per_packet = 2030753480,
number_of_channels = 119 'w',
codec_frames_per_packet = -1514572105,
init = 0x5f1195abe16fea10,
encode = 0xf25b834d5ca33c6d,
decode = 0x2870b8b808a19b3,
encode_video = 0x243026a301000103,
decode_video = 0x1131d5503061230,
codec_control = 0x10106300804ff01,
destroy = 0x3060e30030102ff,
codec_id = 17767765,
impl_id = 67436289,
modname = 0x4434e61bc6010203 <error: Cannot access memory at address 0x4434e61bc6010203>,
next = 0x43845e80f470919f
},
write_impl = {
codec_type = 273,
ianacode = 0 '\000',
iananame = 0x7f0400637e90 "X\005",
fmtp = 0x7f0400000078 "p\370c",
samples_per_second = 3688545356,
actual_samples_per_second = 2182817774,
bits_per_second = -330994969,
microseconds_per_packet = -2058384618,
samples_per_packet = 1890775968,
decoded_bytes_per_packet = 3130415805,
encoded_bytes_per_packet = 4000149194,
number_of_channels = 70 'F',
codec_frames_per_packet = -1282003414,
init = 0x97a898ee37b2a89f,
encode = 0x49a6d42767b62eb6,
decode = 0x2f429e7665931cfd,
encode_video = 0x155af24f9a6c22dc,
decode_video = 0x6de8512bd771b139,
codec_control = 0x82a1f42ad9c0981c,
destroy = 0x740123a241c9d57b,
codec_id = 260789560,
impl_id = 2724671161,
modname = 0x17d30b9cda370420 <error: Cannot access memory at address 0x17d30b9cda370420>,
next = 0x846f3479978fe021
},
record_frame_size = 857735752,
record_pre_buffer_count = 1144317467,
record_pre_buffer_max = 4101018015,
ping_frame = 0x61e414126cd229c2,
video_ping_frame = 0xbb50849e9010ac8d,
read_demux_frame = 0xcaf38a9f456f96f0,
read_video_queue = 0x4615153a11fa4f6c,
write_video_queue = 0x12412d5b831fcdc3,
spy_video_queue = {0xab213d13416750ed, 0xfbb1c17c4eaa8a94},
spy_img = {0x6eab972f27b5d6a7, 0x441f2c1cd1e21de0},
spy_fmt = (SPY_DUAL_CROP | unknown: 2445212896),
video_bug_thread = 0x43d8539f86735329,
text_buffer = 0x801d718263d65d0e,
text_framedata = 0x5ad96b02e2f6ca74 <error: Cannot access memory at address 0x5ad96b02e2f6ca74>,
text_framesize = 1120,
mm = {
samplerate = 36,
channels = 0,
keyint = 1987808,
ab = 32516,
vb = 2007744,
vw = 32516,
vh = 112,
cbr = 0,
fps = 4.04975256e-43,
source_fps = 0,
vbuf = 6520464,
vprofile = (unknown: 32516),
vencspd = (unknown: 6278816),
try_hardware_encoder = 4 '\004',
scale_w = 1936674848,
scale_h = 1313025908,
fmt = 1852786749,
auth_username = 0x522074736f502067 <error: Cannot access memory at address 0x522074736f502067>,
auth_password = 0x3120414320746f6f <error: Cannot access memory at address 0x3120414320746f6f>
},
next = 0x0
}
(gdb)