サーラリマンは働き過ぎ、社畜化に注意しよう!!

chan_mobile asterisk freepbx

asterisk
スポンサーリンク

bluetoothctl

power on

scan on

devices

pair <スマホのMACアドレス>

trust <スマホのMACアドレス>

connect <スマホのMACアドレス>

exit

asterisk -rvvvv

mobile search

vi /etc/asterisk/chan_mobile.conf

[general]
interval=30

[adapter]
id=blue
address=00:1B:DC:08:E1:31

[iphone]
address=90:8C:43:E5:0D:9C
port=8
context=incoming-mobile
adapter=blue
group=1address=

vi /etc/bluetooth/main.conf

[Policy]
#
# The ReconnectUUIDs defines the set of remote services that should try
# to be reconnected to in case of a link loss (link supervision
# timeout). The policy plugin should contain a sane set of values by
# default, but this list can be overridden here. By setting the list to
# empty the reconnection feature gets disabled.
#ReconnectUUIDs=

AutoEnable=true

 

root@intel-nuc:/home/ckenko25# bluetoothctl
[NEW] Controller 00:1B:DC:08:E1:31 intel-nuc [default]
[NEW] Device 4C:57:CA:41:93:C9 藤本孝彦のiPhone
[NEW] Device 90:8C:43:E5:0D:9C 藤本孝彦のiPhone
[NEW] Device 20:F4:78:4E:77:BD Redmi Note 9S
[bluetooth]# trust 4C:57:CA:41:93:C9
Changing 4C:57:CA:41:93:C9 trust succeeded
[bluetooth]# exit
[DEL] Controller 00:1B:DC:08:E1:31 intel-nuc [default]
root@intel-nuc:/home/ckenko25# asterisk -rvvvvv
Asterisk 13.36.0, Copyright (C) 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 13.36.0 currently running on intel-nuc (pid = 2083)
intel-nuc*CLI> mobile search
Address Name Usable Type Port
4C:57:CA:41:93:C9 藤本孝彦のiPhone Yes Phone 8

コメント