Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NethVoice CTI: deleting a recording does not work #7255

Open
andrea-marchionni opened this issue Jan 15, 2025 · 0 comments
Open

NethVoice CTI: deleting a recording does not work #7255

andrea-marchionni opened this issue Jan 15, 2025 · 0 comments
Labels
nethvoice Bug or features releted to the NethVoice project nethvoice-cti The issue is related to NethLink (NethVoice Web client)
Milestone

Comments

@andrea-marchionni
Copy link

andrea-marchionni commented Jan 15, 2025

The NethVoice CTI removes the audio file when a call recording is deleted.

However, the interface does not recognize that the file is no longer available and continues to display it as if the recording still exists.

This is the error when trying to interact with the file which is still shown after deleting it

Image

Error: ENOENT: no such file or directory, unlink '/var/spool/asterisk/monitor/2025/01/10/exten-92252-253-20250110-103636-606.wav'

The issue may arise because the CDR database entry for the call still contains the value of the recording's audio file, even after the NethVoice CTI has deleted the file.

To determine whether a call has an associated recording, NethVoice CTI should rely on the recordingfile field of the call entry in the CDR database.

+---------------------+-------------------------+-----+-----+-----------+----------------------+--------------------+---------+---------------------------------------------------------------------------------+----------+---------+-------------+----------+-------------+------------------+-----------+-----+----------------------------------------+------+-----------------+---------------+---------------+----------------+------------------+-------------+----------+----------+--------------+
| calldate            | clid                    | src | dst | dcontext  | channel              | dstchannel         | lastapp | lastdata                                                                        | duration | billsec | disposition | amaflags | accountcode | uniqueid         | userfield | did | recordingfile                          | cnum | cnam            | outbound_cnum | outbound_cnam | dst_cnam       | linkedid         | peeraccount | sequence | ccompany | dst_ccompany |
+---------------------+-------------------------+-----+-----+-----------+----------------------+--------------------+---------+---------------------------------------------------------------------------------+----------+---------+-------------+----------+-------------+------------------+-----------+-----+----------------------------------------+------+-----------------+---------------+---------------+----------------+------------------+-------------+----------+----------+--------------+
| 2025-01-10 10:17:13 | "Mario Garramone" <252> | 252 | 253 | ext-local | PJSIP/92252-00000c1e | PJSIP/253-00000c21 | Dial    | PJSIP/92253/sip:[email protected]:1334;transport=tls&PJSIP/91253/sip:91253@167 |       38 |      31 | ANSWERED    |        3 | 252         | 1736500633.31160 |           |     | exten-253-92252-20250110-101729-19.wav | 252  | Mario Garramone |               |               | Vittorio Russo | 1736500633.31160 | 252         |     6833 |          |              |
+---------------------+-------------------------+-----+-----+-----------+----------------------+--------------------+---------+---------------------------------------------------------------------------------+----------+---------+-------------+----------+-------------+------------------+-----------+-----+----------------------------------------+------+-----------------+---------------+---------------+----------------+------------------+-------------+----------+----------+--------------+
@andrea-marchionni andrea-marchionni moved this to Todo in NethVoice Jan 15, 2025
@andrea-marchionni andrea-marchionni added nethvoice Bug or features releted to the NethVoice project nethvoice-cti The issue is related to NethLink (NethVoice Web client) labels Jan 15, 2025
@andrea-marchionni andrea-marchionni modified the milestone: NethVoice 1.2 Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nethvoice Bug or features releted to the NethVoice project nethvoice-cti The issue is related to NethLink (NethVoice Web client)
Projects
Status: Todo
Development

No branches or pull requests

1 participant