[asterisk-bugs] [Asterisk 0014890]: [patch] no audio: chan_mobile with windows mobile 6.1 needs HEADSET_AGW, not HANDSFREE_AGW

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 14 15:47:17 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14890 
====================================================================== 
Reported By:                spblinux
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14890
Category:                   Addons/chan_mobile
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.0-beta1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-04-14 05:26 CDT
Last Modified:              2009-04-14 15:47 CDT
====================================================================== 
Summary:                    [patch] no audio: chan_mobile with windows mobile
6.1 needs HEADSET_AGW, not HANDSFREE_AGW
Description: 
connecting windows mobile 6.1 phone to chan_mobile (tested with xperia x1
and with SimValley XP-25 alias Rover PC C6 / P6):
- mobile search in asterisk cli to get rfcomm port
- writing this port into mobile.conf
- receiving calls works but audio goes through mobile (phone does not open
sco connection)
- replacing the port given by 'mobile search' (=HANDSFREE_AGW_PROFILE_ID)
   with the port found for HEADSET_AGW_PROFILE_ID makes audio go through
asterisk
- incoming and outgoing calls work with 'headset audio gateway' rfcomm
port

(In case of xp-25 headset_agw is rfcomm port 1, handsfree_agw rfcomm port
is 2)
====================================================================== 

---------------------------------------------------------------------- 
 (0103246) spblinux (reporter) - 2009-04-14 15:47
 http://bugs.digium.com/view.php?id=14890#c103246 
---------------------------------------------------------------------- 
I did not use type headset. - Normal setup for the two windows mobile 6.1
phones (x1, xp-25 mentioned above) results in audio routed through phone
speaker and phone microphone. Everything else works normally. 

(I do use other phones with chan_mobile which work with normal setup - and
stop working with HEADSET_AGW_PROFILE_ID...). It seems to be a windows
mobile 6.1 issue.

----------
Side note to refactored version: the use of an asterisk smoother in
mbl_write works fine on embedded device
(mipsel router); however the rfcomm parsing logic seems to have timing
issues because the refactored
chan_mobile segfaults on my (slow 200MHz cpu) router. - As I do not have
the time to produce and study
coredumps I leave this as a side note and do not open a separate bug. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-14 15:47 spblinux       Note Added: 0103246                          
======================================================================




More information about the asterisk-bugs mailing list