login | register
Fri 03 of Jul, 2009 [21:40 UTC]

voip-info.org

History

chan_mobile

Created by: latv,Last modification on Wed 17 of Jun, 2009 [01:30 UTC] by kylek

chan_mobile (used to be chan_cellphone) — Use Bluetooth cell / mobile phones as FXO devices


Asterisk Channel Driver to allow Bluetooth Cell/Mobile Phones to be used as FXO devices and Bluetooth Headsets as FXS devices
The official Homepage is http://www.chan-mobile.org.

Features :- (Oct 2007)
  • Multiple cell phones can be connected (subject to some limitations - see Notes).
  • Multiple bluetooth adapters can be supported.
  • Asterisk automatically connects to each cell phone when it comes in range.
  • Command to discover bluetooth devices. Useful for configuration. Requires an unused bluetooth adapter.
  • Inbound calls to the cell phones are handled by Asterisk, just like inbound calls on a Zap channel.
  • Caller ID passed through on inbound calls.
  • Dial outbound on a cell phone using Dial(CELL/device/nnnnnnn) in the dialplan.
  • Use a Bluetooth Headset as extension using Dial(CELL/device) in the dialplan.
  • Application CellStatus can be used in the dialplan to see if a cell phone is connected.
  • Application MobileSMS to send SMS via a connected mobile phone
  • Supports devicestate for dialplan hinting.

chan_mobile was written by David Bowerman and is officially supported only for the Asterisk development trunk and is available as an add-on from http://svn.digium.com/view/asterisk-addons/trunk/channels/chan_mobile.c?view=markup. Current documentation can be obtained from http://svn.digium.com/view/asterisk-addons/trunk/doc/chan_mobile.txt
Unofficial and unsupported Asterisk 1.2 backport can be obtained from http://www.sigsegv.cx/sip-9.html.
A good installation guide for trixbox can be found under http://www.geek-pages.com/articles/asterisk/howto_build_and_configure_chan_mobile_on_trixbox.html.
Note: FC6 bluez yum packages with latest updates will not work, see comment below
Note: Some mobiles (Motorola V3 and K1) report themselves as a valid headset, but they do not work if you configure them as a headset in mobile.conf (not fully tested)
Note: Not all mobiles with bluetooth profiles have all the features necessary for this channel to work. For example - Nokia E65 is not usable.
Note: Each mobile "eats" one bluetooth adapter. Multiple mobiles cannot connect to the same adapter so if you want to connect multiple mobiles prepare to buy dongles by the basket.

Compatibility list

It is intended to share information about tested phones on this page.

USB Bluetooth dongle, Hardware Compatibility List:

Please also mention unsupported dongles. It's annoying to spend hours testing.

Note that several dongles based on broadcom chipsets require the option force_scofix=1 to btusb to fix missing audio issues. This can be added to /etc/modules
USB Bluetooth dongles
Manufacturer Chipset Working Comments
Acer BT600 Unknown
Y
Anycom CC3032 USB 200 Bluetooth 2.0 ED Unknown
N
Belkin F8T013DE110M BT.USB AD.CLASS II Unknown
N
Belkin F8T012DE110M BT.USB AD.CLASS I Unknown
N
Belkin F8T012UK1 BT.USB AD.CLASS I Unknown
N
Billionton CardBus Bluetooth Adapter (Cambridge Silicon Radio) CSR
Y
Working, reliable
Cirago BTA-6060 Unknown
Y
class 1, excellent range
Delock USB BT Adapter EDR Unknown
Y
Integrated System Solution Corp. KY-BT100 Bluetooth Adapter Unknown
Y
(but flooding syslog)
Logitech Bluetooth 2.0 EDR C-UV35 Unknown
N
Trust 2.0 Unknown
Y
Trust BT-2250p (0a5c:2101 Broadcom Corp. A-Link BlueUsbA2 Bluetooth) Unknown
N
No sound (tested with force_scofix)
Typhoon Unknown
Y
D-Link DBT-120 Unknown
Y
D-Link DBT-122 Unknown
N
Edimax EB-DGC1 Unknown
Y
(but flooding syslog)
MSI BToes Bluetooth PC2PC ver.254 Unknown
Y
(no voice, only send SMS)
MSI BToes 2.0 Bluetooth 3XFaster ver.476-CI Unknown
Y
Asus WL-BTD201M Unknown
N
No sound (tested with force_scofix)
Dell Wireless 350 (413c:8103 Dell Computer Corp. Wireless 350 Bluetooth) CSR
Y
Noname (Gemini ???) Accel Semiconductor Ltd
N
LogiLink BT0002 CSR
???
LogiLink BT0004 (1131:1004 Integrated System Solution Corp.) Integrated System Solution Corp.
N
MSI BToes 2.0 EDR Micro Dongle (ERP: BT2-USB-020R) (0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)) CSR
Y
STLab B-221 Broadcom Corp
N
Puhuixin Dongle PHX1124 Unknown
N
Canyon CN-BTU4 (0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)) CSR
Y


A useful bluetooth dongle chipset reference can be found at: http://www.holtmann.org/linux/bluetooth/devices.html (link is dead - July 29, 2008)

To avoid flooding syslog read bug report http://bugzilla.kernel.org/show_bug.cgi?id=6833#c2

Mobile phone, Hardware Compatibility List

According to chan_mobile docs and talks on digium bug trackerhttp://bugs.digium.com/view.php?id=8919, these phones should support at least some features.
Mobile phones
Manufacturer Firmware * Hands free Audio gateway SMS send SMS receive Comments
Apple iPhone 1.13
?
N
?
?
Audio coupling is delayed (5 sec)
Apple iPhone 3g 2.2.1
Y
Y
N
N
Seems to require Kernel 2.6.27+, as well as asterisk 1.6+
Benq Siemens EF81 058
Y
Y
?
?
Working, reliable
LG CU500
?
?
?
?
Working
LG KG800 (chocolate)
?
?
?
?
Working
LG TU500
?
?
?
?
Working
Motorola V195
?
?
?
?
Working
Motorola L6
?
?
?
?
Working
Motorola L7
?
?
?
?
Working
Motorola V3
?
?
?
?
Working
Motorola V3re (V3 edge?)
Y
Y
N
N
Working, blackberry=yes port=7
Nokia 5200
?
?
?
?
Working
Nokia 6021
?
?
?
?
Working
Nokia 6102i
?
?
?
?
Working
Nokia 6111
?
?
?
?
Working
Nokia 6230i
?
Y
Y
?
Working
Nokia 6233
?
?
?
?
Working
Nokia 6234
?
?
?
?
Working
Nokia 6310i 5.10
?
?
?
?
Outgoing calls ok, incoming intermittent
Nokia 6310i 5.50
?
Y
Y
?
Working
Nokia 6600
?
?
?
?
Working
Nokia 6830
?
?
?
?
Working
Nokia 7600
?
?
?
?
Working
Nokia 7610
?
?
?
?
Working
Nokia E51
?
?
?
?
Nokia E61
?
?
?
?
Working
Nokia E70
?
?
?
?
Working
Nokia N80
?
?
?
?
Working
Palm Treo 650
?
?
?
?
Palm Centro (US GSM) G.R01.12
?
?
N
N
Working, though no caller ID, no SMS
RIM Blackberry 7250
?
?
?
?
Working
Samsung SGH-E630
?
?
?
?
Working
Samsung SGH-E720
Y
Y
N
N
Working, Only voice, NOT SMS
Samsung SGH-A707 (sync)
Y
Y
N
N
Working, Only voice, NOT SMS
Samsung SGH-X820
Y
Y
N
N
Unless you reboot phone after enabling bluetooth, outgoing calls won't work (phone ignores ATD command)
Sony Ericsson K series K700i, K810i etc
?
?
?
?
Working
Sony Ericsson P series P800, P900 etc
?
?
?
?
Working
Sony Ericsson P990i R9GA001, R5A01
?
Y
N
?
Working
Sony Ericsson T series T68(i), T3x0, T6x0 etc
?
?
?
?
Working
Sony Ericsson V series v600i etc
?
?
?
?
Working
Sony Ericsson W300i
?
?
?
?
Working
VK 2020
?
?
?
?
Working



*) To find the firmware version enter *#0000# and press send (Nokia phones)
For SonyEricsson press >*<<*<*
"<=left move on joystick"
">=right joystick move...."
"then service info > SW information"

Phones which support all features

  • Nokia 6021
  • Nokia 6230i
  • Nokia E51

By now are known to support all features.
Other phones may support voice but not support SMS, or support sending SMS, but not receiving (as Nokia 6131).

Phones with partial support

According to chan_mobile docs and talks on digium bug trackerhttp://bugs.digium.com/view.php?id=8919, these phones should support at least some features.
  • Benq Siemens EF81 (sms untested)
  • LG TU500 - Working
  • LG CU500 - Working
  • LG KG800 ( chocolate ) - Working
  • Samsung SGH-E720 [x] Voice [ ] SMS

and many more ..
It is intended to test as much phones as possible, give them rating and post results here.





Checklist

Before you try to use this channel driver, please check the following requirements:
  • You need to use asterisk trunk from svn, otherwise you'll need to do some patching
  • It is critical to use recent bluez-libs, either compiled from source http://www.bluez.org/, or you have to use recent distro. Ubuntu 7.10 is reported to work, others with bluez-libs >= 3.19 should work as well
  • Check if your phone is supported in list above. In case your phone is supported, check if it has recent firmware. For Nokia phones, firmware revision is showed upon typing *#0000#. Table of current firmware revision could be found here: http://nokiamania.cz/content/view/197/2/
  • Check if your bluetooth dongle has CSR chipset (lsusb -v), this is known to work. Some bluetooth dongles just sucks.

Known issues:

  • Sometimes changing SIM card helps to solve a problem of routing bluetooth voice channel to Asterisk during incoming calls (voice goes to phone speaker).

See also:

how to connect to gsm with asterisk in Spanish & more - chan_mobile en EspaƱol by Linuxmall
Asterisk Bluetooth channels for Asterisk version 1.2

Comments