Channel Mobile Setup & Configure - leebalaji1234/voiceprotocol GitHub Wiki

Bluetooth Library:

  • yum -y install bluez-utils bluez-libs bluez-libs-devel bluez-hcidump automake autoconf subversion gcc gcc-c++

Asetrisk Installation:

  • cd /usr/src

  • wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz

  • yum update -y

  • sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config

  • reboot

  • yum install -y make wget openssl-devel ncurses-devel newt-devel libxml2-devel kernel-devel gcc gcc-c++ sqlite-devel libuuid-devel

  • tar zxvf asterisk*

  • ./configure && make menuselect

  • make && make install && make config

  • ./configure --libdir=/usr/lib64 && make menuselect && make && make install

  • Optional: If you ran into errors you will want to clean the install directory before recompiling.

  • make clean && make distclean

  • Once you have an error-free install, copy the sample files from the configs subdirectory into /etc/asterisk.

  • make samples

  • Then add the Asterisk start script to the /etc/init.d/ directory

  • make config

Bluetooth Setup:

  • hcitool scan result look like 00:1B:63:E4:2F:05 Dan's iPhone -> phone name
  • hcitool dev hci0 00:81:C5:33:25:A4 -> bluetooth adapter name
  • Go to /etc/asterisk/chan_mobile.conf [] id= address=bluetooth adapter name mac address [] adapter=phone name mac address example:

[Adapter] address = 00:81:C5:33:25:A4 id = pabx

[Trollphone] address = EC:1B:6B:64:C2:88 port = 2 context = from-trollphone adapter = pabx

⚠️ **GitHub.com Fallback** ⚠️