Hello to All,
New evening and new problem comes with it:
I’m trying import CDR records from some system into the FreePBX.
That bloody system is called Tikal Crystal Recording Interface.
So I made dump of Tikal database table cdr (It’s simmilar but not same) modified it to be same as FreePBX asteriskcdrdb’s cdr table and import that dump into FreePBX.
Next step was import mp3 of that records into /var/spool/asterisk/monitor in proper folders.
Now I can see that CDR’s records in FreePBX UCP.
BUT I can not play that records.
So can anyone help me with?
Here is one row of my modified cdr table:
MariaDB [asteriskcdrdb]> select * from cdr order by calldate desc limit 20;
+---------------------+--------------------------------------+--------------+------+--------------------+------------------------+------------------------+---------+----------------------+----------+---------+-------------+----------+-------------+---------------+-----------+------+--------------------------------------------------------+------+------+---------------+---------------+----------+---------------+-------------+----------+
| 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 |
+---------------------+--------------------------------------+--------------+------+--------------------+------------------------+------------------------+---------+----------------------+----------+---------+-------------+----------+-------------+---------------+-----------+------+--------------------------------------------------------+------+------+---------------+---------------+----------+---------------+-------------+----------+
| 2022-04-06 16:00:34 | "GSM: 00420703454760" <420703454760> | 420703454760 | 102 | incoming-from-SIM2 | SIP/VoiceBlue-00000020 | SIP/102-00000021 | Dial | SIP/102,,L(1800000) | 140 | 128 | ANSWERED | 3 | | 1649253634.32 | incoming | | 2022_04_06-16_00_42-00420703454760-8102-1649253634.mp3 | | | | | | 1649253634.32 | | 0 |