[asterisk-addons-commits] mnicholson: trunk r876 - /trunk/channels/chan_mobile.c
SVN commits to the Asterisk addons project
asterisk-addons-commits at lists.digium.com
Wed Apr 15 14:28:36 CDT 2009
Author: mnicholson
Date: Wed Apr 15 14:28:32 2009
New Revision: 876
URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=876
Log:
mark unknown CIND indicators as such to prevent false error messages
Modified:
trunk/channels/chan_mobile.c
Modified: trunk/channels/chan_mobile.c
URL: http://svn.digium.com/svn-view/asterisk-addons/trunk/channels/chan_mobile.c?view=diff&rev=876&r1=875&r2=876
==============================================================================
--- trunk/channels/chan_mobile.c (original)
+++ trunk/channels/chan_mobile.c Wed Apr 15 14:28:32 2009
@@ -254,6 +254,7 @@
#define HFP_AG_CONTROL (1 << 7)
#define HFP_AG_ERRORS (1 << 8)
+#define HFP_CIND_UNKNOWN -1
#define HFP_CIND_NONE 0
#define HFP_CIND_SERVICE 1
#define HFP_CIND_CALL 2
@@ -2508,6 +2509,7 @@
hfp->cind_map.battchg = group;
hfp->cind_index[group] = HFP_CIND_BATTCHG;
} else {
+ hfp->cind_index[group] = HFP_CIND_UNKNOWN;
ast_debug(2, "ignoring unknown CIND indicator '%s'\n", indicator);
}
} else {
More information about the asterisk-addons-commits
mailing list