[asterisk-bugs] [Asterisk 0015276]: SMS FIX for motorola phones

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 8 12:44:57 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15276 
====================================================================== 
Reported By:                jongerenchaos
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   15276
Category:                   Addons/chan_mobile
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-04 14:24 CDT
Last Modified:              2009-06-08 12:44 CDT
====================================================================== 
Summary:                    SMS FIX for motorola phones
Description: 
The motorola phone (L6) accept only AT+CNMI=3,1,0,0,0

SMS support is broken again for this devices. Maybe that you can add
AT+CNMI=3,1,0,0,0. and the currently AT codes (if doesn't accept try or
something).
====================================================================== 

---------------------------------------------------------------------- 
 (0106134) Artem (reporter) - 2009-06-08 12:44
 https://issues.asterisk.org/view.php?id=15276#c106134 
---------------------------------------------------------------------- 
Here are some commands to get the info:

ATI - same as ATI0
ATI0 - TA vendor and/or model
ATI1 - TA serial number
ATI2 - TA version
ATI3 - TA name
ATI4 - TA minor SW version
ATI9 - TA plug and play info

AT+GMI - Request TA manufacturer identification
AT+GMM - Request TA model identification
AT+GMR - Request TA revision identification
AT+GSN - Request TA serial number identification

This commands to not work with all phones (using a bluetooth connection).
They also seem to behave a little bit different.

I would use the AT+GMI and AT+GMM commands to get the model and vendor
because the ATI commands behaves absolutly different on different phones.

The AT+GMM and AT+GMI also beahaves different on different phones. So I
would propose to try figure out the phone model and vendor using this
commands and if this does not work fall back to the configuration file and
use the vendor/model setting from there.

Here is an example output of this commands:

--- Sony Ericsson K800i ---
AT+GMI
Sony Ericsson

OK
AT+GMM
Sony Ericsson K800

--- Motorola V600 ---
AT+GMI
+GMI: "Motorola CE, Copyright 2000"

OK
AT+GMM
+GMM: "GSM900","GSM1800","GSM1900","GSM850","MODEL=V600"

--- Nokia E51 ---
AT+GMI
ERROR

AT+GMM
ERROR

ATI
ERROR

ATI0
ERROR

ATI1 ERROR 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-08 12:44 Artem          Note Added: 0106134                          
======================================================================




More information about the asterisk-bugs mailing list