wardmundy
Nerd Uno
- Joined
- Oct 12, 2007
- Messages
- 19,201
- Reaction score
- 5,219
If you need to connect to a Ma Bell line, the OBi110 is the way to go.
[GalaxyS4]
address=10:D5:42:16:15:CF ; the address of the phone
port=3 ; the rfcomm port number (from mobile search in step #3)
context=from-trunk ; dialplan context for incoming calls
adapter=blue ; adapter to use
group=1 ; this phone is in channel group 1
sms=yes ; support SMS, defaults to yes but had to force it for S4
nocallsetup=yes ; set this only if your phone reports that it supports call progress notification, but does not do it. Motorola L6 for example.
/usr/local/bin/brcm43xx-firmware-update
/usr/sbin/hciattach -n /dev/brcm43xx any 3000000 &
amportal restart
/etc/init.d/bluetooth restart
/usr/sbin/hciattach -n /dev/brcm43xx any 3000000 &
amportal restart
p
d
2
n
p
2
p
w
e2fsck -fy /dev/sda2
resize2fs /dev/sda2
mount /dev/mmcblk0p1 /boot
sed -i 's|mmcblk0p2|sda2|' /boot/uEnv.txt
echo "/dev/sda2 / ext4 relatime,errors=remount-ro 0 1" >> /etc/fstab
echo "/dev/sda1 / ext4 relatime,errors=remount-ro 0 1" >> /etc/fstab
mkdir /esata1
mount /dev/sda1 /esata1
mkdir /esata2
mount /dev/sda2 /esata2
sed -i 's|mmcblk0p2|sda2|' /esata1/boot/uEnv.txt
sed -i 's|mmcblk0p1|sda2|' /esata2/etc/fstab
sed -i 's|mmcblk0p0|sda1|' /esata2/etc/fstab
apt-get -y install samba samba-common python-glade2 system-config-samba
cd /etc/samba
mv smb.conf smb.orig.conf
wget http://incrediblepbx.com/samba-ubuntu.tar.gz
tar zxvf samba-ubuntu.tar.gz
rm *.tar.gz
sed -i '/# End of Trusted Provider Section/r '/etc/samba/smb.iptables'' /etc/iptables/rules.v4
iptables-restart
service smbd restart
service nmbd restart
sed -i 's|/usr/local/sbin/amportal restart|service smbd restart\nservice nmbd restart\n/usr/local/sbin/amportal restart|' /etc/rc.local
# set up root password for SAMBA access with full RW privileges
smbpasswd -a root
useradd joeschmo --shell /bin/false
smbpasswd -a joeschmo
sed -i 's|root|root joeschmo|' /etc/samba/smb.conf
service smbd restart
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.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.