| 1 |
; |
| 2 |
; chan_mobile.conf |
| 3 |
; configuration file for chan_mobile |
| 4 |
; |
| 5 |
|
| 6 |
[general] |
| 7 |
interval=30 ; Number of seconds between trying to connect to devices. |
| 8 |
|
| 9 |
; The following is a list of adapters we use. |
| 10 |
; id must be unique and address is the bdaddr of the adapter from hciconfig. |
| 11 |
; Each adapter may only have one device (headset or phone) connected at a time. |
| 12 |
; Add an [adapter] entry for each adapter you have. |
| 13 |
|
| 14 |
[adapter] |
| 15 |
id=blue |
| 16 |
address=00:09:DD:60:01:A3 |
| 17 |
;forcemaster=yes ; attempt to force adapter into master mode. default is no. |
| 18 |
;alignmentdetection=yes ; enable this if you sometimes get 'white noise' on asterisk side of the call |
| 19 |
; its a bug in the bluetooth adapter firmware, enabling this will compensate for it. |
| 20 |
; default is no. |
| 21 |
|
| 22 |
[adapter] |
| 23 |
id=dlink |
| 24 |
address=00:80:C8:35:52:78 |
| 25 |
|
| 26 |
; The following is a list of the devices we deal with. |
| 27 |
; Every device listed below will be available for calls in and out of Asterisk. |
| 28 |
; Each device needs an adapter=xxxx entry which determines which bluetooth adapter is used. |
| 29 |
; Use the CLI command 'mobile search' to discover devices. |
| 30 |
; Use the CLI command 'mobile show devices' to see device status. |
| 31 |
; |
| 32 |
; To place a call out through a mobile phone use Dial(Mobile/[device]/NNN.....) or Dial(Mobile/gn/NNN......) in your dialplan. |
| 33 |
; To call a headset use Dial(Mobile/[device]). |
| 34 |
|
| 35 |
[LGTU550] |
| 36 |
address=00:E0:91:7F:46:44 ; the address of the phone |
| 37 |
port=4 ; the rfcomm port number (from mobile search) |
| 38 |
context=incoming-mobile ; dialplan context for incoming calls |
| 39 |
adapter=dlink ; adapter to use |
| 40 |
group=1 ; this phone is in channel group 1 |
| 41 |
;sms=no ; support SMS, defaults to yes |
| 42 |
;nocallsetup=yes ; set this only if your phone reports that it supports call progress notification, but does not do it. Motorola L6 for example. |
| 43 |
|
| 44 |
[blackberry] |
| 45 |
address=00:60:57:32:7E:B2 |
| 46 |
port=2 |
| 47 |
context=incoming-mobile |
| 48 |
adapter=dlink |
| 49 |
group=1 |
| 50 |
;blackberry=yes ; set this if you are using a blackberry device |
| 51 |
|
| 52 |
[6310i] |
| 53 |
address=00:60:57:32:7E:B1 |
| 54 |
port=13 |
| 55 |
context=incoming-mobile |
| 56 |
adapter=dlink |
| 57 |
group=1 ; this phone is in channel group 1 also. |
| 58 |
|
| 59 |
[headset] |
| 60 |
address=00:0B:9E:11:AE:C6 |
| 61 |
port=1 |
| 62 |
type=headset ; This is a headset, not a Phone ! |
| 63 |
adapter=blue |
| 64 |
|
| 65 |
[headset1] |
| 66 |
address=00:0B:9E:11:74:A5 |
| 67 |
port=1 |
| 68 |
type=headset |
| 69 |
adapter=dlink |