
Segmentation fault after registering and loading g729a codec on x86-64 clean install
I am new to Asterisk and have purchased a g729 codec from Digium for use with a clean install of Asterisk. I am using FreePBX-64bit-6.12.65.iso Distro on a Dell T110 server. Everything installs and runs correctly.
I have followed the steps in the g729 README:
1) Download and execute the 'register' utility to generate a valid license.
2) Download and execute the 'benchg729' utility to determine the optimum build.
3) Use the 'G.729 Selector' web utility to determine the recommended G.729 codec binary download package (barcelona_64)
4) Download and install the 'codec_g729' binary that is built for your platform.
I have extracted the codec and copied it to the /usr/lib64/asterisk/modules/ directory. After doing this, I am loading the codec with the following command:
[root@localhost ~]# asterisk -rx "module load codec_g729a.so"
When I then try to enter the asterisk CLI, I am getting the following error:
[root@localhost ~]# asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Rebooting the server brings up a looping error refering to /usr/sbin/safe_asterisk: line 158: 17898 Segementaiton fault (core dumped) and a scrolling text.
Can someone suggest what I can do to troubleshoot this further please, and also if this might be related to trying to use a 64-bit version of FreePBX rather than the 32-bit version?
thanks!





This is not possible. The reason being is that every extension then can setup their phonebooks however they want. There is no global Switchboard phonebook that can be loaded for every extension. If you would like to see this feature as a future software feature, please send your request to features@switchvox.com.

Switchvox memory leak -> High swap usage since upgrade to 5.8.5
Alternatively, is there a way to downgrade a Switchvox appliance to an earlier version of the software?




There is a resolution slated for 5.9.1 which should be out very shortly.
If you have support, you can open a tech support ticket and we can install a script that runs a cron job every hour to keep the memory down until the formal release of the fix.
If you would like to rollback the version, you will need to have a backup made on the earlier version as backups must be restored to the same version they were taken on.
You would lose any configurations, voicemail, logs, that were done after that backup.
Here is a link to steps on restoring:
http://support.digium.com/articles/FAQ/How-to-rollback-to-a-previous-Switchvox-version?retURL=%2Fapex%2FKnowledge&popup=false
Thank you,

How do I adjust the page a Rapid Dial contact shows up on?
We are on version 6.2.1 if that is important.



Can I prioritize call queues in 6.2? I would like to give certain queues priority over other queues.




You cannot give queues priority over other queues unless calls simply hit them first, then rollover to the 2nd queue.
You can give priority to calls within a queue in 6.2.1 (look at the 'Call-Control Options for Queues' section in the link below:
http://kb.digium.com/articles/FAQ/Updating-to-Switchvox-6-2
Problem fixed: I was following the README files provided by email when I purchased my license without thinking them through properly. While I had correctly identified that I needed to modify the wget commands for the x86-64 version of the software I was using, I had not modified the link for the version of Asterisk I was using from 1.8.4 to 11.0 therefore
wget http://downloads.digium.com/pub/telephony/codec_g729/\asterisk-1.8.4/x86-64/codec_g729a-1.8.4_3.1.7-barcelona_64.tar.gz should actually have been wget http://downloads.digium.com/pub/telephony/codec_g729/\asterisk-11.0/x86-64/codec_g729a-11.0_3.1.7-barcelona_64.tar.gz for me (note the path to the different Asterisk version).
Once I corrected this, the codec loaded correctly and license shows on my server.