Hope you have the backup of sark.db v3.2.0, taken prior to upgrading/downgrading.
Just open it in sqlite3 and take a SQL dump.
Now remove all SAIL and SMESAILENV rpms and install the latest sme4 with:
yum remove smesailenv sail
wget http://www.sailpbx.com/sail/sail-4.0-testing/rpms/sail-4.0.0-54.noarch.rpm
wget http://www.sailpbx.com/sail/sail-4.0-testing/rpms/smesailenv-4.0.0-11.noarch.rpm
yum localinstall smesailenv-4.0.0-11.noarch.rpm sail-4.0.0-54.noarch.rpm
signal-event post-upgrade; signal-event-reboot
Now take the sqlite3 dump of the latest /opt/sark/db/sark.db and compare with the old backup and populate as requited and transfer back to the current install and stop and start the pbx.
If you cannot do the last part just send me the two sark.db files and I'll see what can be done.