Difference between revisions of "User cannot see Recordings"
From Kolmisoft Wiki
Jump to navigationJump to search
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
= Troubleshooting = | = Troubleshooting = | ||
Check recording log: /var/log/mor/ | Check recording log: /var/log/mor/mor_record_file.log | ||
== Not enough space allowed for User to store recording == | |||
Recording will be hidden from User, but available to admin if User has not enough space allocated to store more recordings. | |||
1390421036.12 - Date: 2014-01-22 18:04:31, uniqueid: 1390421036.12, src_device_id: 2, dst_device_id: 0, visible_to_user: 1, visible_to_dst_user: 0 | |||
1390421036.12 - Server details retrieved: enabled: 0, IP: , port: 22, login: root, max space: 100.000000 | |||
1390421036.12 - Call details retrieved: id: 7, calldate: 2014-01-22 18:03:56, src: 1000180, dst: M19CLARON#19991790675, user_id: 2 | |||
1390421036.12 - Device details retrieved: device id: 2, user id: 2 | |||
1390421036.12 - No details retrieved for device (id = 0) | |||
1390421036.12 - Converting and storing file locally | |||
1390421036.12 - /usr/local/bin/lame --resample 44.1 -b 32 -a /var/spool/asterisk/monitor/1390421036.12.wav /var/spool/asterisk/monitor/1390421036.12.mp3 | |||
1390421036.12 - MP3 size: 87353 | |||
1390421036.12 - INSERT INTO recordings (call_id, datetime, src, dst, src_device_id, dst_device_id, uniqueid, size, user_id, dst_user_id, visible_to_user, visible_to_dst_user, local) VALUES (7, '2014-01-22 1:03:56', '1000180', 'M19CLARON#19991790675', '2', '0', '1390421036.12', '87353', '2', '0', '1', '0', '1'); | |||
1390421036.12 - Executing recording email/deleting control script | |||
1390421036.12 - /usr/local/mor/mor_record_control 1390421036.12 1 | |||
1390421036.12 - mor_record_control script starting | |||
1390421036.12 - Date: 4436853-11-05 21:12:32, uniqueid: 1390421036.12, local: 1 | |||
1390421036.12 - Device (src) details retrieved: email1: , email2: johnny@grupohedge.com.br, email3: , quota: 104, send: 0, keep: 1, sum: 87353, call date: 2014-01-22 18:03:56, billsec: 22, src: 1000180, dst: M19CLARON#19991790675, mp3 size: 87353, user_forced: 1, device_forced: 1, device_record: 1 | |||
1390421036.12 - Used space on /var/spool/asterisk/monitor is: 9% | |||
'''1390421036.12 - SRC quota: 104, taken: 87353 -> NOT ENOUGH space to store current recording''' | |||
1390421036.12 - DST quota: 0, taken: 0 -> ENOUGH space to store current recording | |||
1390421036.12 - SRC Recording will be sent to johnny@grupohedge.com.br | |||
1390421036.12 - Email details retrieved: server: smtp.gmail.com, port: 25, login: kolmitest, password: kolmitest99, from: , rec_new_subject: 'New recording', rec_del_subject: 'Recording deleted', owner_id: 0 | |||
1390421036.12 - /usr/local/mor/sendEmail -xu 'kolmitest' -xp 'kolmitest99' -a '/var/spool/asterisk/monitor/1390421036.12.mp3' -t 'johnny@grupohedge.com.br' -u 'Recording deleted' -s 'smtp.gmail.com:25' -m 'Recording was deleted from the server because there is not enough space to store it. | |||
Recording done for the call on: 2014-01-22 18:03:56 | |||
Source number(CallerID): 1000180 | |||
Dialed to: M19CLARON#19991790675 | |||
Call duration: 22 seconds | |||
Regards' -o tls='auto' | |||
'''1390421036.12 - UPDATE recordings SET visible_to_user = 0 WHERE uniqueid = 1390421036.12;''' | |||
1390421036.12 - mor_record_control script completed. | |||
1390421036.12 - rm /var/spool/asterisk/monitor/1390421036.12.wav | |||
1390421036.12 - Script completed. | |||
== Admin Forced record calls for this User == | |||
Recordings will be hidden from User, but available to admin if admin marked '''Forced record calls for this User''' check box for this users as seen in window: | |||
[[Image:recordings1.png]] | |||
<br><br> | |||
= See also = | |||
* [[I have a problem with Recordings]] | |||
* [[Recordings Addon]] | |||
* [[External Recordings Server]] |
Latest revision as of 20:18, 4 November 2022
Troubleshooting
Check recording log: /var/log/mor/mor_record_file.log
Not enough space allowed for User to store recording
Recording will be hidden from User, but available to admin if User has not enough space allocated to store more recordings.
1390421036.12 - Date: 2014-01-22 18:04:31, uniqueid: 1390421036.12, src_device_id: 2, dst_device_id: 0, visible_to_user: 1, visible_to_dst_user: 0 1390421036.12 - Server details retrieved: enabled: 0, IP: , port: 22, login: root, max space: 100.000000 1390421036.12 - Call details retrieved: id: 7, calldate: 2014-01-22 18:03:56, src: 1000180, dst: M19CLARON#19991790675, user_id: 2 1390421036.12 - Device details retrieved: device id: 2, user id: 2 1390421036.12 - No details retrieved for device (id = 0) 1390421036.12 - Converting and storing file locally 1390421036.12 - /usr/local/bin/lame --resample 44.1 -b 32 -a /var/spool/asterisk/monitor/1390421036.12.wav /var/spool/asterisk/monitor/1390421036.12.mp3 1390421036.12 - MP3 size: 87353 1390421036.12 - INSERT INTO recordings (call_id, datetime, src, dst, src_device_id, dst_device_id, uniqueid, size, user_id, dst_user_id, visible_to_user, visible_to_dst_user, local) VALUES (7, '2014-01-22 1:03:56', '1000180', 'M19CLARON#19991790675', '2', '0', '1390421036.12', '87353', '2', '0', '1', '0', '1'); 1390421036.12 - Executing recording email/deleting control script 1390421036.12 - /usr/local/mor/mor_record_control 1390421036.12 1 1390421036.12 - mor_record_control script starting 1390421036.12 - Date: 4436853-11-05 21:12:32, uniqueid: 1390421036.12, local: 1 1390421036.12 - Device (src) details retrieved: email1: , email2: johnny@grupohedge.com.br, email3: , quota: 104, send: 0, keep: 1, sum: 87353, call date: 2014-01-22 18:03:56, billsec: 22, src: 1000180, dst: M19CLARON#19991790675, mp3 size: 87353, user_forced: 1, device_forced: 1, device_record: 1 1390421036.12 - Used space on /var/spool/asterisk/monitor is: 9% 1390421036.12 - SRC quota: 104, taken: 87353 -> NOT ENOUGH space to store current recording 1390421036.12 - DST quota: 0, taken: 0 -> ENOUGH space to store current recording 1390421036.12 - SRC Recording will be sent to johnny@grupohedge.com.br 1390421036.12 - Email details retrieved: server: smtp.gmail.com, port: 25, login: kolmitest, password: kolmitest99, from: , rec_new_subject: 'New recording', rec_del_subject: 'Recording deleted', owner_id: 0 1390421036.12 - /usr/local/mor/sendEmail -xu 'kolmitest' -xp 'kolmitest99' -a '/var/spool/asterisk/monitor/1390421036.12.mp3' -t 'johnny@grupohedge.com.br' -u 'Recording deleted' -s 'smtp.gmail.com:25' -m 'Recording was deleted from the server because there is not enough space to store it. Recording done for the call on: 2014-01-22 18:03:56 Source number(CallerID): 1000180 Dialed to: M19CLARON#19991790675 Call duration: 22 seconds Regards' -o tls='auto' 1390421036.12 - UPDATE recordings SET visible_to_user = 0 WHERE uniqueid = 1390421036.12; 1390421036.12 - mor_record_control script completed. 1390421036.12 - rm /var/spool/asterisk/monitor/1390421036.12.wav 1390421036.12 - Script completed.
Admin Forced record calls for this User
Recordings will be hidden from User, but available to admin if admin marked Forced record calls for this User check box for this users as seen in window: