QUESTION Need to patch Asterisk. How?

ßryan

New Member
Joined
Feb 29, 2016
Messages
4
Reaction score
0
Good Day.

I'm in need of patching asterisk per the patch described here:
https://issues.asterisk.org/jira/browse/ASTERISK-26423

This is a fix for G.722 transcoding on some devices (Grandstream for me; one-way audio from IVR/Asterisk).

I'm running the VM/ESXi version of Incredible PBX (Scientific Linux), specifically "Incredible PBX 12.0.74 'Incredible PBX Lean GUI'" (Although, when SSH'ing to the VM, I show "Incredible PBX 13-12.3 for Scientific Linux"

I tried running the "upgrade-asterisk13-to-current-rhel" script from /root, but this appeared to break dependencies, and I had to revert back to the working snapshot.

Please assist with the steps of installing this patch so my phones will work with G.722/PCMU!

Thanks in advance.
Bryan
 

ßryan

New Member
Joined
Feb 29, 2016
Messages
4
Reaction score
0
Re-downloaded the latest upgrade scripts and ran -rhel version.

Pertinent error information:

Code:
 WARNING WARNING WARNING

 Your Asterisk modules directory, located at
 /usr/lib/asterisk/modules
 contains modules that were not installed by this
 version of Asterisk. Please ensure that these
 modules are compatible with this version before
 attempting to run Asterisk.

    app_flite.so
    func_audiohookinherit.so
    res_pjsip_multihomed.so

 WARNING WARNING WARNING
rm -f app_flite.o app_flite.so .*.d
gcc -pipe -fPIC -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -g -O2 -c -o app_flite.o app_flite.c
app_flite.c: In function flite_exec:
app_flite.c:99: warning: missing initializer
app_flite.c:99: warning: (near initialization for args.text)
gcc -shared -Xlinker -x -o app_flite.so app_flite.o -lflite -lflite_cmulex -lflite_usenglish -lflite_cmu_us_kal
 +--------- app_flite Build Complete --------+
 + app_flite has successfully been built,    +
 + and can be installed by running:          +
 +                                           +
 +               make install                +
 +-------------------------------------------+
install -m 755 -d /usr/lib/asterisk/modules
install -m 755 app_flite.so /usr/lib/asterisk/modules
 +---- app_flite Installation Complete ------+
 +                                           +
 + app_flite has successfully been installed.+
 + If you would like to install the sample   +
 + configuration file run:                   +
 +                                           +
 +              make samples                 +
 +-------------------------------------------+

Please wait...

SETTING FILE PERMISSIONS.................Done
Removing any dangling symlinks
Dangling symlinks removed

STARTING ASTERISK
Asterisk Started

Please wait...

SETTING FILE PERMISSIONS.................Done
Removing any dangling symlinks
Dangling symlinks removed

Please wait...

Getting Data from Online Server...Done
Checking Signatures of Modules...
Checking announcement...Good
Checking arimanager...Good
Checking asteriskinfo...Good
Checking backup...Good
Checking blacklist...Good
Checking builtin...Good
Checking callforward...Good
Checking callrecording...Good
Checking callwaiting...Good
Checking campon...Good
Checking cdr...Good
Checking certman...Good
Checking cidlookup...Good
Checking conferences...Good
Checking configedit...Good
Checking contactmanager...Good
Checking core...Good
Checking customappsreg...Good
Checking dashboard...Good
Checking daynight...Good
Checking directory...Good
Checking disa...Good
Checking donotdisturb...Good
Checking fax...Good
Checking featurecodeadmin...Good
Checking findmefollow...Good
Checking framework...Good
Checking hotelwakeup...Good
Checking iaxsettings...Good
Checking incrediblepbx...Good
Checking infoservices...Good
Checking ivr...Good
Checking logfiles...Good
Checking manager...Good
Checking miscapps...Good
Checking miscdests...Good
Checking motif...Good
Checking music...Good
Checking outroutemsg...Good
Checking paging...Good
Checking parking...Good
Checking pbdirectory...Good
Checking phonebook...Good
Checking phpagiconf...Good
Checking phpinfo...Good
Checking pinsets...Good
Checking presencestate...Good
Checking printextensions...Good
Checking queues...Good
Checking recordings...Good
Checking ringgroups...Good
Checking setcid...Good
Checking sipsettings...Good
Checking speeddial...Good
Checking superfecta...Good
Checking sysinfo...Good
Checking timeconditions...Good
Checking ucp...Good
Checking userman...Good
Checking vmblast...Good
Checking voicemail...Good
Checking weakpasswords...Good
Checking webrtc...Good
Done

SETTING FILE PERMISSIONS.................Done
Removing any dangling symlinks
Dangling symlinks removed
trying to run as user asterisk:

[SIGNATURECHECK] changed from previous value: [1] to new value: [0]


Please wait...

Error(s) have occured, the following is the retrieve_conf output:
exit: 1
[FATAL] Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting
cp: cannot create regular file `/var/www/manual/images/.': No such file or directory
cp: cannot create regular file `/var/www/html/reminders/.': No such file or directory
cp: cannot create regular file `/var/www/html/admin/modules/framework/amp_conf/htdocs/admin/images/.': No such file or directory

Please wait...


KILLING AMP PROCESSES
mpg123: no process killed
usage: kill [ -s signal | -p ] [ -a ] pid ...
       kill -l [ signal ]
op_server.pl: no process killed

Please wait...

SETTING FILE PERMISSIONS.................Done
Removing any dangling symlinks
Dangling symlinks removed

STARTING ASTERISK
Asterisk Started
trying to run as user asterisk:

[SIGNATURECHECK] already set to [0]


Please wait...

Error(s) have occured, the following is the retrieve_conf output:
exit: 1
[FATAL] Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)







   Incredible PBX 13-12.3 for Scientific Linux                                                                        <  OK  >      Asterisk: DNApache: UP    MySQL: UPSendMail: UP    IPtables: UPSSH: UPLAN port: UP    Fail2Ban: UP   Webmin: UPGV OAUTH: DN   PortKnock: UP   NR VPN: UPFaxGetty: DN   IAX Modem: DN  HylaFax: DNRAM:32MB Scientific Linux 6.7  Disk:14GBAsterisk     Incredible GUI 12.0.39 Private IP: 10.34.0.121Public Info: 66.188.35.110  System Time: Thu Mar  2 19:11:21 EST 2017
WARNING: Always run Incredible PBX behind a secure hardware-based firewall. 

root@voice:~ $
 

Members online

No members online now.

Forum statistics

Threads
25,779
Messages
167,505
Members
19,199
Latest member
leocipriano
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