Discussion:
4.4.0 to 4.4.6
m***@grounded.net
2012-08-06 16:10:45 UTC
Permalink
Will 4.4.0 upgrade to 4.6.0 when 4.6.0 is stable ready?
In other words, I need to build a system so would probably want to use 4.4.0 right.

Mike
Todd Hodgen
2012-08-06 16:35:25 UTC
Permalink
4.4 is based on Centos 5.x, 4.6 is based on Centos 6.x. I don't believe
there is an upgrade path now, or planned, other than configuration's being
able to be moved.



From: sipx-users-***@list.sipfoundry.org
[mailto:sipx-users-***@list.sipfoundry.org] On Behalf Of
***@grounded.net
Sent: Monday, August 06, 2012 9:11 AM
To: sipx
Subject: [sipx-users] 4.4.0 to 4.4.6



Will 4.4.0 upgrade to 4.6.0 when 4.6.0 is stable ready?

In other words, I need to build a system so would probably want to use 4.4.0
right.



Mike
Michael Picher
2012-08-06 16:36:35 UTC
Permalink
4.6.0 as stated a few times before will be a re-install and a restore of
4.4 data / vm.

Yes, if this isn't your own internal system you might want to use 4.4.0 for
a production customer install.
Post by m***@grounded.net
Will 4.4.0 upgrade to 4.6.0 when 4.6.0 is stable ready?
In other words, I need to build a system so would probably want to use 4.4.0 right.
Mike
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/
--
Michael Picher, Director of Technical Services
eZuce, Inc.

300 Brickstone Square****

Suite 201****

Andover, MA. 01810
O.978-296-1005 X2015
M.207-956-0262
@mpicher <http://twitter.com/mpicher>
linkedin <http://www.linkedin.com/profile/view?id=35504760&trk=tab_pro>
www.ezuce.com

------------------------------------------------------------------------------------------------------------
There are 10 kinds of people in the world, those who understand binary and
those who don't.
m***@grounded.net
2012-08-06 16:46:16 UTC
Permalink
Thanks Todd and Mike.
You’re right, that was mentioned before but my notes didn’t make any sense .
I’ll update that now and will install a 4.4.0 for now.

Also, it’s great to know that 4.6.0 will allow a restore of the old system. That’s such a great advancement for sipx.

Mike


From: Michael Picher
Sent: Monday, August 06, 2012 11:36 AM
To: ***@grounded.net ; Discussion list for users of sipXecs software
Subject: Re: [sipx-users] 4.4.0 to 4.4.6

4.6.0 as stated a few times before will be a re-install and a restore of 4.4 data / vm.

Yes, if this isn't your own internal system you might want to use 4.4.0 for a production customer install.


On Mon, Aug 6, 2012 at 12:10 PM, <***@grounded.net> wrote:

Will 4.4.0 upgrade to 4.6.0 when 4.6.0 is stable ready?
In other words, I need to build a system so would probably want to use 4.4.0 right.

Mike


_______________________________________________
sipx-users mailing list
sipx-***@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/
--
Michael Picher, Director of Technical Services
eZuce, Inc.

300 Brickstone Square

Suite 201

Andover, MA. 01810

O.978-296-1005 X2015
M.207-956-0262
@mpicher <http://twitter.com/mpicher>
linkedin
www.ezuce.com


------------------------------------------------------------------------------------------------------------
There are 10 kinds of people in the world, those who understand binary and those who don't.
m***@grounded.net
2012-08-06 16:53:02 UTC
Permalink
Post by m***@grounded.net
Yes, if this isn't your own internal system you might want to use 4.4.0 for a production customer install.
Sounds like 4.6.0 is solid enough to install an instance and start putting it through some testing.
I’ll try to get a system up and see how things go.
andrewpitman
2012-09-13 17:57:43 UTC
Permalink
It looks like I'm a little late to this party. I've been
able to successfully restore my 4.4 configuration to a fresh
4.6 system, but for some reason the voicemail restore
doesn't seem to be working.

Is the restore in 4.6's sipxconfig able to take a 4.4
tarball with the flat files from
/var/sipxdata/mediaserver/data/mailstore and put them into
mongodb gridfs, or am I doing something wrong?

Andy

Michael Picher wrote on Mon, 06 August 2012 12:36
Post by Michael Picher
4.6.0 as stated a few times before will be a re-install
and a restore of
4.4 data / vm.
Yes, if this isn't your own internal system you might
want to use 4.4.0 for
a production customer install.
--
Tony Graziano
2012-09-13 18:07:59 UTC
Permalink
try doing a local backup then replace the voicemail.tar.gz file onboard
with the one you need to restore, then do a restore.
Post by andrewpitman
It looks like I'm a little late to this party. I've been
able to successfully restore my 4.4 configuration to a fresh
4.6 system, but for some reason the voicemail restore
doesn't seem to be working.
Is the restore in 4.6's sipxconfig able to take a 4.4
tarball with the flat files from
/var/sipxdata/mediaserver/data/mailstore and put them into
mongodb gridfs, or am I doing something wrong?
Andy
Michael Picher wrote on Mon, 06 August 2012 12:36
Post by Michael Picher
4.6.0 as stated a few times before will be a re-install
and a restore of
4.4 data / vm.
Yes, if this isn't your own internal system you might
want to use 4.4.0 for
a production customer install.
--
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/
--
~~~~~~~~~~~~~~~~~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: ***@voice.myitdepartment.net
Fax: 434.465.6833
~~~~~~~~~~~~~~~~~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~~~~~~~~~~~~~~~~~

Using or developing for sipXecs from SIPFoundry? Ask me about sipX-CoLab
2013!
<http://sipxcolab2013.eventbrite.com/?discount=tony2013>
--
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: ***@voice.myitdepartment.net

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
a***@comcast.net
2012-09-13 18:23:26 UTC
Permalink
Nope, still no dice.


----- Original Message -----
From: "Tony Graziano" <***@myitdepartment.net>
To: "Discussion list for users of sipXecs software" <sipx-***@list.sipfoundry.org>
Sent: Thursday, September 13, 2012 2:07:59 PM
Subject: Re: [sipx-users] 4.4.0 to 4.4.6

try doing a local backup then replace the voicemail.tar.gz file onboard with the one you need to restore, then do a restore.
Tony Graziano
2012-09-13 19:10:36 UTC
Permalink
can you detail a few things?

/var/sipxdata/backup/local/<directory> is sipx:sipx 0755 and files in it
are sipx:sipx 0644

correct?

once you confirm that, make do a restore and garb the sipxconfig log from
that attempt and inspect it. if you figure it out and solve it, share what
was wrong. If not, share the pertinent log snippet?

Also, what is the size of the VM file you are restoring? It might have to
do with some insanely low limit in sipxconfig or something but shouldn't
affect a local restore I would think.
Post by a***@comcast.net
Nope, still no dice.
------------------------------
*To: *"Discussion list for users of sipXecs software" <
*Sent: *Thursday, September 13, 2012 2:07:59 PM
*Subject: *Re: [sipx-users] 4.4.0 to 4.4.6
try doing a local backup then replace the voicemail.tar.gz file onboard
with the one you need to restore, then do a restore.
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/
--
~~~~~~~~~~~~~~~~~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: ***@voice.myitdepartment.net
Fax: 434.465.6833
~~~~~~~~~~~~~~~~~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~~~~~~~~~~~~~~~~~

Using or developing for sipXecs from SIPFoundry? Ask me about sipX-CoLab
2013!
<http://sipxcolab2013.eventbrite.com/?discount=tony2013>
--
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: ***@voice.myitdepartment.net

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
a***@comcast.net
2012-09-13 19:32:40 UTC
Permalink
Yes, indeed. /var/sipxdata/backup/local/201209131417 is pwned by sipx:sipx and mode 0755 and voicemail.tar.gz is sipx:sipx and mode 0644.

Here's the sipxconfig.log entry from when I ran the local restore:
"2012-09-13T18:19:48.012000Z":45:JAVA:INFO:sipx01.carrierip.net:P2-9:00000000:BackupCommandRunner:"/usr/bin/sipx-archive --restore /var/sipxdata/cfdata/1/archive-local.yaml 201209131417/voicemail.tar.gz --out /var/sipxdata/tmp/archive-command4851646719559133385.tmp --mode manual"

The voicemail.tar.gz file is approximately 30 and a half MB.

I will try running /usr/bin/sipxivr-archive --restore from the command line and report back.

Thanks!
Andy

----- Original Message -----
From: "Tony Graziano" <***@myitdepartment.net>
To: "Discussion list for users of sipXecs software" <sipx-***@list.sipfoundry.org>
Sent: Thursday, September 13, 2012 3:10:36 PM
Subject: Re: [sipx-users] 4.4.0 to 4.4.6

can you detail a few things?


/var/sipxdata/backup/local/<directory> is sipx:sipx 0755 and files in it are sipx:sipx 0644


correct?


once you confirm that, make do a restore and garb the sipxconfig log from that attempt and inspect it. if you figure it out and solve it, share what was wrong. If not, share the pertinent log snippet?


Also, what is the size of the VM file you are restoring? It might have to do with some insanely low limit in sipxconfig or something but shouldn't affect a local restore I would think.






On Thu, Sep 13, 2012 at 2:23 PM, < ***@comcast.net > wrote:




Nope, still no dice.



From: "Tony Graziano" < ***@myitdepartment.net >
To: "Discussion list for users of sipXecs software" < sipx-***@list.sipfoundry.org >
Sent: Thursday, September 13, 2012 2:07:59 PM

Subject: Re: [sipx-users] 4.4.0 to 4.4.6


try doing a local backup then replace the voicemail.tar.gz file onboard with the one you need to restore, then do a restore.


_______________________________________________
sipx-users mailing list
sipx-***@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/
--
~~~~~~~~~~~~~~~~~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: ***@voice.myitdepartment.net
Fax: 434.465.6833
~~~~~~~~~~~~~~~~~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~~~~~~~~~~~~~~~~~


Using or developing for sipXecs from SIPFoundry? Ask me about sipX-CoLab 2013!



LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: ***@voice.myitdepartment.net


Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
_______________________________________________
sipx-users mailing list
sipx-***@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/
George Niculae
2012-09-13 19:13:34 UTC
Permalink
Post by a***@comcast.net
Nope, still no dice.
Can you manually run /usr/bin/sipxivr-archive --restore
{path_to_backup} and see the output?

George
Douglas Hubler
2012-09-13 20:01:58 UTC
Permalink
Post by andrewpitman
It looks like I'm a little late to this party. I've been
able to successfully restore my 4.4 configuration to a fresh
4.6 system, but for some reason the voicemail restore
doesn't seem to be working.
Is the restore in 4.6's sipxconfig able to take a 4.4
tarball with the flat files from
/var/sipxdata/mediaserver/data/mailstore and put them into
mongodb gridfs, or am I doing something wrong?
In OpenUC it reads into mongo, in sipXecs it expands onto disk.

You uploaded the fine to UI, but It is that you receive no errors in
UI upon restore?

There's CLI option too

sipxecs
sipxivr-archive --restore your-tar-file.tgz

openuc
openucivr-archive --restore your-tar-file.tgz
Tony Graziano
2012-09-13 20:07:25 UTC
Permalink
so let us know what happends when you:

/usr/bin/sipx-archive --restore /var/sipxdata/backup/local/
201209131417/voicemail.tar.gz
Post by Douglas Hubler
Post by andrewpitman
It looks like I'm a little late to this party. I've been
able to successfully restore my 4.4 configuration to a fresh
4.6 system, but for some reason the voicemail restore
doesn't seem to be working.
Is the restore in 4.6's sipxconfig able to take a 4.4
tarball with the flat files from
/var/sipxdata/mediaserver/data/mailstore and put them into
mongodb gridfs, or am I doing something wrong?
In OpenUC it reads into mongo, in sipXecs it expands onto disk.
You uploaded the fine to UI, but It is that you receive no errors in
UI upon restore?
There's CLI option too
sipxecs
sipxivr-archive --restore your-tar-file.tgz
openuc
openucivr-archive --restore your-tar-file.tgz
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/
--
~~~~~~~~~~~~~~~~~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: ***@voice.myitdepartment.net
Fax: 434.465.6833
~~~~~~~~~~~~~~~~~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~~~~~~~~~~~~~~~~~

Using or developing for sipXecs from SIPFoundry? Ask me about sipX-CoLab
2013!
<http://sipxcolab2013.eventbrite.com/?discount=tony2013>
--
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: ***@voice.myitdepartment.net

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
Douglas Hubler
2012-09-13 21:26:36 UTC
Permalink
Post by Tony Graziano
/usr/bin/sipx-archive --restore /var/sipxdata/backup/local/
201209131417/voicemail.tar.gz
that's not the command actual, each subsystem has a different archive
command. That command follows a plan and you need to give is a plan file
which is not really relevant here. Use the command I outlined.
Tony Graziano
2012-09-13 22:39:36 UTC
Permalink
(before I knew he was using openuc)
On Thu, Sep 13, 2012 at 4:07 PM, Tony Graziano <
Post by Tony Graziano
/usr/bin/sipx-archive --restore /var/sipxdata/backup/local/
201209131417/voicemail.tar.gz
that's not the command actual, each subsystem has a different archive
command. That command follows a plan and you need to give is a plan file
which is not really relevant here. Use the command I outlined.
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/
--
~~~~~~~~~~~~~~~~~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: ***@voice.myitdepartment.net
Fax: 434.465.6833
~~~~~~~~~~~~~~~~~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~~~~~~~~~~~~~~~~~

Using or developing for sipXecs from SIPFoundry? Ask me about sipX-CoLab
2013!
<http://sipxcolab2013.eventbrite.com/?discount=tony2013>
--
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: ***@voice.myitdepartment.net

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
a***@comcast.net
2012-09-13 20:22:11 UTC
Permalink
Right, it uploaded fine and didn't give me any errors. I guess what I needed to know is can I restore sipxecs 4.4.0 voicemail to an openuc 4.6.0 system?

If I run openucivr-archive...

[***@sipx01 ~]# /usr/bin/openucivr-archive --restore /var/sipxdata/backup/local/201209131417/voicemail.tar.gz --verbose
tar -tzf /var/sipxdata/backup/local/201209131417/voicemail.tar.gz version
version
/etc/init.d/sipxivr stop
Stopping sipxivr: [FAILED]
tar -zxvf /var/sipxdata/backup/local/201209131417/voicemail.tar.gz -C /tmp dump
tar: dump: Not found in archive
tar: Exiting with failure status due to previous errors
/usr/bin/openucivr-archive:55:in `run': Failed to extract voicemail database from archive (RuntimeError)
from /usr/bin/openucivr-archive:112
[***@sipx01 ~]#

Which makes sense because the tarball doesn't contain dump/vmdb/*bson as it expects.

If I run sipxivr-archive...

[***@sipx01 ~]# /usr/bin/sipxivr-archive --restore /var/sipxdata/backup/local/201209131417/voicemail.tar.gz --verbose
tar -tzf /var/sipxdata/backup/local/201209131417/voicemail.tar.gz version
version
/etc/init.d/sipxivr stop
Stopping sipxivr: [FAILED]
tar -xz --exclude=version -C /var/sipxdata/../.. -f /var/sipxdata/backup/local/201209131417/voicemail.tar.gz
/etc/init.d/sipxivr start [ OK ]
[***@sipx01 ~]# find /var -type f -name '*wav'
/var/sipxdata/mediaserver/data/mailstore/6128/inbox/00000191-FW.wav
/var/sipxdata/mediaserver/data/mailstore/6128/inbox/00000191-01.wav
/var/sipxdata/mediaserver/data/mailstore/6128/inbox/00000191-00.wav
/var/sipxdata/mediaserver/data/mailstore/6243/inbox/00000306-01.wav
...

Which is obviously not what I want.


Andy

----- Original Message -----
From: "Douglas Hubler" <***@ezuce.com>
To: "Discussion list for users of sipXecs software" <sipx-***@list.sipfoundry.org>
Sent: Thursday, September 13, 2012 4:01:58 PM
Subject: Re: [sipx-users] 4.4.0 to 4.4.6
It looks like I'm a little late to this party. I've been
able to successfully restore my 4.4 configuration to a fresh
4.6 system, but for some reason the voicemail restore
doesn't seem to be working.
Is the restore in 4.6's sipxconfig able to take a 4.4
tarball with the flat files from
/var/sipxdata/mediaserver/data/mailstore and put them into
mongodb gridfs, or am I doing something wrong?
In OpenUC it reads into mongo, in sipXecs it expands onto disk.

You uploaded the fine to UI, but It is that you receive no errors in
UI upon restore?

There's CLI option too

sipxecs
sipxivr-archive --restore your-tar-file.tgz

openuc
openucivr-archive --restore your-tar-file.tgz
_______________________________________________
sipx-users mailing list
sipx-***@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/
George Niculae
2012-09-13 20:25:39 UTC
Permalink
Right, it uploaded fine and didn't give me any errors. I guess what I
needed to know is can I restore sipxecs 4.4.0 voicemail to an openuc 4.6.0
system?
If I run openucivr-archive...
/var/sipxdata/backup/local/201209131417/voicemail.tar.gz --verbose
tar -tzf /var/sipxdata/backup/local/201209131417/voicemail.tar.gz version
version
/etc/init.d/sipxivr stop
Stopping sipxivr: [FAILED]
tar -zxvf /var/sipxdata/backup/local/201209131417/voicemail.tar.gz -C /tmp dump
tar: dump: Not found in archive
tar: Exiting with failure status due to previous errors
/usr/bin/openucivr-archive:55:in `run': Failed to extract voicemail database
from archive (RuntimeError)
from /usr/bin/openucivr-archive:112
Which makes sense because the tarball doesn't contain dump/vmdb/*bson as it expects.
If I run sipxivr-archive...
/var/sipxdata/backup/local/201209131417/voicemail.tar.gz --verbose
tar -tzf /var/sipxdata/backup/local/201209131417/voicemail.tar.gz version
version
/etc/init.d/sipxivr stop
Stopping sipxivr: [FAILED]
tar -xz --exclude=version -C /var/sipxdata/../.. -f
/var/sipxdata/backup/local/201209131417/voicemail.tar.gz
/etc/init.d/sipxivr start [ OK ]
/var/sipxdata/mediaserver/data/mailstore/6128/inbox/00000191-FW.wav
/var/sipxdata/mediaserver/data/mailstore/6128/inbox/00000191-01.wav
/var/sipxdata/mediaserver/data/mailstore/6128/inbox/00000191-00.wav
/var/sipxdata/mediaserver/data/mailstore/6243/inbox/00000306-01.wav
...
Andy, That's an openUC realted issue I am currently working on,
voicemails are not migrated from filesystem to GridFS. It's in
internal tracker so you cannot see it here

George
a***@comcast.net
2012-09-13 20:42:00 UTC
Permalink
Thanks George. I had assumed that voicemail storage would be the same between sipxecs and openuc 4.6, but you know what they say about assumptions. ;)

I'll leave this in your capable hands.

In the meantime I will verify that I can restore sipxecs 4.4 to sipxecs 4.6 (which I'm sure won't be a problem)...

Thanks!
Andy

----- Original Message -----
From: "George Niculae" <***@ezuce.com>
To: "Discussion list for users of sipXecs software" <sipx-***@list.sipfoundry.org>
Sent: Thursday, September 13, 2012 4:25:39 PM
Subject: Re: [sipx-users] 4.4.0 to 4.4.6

Andy, That's an openUC realted issue I am currently working on,
voicemails are not migrated from filesystem to GridFS. It's in
internal tracker so you cannot see it here

George
George Niculae
2012-10-18 19:04:56 UTC
Permalink
Thanks George. I had assumed that voicemail storage would be the same
between sipxecs and openuc 4.6, but you know what they say about
assumptions. ;)
BTW, this should be solved now.

Regards,
George
Andrew Pitman
2012-10-19 01:50:19 UTC
Permalink
Thanks George! I tried it again today and verified it works. It seems that the heard/unheard status of voicemails is not preserved though. All messages were "new" after the import. It's no biggie, but is this something that is being worked on or something we'll just have to deal with?

Thanks!
Andy
--
Sent from my iPhone appendage
Post by George Niculae
Thanks George. I had assumed that voicemail storage would be the same
between sipxecs and openuc 4.6, but you know what they say about
assumptions. ;)
BTW, this should be solved now.
Regards,
George
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/
George Niculae
2012-10-19 10:22:50 UTC
Permalink
Post by Andrew Pitman
Thanks George! I tried it again today and verified it works. It seems that the heard/unheard status of voicemails is not preserved though. All messages were "new" after the import. It's no biggie, but is this something that is being worked on or something we'll just have to deal with?
Good catch, let me fix that too. Thanks!

George
George Niculae
2012-10-19 11:17:52 UTC
Permalink
Post by George Niculae
Post by Andrew Pitman
Thanks George! I tried it again today and verified it works. It seems that the heard/unheard status of voicemails is not preserved though. All messages were "new" after the import. It's no biggie, but is this something that is being worked on or something we'll just have to deal with?
Good catch, let me fix that too. Thanks!
Fix committed, if you're installing from openuc-stage then yum update,
if you're installing from openuc then it will take some more time
until build published. Either way please let me know if works for you
after yum update and test it, I have a button to push :)

George
a***@comcast.net
2012-10-19 18:51:04 UTC
Permalink
Hi George!

I yum updated from openuc-stage and verified this now works.

Just for my own edification, is the mechanism for heard/unheard the same in OpenUC 4.6 as it was in 4.4 (i.e. ".sta" files), just in mongodb's gridfs? Same for the from, duration, time received, priority, etc. in ".xml" files?

Thanks!
Andy

----- Original Message -----
From: "George Niculae" <***@ezuce.com>
To: "Discussion list for users of sipXecs software" <sipx-***@list.sipfoundry.org>
Sent: Friday, October 19, 2012 7:17:52 AM
Subject: Re: [sipx-users] 4.4.0 to 4.4.6
Post by George Niculae
Thanks George! I tried it again today and verified it works. It seems that the heard/unheard status of voicemails is not preserved though. All messages were "new" after the import. It's no biggie, but is this something that is being worked on or something we'll just have to deal with?
Good catch, let me fix that too. Thanks!
Fix committed, if you're installing from openuc-stage then yum update,
if you're installing from openuc then it will take some more time
until build published. Either way please let me know if works for you
after yum update and test it, I have a button to push :)

George
_______________________________________________
sipx-users mailing list
sipx-***@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/
George Niculae
2012-10-19 18:58:49 UTC
Permalink
Post by a***@comcast.net
Hi George!
I yum updated from openuc-stage and verified this now works.
Just for my own edification, is the mechanism for heard/unheard the same in
OpenUC 4.6 as it was in 4.4 (i.e. ".sta" files), just in mongodb's gridfs?
Same for the from, duration, time received, priority, etc. in ".xml" files?
Hi Andrew,

no, it's a different mechansim, ivr supports now mailbox manager
plugins and openuc is using one to save / retrieve to / from GridFS.
GridFS associates metadata with saved files so all the info like
unread, duration, time received are stored in GridFS for openuc (open
source project is using the same file system based mailbox manager as
in 4.4 and the same mechanism - .sta, .urg xml files)

(Thanks for checking the fix)

George
a***@comcast.net
2012-10-19 19:19:55 UTC
Permalink
Thanks for the info. I will have to read up on GridFS.


----- Original Message -----
From: "George Niculae" <***@ezuce.com>
To: "Discussion list for users of sipXecs software" <sipx-***@list.sipfoundry.org>
Sent: Friday, October 19, 2012 2:58:49 PM
Subject: Re: [sipx-users] 4.4.0 to 4.4.6
Post by a***@comcast.net
Hi George!
I yum updated from openuc-stage and verified this now works.
Just for my own edification, is the mechanism for heard/unheard the same in
OpenUC 4.6 as it was in 4.4 (i.e. ".sta" files), just in mongodb's gridfs?
Same for the from, duration, time received, priority, etc. in ".xml" files?
Hi Andrew,

no, it's a different mechansim, ivr supports now mailbox manager
plugins and openuc is using one to save / retrieve to / from GridFS.
GridFS associates metadata with saved files so all the info like
unread, duration, time received are stored in GridFS for openuc (open
source project is using the same file system based mailbox manager as
in 4.4 and the same mechanism - .sta, .urg xml files)

(Thanks for checking the fix)

George
_______________________________________________
sipx-users mailing list
sipx-***@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/
George Niculae
2012-10-19 19:22:01 UTC
Permalink
Thanks for the info. I will have to read up on GridFS.
Well if you want to query mailbox and voicemail statuses you could
use REST API, that's the same no mater if file system or grid fs
support

George

Tony Graziano
2012-09-13 20:30:18 UTC
Permalink
since there are very different procedures with openuc, i'll let ezuce
handle this.

I imagine you have the system all updated and have made sure servies are
running and mongo is too first, right?
Right, it uploaded fine and didn't give me any errors. I guess what I
needed to know is can I restore sipxecs 4.4.0 voicemail to an openuc 4.6.0
system?
If I run openucivr-archive...
/var/sipxdata/backup/local/201209131417/voicemail.tar.gz --verbose
tar -tzf /var/sipxdata/backup/local/201209131417/voicemail.tar.gz version
version
/etc/init.d/sipxivr stop
Stopping sipxivr: [FAILED]
tar -zxvf /var/sipxdata/backup/local/201209131417/voicemail.tar.gz -C /tmp dump
tar: dump: Not found in archive
tar: Exiting with failure status due to previous errors
/usr/bin/openucivr-archive:55:in `run': Failed to extract voicemail
database from archive (RuntimeError)
from /usr/bin/openucivr-archive:112
Which makes sense because the tarball doesn't contain dump/vmdb/*bson as it expects.
If I run sipxivr-archive...
/var/sipxdata/backup/local/201209131417/voicemail.tar.gz --verbose
tar -tzf /var/sipxdata/backup/local/201209131417/voicemail.tar.gz version
version
/etc/init.d/sipxivr stop
Stopping sipxivr: [FAILED]
tar -xz --exclude=version -C /var/sipxdata/../.. -f
/var/sipxdata/backup/local/201209131417/voicemail.tar.gz
/etc/init.d/sipxivr start [ OK ]
/var/sipxdata/mediaserver/data/mailstore/6128/inbox/00000191-FW.wav
/var/sipxdata/mediaserver/data/mailstore/6128/inbox/00000191-01.wav
/var/sipxdata/mediaserver/data/mailstore/6128/inbox/00000191-00.wav
/var/sipxdata/mediaserver/data/mailstore/6243/inbox/00000306-01.wav
...
Which is obviously not what I want.
Andy
------------------------------
*To: *"Discussion list for users of sipXecs software" <
*Sent: *Thursday, September 13, 2012 4:01:58 PM
*Subject: *Re: [sipx-users] 4.4.0 to 4.4.6
Post by andrewpitman
It looks like I'm a little late to this party. I've been
able to successfully restore my 4.4 configuration to a fresh
4.6 system, but for some reason the voicemail restore
doesn't seem to be working.
Is the restore in 4.6's sipxconfig able to take a 4.4
tarball with the flat files from
/var/sipxdata/mediaserver/data/mailstore and put them into
mongodb gridfs, or am I doing something wrong?
In OpenUC it reads into mongo, in sipXecs it expands onto disk.
You uploaded the fine to UI, but It is that you receive no errors in
UI upon restore?
There's CLI option too
sipxecs
sipxivr-archive --restore your-tar-file.tgz
openuc
openucivr-archive --restore your-tar-file.tgz
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/
--
~~~~~~~~~~~~~~~~~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: ***@voice.myitdepartment.net
Fax: 434.465.6833
~~~~~~~~~~~~~~~~~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~~~~~~~~~~~~~~~~~

Using or developing for sipXecs from SIPFoundry? Ask me about sipX-CoLab
2013!
<http://sipxcolab2013.eventbrite.com/?discount=tony2013>
--
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: ***@voice.myitdepartment.net

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
Loading...