[asterisk-addons-commits] mnicholson: branch 1.6.2 r948 - in /branches/1.6.2: ./ channels/chan_mobile.c

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Fri Jun 5 17:13:05 CDT 2009


Author: mnicholson
Date: Fri Jun  5 17:13:01 2009
New Revision: 948

URL: http://svn.asterisk.org/svn-view/asterisk-addons?view=rev&rev=948
Log:
Merged revisions 947 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-addons/trunk

........
  r947 | mnicholson | 2009-06-05 16:38:50 -0500 (Fri, 05 Jun 2009) | 8 lines
  
  Properly set the needring flag to stop ringing on headsets.
  
  (closes issue #15258)
  Reported by: ablackthorn
  Patches:
        ring-fix3.diff uploaded by mnicholson (license 96)
  Tested by: ablackthorn
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_mobile.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
--- trunk-merged (original)
+++ trunk-merged Fri Jun  5 17:13:01 2009
@@ -1,1 +1,1 @@
-/trunk:1-907,910,926-927,933,943
+/trunk:1-907,910,926-927,933,943,947

Modified: branches/1.6.2/channels/chan_mobile.c
URL: http://svn.asterisk.org/svn-view/asterisk-addons/branches/1.6.2/channels/chan_mobile.c?view=diff&rev=948&r1=947&r2=948
==============================================================================
--- branches/1.6.2/channels/chan_mobile.c (original)
+++ branches/1.6.2/channels/chan_mobile.c Fri Jun  5 17:13:01 2009
@@ -957,6 +957,7 @@
 
 	pvt->outgoing = 0;
 	pvt->incoming = 0;
+	pvt->needring = 0;
 	pvt->owner = NULL;
 	ast->tech_pvt = NULL;
 
@@ -3443,7 +3444,7 @@
 		case AT_CKPD:
 			ast_mutex_lock(&pvt->lock);
 			if (pvt->outgoing) {
-				pvt->needring = 1;
+				pvt->needring = 0;
 				hsp_send_ok(pvt->rfcomm_socket);
 				if (pvt->answered) {
 					/* we have an answered call up to the




More information about the asterisk-addons-commits mailing list