BUG RasPi CDRs and AsteriDex in 2020.3

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
20,217
Reaction score
5,974
Discovered a bug in the RasPi build for Incredible PBX 2020 that kept the CDRs from populating. Log into your server as root, and the patch will automatically be installed.

You then can verify that MySQL CDR interface is working with the command below. Type quit to exit.
Code:
isql -v MySQL-asteriskcdrdb root passw0rd
 
The MariaDB version installed in Raspbian 10 made a syntax change in adding new records to a MySQL table. We've pushed out a patch today that fixes AsteriDex.
 
Raspbian 10
Just logged in to RPi Raspbian10. Here is the update text (got me confused)
Code:
Missing Raspbian CDR patches...
Not a Raspbian platform. Skipping CDR patch.

Checking for update20205. NOT FOUND. Installing... update20205

AsteriDex patch for Raspbian 10...
Not a Raspbian platform. Skipping AsteriDex patch.

Updates and notifications completed.
 
Just logged in to RPi Raspbian10. Here is the update text (got me confused)
Code:
Missing Raspbian CDR patches...
Not a Raspbian platform. Skipping CDR patch.

Checking for update20205. NOT FOUND. Installing... update20205

AsteriDex patch for Raspbian 10...
Not a Raspbian platform. Skipping AsteriDex patch.

Updates and notifications completed.

It checks for whether /etc/pbx/.version = 2020.3. You might want to update that, remove the .update files and load the updates again.
 
/etc/pbx/.version = 2020.3. You might want to update that
On Incredible PBX 2020.3 for Raspberry Pi 3B
*Raspbian 10 buster* (I have done apt update apt upgrade)
Code:
root@incrediblepbx:~# cat /etc/debian_version
10.2

root@incrediblepbx:/etc/pbx# cat /etc/pbx/.version
2020.3
Query so not debian 10.0 then. delete
Code:
 rm /etc/pbx/.update2020*
 
Last edited:
Code:
chattr -i /etc/pbx/.update2020*
rm -f /etc/pbx/.update2020*
cd /root
./update-IncrediblePBX
 
./update-IncrediblePBX
This raspi is at os 10.2 is that from the the apt upgrade??? (my fault - should I start again?)
Your script checks for
Code:
if [ "$version" = "2020.3" ] && [ "$os" = "10.0" ] ; then
I assume that the image on sourceforge is still 10.0 is it??

update result result as below
Code:
Checking for update20204. NOT FOUND. Installing... update20204
Missing Raspbian CDR patches...
Not a Raspbian platform. Skipping CDR patch.
Checking for update20205. NOT FOUND. Installing... update20205
AsteriDex patch for Raspbian 10...
Not a Raspbian platform. Skipping AsteriDex patch.
 
Last edited:
Give me a few minutes, and I'll fix the update20202 and update20204 tarballs.
 
@ostridge If you haven't already fixed it, I've changed the two affected updates so it'll work for 10.x now...

Code:
if [ "$version" = "2020.3" ] && [ "${os:0:3}" = "10." ] ; then
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top