Return-Path: MIME-Version: 1.0 In-Reply-To: <200905211346.28693.Hugo.Mildenberger@namir.de> References: <5d223510905201349w416f50cal520dde1281f90bc7@mail.gmail.com> <200905211346.28693.Hugo.Mildenberger@namir.de> Date: Thu, 21 May 2009 10:22:25 -0300 Message-ID: <5d223510905210622h4d3b4ec5h9b4772a3393f2fb1@mail.gmail.com> Subject: Re: bluez 4.x, SCO socket - connection reset by peer From: Rafael Seste To: Hugo Mildenberger Cc: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hugo, On Thu, May 21, 2009 at 8:46 AM, Hugo Mildenberger wrote: > Am Mittwoch, 20. Mai 2009 schrieb Rafael Seste: >> Hi, >> >> I trying to use asterisk (with chan_mobile) to connect with my mobile phone. >> When there is a incoming/outgoing call, this module creates a >> sco_socket to send/receive audio packets. >> >> socket(PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO) >> >> when this socket is ready...it can write data once, after that when it >> tries to read an error is returned: >> >> sco_read() error 104 >> >> 104 means - connection reset by peer >> >> after this i got error 107 - not connect. >> >> Some one knows why is the reason of this error 104??? >> >> kernel 2.6.22.18 >> bluez 4.32 >> >> tks > > > Are you also using a Nokia cell phone? This error > is likely a consequence of the patch introduced by > > https://issues.asterisk.org/view.php?id=15037 > > Maybe you would like to report your setup also here: > > https://issues.asterisk.org/view.php?id=15075 > > > Best Regards > > I'm testing with a Nokia 5310 and a LG KF-240 This error occurs with both mobile phones. I will try the new versions of kernel and bluez -- Rafael S. Seste Eng Computa??o - Unicamp