[Home]

Summary:ASTERISK-13953: SMS support for Motorola phones (unexpected AT message)
Reporter:jongerenchaos (jongerenchaos)Labels:
Date Opened:2009-04-14 14:09:47Date Closed:2009-04-14 15:26:43
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Addons/chan_mobile
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) debuglog.txt
Description:I try to receive any SMS from my motorola mobile phone with the newest 866 chan_mobile version. The phone support the SMS function now!!
But when i receive an SMS message i get the following debug log and i receive nothing for now:

[Apr 14 21:04:14] DEBUG[15734]: chan_mobile.c:3425 do_monitor_phone: [gsm3] +CMTI: "MT",2
[Apr 14 21:04:14] DEBUG[15734]: chan_mobile.c:3281 handle_response_cmti: [gsm3] incoming sms message
[Apr 14 21:04:14] DEBUG[15734]: chan_mobile.c:1333 rfcomm_write_full: rfcomm_write() (25) [AT]CMGR=171267976
[Apr 14 21:04:16] DEBUG[15734]: chan_mobile.c:3425 do_monitor_phone: [gsm3] +CIEV: 2,1
[Apr 14 21:04:16] DEBUG[15734]: chan_mobile.c:3425 do_monitor_phone: [gsm3] +CIEV: 5,5
[Apr 14 21:04:16] DEBUG[15734]: chan_mobile.c:3425 do_monitor_phone: [gsm3] +CIEV: 4,0
[Apr 14 21:04:16] DEBUG[15734]: chan_mobile.c:3205 handle_response_ciev: [gsm3] error parsing CIND: +CIEV: 4,0
[Apr 14 21:04:16] DEBUG[15734]: chan_mobile.c:3425 do_monitor_phone: [gsm3] ERROR
[Apr 14 21:04:16] DEBUG[15734]: chan_mobile.c:3116 handle_response_error: [gsm3] recieved unexpected AT message 'ERROR'

Related to http://bugs.digium.com/view.php?id=14879
(Thanks for the fast support mnicholson!!)
Comments:By: Matthew Nicholson (mnicholson) 2009-04-14 14:21:36

Please post the debug log with at least debug level 2 and the debug1.diff patch applied.

By: jongerenchaos (jongerenchaos) 2009-04-14 14:36:35

Debug log uploaded.

By: Digium Subversion (svnbot) 2009-04-14 15:26:43

Repository: asterisk-addons
Revision: 869

U   trunk/channels/chan_mobile.c

------------------------------------------------------------------------
r869 | mnicholson | 2009-04-14 15:26:43 -0500 (Tue, 14 Apr 2009) | 5 lines

Fix parsing of CMTI unsolicited response codes.

(closes issue ASTERISK-13953)
Reported by: jongerenchaos

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk-addons?view=rev&revision=869