Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

FreePBX12 (IncrediblePBX) and Asterisk 13 on Pogoplug Pro V3 (6 replies)

$
0
0
It works and not that badly. It takes a little over 4 hours to compile, here are some preliminary instructions. Note this may FUBAR your working image so be prepared to have to redo it if something goes wrong.

Note: These scripts are based on the NerdVittles IncrediblePBX 12 GUI - Asterisk 13 script for Debian Raspian WHEEZY (NerdVittles Tutorial for IPBX 12 GUI - Asterisk 13) and the credit for the ingredients is all NV's. I have simply modified it slightly to make it compatible with bohdi's Debian fork.

WORK IN PROGRESS........................

Assumptions:
1. You are using a minium 8Gb flash drive with Sandisk Ultra Fit 3.0 preferred.

2. You have followed Qui's blog post on converting the Pogoplug V3 (pci or no-pci) to run bodhi's Debian here: Hacking the Pogoplug V3 Oxnas Pro and Classic

3. You have updated to the latest 4.1.0 Debian as outlined here: bodhi's Debian 4.1.0 Update. As part of this process, don't forget to dpkg the new linux headers.

4. You have enable a min 256MB swap file using the following instructions (Note: A swap file is mandatory in order for mysql and apache to run correctly):
root@debian:~# cd /var
root@debian:/var# touch swap.img
root@debian:/var# chmod 600 swap.img
root@debian:/var# dd if=/dev/zero of=/var/swap.img bs=1024k count=256
256+0 records in
256+0 records out
268435456 bytes (268 MB) copied, 34.1775 s, 7.9 MB/s
root@debian:/var# mkswap /var/swap.img
Setting up swapspace version 1, size = 262140 KiB
no label, UUID=1a4bf641-d049-476d-9d3b-e7a0dcc4b614
root@debian:/var# swapon /var/swap.img
root@debian:/var# echo "/var/swap.img    none    swap    sw    0    0" >> /etc/fstab

5. You have available a working USB bluetooth adapter which is needed if you want to use chan_mobile as a trunk for Asterisk.

The attached scripts build the system and you must executed the first script first - this is the one that builds Asterisk. Note that this script does an update and then reboots. Simply re-run the first script after the reboot. The second script builds FreePBX as well as enables Webmin, Iptables, Fail2ban and all the other typical Incredible PBX Functions.

Executing the scripts running as root:

1. Download both scripts and place them in your /root folder.
2. In the root folder execute 'chmod a+x Part*'
3. Run the first script './Part_1*'
4. The script will run unattended after the first re-boot until you need to configure menuselect. See attached pdf for my selections beyond the default choices, for the sound choices you can change them to your preferred language if desired. Be cognizant of how to make selections as you don't want to save prematurely. When done making selections, tab to save and continue.
5. The first script will take at least 3 hours to compile and you should keep an eye on it periodically to make sure it keeps going. When it ends, it ends to a simple prompt. You can ignore the errors right when it ends.
6. To run the second script, it's simply './Part_2*'. This script takes approximately 45 minutes to run through. At the end of the script, there will be some port information and other setup information displayed and you should copy and paste it to a text file for future reference.
7. After the second script completes, you need to set the admin password for the GUI login. While in /root, execute './admin-pw-change' and pick your password. You can then log into your IPBX system at the http:\\youripaddress by clicking on the admin radio slider.

I'll be forthright in saying that everything might not work 100% so you will have to troubleshoot. Also be advised that this IS NOT an official fork of the IPBX script so don't look for much support from the NerdVittles / pbxinaflash.net folks. However, much of what applies as advise and forum posts for the other similar built systems applies here as well so you can use alot of it for help and guidance.

To be continued.................................

Viewing all articles
Browse latest Browse all 3247

Trending Articles