[svn-commits] jdixon: branch jdixon/chan_usbradio-1.4 r139980 - /team/jdixon/chan_usbradio-...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Aug 25 17:36:08 CDT 2008


Author: jdixon
Date: Mon Aug 25 17:36:08 2008
New Revision: 139980

URL: http://svn.digium.com/view/asterisk?view=rev&rev=139980
Log:
Fixed problem going between monitor and transcieve

Modified:
    team/jdixon/chan_usbradio-1.4/apps/app_rpt.c

Modified: team/jdixon/chan_usbradio-1.4/apps/app_rpt.c
URL: http://svn.digium.com/view/asterisk/team/jdixon/chan_usbradio-1.4/apps/app_rpt.c?view=diff&rev=139980&r1=139979&r2=139980
==============================================================================
--- team/jdixon/chan_usbradio-1.4/apps/app_rpt.c (original)
+++ team/jdixon/chan_usbradio-1.4/apps/app_rpt.c Mon Aug 25 17:36:08 2008
@@ -21,7 +21,7 @@
 /*! \file
  *
  * \brief Radio Repeater / Remote Base program 
- *  version 0.129 8/25/08 2055 EDT
+ *  version 0.130 8/25/08 2055 EDT
  * 
  * \author Jim Dixon, WB6NIL <jim at lambdatel.com>
  *
@@ -377,7 +377,7 @@
 /*! Stop the tones from playing */
 void ast_playtones_stop(struct ast_channel *chan);
 
-static  char *tdesc = "Radio Repeater / Remote Base  version 0.129  8/25/2008";
+static  char *tdesc = "Radio Repeater / Remote Base  version 0.130  8/25/2008";
 
 static char *app = "Rpt";
 
@@ -5763,7 +5763,7 @@
 	/* if found */
 	if (l != &myrpt->links){ 
 	/* if already in this mode, just ignore */
-		if ((l->mode) || (!l->chan)) {
+		if ((l->mode == mode) || (!l->chan)) {
 			rpt_mutex_unlock(&myrpt->lock);
 			return 2; /* Already linked */
 		}




More information about the svn-commits mailing list