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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 4 03:07:33 CST 2008


Author: jdixon
Date: Tue Nov  4 03:07:32 2008
New Revision: 154146

URL: http://svn.digium.com/view/asterisk?view=rev&rev=154146
Log:
fix a couple of silly things

Modified:
    team/jdixon/chan_usbradio-1.4/dev-temp/app_rpt.c

Modified: team/jdixon/chan_usbradio-1.4/dev-temp/app_rpt.c
URL: http://svn.digium.com/view/asterisk/team/jdixon/chan_usbradio-1.4/dev-temp/app_rpt.c?view=diff&rev=154146&r1=154145&r2=154146
==============================================================================
--- team/jdixon/chan_usbradio-1.4/dev-temp/app_rpt.c (original)
+++ team/jdixon/chan_usbradio-1.4/dev-temp/app_rpt.c Tue Nov  4 03:07:32 2008
@@ -22,7 +22,7 @@
 /*! \file
  *
  * \brief Radio Repeater / Remote Base program 
- *  version 0.158 11/4/08 
+ *  version 0.159 11/4/08 
  * 
  * \author Jim Dixon, WB6NIL <jim at lambdatel.com>
  *
@@ -408,7 +408,7 @@
 /*! Stop the tones from playing */
 void ast_playtones_stop(struct ast_channel *chan);
 
-static  char *tdesc = "Radio Repeater / Remote Base  version 0.158  11/4/2008";
+static  char *tdesc = "Radio Repeater / Remote Base  version 0.159  11/4/2008";
 
 static char *app = "Rpt";
 
@@ -7636,6 +7636,7 @@
 		{
 			mylink->newkeytimer = 0;
 			mylink->newkey = 1;
+			send_old_newkey(mylink->chan);
 		}
                 return;
         }
@@ -12851,9 +12852,8 @@
 						donodelog(myrpt,str);
 					}
 					l->lastrx1 = 0;
-					if(myrpt->p.duplex) {
+					if(myrpt->p.duplex) 
 						rpt_telemetry(myrpt,LINKUNKEY,l);
-					}
 				}
 			}				
 
@@ -12941,9 +12941,8 @@
 							sprintf(str,"RXUNKEY(T),%s",l->name);
 							donodelog(myrpt,str);
 						}
-						if(myrpt->p.duplex) {
+						if(myrpt->p.duplex) 
 							rpt_telemetry(myrpt,LINKUNKEY,l);
-						}
 						l->lastrx1 = 0;
 					}
 				}
@@ -13913,9 +13912,8 @@
 								donodelog(myrpt,str);
 							}
 							l->lastrx1 = 0;
-							if(myrpt->p.duplex) {
+							if(myrpt->p.duplex)
 								rpt_telemetry(myrpt,LINKUNKEY,l);
-							}
 						}
 					}
 					if (f->subclass == AST_CONTROL_HANGUP)




More information about the asterisk-commits mailing list