[asterisk-bugs] [Asterisk 0016188]: chan_mobile pairs, dials, and receives calls, but no audio

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 27 16:54:10 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16188 
====================================================================== 
Reported By:                haunma
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   16188
Category:                   Addons/chan_mobile
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           Addons-1.6.2.0-rc1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 209993 
Request Review:              
====================================================================== 
Date Submitted:             2009-11-05 23:26 CST
Last Modified:              2009-11-27 16:54 CST
====================================================================== 
Summary:                    chan_mobile pairs, dials, and receives calls, but no
audio
Description: 
I am using Asterisk 1.6.2.0~dfsg~rc1-1 from Debian Squeeze with a custom
compiled chan_mobile.c from the trunk version (svn 209993) supplied as an
attachment to issue https://issues.asterisk.org/view.php?id=16087.

It appears to be a working configuration with no obvious errors, but I get
no audio over the bluetooth link.  (I test by calling my cell phone from
the Asterisk console via an IAX provider, with the incoming call going to
an echo test.)

I've attached the Asterisk debugging output (with some IAX debugging
output removed) as well as hcidump -X -V.

====================================================================== 

---------------------------------------------------------------------- 
 (0114334) haunma (reporter) - 2009-11-27 16:54
 https://issues.asterisk.org/view.php?id=16188#c114334 
---------------------------------------------------------------------- 
Oops, I was still missing some of the startup messages--sorry!  They were
mixed into the flood of other module debug output, and the later
chan_mobile.c output wasn't complaining about anything so I didn't think to
go back and check.

I've uploaded a "new_asterisk_startup" with absolutely everything from the
start of execution until the phone has registered.  (Debug output from
incoming/outgoing calls is already there in the new_asterisk_incoming and
new_asterisk_outgoing files.)

Here's the output of "grep chan_mobile new_asterisk_startup":

[Nov 27 14:29:45] DEBUG[12236]: chan_mobile.c:4004 mbl_load_adapter:
Reading configuration for adapter zonet 00:02:72:CA:DF:9C.
[Nov 27 14:29:45] DEBUG[12236]: chan_mobile.c:4078 mbl_load_adapter:
Loaded adapter zonet 00:02:72:CA:DF:9C.
[Nov 27 14:29:45] DEBUG[12236]: chan_mobile.c:4110 mbl_load_device:
Reading configuration for device MarksLG.
[Nov 27 14:29:45] DEBUG[12236]: chan_mobile.c:4224 mbl_load_device: Loaded
device MarksLG.
 chan_mobile.so => (Bluetooth Mobile Device Channel Driver)
[Nov 27 14:29:45] DEBUG[12247]: chan_mobile.c:1357 rfcomm_connect:
connect() failed (4).
[Nov 27 14:29:45] ERROR[12246]: chan_mobile.c:3964 do_sco_listen:
ast_io_wait() failed for audio on adapter zonet
]Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:1400 rfcomm_write_full:
rfcomm_write() (28) [AT+BRSF=4
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3585 do_monitor_phone:
[MarksLG] +BRSF: 359
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3585 do_monitor_phone:
[MarksLG] OK
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:2999 handle_response_ok:
[MarksLG] BSRF sent successfully
]Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:1400 rfcomm_write_full:
rfcomm_write() (28) [AT+CIND=?
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3585 do_monitor_phone:
[MarksLG] +CIND:
("call",(0,1)),("callsetup",(0-3)),("service",(0,1)),("signal",(0-5)),("roam",(0,1)),("battchg",(0-5)),("callheld",(0-2))
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3585 do_monitor_phone:
[MarksLG] OK
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3016 handle_response_ok:
[MarksLG] CIND test sent successfully
]Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:1400 rfcomm_write_full:
rfcomm_write() (28) [AT+CIND?
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3585 do_monitor_phone:
[MarksLG] +CIND: 0,0,1,5,0,2,0
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3585 do_monitor_phone:
[MarksLG] OK
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3027 handle_response_ok:
[MarksLG] CIND sent successfully
]Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:1400 rfcomm_write_full:
rfcomm_write() (28) [AT+CMER=3,0,0,1
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3585 do_monitor_phone:
[MarksLG] OK
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3050 handle_response_ok:
[MarksLG] CMER sent successfully
]Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:1400 rfcomm_write_full:
rfcomm_write() (28) [AT+CLIP=1
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3585 do_monitor_phone:
[MarksLG] +VGS: 15
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3585 do_monitor_phone:
[MarksLG] OK
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3067 handle_response_ok:
[MarksLG] caling line indication enabled
]Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:1400 rfcomm_write_full:
rfcomm_write() (28) [AT+VGS=15
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3585 do_monitor_phone:
[MarksLG] OK
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3079 handle_response_ok:
[MarksLG] volume level synchronization successful
]Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:1400 rfcomm_write_full:
rfcomm_write() (28) [AT+CMGF=1
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3585 do_monitor_phone:
[MarksLG] ERROR
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3195 handle_response_error:
[MarksLG] error setting CMGF
[Nov 27 14:30:18] DEBUG[12286]: chan_mobile.c:3196 handle_response_error:
[MarksLG] no SMS support
[Nov 27 14:30:29] DEBUG[12286]: chan_mobile.c:3585 do_monitor_phone:
[MarksLG] +CIEV: 4,4

If I am tracing the errnos correctly, errno 4 in rfcomm_connect()
translates to "Interrupted system call."  Does that mean anything to you?

Mark 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-27 16:54 haunma         Note Added: 0114334                          
======================================================================




More information about the asterisk-bugs mailing list