[asterisk-commits] jdixon: branch jdixon/chan_usbradio-1.4 r166566 - /team/jdixon/chan_usbradio-...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Dec 23 00:34:30 CST 2008


Author: jdixon
Date: Tue Dec 23 00:34:30 2008
New Revision: 166566

URL: http://svn.digium.com/view/asterisk?view=rev&rev=166566
Log:
Fixed so remote doesnt dump core when doing function

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=166566&r1=166565&r2=166566
==============================================================================
--- team/jdixon/chan_usbradio-1.4/apps/app_rpt.c (original)
+++ team/jdixon/chan_usbradio-1.4/apps/app_rpt.c Tue Dec 23 00:34:30 2008
@@ -21,7 +21,7 @@
 /*! \file
  *
  * \brief Radio Repeater / Remote Base program 
- *  version 0.173 12/22/08 
+ *  version 0.174 12/22/08 
  * 
  * \author Jim Dixon, WB6NIL <jim at lambdatel.com>
  *
@@ -407,7 +407,7 @@
 /*! Stop the tones from playing */
 void ast_playtones_stop(struct ast_channel *chan);
 
-static  char *tdesc = "Radio Repeater / Remote Base  version 0.173  12/22/2008";
+static  char *tdesc = "Radio Repeater / Remote Base  version 0.174  12/22/2008";
 
 static char *app = "Rpt";
 
@@ -5831,6 +5831,7 @@
 		if (l->chan && (l->name[0] != '0') && (l->newkey == 1)) res = 1;
 		l = l->next;
 	}
+	if (myrpt->remote) res = 1;
 	if (!res) /* no-one on without newkey */
 	{
 		/* send appropriate commands to everyone on link(s) */




More information about the asterisk-commits mailing list