TUTORIAL Incredible Wazo Upgrade to 17.17

ABSGINC

You can call me Scott.
Joined
Oct 1, 2014
Messages
59
Reaction score
31
@Sylvain Boily may need to take a look at whether something has come unglued. Thanks.

- I reverted back to 17.08 and attempted the update a couple times, each with the same result of not understanding the Motif channel.

- I am trying to see if anyone else is successfully using a google voice channel on 17.09, perhaps with a fresh install (I haven't done that yet, not looking forward to staring over, but that will be my next step to see if I can bring up a minimal 17.09 machine up with a GV # working, however, I am unsure why the update would prohibit Motif from working as it used to).. Any and all feedback is appreciated.
 

ABSGINC

You can call me Scott.
Joined
Oct 1, 2014
Messages
59
Reaction score
31
This issue was resolved successfully by following a tip provided by @wardmundy

https://pbxinaflash.com/community/threads/upgrading-wazo-17-08-to-17-09-broke-motif-google-voice.21658/#post-131532


- I reverted back to 17.08 and attempted the update a couple times, each with the same result of not understanding the Motif channel.

- I am trying to see if anyone else is successfully using a google voice channel on 17.09, perhaps with a fresh install (I haven't done that yet, not looking forward to staring over, but that will be my next step to see if I can bring up a minimal 17.09 machine up with a GV # working, however, I am unsure why the update would prohibit Motif from working as it used to).. Any and all feedback is appreciated.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,227
DDhDMxoXsAEAMjO.jpg


Sorry for the delay. Incredible PBX for Wazo 17.10 is now available with new Admin GUI and Asterisk 14.5.0. See steps above for upgrade procedure for existing servers and new upgraded security model info. Details here. Changelog here. Updated tutorial here. Be sure to also perform the Google Voice upgrade procedure if you're updating from an existing version. It's now covered in the upgrade procedure above.

DFqsT8cXYAEBb9Z.jpg
 
Last edited:

kyle95wm

Phone Genius Owner
Joined
Apr 16, 2016
Messages
520
Reaction score
90
So I just did the upgrade in production after testing the procedure in development. The only thing that broke was my gmail setup. I can no longer get emails from it. I keep seeing a "username and password not accepted" error in mail.log. I've checked and rechecked postfix's config

Rebuilding is not an option. I need a fix that involves keeping my current server.

EDIT: Got it working again somehow. Thank god!
 
Last edited:

kyle95wm

Phone Genius Owner
Joined
Apr 16, 2016
Messages
520
Reaction score
90
Are these upgrades production safe? I have a dev server I test on first to make sure.
 

kyle95wm

Phone Genius Owner
Joined
Apr 16, 2016
Messages
520
Reaction score
90
Okay, one thing I noticed when I upgraded the dev server was the Postfix config gets blown away. So I have to keep re-inserting:

relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
smtp_fallback_relay =

into main.cf after each upgrade.
 

hawk#1

Well-Known Member
Joined
Nov 3, 2015
Messages
716
Reaction score
309
@NerdUno,

Thanks for staying on top of everything. Your hours of work added with your vast knowledge of VOIP and PBX's that you share here is the only way that has made it possible for me to run multiple PBX's. I upgraded Wazo using your scripts and it worked without any problems.:)
 
Last edited:

kyle95wm

Phone Genius Owner
Joined
Apr 16, 2016
Messages
520
Reaction score
90
I think I figured out what was causing postfix to get wiped. You actually need to write your config files under Wazo's "custom" config directory, and then configure your SMTP stuff right in the web GUI. I found some useful info here that might be helpful.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,227
DDhDMxoXsAEAMjO.jpg


Incredible PBX for Wazo 17.12 is now available with new Admin GUI and Asterisk 14.6.0. See steps above for upgrade procedure for existing servers and new upgraded security model info. Details here. Changelog here. Updated tutorial here. Be sure to also perform the Google Voice upgrade procedure if you're updating from an existing version with a prior release of Asterisk. It's now covered in the upgrade procedure above.

DIZcx6ZXkAExUsd.jpg

Build verified (above) on Vultr.
 

kyle95wm

Phone Genius Owner
Joined
Apr 16, 2016
Messages
520
Reaction score
90
Steps above are outdated. Please consider updating the version number.
 

ABSGINC

You can call me Scott.
Joined
Oct 1, 2014
Messages
59
Reaction score
31

yajrendrag

Member
Joined
Sep 17, 2010
Messages
83
Reaction score
8
I found a couple of other issues though beyond the change of 17.11 to 17.12:
  1. the line:
    ln -s /etc/nginx/locations/https-available/01_incrediblepbx /etc/nginx/locations/https-enabled/. fails with an error saying:
    ln: failed to create symbolic link ‘/etc/nginx/locations/https-enabled/./01_incrediblepbx’: File exists - easy fix, deleted the link name and re-ran the ln command.
  2. the restoration of Google Voice Oauth2 failed on the make step - it couldn't find the file asterisk.h
but i use google voice via Simonics, so not sure #2 is a problem or not.
 
Last edited:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,227
I found a couple of other issues though beyond the change of 17.11 to 17.12:
  1. the line:
    ln -s /etc/nginx/locations/https-available/01_incrediblepbx /etc/nginx/locations/https-enabled/. fails with an error saying:
    ln: failed to create symbolic link ‘/etc/nginx/locations/https-enabled/./01_incrediblepbx’: File exists - easy fix, deleted the link name and re-ran the ln command.
  2. the restoration of Google Voice Oauth2 failed on the make step - it couldn't find the file asterisk.h
but i use google voice via Simonics, so not sure #2 is a problem or not.

1. Fail is harmless. Just means you already have the proper link.
2. I can't replicate the error. You should have the following files. Otherwise, your platform is incomplete.
Code:
/usr/include/asterisk/asterisk.h
/usr/include/asterisk.h
 

yajrendrag

Member
Joined
Sep 17, 2010
Messages
83
Reaction score
8
ack, thanks for the reply.

i do not have either of those files. my original install was xivo 16.10 and have done a number of xivo- & wazo- upgrades to get to present state. So not sure if something didn't happen correctly once upon a time during an upgrade or if it's simply related to the fact that i never installed google oauth for incrediblepbx since i've simply been using simonics for google voice.

if the latter then not a problem, but if the former, then i suppose i'll do a new install and restore.

thoughts?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,227
If you don't need the built-in Google Voice functionality, it's probably not worth worrying about so long as everything else works.

You might also try running the following commands and then run the Google Voice update procedure again:

Code:
 apt-get update
 apt-get install git asterisk-dev libiksemel-dev -y
 apt-get install build-essential libssl-dev -y
 

ABSGINC

You can call me Scott.
Joined
Oct 1, 2014
Messages
59
Reaction score
31
17.13 seems to be upgrade ready for Incrediblepbx.
Upgrading Wazo .anything to Wazo 17.13

Code:
cd /root
cp -pr /etc/postfix /root
xivo-dist wazo-17.12
/etc/init.d/netfilter-persistent stop
wazo-upgrade
iptables-restart
# put the Incredible PBX web add-ons back in place
cd /
wget http://incrediblepbx.com/incredible-nginx.tar.gz
tar zxvf incredible-nginx.tar.gz
rm -f incredible-nginx.tar.gz
ln -s /etc/nginx/locations/https-available/01_incrediblepbx /etc/nginx/locations/https-enabled/.
cd /etc/nginx
wget http://incrediblepbx.com/nginx-config.tar.gz
tar zxvf nginx-config.tar.gz
rm -f /etc/nginx/sites-enabled/default
/etc/init.d/nginx restart
cp -pr /root/postfix /etc
/etc/init.d/postfix restart
pbxstatus

If the version of Asterisk changes in the update as it does with 17.12, you'll also need to do the following to restore Google Voice OAuth 2 functionality:
Code:
cd /tmp
 git clone https://github.com/sboily/asterisk-res-xmpp-oauth.git
 cd asterisk-res-xmpp-oauth
 make patch
 make
 make install
/etc/init.d/asterisk restart

Worked for me without a hitch by simply changing the third line above to "xivo-dist wazo-17.13"

You might not notice it right away, but your callers will. Ringing sound for calls sound more like a call waiting tone to Americans.
Most recent updates have required me to update the indications settings as it defaults to ringing like France.

Issue the following command to change this setting
Code:
root@WAZO:# nano /etc/asterisk/indications.d/99-general.conf
Change Country setting from fr to us
simple, you won't have to hunt for the setting, as this is the only one. Save your changes and restart Asterisk
Ringing will sound like ringing again.

This version update of Wazo speaks more on webhooks and various API's. I'm dedicating some time to understanding python better and hope to gain a good understanding of the Wazp API as I continue my journey deploying open source solutions that complete telecommunications and crm functionality. It's been exciting playing with the new Facebook Messenger plugin conception discussed here, I'm already going to work on integrating the python example with google contacts and google calendar. Bringing Facebook messenger into the PBX has brought me to look differently at how I reach end users in the communications systems I build. Soon I anticipate delivering my calendar alerts by Facebook Messenger with the help and inspiration that came from the marriage made with Facebook and my VoIP server..- Pioneers check out the thread in the developers corner to start playing with Facebook Messenger possibilities.
 
Last edited by a moderator:

Members online

No members online now.

Forum statistics

Threads
25,824
Messages
167,821
Members
19,247
Latest member
mdauck
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.
Top