[asterisk-bugs] [Asterisk 0015075]: [patch] chan_mobile.c:1038 mbl_read: read error 107
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed May 27 11:57:42 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/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-27 11:57 CDT
======================================================================
Summary: [patch] 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?
======================================================================
----------------------------------------------------------------------
(0105553) mnicholson (administrator) - 2009-05-27 11:57
https://issues.asterisk.org/view.php?id=15075#c105553
----------------------------------------------------------------------
Good work with the patch guys. I am cleaning it up and I will commit it
shortly.
Issue History
Date Modified Username Field Change
======================================================================
2009-05-27 11:57 mnicholson Note Added: 0105553
======================================================================
More information about the asterisk-bugs
mailing list