importing voicemail

Status
Not open for further replies.

acas

New Member
Jun 30, 2017
5
0
1
110
I work in an organization that is running 3 or four different instances of Fusionpbx with different versions. I am currently looking to consolidate. The configuration is not too complicated but how would I go about importing historical voicemail from each instance onto a single instance. I was looking to rsync or copy the /var/lib/freeswitch/storage/voicemail/default directories over, but there is a reference to UUID. Is there a process for this?
 
I have never had to do this but I guess you would export the data from v_voicemails, v_voicemail_greetings and v_voicemail_messages and assuming the table structure has not altered between your various versions you would then import the data in the the same tables on the new system. Don't worry about the UUIDs they should all be unique. The UUID string in the voicemial message file name after "msg_" will match the data in the voicemail_message_uuid column of the v_voicemail_messages table. Then use rsync to copy the message files. You may need to edit the domain uuids in v_voicemail, domains of the same name to two different systems will not have the same uuid.
I would be tempted to spin up a VM with a test instance and try it out before you attempt it for real.
 
I will give this a try. Thanks for providing some of the table structure. I figured the UUID on the domain would be different and wanted to know if anyone has seen this. Definitely going to need to mess with this in a lab.
 
Yep, the uuid on the domain may well be different if you are savvy enough to export it and move it around I'm sure you'll be able to handle a little update blah set domain_uuid='xxx' where domain_uuid etc :)
 
Status
Not open for further replies.