[asterisk-bugs] [Asterisk 0011673]: chan_mobile cell phone will not connect via bt.
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Mar 4 23:35:31 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: 03-04-2008 23:35 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.
======================================================================
----------------------------------------------------------------------
obnauticus - 03-04-08 23:35
----------------------------------------------------------------------
This helps a lot check this out:
asterisk*CLI> mobile search
No Bluetooth Cell / Mobile devices found.
-- Bluetooth Device SPHA640 has connected.
]2008-03-04 21:37:08] DEBUG[28674]: chan_mobile.c:980 rfcomm_write:
rfcomm_write() (SPHA640) [AT+BRSF=4
[2008-03-04 21:37:08] DEBUG[28675]: chan_mobile.c:1812 do_sco_listen:
About to accept() socket.
[2008-03-04 21:37:08] DEBUG[28674]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [+BRSF:37]
[2008-03-04 21:37:08] DEBUG[28674]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [OK]
]2008-03-04 21:37:08] DEBUG[28674]: chan_mobile.c:980 rfcomm_write:
rfcomm_write() (SPHA640) [AT+CIND=?
[2008-03-04 21:37:08] DEBUG[28674]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [+CIND:
("service",(0,1)),("call",(0,1)),("callsetup",(0,3))]
[2008-03-04 21:37:08] DEBUG[28674]: chan_mobile.c:1345 do_monitor_phone:
CIEV_CALL=2 CIEV_CALLSETUP=3
-- Bluetooth Device SPHA640 has disconnected, reason (104).
-- Bluetooth Device SPHA640 has connected.
]2008-03-04 21:37:34] DEBUG[28679]: chan_mobile.c:980 rfcomm_write:
rfcomm_write() (SPHA640) [AT+BRSF=4
[2008-03-04 21:37:34] DEBUG[28680]: chan_mobile.c:1812 do_sco_listen:
About to accept() socket.
[2008-03-04 21:37:34] DEBUG[28679]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [+BRSF:37]
[2008-03-04 21:37:34] DEBUG[28679]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [OK]
]2008-03-04 21:37:34] DEBUG[28679]: chan_mobile.c:980 rfcomm_write:
rfcomm_write() (SPHA640) [AT+CIND=?
[2008-03-04 21:37:34] DEBUG[28679]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [+CIND:
("service",(0,1)),("call",(0,1)),("callsetup",(0,3))]
[2008-03-04 21:37:34] DEBUG[28679]: chan_mobile.c:1345 do_monitor_phone:
CIEV_CALL=2 CIEV_CALLSETUP=3
[2008-03-04 21:37:34] DEBUG[28679]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [OK]
]2008-03-04 21:37:34] DEBUG[28679]: chan_mobile.c:980 rfcomm_write:
rfcomm_write() (SPHA640) [AT+CIND?
-- Bluetooth Device SPHA640 has disconnected, reason (104).
-- Bluetooth Device SPHA640 has connected.
]2008-03-04 21:37:41] DEBUG[28681]: chan_mobile.c:980 rfcomm_write:
rfcomm_write() (SPHA640) [AT+BRSF=4
[2008-03-04 21:37:41] DEBUG[28682]: chan_mobile.c:1812 do_sco_listen:
About to accept() socket.
[2008-03-04 21:37:41] DEBUG[28681]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [+BRSF:37]
[2008-03-04 21:37:41] DEBUG[28681]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [OK]
]2008-03-04 21:37:41] DEBUG[28681]: chan_mobile.c:980 rfcomm_write:
rfcomm_write() (SPHA640) [AT+CIND=?
[2008-03-04 21:37:41] DEBUG[28681]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [+CIND:
("service",(0,1)),("call",(0,1)),("callsetup",(0,3))]
[2008-03-04 21:37:41] DEBUG[28681]: chan_mobile.c:1345 do_monitor_phone:
CIEV_CALL=2 CIEV_CALLSETUP=3
[2008-03-04 21:37:41] DEBUG[28681]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [OK]
]2008-03-04 21:37:41] DEBUG[28681]: chan_mobile.c:980 rfcomm_write:
rfcomm_write() (SPHA640) [AT+CIND?
-- Bluetooth Device SPHA640 has disconnected, reason (104).
-- Bluetooth Device SPHA640 has connected.
]2008-03-04 21:37:49] DEBUG[28683]: chan_mobile.c:980 rfcomm_write:
rfcomm_write() (SPHA640) [AT+BRSF=4
[2008-03-04 21:37:49] DEBUG[28684]: chan_mobile.c:1812 do_sco_listen:
About to accept() socket.
[2008-03-04 21:37:49] DEBUG[28683]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [+BRSF:37]
[2008-03-04 21:37:49] DEBUG[28683]: chan_mobile.c:1304 do_monitor_phone:
rfcomm_read() (SPHA640) [OK]
]2008-03-04 21:37:49] DEBUG[28683]: chan_mobile.c:980 rfcomm_write:
rfcomm_write() (SPHA640) [AT+CIND=?
-- Bluetooth Device SPHA640 has disconnected, reason (104).
Issue History
Date Modified Username Field Change
======================================================================
03-04-08 23:35 obnauticus Note Added: 0083402
======================================================================
More information about the asterisk-bugs
mailing list