Summary: | ASTERISK-14071: [patch] chan_mobile.c:1683 sco_accept: incoming audio connection for pvt without owner | ||
Reporter: | hmld (hmld) | Labels: | |
Date Opened: | 2009-05-05 20:55:28 | Date Closed: | 2009-05-15 16:53:46 |
Priority: | Blocker | Regression? | No |
Status: | Closed/Complete | Components: | Addons/chan_mobile |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) no-owner1.diff | |
Description: | Using Asterisk SVN-trunk because chan_mobile version 1.6.1.0 delayed the outgoing voice signal by a about a second, I encountered the above mentioned problem. The phone, connected via Cambridge Silicon Radio based USB Bluetoth adapter (0a12:0001) is a Nokia 6280 (with latest firmware V6.43). I presume this is a Nokia protocol problem, as it occurs only after the first call had been made, but then continously on each subsequent reconnection attempt. But even on first call, no voice is received, so there may be two different problems. | ||
Comments: | By: Matthew Nicholson (mnicholson) 2009-05-06 10:39:58 Please test with the patch I just uploaded. By: hmld (hmld) 2009-05-06 13:36:28 Patch applied. The mobile now gets registers and stays registered until after a call is made. The first call will gets through, but still no voice can be heard. The second or third attempt then quickly fills up the log in a tight loop, saying: ERROR[1179] chan_mobile.c: read error 104 Sifting through the log, there are preexisting other problems, which could somehow be related: [May 6 20:24:16] WARNING[2362] loader.c: Error loading module 'app_voicemail.so': /usr/lib/asterisk/modules/app_voicemail.so: undefined symbol: ast_smdi_mwi_message_destroy [May 6 20:24:16] NOTICE[2362] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener. [May 6 20:24:16] WARNING[2362] loader.c: Error loading module 'res_agi.so': /usr/lib/asterisk/modules/res_agi.so: undefined symbol: ast_speech_start [May 6 20:24:17] WARNING[2362] loader.c: Error loading module 'app_speech_utils.so': /usr/lib/asterisk/modules/app_speech_utils.so: undefined symbol: ast_speech_start [May 6 20:24:18] WARNING[2362] loader.c: Error loading module 'app_queue.so': /usr/lib/asterisk/modules/app_queue.so: undefined symbol: ast_monitor_start [May 6 20:24:18] WARNING[2362] loader.c: Error loading module 'chan_agent.so': /usr/lib/asterisk/modules/chan_agent.so: undefined symbol: ast_monitor_start By: Matthew Nicholson (mnicholson) 2009-05-07 09:09:16 Ok. I will have to look at this some more then. By: jongerenchaos (jongerenchaos) 2009-05-07 15:40:27 For me this patch is working (without other issue's for now). By: Matthew Nicholson (mnicholson) 2009-05-08 10:38:26 hmld, Please open a new bug for that read error. By: Digium Subversion (svnbot) 2009-05-08 10:40:02 Repository: asterisk-addons Revision: 903 U trunk/channels/chan_mobile.c ------------------------------------------------------------------------ r903 | mnicholson | 2009-05-08 10:40:01 -0500 (Fri, 08 May 2009) | 6 lines Accept SCO sockets even if there is no pvt->owner. An owner may come later. (closes issue ASTERISK-14071) Reported by: hmld Tested by: mnicholson, hmld, jongerenchaos ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk-addons?view=rev&revision=903 By: Digium Subversion (svnbot) 2009-05-08 16:05:16 Repository: asterisk-addons Revision: 903 U trunk/channels/chan_mobile.c ------------------------------------------------------------------------ r903 | mnicholson | 2009-05-08 10:40:01 -0500 (Fri, 08 May 2009) | 10 lines Accept SCO sockets even if there is no pvt->owner. An owner may come later. (closes issue ASTERISK-14071) Reported by: hmld Tested by: mnicholson, hmld, jongerenchaos (closes issue ASTERISK-14075) Reported by: mvas78 Tested by: mvas78 ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk-addons?view=rev&revision=903 By: Digium Subversion (svnbot) 2009-05-15 16:53:45 Repository: asterisk-addons Revision: 915 _U branches/1.6.2/ U branches/1.6.2/channels/chan_mobile.c ------------------------------------------------------------------------ r915 | mnicholson | 2009-05-15 16:53:45 -0500 (Fri, 15 May 2009) | 38 lines Merged revisions 900,903,906-907 via svnmerge from https://origsvn.digium.com/svn/asterisk-addons/trunk ........ r900 | mnicholson | 2009-05-04 17:08:56 -0500 (Mon, 04 May 2009) | 7 lines Interact with bluetooth audio sockets directly instead of going through an internal pipe. (closes issue ASTERISK-13939) Reported by: jongerenchaos Tested by: jongerenchaos ........ r903 | mnicholson | 2009-05-08 10:40:01 -0500 (Fri, 08 May 2009) | 10 lines Accept SCO sockets even if there is no pvt->owner. An owner may come later. (closes issue ASTERISK-14071) Reported by: hmld Tested by: mnicholson, hmld, jongerenchaos (closes issue ASTERISK-14075) Reported by: mvas78 Tested by: mvas78 ........ r906 | mnicholson | 2009-05-14 12:07:07 -0500 (Thu, 14 May 2009) | 6 lines Check the first character of a caller id string to see if it is the end of the string. (closes issue ASTERISK-14130) Reported by: nikkk ........ r907 | mnicholson | 2009-05-14 12:09:33 -0500 (Thu, 14 May 2009) | 2 lines Handle empty numbers in CMGR messages. ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk-addons?view=rev&revision=915 |