[asterisk-bugs] [Asterisk 0015075]: chan_mobile.c:1038 mbl_read: read error 107
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun May 10 18:58:37 CDT 2009
The following issue has been SUBMITTED.
======================================================================
http://bugs.digium.com/view.php?id=15075
======================================================================
Reported By: hmld
Assigned To: mnicholson
======================================================================
Project: Asterisk
Issue ID: 15075
Category: Addons/chan_mobile
Reproducibility: always
Severity: tweak
Priority: normal
Status: assigned
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 905
Request Review:
======================================================================
Date Submitted: 2009-05-10 18:58 CDT
Last Modified: 2009-05-10 18:58 CDT
======================================================================
Summary: chan_mobile.c:1038 mbl_read: read error 107
Description:
In bug report http://bugs.digium.com/view.php?id=15037 I mentioned that a
"read error 104" happened repeatedly. Now, with chan_mobile version 905 and
the quickly evolving git version of the bluetooth kernel subsystem, when
asterisk is making a call via the cell phone I'm getting read error 107.
This error number translates to "transport endpoint is not connected"
(formely: 104 "connection reset by peer"). But voice is back and clear.
Error 107 stops to be printed two seconds and 80856 identical copies later
the very moment the mobile reports that it is ringing the other side :
- Executing [0xxxxxxxxx at phones:1] Dial("SIP/1000-b9660308",
"Mobile/Nokia/0xxxxxxxx,45") in new stack
-- Called Nokia/0xxxxxxxxx
[May 11 18:32:45] ERROR[7791]: chan_mobile.c:1038 mbl_read: read error
104
[...]
[May 11 18:32:47] ERROR[7791]: chan_mobile.c:1038 mbl_read: read error
107
-- Mobile/Nokia-1728 is ringing
-- Mobile/Nokia-1728 is ringing
== Spawn extension (phones, 0xxxxxxxxx, 1) exited non-zero on
'SIP/1000-b9660308'
-- Bluetooth Device Nokia has disconnected.
-- Bluetooth Device Nokia has connected, initilizing...
-- Bluetooth Device Nokia initialized and ready.
The high poll frequency (about 40 kHz) points to a problem with file
descriptor handling around the select system call. Possibly FD_CLR is left
out on in case of a read error?
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-05-10 18:58 hmld New Issue
2009-05-10 18:58 hmld Status new => assigned
2009-05-10 18:58 hmld Assigned To => mnicholson
2009-05-10 18:58 hmld Asterisk Version => SVN
2009-05-10 18:58 hmld Regression => No
2009-05-10 18:58 hmld SVN Branch (only for SVN checkouts, not tarball
releases) => trunk
2009-05-10 18:58 hmld SVN Revision (number only!) => 905
======================================================================
More information about the asterisk-bugs
mailing list