[svn-commits] mnicholson: trunk r943 - /trunk/channels/chan_mobile.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 3 18:49:09 CDT 2009


Author: mnicholson
Date: Wed Jun  3 18:49:04 2009
New Revision: 943

URL: http://svn.asterisk.org/svn-view/asterisk-addons?view=rev&rev=943
Log:
Fix sms support by setting the correct mode for receiving messages.

(closes issue #15236)
Reported by: Artem
Patches:
      sms.patch uploaded by Artem (license 800)
Tested by: Artem

Modified:
    trunk/channels/chan_mobile.c

Modified: trunk/channels/chan_mobile.c
URL: http://svn.asterisk.org/svn-view/asterisk-addons/trunk/channels/chan_mobile.c?view=diff&rev=943&r1=942&r2=943
==============================================================================
--- trunk/channels/chan_mobile.c (original)
+++ trunk/channels/chan_mobile.c Wed Jun  3 18:49:04 2009
@@ -2241,7 +2241,7 @@
  */
 static int hfp_send_cnmi(struct hfp_pvt *hfp)
 {
-	return rfcomm_write(hfp->rsock, "AT+CNMI=3,1,0,0,0\r");
+	return rfcomm_write(hfp->rsock, "AT+CNMI=2,1,0,0,0\r");
 }
 
 /*!




More information about the svn-commits mailing list