[asterisk-bugs] [Asterisk 0011673]: chan_mobile cell phone will not connect via bt.

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jan 19 09:01:21 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11673 
====================================================================== 
Reported By:                obnauticus
Assigned To:                dbowerman
====================================================================== 
Project:                    Asterisk
Issue ID:                   11673
Category:                   Addons/chan_mobile
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.16.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-03-2008 16:44 CST
Last Modified:              01-19-2008 09:01 CST
====================================================================== 
Summary:                    chan_mobile cell phone will not connect via bt.
Description: 
My cell phone will not connect over bluetooth to the chan_mobile driver:

    -- Bluetooth Device SPHA640 has connected.
    -- Bluetooth Device SPHA640 has disconnected, reason (104).
    -- Bluetooth Device SPHA640 has connected.
    -- Bluetooth Device SPHA640 has disconnected, reason (104).
    -- Bluetooth Device SPHA640 has connected.
    -- Bluetooth Device SPHA640 has disconnected, reason (104).

The cell phone disconnects a few miliseconds after the Asterisk says the
device has connected via CLI.

A hcidump log is provided attached in dump.log (not every time the device
disconnects it obviouly generates a Disconnect Complete HCI event in the
log (HCI Event: Disconn Complete (0x05) plen 4).

The source I am using to compile chan_mobile is included, along with a
patch I found to even compile and get working.
====================================================================== 

---------------------------------------------------------------------- 
 rolfbeethoven - 01-19-08 09:01  
---------------------------------------------------------------------- 
I experienced exactly the same problem as you describe.  The phone kept
connect and disconnecting with the error message "[my phone info].. has
disconnected, reason (104)."  My phone was connecting fine with no problems
at first, but any incoming calls were picked up and disconnected
immediately, so I started playing around with mobile.conf.  One of the
versions I tried included type=headset in my phone stanza.  When I unloaded
and loaded chan_mobile.so, I got the connect-disconnect problem ad nauseum.
 When I changed the mobile.conf settings to their original settings (see
below) and unloaded and loaded chan_mobile.so I get my old reliable
connection back.  My phone never disconnects, but Asterisk always hangs up.
 Anyway, I thought you may want to experiment with your mobile.conf
settings.  Our problem sounded identical.

my mobile.conf settings:

; mobile.conf
; configuration file for chan_mobile

[general]
interval=10             ; Number of seconds between trying to connect to
devices.

[adapter]
id=blue
address=00:02:72:80:36:03

[Katja Cell]
address=00:19:A1:BE:3F:6A       ; the address of the phone
port=4                          ; the rfcomm port number (from mobile
search)
context=incoming-mobile         ; dialplan context for incoming calls
adapter=blue                    ; adapter to use 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-19-08 09:01  rolfbeethoven  Note Added: 0080896                          
======================================================================




More information about the asterisk-bugs mailing list