Quantcast
Channel: VOIP-info.org Wiki Changes
Viewing all articles
Browse latest Browse all 5767

chan_mobile

$
0
0

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 (no longer available).

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://svnview.digium.com/svn/asterisk/trunk/addons/chan_mobile.c?view=markup. Current documentation can be obtained from http://svnview.digium.com/svn/asterisk-addons/branches/1.6.2/doc/chan_mobile.txt?view=markup
Unofficial and unsupported Asterisk 1.2 backport can be obtained from http://www.sigsegv.cx/sip-9.html.

Note:The above seems a bit out of date (24-11-2011). Branch 1.6 includes chan_mobile in Asterisk Addons, and from 1.8 onwards it is included in the main Asterisk source download (in the add-ons config menu).

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.

SMS

In chan_mobile.c, you'll see apps MobileSendSMS(device,dest,message), which allows you to send an SMS message via the dialplan, thru the bluetooth attached phone.

To get an SMS, you have to have a cellphone bluetooth attached, and capable of passing sms messages. When it reports to Asterisk via the bluetooth connection, that an SMS message was recieved, Asterisk will try to run the "sms" extension, with the channel variables SMSSRC and SMSTXT channel variables set to the appropriate values. In the dialplans you can turn this into an email, an announcement, a text-to-speech (via festival or Cepstral or whatever), or whatever your needs or imagination can supply.

I've asked around a while back, and the only phone capable of such sms capabilities was one running the Symbian OS. ...

Viewing all articles
Browse latest Browse all 5767

Trending Articles