[asterisk-bugs] [Asterisk 0013744]: Blackberry Pearl (8100) rarely initialises

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Nov 1 05:52:16 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13744 
====================================================================== 
Reported By:                ciaranm
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   13744
Category:                   Addons/chan_mobile
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-20 08:18 CDT
Last Modified:              2008-11-01 05:52 CDT
====================================================================== 
Summary:                    Blackberry Pearl (8100) rarely initialises
Description: 
Fedora 9, bluez-3.35-1 (rpms) Asterisk 1.6.0-beta9 from RPM and
asterisk-addons-1.6.0-rc1 from source.

When using a blackberry pearl (8100) I need to unload and load chan_mobile
multiple times before the state moves from Init to Free. Chan mobile
working great with other phones (e.g. Nokia).
Blackberry appears to not respond consistently to (or response may be
missed?) AT+CIND=? however if I attempt to work around this by issuing
AT+CMER=3,0,0,1 manually the BB appears to initialise but the connection is
lost when I recieve a call (has occasionally caused BB to reboot also!). If
the BB does (after repeated attempts) initialise properly then it works
correctly for the duration of that connection.
====================================================================== 

---------------------------------------------------------------------- 
 (0094493) ughnz (reporter) - 2008-11-01 05:52
 http://bugs.digium.com/view.php?id=13744#c94493 
---------------------------------------------------------------------- 
I have this problem with another phone.

I have fixed it by adding the following mod to the code:

               } else if (s == 0) { /* Timeouts */
                        if (pvt->state == MBL_STATE_INIT2) { /* Some
devices dont respond to AT+CIND? properly. RIM Blackberry 4 example */
                                pvt->state++;
                                rfcomm_write(pvt, "AT+CMER=3,0,0,1\r");
                        } else if (pvt->state == MBL_STATE_INIT3) { /*
Some devices dont respond to AT+CMER=3,0,0,1 properly. VK 2020 for example
*/
                                pvt->state++;
                                rfcomm_write(pvt, "AT+CLIP=1\r");
                        } else if (pvt->state == MBL_STATE_INIT6) { /*
Some devices dont respond to AT+CGMF */
                                pvt->state = MBL_STATE_PREIDLE;
                                pvt->has_sms=0;
                        } else if (pvt->state == MBL_STATE_PREIDLE) { 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-01 05:52 ughnz          Note Added: 0094493                          
======================================================================




More information about the asterisk-bugs mailing list