[asterisk-addons-commits] mnicholson: branch mnicholson/chan-mobile-refactor r775 - /team/mnicholson/ch...
SVN commits to the Asterisk addons project
asterisk-addons-commits at lists.digium.com
Thu Feb 12 15:02:18 CST 2009
Author: mnicholson
Date: Thu Feb 12 15:02:18 2009
New Revision: 775
URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=775
Log:
print more intelligent error messages when blackberry=yes
Modified:
team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c
Modified: team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c
URL: http://svn.digium.com/svn-view/asterisk-addons/team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c?view=diff&rev=775&r1=774&r2=775
==============================================================================
--- team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c (original)
+++ team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c Thu Feb 12 15:02:18 2009
@@ -1516,7 +1516,10 @@
/* send CIND test */
if (hfp_send_cind_test(pvt) || !hfp_wait(pvt) || hfp_read_cind_test(pvt)) {
- ast_debug(1, "[%s] error performing CIND test, try setting 'blackberry=yes'\n", pvt->owner->id);
+ if (!pvt->blackberry)
+ ast_debug(1, "[%s] error performing CIND test, try setting 'blackberry=yes'\n", pvt->owner->id);
+ else
+ ast_debug(1, "[%s] error performing CIND test\n", pvt->owner->id);
return -1;
}
More information about the asterisk-addons-commits
mailing list