相続、親が弱ってきたら銀行の預金は親の面倒を見ているものが全て解約して管理すべきである、銀行は解約させない!!

chan_mobile asterisk freepbx

Asterisk
301 Moved Permanently

スマホの画面スリープは解除しておく

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

 

intel-nuc*CLI> mobile show devices
ID Address Group Adapter Connected State SMS
iphone 4C:57:CA:41:93:C9 1 blue No None Yes

connect No はiphoneでペアをする必要がある

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.intel-nuc*CLI> mobile show devices
ID Address Group Adapter Connected State SMS
iphone 4C:57:CA:41:93:C9 1 blue No None Yes
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
Asterisk
スポンサーリンク
シェアする
ふじやんをフォローする
スポンサーリンク

コメント