[Home]

Summary:ASTERISK-22313: handset get disconnected during a call
Reporter:shabbir abbasi (shabbir92)Labels:
Date Opened:2013-08-19 07:22:21Date Closed:2013-08-19 20:40:54
Priority:MajorRegression?
Status:Closed/CompleteComponents:Addons/chan_mobile
Versions:1.8.23.0 11.5.0 Frequency of
Occurrence
Related
Issues:
Environment:uname -a Linux 2.6.32-358.14.1.el6.i686 #1 SMP Tue Jul 16 21:12:30 UTC 2013 i686 i686 i386 GNU/Linux centos 6.4 [root@localhost ~]# hciconfig -a hci1 hci1: Type: BR/EDR Bus: USB BD Address: 00:15:83:42:01:62 ACL MTU: 310:10 SCO MTU: 64:8 UP RUNNING PSCAN RX bytes:1254475 acl:41 sco:24556 events:119 errors:4 TX bytes:561403 acl:26 sco:11000 commands:50 errors:37 Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x59 0x83 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'localhost.localdomain-1' Class: 0x4a0104 Service Classes: Networking, Capturing, Telephony Device Class: Computer, Desktop workstation HCI Version: 2.1 (0x4) Revision: 0x149c LMP Version: 2.1 (0x4) Subversion: 0x149c Manufacturer: Cambridge Silicon Radio (10) handset nokia C1-01 v 04.04 23-02-11 RM-607 (c) Nokia Variant: 00.00 Installed Packages Name : bluez Arch : i686 Version : 4.66 Release : 1.el6 Size : 937 k Repo : installed From repo : base Summary : Bluetooth utilities URL : http://www.bluez.org/ License : GPLv2+ Description : Utilities for use in Bluetooth applications: : - hcitool : - hciattach : - hciconfig : - bluetoothd : - l2ping : - start scripts (Red Hat) : - pcmcia configuration files : : The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A. Name : bluez-alsa Arch : i686 Version : 4.66 Release : 1.el6 Size : 91 k Repo : installed From repo : base Summary : ALSA support for Bluetooth audio devices URL : http://www.bluez.org/ License : GPLv2+ Description : This package contains ALSA support for Bluetooth audio devices Name : bluez-compat Arch : i686 Version : 4.66 Release : 1.el6 Size : 117 k Repo : installed From repo : base Summary : Compatibility utilities for Bluetooth devices URL : http://www.bluez.org/ License : GPLv2+ Description : This package contains compatibility utilities for Bluetooth devices. : This includes hidd, dund and pand. Name : bluez-gstreamer Arch : i686 Version : 4.66 Release : 1.el6 Size : 132 k Repo : installed From repo : base Summary : GStreamer support for SBC audio format URL : http://www.bluez.org/ License : GPLv2+ Description : This package contains gstreamer plugins for the Bluetooth SBC audio format Name : bluez-libs Arch : i686 Version : 4.66 Release : 1.el6 Size : 174 k Repo : installed From repo : base Summary : Libraries for use in Bluetooth applications URL : http://www.bluez.org/ License : GPLv2+ Description : Libraries for use in Bluetooth applications. Name : bluez-libs-devel Arch : i686 Version : 4.66 Release : 1.el6 Size : 112 k Repo : installed From repo : base Summary : Development libraries for Bluetooth applications URL : http://www.bluez.org/ License : GPLv2+ Description : bluez-libs-devel contains development libraries and headers for : use in Bluetooth applications. Attachments:( 0) handset-disconnected-during-call
Description:i have tried asterisk 1.8.23 and asterisk 11.5.0
but issue is same .some time call completes susscessfull without disconnection but some time handset gets disconnected from asterisk and cal will not hangups from gsm side ;i have 3 handsets + 3 bluetooth dongles and same issue with aal sets,
Comments:By: shabbir abbasi (shabbir92) 2013-08-19 07:24:53.332-0500

asterisk log with core set debug 3  is attached above in attachmint

kindly look on point
[2013-08-19 13:42:03] DEBUG[22256][C-00000028]: chan_mobile.c:1087 mbl_read: *** mbl_read()
[2013-08-19 13:42:03] DEBUG[22256][C-00000028]: chan_mobile.c:1109 mbl_read: [C13] read error 103, going to wait for new connection
[2013-08-19 13:42:03] DEBUG[21790]: chan_mobile.c:3723 do_monitor_phone: [C13] error reading from device: Software caused connection abort (103)
[2013-08-19 13:42:03] DEBUG[21790]: chan_mobile.c:3840 do_monitor_phone: [C13] device disconnected, hanging up owner
[2013-08-19 13:42:03]     -- Bluetooth Device C13 has disconnected.
[2013-08-19 13:42:03] DEBUG[22256][C-00000028]: channel.c:7564 ast_generic_bridge: Didn't get a frame from channel: Mobile/C13-2c08
[2013-08-19 13:42:03] DEBUG[22256][C-00000028]: res_rtp_asterisk.c:2104 ast_rtp_update_source: Setting the marker bit due to a source update
[2013-08-19 13:42:03] DEBUG[22256][C-00000028]: channel.c:8053 ast_channel_bridge: Bridge stops bridging channels Motif/abdulkhalik731-c833 and Mobile/C13-2c08
[2013-08-19 13:42:03] DEBUG[22256][C-00000028]: channel.c:2840 ast_hangup: Hanging up channel 'Mobile/C13-2c08'
[2013-08-19 13:42:03] DEBUG[22256][C-00000028]: chan_mobile.c:1010 mbl_hangup: [C13] hanging up device

By: Matt Jordan (mjordan) 2013-08-19 20:40:45.286-0500

This is not a bug.

Your device appears to be disconnecting from Asterisk:

{quote}
[2013-08-19 13:42:03] DEBUG[21790]: chan_mobile.c:3723 do_monitor_phone: [C13] error reading from device: Software caused connection abort (103)
{quote}

This could be for a variety of reasons - the device may be sending an AT command not recognized by chan_mobile, or the device itself may just be disconnecting. Either way, chan_mobile is doing the appropriate thing on a failed {{rfcomm_read}} and disconnecting the device.

By: shabbir abbasi (shabbir92) 2013-08-29 04:20:42.705-0500

dear matt jordan  thanks for reply
i have reported at http://bugs.centos.org/view.php?id=6626

and they asked that "  Your kernel is "Tainted". What proprietary module do you have?
Also check to see if your firmware is up to date.

asterisk is not a CentOS product. It does modify the kernel, so is not supported by CentOS. Please try seeking help from them. "
what is ur suggestion  what should i do  ?

By: Matt Jordan (mjordan) 2013-08-29 07:39:11.823-0500

The bug marshal on the CentOS project is correct that Asterisk is not managed by that project; however, they are incorrect in stating that Asterisk modifies the kernel. It, by itself, does not.

That aside, there's nothing more that we can to do here on this issue. This does not appear to be an Asterisk problem, but rather a problem with using that particular device with your particular version/installation of Linux. I would suggest that you work it from that particular angle.

As this is not a support forum, if you continue to need help with connecting your bluetooth device to Asterisk, I would suggest discussing the issues you're facing on the Asterisk users mailing list (asterisk-users@lists.digium.com).